5512 lines
245 KiB
JSON
5512 lines
245 KiB
JSON
[
|
|
{
|
|
"topics": ["beacon", "genesis"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/genesis",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"genesis_time": "", "genesis_validators_root": "", "genesis_fork_version": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_root"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/root",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"root": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_root"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/genesis/root",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"root": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_root"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/finalized/root",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"root": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_root"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/justified/root",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"root": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_root"],
|
|
"request": {"url": "/eth/v1/beacon/states/heat/root"},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_root"],
|
|
"request": {"url": "/eth/v1/beacon/states/genezis/root"},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_root"],
|
|
"request": {"url": "/eth/v1/beacon/states/finalised/root"},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_root"],
|
|
"request": {"url": "/eth/v1/beacon/states/justilied/root"},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_root"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/0/root",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"root": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_root"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/18446744073709551615/root",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"comment": "Maximum value for uint64",
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "404"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 404, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_root"],
|
|
"request": {"url": "/eth/v1/beacon/states/18446744073709551616/root"},
|
|
"comment": "Overflow uint64 value test",
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_root"],
|
|
"request": {"url": "/eth/v1/beacon/states/0x/root"},
|
|
"comment": "Hexadecimal state root tests",
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_root"],
|
|
"request": {"url": "/eth/v1/beacon/states/0x0/root"},
|
|
"comment": "Hexadecimal state root tests",
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_root"],
|
|
"request": {"url": "/eth/v1/beacon/states/0x00/root"},
|
|
"comment": "Hexadecimal state root tests",
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_root"],
|
|
"request": {"url": "/eth/v1/beacon/states/0x1/root"},
|
|
"comment": "Hexadecimal state root tests",
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_root"],
|
|
"request": {"url": "/eth/v1/beacon/states/0x11/root"},
|
|
"comment": "Hexadecimal state root tests",
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_root"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/0x0000000000000000000000000000000000000000000000000000000000000000/root",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"comment": "Hexadecimal state root tests (TODO (cheatfate))",
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "500"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 500, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_root"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF/root",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"comment": "Hexadecimal state root tests (TODO (cheatfate))",
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "500"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 500, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_fork"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/fork",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"previous_version": "", "current_version": "", "epoch": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_fork"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/genesis/fork",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"previous_version": "", "current_version": "", "epoch": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_fork"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/finalized/fork",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"previous_version": "", "current_version": "", "epoch": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_fork"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/justified/fork",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"previous_version": "", "current_version": "", "epoch": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_fork"],
|
|
"request": {"url": "/eth/v1/beacon/states/heat/fork"},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_fork"],
|
|
"request": {"url": "/eth/v1/beacon/states/genezis/fork"},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_fork"],
|
|
"request": {"url": "/eth/v1/beacon/states/finalised/fork"},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_fork"],
|
|
"request": {"url": "/eth/v1/beacon/states/justilied/fork"},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_fork"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/0/fork",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"previous_version": "", "current_version": "", "epoch": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_fork"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/18446744073709551615/fork",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"comment": "Maximum value for uint64",
|
|
"response": {"status": {"operator": "equals", "value": "404"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_fork"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/18446744073709551616/fork",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"comment": "Overflow uint64 value test",
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_fork"],
|
|
"request": {"url": "/eth/v1/beacon/states/0x/fork"},
|
|
"comment": "Hexadecimal state root tests",
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_fork"],
|
|
"request": {"url": "/eth/v1/beacon/states/0x0/fork"},
|
|
"comment": "Hexadecimal state root tests",
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_fork"],
|
|
"request": {"url": "/eth/v1/beacon/states/0x00/fork"},
|
|
"comment": "Hexadecimal state root tests",
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_fork"],
|
|
"request": {"url": "/eth/v1/beacon/states/0x1/fork"},
|
|
"comment": "Hexadecimal state root tests",
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_fork"],
|
|
"request": {"url": "/eth/v1/beacon/states/0x11/fork"},
|
|
"comment": "Hexadecimal state root tests",
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_fork"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/0x0000000000000000000000000000000000000000000000000000000000000000/fork",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"comment": "Hexadecimal state root tests (TODO (cheatfate))",
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "500"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 500, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_fork"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF/fork",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"comment": "Hexadecimal state root tests (TODO (cheatfate))",
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "500"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 500, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_finality_checkpoints"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/finality_checkpoints",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"previous_justified": {"epoch": "", "root": ""}, "current_justified": {"epoch": "", "root": ""}, "finalized": {"epoch": "", "root": ""}}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_finality_checkpoints"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/genesis/finality_checkpoints",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"previous_justified": {"epoch": "", "root": ""}, "current_justified": {"epoch": "", "root": ""}, "finalized": {"epoch": "", "root": ""}}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_finality_checkpoints"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/finalized/finality_checkpoints",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"previous_justified": {"epoch": "", "root": ""}, "current_justified": {"epoch": "", "root": ""}, "finalized": {"epoch": "", "root": ""}}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_finality_checkpoints"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/justified/finality_checkpoints",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"previous_justified": {"epoch": "", "root": ""}, "current_justified": {"epoch": "", "root": ""}, "finalized": {"epoch": "", "root": ""}}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_finality_checkpoints"],
|
|
"request": {"url": "/eth/v1/beacon/states/heat/finality_checkpoints"},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_finality_checkpoints"],
|
|
"request": {"url": "/eth/v1/beacon/states/genezis/finality_checkpoints"},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_finality_checkpoints"],
|
|
"request": {"url": "/eth/v1/beacon/states/finalised/finality_checkpoints"},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_finality_checkpoints"],
|
|
"request": {"url": "/eth/v1/beacon/states/justilied/finality_checkpoints"},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_finality_checkpoints"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/0/finality_checkpoints",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"previous_justified": {"epoch": "", "root": ""}, "current_justified": {"epoch": "", "root": ""}, "finalized": {"epoch": "", "root": ""}}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_finality_checkpoints"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/18446744073709551615/finality_checkpoints",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"comment": "Maximum value for uint64",
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "404"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 404, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_finality_checkpoints"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/18446744073709551616/finality_checkpoints",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"comment": "Overflow uint64 value test",
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_finality_checkpoints"],
|
|
"request": {"url": "/eth/v1/beacon/states/0x/finality_checkpoints"},
|
|
"comment": "Hexadecimal state root tests",
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_finality_checkpoints"],
|
|
"request": {"url": "/eth/v1/beacon/states/0x0/finality_checkpoints"},
|
|
"comment": "Hexadecimal state root tests",
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_finality_checkpoints"],
|
|
"request": {"url": "/eth/v1/beacon/states/0x00/finality_checkpoints"},
|
|
"comment": "Hexadecimal state root tests",
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_finality_checkpoints"],
|
|
"request": {"url": "/eth/v1/beacon/states/0x1/finality_checkpoints"},
|
|
"comment": "Hexadecimal state root tests",
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_finality_checkpoints"],
|
|
"request": {"url": "/eth/v1/beacon/states/0x11/finality_checkpoints"},
|
|
"comment": "Hexadecimal state root tests",
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_finality_checkpoints"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/0x0000000000000000000000000000000000000000000000000000000000000000/finality_checkpoints",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"comment": "Hexadecimal state root tests (TODO (cheatfate))",
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "500"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 500, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_finality_checkpoints"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF/finality_checkpoints",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"comment": "Hexadecimal state root tests (TODO (cheatfate))",
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "500"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 500, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators_slow", "slow"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=1",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=0&id=1&id=2&id=3&id=4&id=5&id=6&id=7&id=8&id=9&id=10&id=11&id=12&id=13&id=14&id=15&id=16&id=17&id=18&id=19&id=20&id=21&id=22&id=23&id=24&id=25&id=26&id=27&id=28&id=29",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=0&id=1&id=2&id=3&id=4&id=5&id=6&id=7&id=8&id=9&id=10&id=11&id=12&id=13&id=14&id=15&id=16&id=17&id=18&id=19&id=20&id=21&id=22&id=23&id=24&id=25&id=26&id=27&id=28&id=29&id=30",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "testnet"],
|
|
"comment": "Index which not exists in state",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=2147483647",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "oneof", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": []}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "testnet"],
|
|
"comment": "Key which is not exist in state",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "oneof", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": []}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "testnet"],
|
|
"comment": "Index and key which not exists in state",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=2147483647,0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "oneof", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": []}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "testnet"],
|
|
"comment": "3 identifiers where only one exists",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=2147483647,0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff,1",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "oneof", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "mainnet"],
|
|
"comment": "Index value equal to high(uint32) + 1",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=2147483648",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "500"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 500, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "mainnet"],
|
|
"comment": "Index value equal to VALIDATOR_REGISTRY_LIMIT - 1",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=1099511627775",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "500"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 500, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "mainnet"],
|
|
"comment": "Index value equal to VALIDATOR_REGISTRY_LIMIT",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=1099511627776",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"comment": "Index value which is bigger max(ValidatorIndex)",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=18446744073709551615",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"comment": "Index value which is bigger uint64",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=18446744073709551616",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"comment": "Incorrect hexadecimal values #1",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=0x",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"comment": "Incorrect hexadecimal values #2",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=0x0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"comment": "Incorrect hexadecimal values #3",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=0x00",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"comment": "Incorrect hexadecimal values #4",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=0xZZ",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"comment": "Correct hexadecimal values #1",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"comment": "Correct hexadecimal values #2",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"comment": "Correct values of different types",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000&id=0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001&id=0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002&id=0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003&id=0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004&id=5&id=6&id=7&id=8&id=9",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"comment": "Correct status value #1",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=0&status=pending_initialized",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"comment": "Correct status value #2",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=0&status=pending_initialized&status=pending_queued",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"comment": "Correct status value #3",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=0&status=pending_initialized&status=pending_queued&status=active_ongoing",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"comment": "Correct status value #4",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=0&status=pending_initialized&status=pending_queued&status=active_ongoing&status=active_exiting",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"comment": "Correct status value #5",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=0&status=pending_initialized&status=pending_queued&status=active_ongoing&status=active_exiting&status=active_slashed",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"comment": "Correct status value #6",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=0&status=pending_initialized&status=pending_queued&status=active_ongoing&status=active_exiting&status=active_slashed&status=exited_unslashed",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"comment": "Correct status value #7",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=0&status=pending_initialized&status=pending_queued&status=active_ongoing&status=active_exiting&status=active_slashed&status=exited_unslashed&status=exited_slashed",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"comment": "Correct status value #8",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=0&status=pending_initialized&status=pending_queued&status=active_ongoing&status=active_exiting&status=active_slashed&status=exited_unslashed&status=exited_slashed&status=withdrawal_possible",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"comment": "Correct status value #9",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=0&status=pending_initialized&status=pending_queued&status=active_ongoing&status=active_exiting&status=active_slashed&status=exited_unslashed&status=exited_slashed&status=withdrawal_possible&status=withdrawal_done",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"comment": "Correct status value #10",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=0&status=active",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"comment": "Correct status value #11",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=0&status=active&status=pending",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"comment": "Correct status value #12",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=0&status=active&status=pending&status=exited",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"comment": "Correct status value #13",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=0&status=active&status=pending&status=exited&status=withdrawal",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"comment": "Non-unique id values #1",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=0&id=0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"comment": "Non-unique id values #2",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000&id=0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"comment": "Non-unique status values #1",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=0&status=pending&status=pending_initialized",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"comment": "Non-unique status values #2",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=0&status=active&status=active_ongoing",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"comment": "Non-unique status values #3",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=0&status=exited&status=exited_unslashed",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"comment": "Non-unique status values #4",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=0&status=withdrawal&status=withdrawal_done",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"comment": "Non-unique status values #5",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=0&status=active&status=active",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"comment": "Non-unique status values #6",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators?id=0&status=pending_initialized&status=pending_initialized",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "post"],
|
|
"comment": "Empty request",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"ids\":[\"1\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"ids\":[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\",\"13\",\"14\",\"15\",\"16\",\"17\",\"18\",\"19\",\"20\",\"21\",\"22\",\"23\",\"24\",\"25\",\"26\",\"27\",\"28\",\"29\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "testnet", "post"],
|
|
"comment": "Index which not exists in state",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"ids\":[\"2147483647\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "oneof", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": []}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "testnet", "post"],
|
|
"comment": "Key which is not exist in state",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"ids\":[\"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "oneof", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": []}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "testnet", "post"],
|
|
"comment": "Index and key which not exists in state",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"ids\":[\"2147483647\",\"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "oneof", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": []}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "testnet", "post"],
|
|
"comment": "3 identifiers where only one exists",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"ids\":[\"2147483647\",\"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff\",\"1\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "oneof", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "mainnet", "post"],
|
|
"comment": "Index value equal to high(uint32) + 1",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"ids\":[\"2147483648\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "500"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 500, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "mainnet", "post"],
|
|
"comment": "Index value equal to VALIDATOR_REGISTRY_LIMIT - 1",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"ids\":[\"1099511627775\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "500"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 500, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "mainnet", "post"],
|
|
"comment": "Index value equal to VALIDATOR_REGISTRY_LIMIT",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"ids\":[\"1099511627776\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"comment": "Index value which is bigger max(ValidatorIndex)",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"ids\":[\"18446744073709551615\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators"],
|
|
"comment": "Index value which is bigger uint64",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"ids\":[\"18446744073709551616\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "post"],
|
|
"comment": "Incorrect hexadecimal values #1",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"ids\":[\"0x\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "post"],
|
|
"comment": "Incorrect hexadecimal values #2",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"ids\":[\"0x0\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "post"],
|
|
"comment": "Incorrect hexadecimal values #3",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"ids\":[\"0x00\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "post"],
|
|
"comment": "Incorrect hexadecimal values #4",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"ids\":[\"0xZZ\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "post"],
|
|
"comment": "Correct hexadecimal values #1",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"ids\":[\"0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "post"],
|
|
"comment": "Correct hexadecimal values #2",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"ids\":[\"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "post"],
|
|
"comment": "Correct values of different types",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"ids\":[\"0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\",\"0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001\",\"0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002\",\"0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003\",\"0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004\",\"5\",\"6\",\"7\",\"8\",\"9\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "post"],
|
|
"comment": "Correct status value #1",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"ids\":[\"0\"],\"statuses\":[\"pending_initialized\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "post"],
|
|
"comment": "Correct status value #2",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"ids\":[\"0\"],\"statuses\":[\"pending_initialized\",\"pending_queued\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "post"],
|
|
"comment": "Correct status value #3",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"ids\":[\"0\"],\"statuses\":[\"pending_initialized\",\"pending_queued\",\"active_ongoing\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "post"],
|
|
"comment": "Correct status value #4",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"ids\":[\"0\"],\"statuses\":[\"pending_initialized\",\"pending_queued\",\"active_ongoing\",\"active_exiting\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "post"],
|
|
"comment": "Correct status value #5",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"ids\":[\"0\"],\"statuses\":[\"pending_initialized\",\"pending_queued\",\"active_ongoing\",\"active_exiting\",\"active_slashed\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "post"],
|
|
"comment": "Correct status value #6",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"ids\":[\"0\"],\"statuses\":[\"pending_initialized\",\"pending_queued\",\"active_ongoing\",\"active_exiting\",\"active_slashed\",\"exited_unslashed\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "post"],
|
|
"comment": "Correct status value #7",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"ids\":[\"0\"],\"statuses\":[\"pending_initialized\",\"pending_queued\",\"active_ongoing\",\"active_exiting\",\"active_slashed\",\"exited_unslashed\",\"exited_slashed\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "post"],
|
|
"comment": "Correct status value #8",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"ids\":[\"0\"],\"statuses\":[\"pending_initialized\",\"pending_queued\",\"active_ongoing\",\"active_exiting\",\"active_slashed\",\"exited_unslashed\",\"exited_slashed\",\"withdrawal_possible\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "post"],
|
|
"comment": "Correct status value #9",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"ids\":[\"0\"],\"statuses\":[\"pending_initialized\",\"pending_queued\",\"active_ongoing\",\"active_exiting\",\"active_slashed\",\"exited_unslashed\",\"exited_slashed\",\"withdrawal_possible\",\"withdrawal_done\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "post"],
|
|
"comment": "Correct status value #10",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"ids\":[\"0\"],\"statuses\":[\"active\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "post"],
|
|
"comment": "Correct status value #11",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"ids\":[\"0\"],\"statuses\":[\"active\",\"pending\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "post"],
|
|
"comment": "Correct status value #12",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"ids\":[\"0\"],\"statuses\":[\"active\",\"pending\",\"exited\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "post"],
|
|
"comment": "Correct status value #13",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"ids\":[\"0\"],\"statuses\":[\"active\",\"pending\",\"exited\",\"withdrawal\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "post"],
|
|
"comment": "Non-unique id values #1",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"ids\":[\"0\",\"0\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "post"],
|
|
"comment": "Non-unique id values #2",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"ids\":[\"0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\",\"0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "post"],
|
|
"comment": "Non-unique status values #1",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"statuses\": [\"pending\",\"pending_initialized\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "post"],
|
|
"comment": "Non-unique status values #2",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"statuses\": [\"active\",\"active_ongoing\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "post"],
|
|
"comment": "Non-unique status values #3",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"statuses\": [\"exited\",\"exited_unslashed\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "post"],
|
|
"comment": "Non-unique status values #4",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"statuses\": [\"withdrawal\",\"withdrawal_done\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "post"],
|
|
"comment": "Non-unique status values #5",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"statuses\": [\"active\",\"active\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validators", "post"],
|
|
"comment": "Non-unique status values #6",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "{\"statuses\": [\"pending_initialized\",\"pending_initialized\"]}"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validators",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validatorid"],
|
|
"comment": "Correct ValidatorIndex value",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators/0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"index": "", "balance": "", "status": "", "validator": {"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validatorid", "mainnet"],
|
|
"comment": "Validator index high(int32) value",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators/2147483647",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "oneof", "value": ["404", "200"]},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validatorid", "mainnet"],
|
|
"comment": "Validator index high(int32) + 1 value (unsupported)",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators/2147483648",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "500"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 500, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validatorid", "mainnet"],
|
|
"comment": "Validator index VALIDATOR_REGISTRY_LIMIT - 1",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators/1099511627775",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "500"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 500, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validatorid", "mainnet"],
|
|
"comment": "Validator index VALIDATOR_REGISTRY_LIMIT",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators/1099511627776",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validatorid", "mainnet"],
|
|
"comment": "Validator index high(uint64)",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators/18446744073709551615",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validatorid", "mainnet"],
|
|
"comment": "Validator index high(uint64) + 1",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators/18446744073709551616",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validatorid"],
|
|
"comment": "Incorrect uint64 integer as validator index",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators/18446744073709551616",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validatorid"],
|
|
"comment": "Incorrect uint64 integer as validator index",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators/18446744073709551616",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validatorid"],
|
|
"comment": "Incorrect hexadecimal value as validator key #1",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators/0x",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"}
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validatorid"],
|
|
"comment": "Incorrect hexadecimal value as validator key #2",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators/0x0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"}
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validatorid"],
|
|
"comment": "Incorrect hexadecimal value as validator key #2",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators/0x00",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"}
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validatorid"],
|
|
"comment": "Incorrect hexadecimal value as validator key #2",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators/0xHH",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"}
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validatorid"],
|
|
"comment": "Incorrect hexadecimal value as validator key #3",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators/0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"}
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validatorid"],
|
|
"comment": "Correct hexadecimal value as validator key #1",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators/0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "404"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 404, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validatorid"],
|
|
"comment": "Correct hexadecimal value as validator key #1",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validators/0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "404"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 404, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validator_balances_slow", "slow"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validator_balances",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": ""}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validator_balances"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validator_balances?id=0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": ""}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validator_balances"],
|
|
"comment": "Maximum number of id[] is 30",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validator_balances?id=0&id=1&id=2&id=3&id=4&id=5&id=6&id=7&id=8&id=9&id=10&id=11&id=12&id=13&id=14&id=15&id=16&id=17&id=18&id=19&id=20&id=21&id=22&id=23&id=24&id=25&id=26&id=27&id=28&id=29",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": ""}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validator_balances"],
|
|
"comment": "Number of id[] is bigger than 30",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validator_balances?id=0&id=1&id=2&id=3&id=4&id=5&id=6&id=7&id=8&id=9&id=10&id=11&id=12&id=13&id=14&id=15&id=16&id=17&id=18&id=19&id=20&id=21&id=22&id=23&id=24&id=25&id=26&id=27&id=28&id=29&id=30",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": ""}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validator_balances", "mainnet"],
|
|
"comment": "Index value equal to high(int32)",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validator_balances?id=2147483647",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "oneof", "value": ["400", "200"]}
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validator_balances", "mainnet"],
|
|
"comment": "Index value equal to high(int32) + 1",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validator_balances?id=2147483648",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "500"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 500, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validator_balances", "mainnet"],
|
|
"comment": "Index value equal to VALIDATOR_REGISTRY_LIMIT - 1",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validator_balances?id=1099511627775",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "500"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 500, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validator_balances", "mainnet"],
|
|
"comment": "Index value equal to VALIDATOR_REGISTRY_LIMIT",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validator_balances?id=1099511627776",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validator_balances"],
|
|
"comment": "Index value which is bigger max(ValidatorIndex)",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validator_balances?id=18446744073709551615",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validator_balances"],
|
|
"comment": "Index value which is bigger uint64",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validator_balances?id=18446744073709551616",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validator_balances"],
|
|
"comment": "Incorrect hexadecimal values #1",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validator_balances?id=0x",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validator_balances"],
|
|
"comment": "Incorrect hexadecimal values #2",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validator_balances?id=0x0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validator_balances"],
|
|
"comment": "Incorrect hexadecimal values #3",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validator_balances?id=0x00",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validator_balances"],
|
|
"comment": "Incorrect hexadecimal values #4",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validator_balances?id=0xJJ",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validator_balances"],
|
|
"comment": "Correct hexadecimal values #1",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validator_balances?id=0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": ""}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validator_balances"],
|
|
"comment": "Correct hexadecimal values #2",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validator_balances?id=0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": ""}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validator_balances"],
|
|
"comment": "Correct values of different types",
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/validator_balances?id=0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000&id=0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001&id=0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002&id=0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003&id=0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004&id=5&id=6&id=7&id=8&id=9",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": ""}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validator_balances_slow", "slow", "post"],
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "[]"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validator_balances",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": ""}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validator_balances", "post"],
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "[\"0\"]"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validator_balances",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": ""}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validator_balances", "post"],
|
|
"comment": "Maximum number of id[] is 30",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\",\"13\",\"14\",\"15\",\"16\",\"17\",\"18\",\"19\",\"20\",\"21\",\"22\",\"23\",\"24\",\"25\",\"26\",\"27\",\"28\",\"29\"]"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validator_balances",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": ""}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validator_balances", "mainnet", "post"],
|
|
"comment": "Index value equal to high(int32)",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "[\"2147483647\"]"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validator_balances",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "oneof", "value": ["400", "200"]}
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validator_balances", "mainnet", "post"],
|
|
"comment": "Index value equal to high(int32) + 1",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "[\"2147483648\"]"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validator_balances",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "500"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 500, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validator_balances", "mainnet", "post"],
|
|
"comment": "Index value equal to VALIDATOR_REGISTRY_LIMIT - 1",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "[\"1099511627775\"]"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validator_balances",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "500"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 500, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validator_balances", "mainnet", "post"],
|
|
"comment": "Index value equal to VALIDATOR_REGISTRY_LIMIT",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "[\"1099511627776\"]"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validator_balances",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validator_balances", "post"],
|
|
"comment": "Index value which is bigger max(ValidatorIndex)",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "[\"18446744073709551615\"]"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validator_balances",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validator_balances", "post"],
|
|
"comment": "Index value which is bigger uint64",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "[\"18446744073709551616\"]"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validator_balances",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validator_balances", "post"],
|
|
"comment": "Incorrect hexadecimal values #1",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "[\"0x\"]"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validator_balances",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validator_balances", "post"],
|
|
"comment": "Incorrect hexadecimal values #2",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "[\"0x0\"]"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validator_balances",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validator_balances", "post"],
|
|
"comment": "Incorrect hexadecimal values #3",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "[\"0x00\"]"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validator_balances",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validator_balances", "post"],
|
|
"comment": "Incorrect hexadecimal values #4",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "[\"0xJJ\"]"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validator_balances",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validator_balances", "post"],
|
|
"comment": "Correct hexadecimal values #1",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "[\"0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\"]"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validator_balances",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": ""}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validator_balances", "post"],
|
|
"comment": "Correct hexadecimal values #2",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "[\"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff\"]"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validator_balances",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": ""}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_validator_balances", "post"],
|
|
"comment": "Correct values of different types",
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "[\"0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\",\"0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001\",\"0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002\",\"0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003\",\"0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004\",\"5\",\"6\",\"7\",\"8\",\"9\"]"
|
|
},
|
|
"url": "/eth/v1/beacon/states/head/validator_balances",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "balance": ""}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_committees"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/committees",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "slot": "", "validators": [""]}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_committees"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/committees?index=0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "slot": "", "validators": [""]}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_committees"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/committees?index=18446744073709551615",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_committees"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/committees?index=18446744073709551616",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_committees"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/committees?slot=0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "slot": "", "validators": [""]}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_committees"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/committees?slot=18446744073709551616",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_committees"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/committees?epoch=0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "slot": "", "validators": [""]}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_committees"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/committees?epoch=576460752303423488",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_committees"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/committees?epoch=18446744073709551615",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_committees"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/committees?epoch=18446744073709551616",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_committees"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/committees?slot=0&index=0&epoch=0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"index": "", "slot": "", "validators": [""]}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_randao_mix"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/randao",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"randao": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_randao_mix"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/randao?epoch=0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"randao": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_randao_mix"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/randao?epoch=576460752303423488",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_randao_mix"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/randao?epoch=18446744073709551615",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "states_randao_mix"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/states/head/randao?epoch=18446744073709551616",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_headers"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/headers",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"root": "", "canonical": true, "header": {"message": {"slot": "", "proposer_index": "", "parent_root": "", "state_root": "", "body_root": ""}, "signature": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_headers"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/headers?slot=0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"root": "", "canonical": true, "header": {"message": {"slot": "", "proposer_index": "", "parent_root": "", "state_root": "", "body_root": ""}, "signature": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_headers"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/headers?slot=18446744073709551615",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "404"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 404, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_headers"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/headers?slot=18446744073709551616",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_headers"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/headers?parent_root=0x",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_headers"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/headers?parent_root=0x0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_headers"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/headers?parent_root=0xPP",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_headers"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/headers?parent_root=0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "500"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 500, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_headers_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/headers/head",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"root": "", "canonical": true, "header": {"message": {"slot": "", "proposer_index": "", "parent_root": "", "state_root": "", "body_root": ""}, "signature": ""}}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_headers_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/headers/genesis",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"root": "", "canonical": true, "header": {"message": {"slot": "", "proposer_index": "", "parent_root": "", "state_root": "", "body_root": ""}, "signature": ""}}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_headers_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/headers/finalized",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"root": "", "canonical": true, "header": {"message": {"slot": "", "proposer_index": "", "parent_root": "", "state_root": "", "body_root": ""}, "signature": ""}}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_headers_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/headers/heat",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_headers_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/headers/geneziz",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_headers_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/headers/finalised",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_headers_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/headers/0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"root": "", "canonical": true, "header": {"message": {"slot": "", "proposer_index": "", "parent_root": "", "state_root": "", "body_root": ""}, "signature": ""}}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_headers_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/headers/0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "404"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 404, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_headers_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/headers/18446744073709551615",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "404"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 404, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_headers_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/headers/18446744073709551616",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_headers_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/headers/0x",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_headers_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/headers/0x0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_headers_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/headers/0x00",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_headers_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/headers/0xII",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_headers_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/headers/foobar",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blocks_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blocks/head",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "410"}
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blocks_blockid"],
|
|
"request": {
|
|
"url": "/eth/v2/beacon/blocks/head",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [
|
|
{"key": "Content-Type", "value": "application/json", "operator": "equals"},
|
|
{"key": "Eth-Consensus-Version", "value": ["phase0", "altair", "bellatrix"], "operator": "oneof"}
|
|
],
|
|
"body": [{"operator": "jstructcmpns", "value": {"version": "", "data": {"message": {"slot": "", "proposer_index": "", "parent_root": "", "state_root": "", "body": {"randao_reveal": "", "eth1_data": {"deposit_root": "", "deposit_count": "", "block_hash": ""}, "graffiti": "", "proposer_slashings": [{"signed_header_1": {"message": {"slot": "", "proposer_index": "", "parent_root": "", "state_root": "", "body_root": ""},"signature": ""}, "signed_header_2": {"message": {"slot": "", "proposer_index": "", "parent_root": "", "state_root": "", "body_root": ""},"signature": ""}}], "attester_slashings": [{"attestation_1": {"attesting_indices": [""], "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}, "attestation_2": {"attesting_indices": [""], "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}}], "attestations": [{"aggregation_bits": "", "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}], "deposits": [{"proof": [""], "data": {"pubkey": "", "withdrawal_credentials": "", "amount": "", "signature": ""}}], "voluntary_exits": [{"message": {"epoch": "", "validator_index": ""}, "signature": ""}]}}, "signature": ""}}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blocks_blockid"],
|
|
"request": {
|
|
"url": "/eth/v2/beacon/blocks/genesis",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [
|
|
{"key": "Content-Type", "value": "application/json", "operator": "equals"},
|
|
{"key": "Eth-Consensus-Version", "value": ["phase0", "altair", "bellatrix"], "operator": "oneof"}
|
|
],
|
|
"body": [{"operator": "jstructcmpns", "value": {"version": "", "data": {"message": {"slot": "", "proposer_index": "", "parent_root": "", "state_root": "", "body": {"randao_reveal": "", "eth1_data": {"deposit_root": "", "deposit_count": "", "block_hash": ""}, "graffiti": "", "proposer_slashings": [{"signed_header_1": {"message": {"slot": "", "proposer_index": "", "parent_root": "", "state_root": "", "body_root": ""},"signature": ""}, "signed_header_2": {"message": {"slot": "", "proposer_index": "", "parent_root": "", "state_root": "", "body_root": ""},"signature": ""}}], "attester_slashings": [{"attestation_1": {"attesting_indices": [""], "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}, "attestation_2": {"attesting_indices": [""], "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}}], "attestations": [{"aggregation_bits": "", "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}], "deposits": [{"proof": [""], "data": {"pubkey": "", "withdrawal_credentials": "", "amount": "", "signature": ""}}], "voluntary_exits": [{"message": {"epoch": "", "validator_index": ""}, "signature": ""}]}}, "signature": ""}}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blocks_blockid"],
|
|
"request": {
|
|
"url": "/eth/v2/beacon/blocks/finalized",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [
|
|
{"key": "Content-Type", "value": "application/json", "operator": "equals"},
|
|
{"key": "Eth-Consensus-Version", "value": ["phase0", "altair", "bellatrix"], "operator": "oneof"}
|
|
],
|
|
"body": [{"operator": "jstructcmpns", "value": {"version": "", "data": {"message": {"slot": "", "proposer_index": "", "parent_root": "", "state_root": "", "body": {"randao_reveal": "", "eth1_data": {"deposit_root": "", "deposit_count": "", "block_hash": ""}, "graffiti": "", "proposer_slashings": [{"signed_header_1": {"message": {"slot": "", "proposer_index": "", "parent_root": "", "state_root": "", "body_root": ""},"signature": ""}, "signed_header_2": {"message": {"slot": "", "proposer_index": "", "parent_root": "", "state_root": "", "body_root": ""},"signature": ""}}], "attester_slashings": [{"attestation_1": {"attesting_indices": [""], "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}, "attestation_2": {"attesting_indices": [""], "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}}], "attestations": [{"aggregation_bits": "", "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}], "deposits": [{"proof": [""], "data": {"pubkey": "", "withdrawal_credentials": "", "amount": "", "signature": ""}}], "voluntary_exits": [{"message": {"epoch": "", "validator_index": ""}, "signature": ""}]}}, "signature": ""}}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blocks_blockid"],
|
|
"request": {
|
|
"url": "/eth/v2/beacon/blocks/0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [
|
|
{"key": "Content-Type", "value": "application/json", "operator": "equals"},
|
|
{"key": "Eth-Consensus-Version", "value": ["phase0", "altair", "bellatrix"], "operator": "oneof"}
|
|
],
|
|
"body": [{"operator": "jstructcmpns", "value": {"version": "", "data": {"message": {"slot": "", "proposer_index": "", "parent_root": "", "state_root": "", "body": {"randao_reveal": "", "eth1_data": {"deposit_root": "", "deposit_count": "", "block_hash": ""}, "graffiti": "", "proposer_slashings": [{"signed_header_1": {"message": {"slot": "", "proposer_index": "", "parent_root": "", "state_root": "", "body_root": ""},"signature": ""}, "signed_header_2": {"message": {"slot": "", "proposer_index": "", "parent_root": "", "state_root": "", "body_root": ""},"signature": ""}}], "attester_slashings": [{"attestation_1": {"attesting_indices": [""], "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}, "attestation_2": {"attesting_indices": [""], "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}}], "attestations": [{"aggregation_bits": "", "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}], "deposits": [{"proof": [""], "data": {"pubkey": "", "withdrawal_credentials": "", "amount": "", "signature": ""}}], "voluntary_exits": [{"message": {"epoch": "", "validator_index": ""}, "signature": ""}]}}, "signature": ""}}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blocks_blockid"],
|
|
"request": {
|
|
"url": "/eth/v2/beacon/blocks/18446744073709551615",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "404"},
|
|
"headers": [
|
|
{"key": "Content-Type", "value": "application/json", "operator": "equals"},
|
|
{"key": "Eth-Consensus-Version", "operator": "notexists"}
|
|
],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 404, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blocks_blockid"],
|
|
"request": {
|
|
"url": "/eth/v2/beacon/blocks/18446744073709551616",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [
|
|
{"key": "Content-Type", "value": "application/json", "operator": "equals"},
|
|
{"key": "Eth-Consensus-Version", "operator": "notexists"}
|
|
],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blocks_blockid"],
|
|
"request": {
|
|
"url": "/eth/v2/beacon/blocks/0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "404"},
|
|
"headers": [
|
|
{"key": "Content-Type", "value": "application/json", "operator": "equals"},
|
|
{"key": "Eth-Consensus-Version", "operator": "notexists"}
|
|
],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 404, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blocks_blockid"],
|
|
"request": {
|
|
"url": "/eth/v2/beacon/blocks/18446744073709551616",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [
|
|
{"key": "Content-Type", "value": "application/json", "operator": "equals"},
|
|
{"key": "Eth-Consensus-Version", "operator": "notexists"}
|
|
],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blocks_blockid"],
|
|
"request": {
|
|
"url": "/eth/v2/beacon/blocks/heat",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blocks_blockid"],
|
|
"request": {
|
|
"url": "/eth/v2/beacon/blocks/geneziz",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blocks_blockid"],
|
|
"request": {
|
|
"url": "/eth/v2/beacon/blocks/finalised",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blocks_blockid"],
|
|
"request": {
|
|
"url": "/eth/v2/beacon/blocks/foobar",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blocks_blockid"],
|
|
"request": {
|
|
"url": "/eth/v2/beacon/blocks/0x",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blocks_blockid"],
|
|
"request": {
|
|
"url": "/eth/v2/beacon/blocks/0x0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blocks_blockid"],
|
|
"request": {
|
|
"url": "/eth/v2/beacon/blocks/0x00",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blocks_blockid"],
|
|
"request": {
|
|
"url": "/eth/v2/beacon/blocks/0x000000000000000000000000000000000000000000000000000000000000000000",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_block_root_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blocks/head/root",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"],"value": {"root": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_block_root_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blocks/genesis/root",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"],"value": {"root": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_block_root_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blocks/finalized/root",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"],"value": {"root": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_block_root_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blocks/0/root",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"],"value": {"root": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_block_root_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blocks/18446744073709551615/root",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "404"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 404, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_block_root_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blocks/18446744073709551616/root",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_block_root_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blocks/0x0000000000000000000000000000000000000000000000000000000000000000/root",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "404"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 404, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_block_root_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blocks/18446744073709551616/root",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_block_root_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blocks/heat/root",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_block_root_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blocks/geneziz/root",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_block_root_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blocks/finalised/root",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_block_root_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blocks/foobar/root",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_block_root_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blocks/0x/root",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_block_root_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blocks/0x0/root",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_block_root_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blocks/0x00/root",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_block_root_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blocks/0x000000000000000000000000000000000000000000000000000000000000000000/root",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_block_attestations_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blocks/head/attestations",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"],"value": [{"aggregation_bits": "", "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_block_attestations_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blocks/genesis/attestations",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"],"value": [{"aggregation_bits": "", "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_block_attestations_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blocks/finalized/attestations",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"],"value": [{"aggregation_bits": "", "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_block_attestations_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blocks/0/attestations",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"],"value": [{"aggregation_bits": "", "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_block_attestations_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blocks/18446744073709551615/attestations",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "404"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 404, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_block_attestations_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blocks/18446744073709551616/attestations",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_block_attestations_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blocks/0x0000000000000000000000000000000000000000000000000000000000000000/attestations",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "404"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 404, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_block_attestations_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blocks/heat/attestations",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_block_attestations_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blocks/geneziz/attestations",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_block_attestations_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blocks/finalised/attestations",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_block_attestations_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blocks/foobar/attestations",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_block_attestations_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blocks/0x/attestations",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_block_attestations_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blocks/0x0/attestations",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_block_attestations_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blocks/0x00/attestations",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_block_attestations_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blocks/0x000000000000000000000000000000000000000000000000000000000000000000/attestations",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blindedblocks_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blinded_blocks/head",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [
|
|
{"key": "Content-Type", "value": "application/json", "operator": "equals"},
|
|
{"key": "Eth-Consensus-Version", "value": ["phase0", "altair", "bellatrix"], "operator": "oneof"}
|
|
],
|
|
"body": [{"operator": "jstructcmpns", "value": {"version": "", "data": {"message": {"slot": "", "proposer_index": "", "parent_root": "", "state_root": "", "body": {"randao_reveal": "", "eth1_data": {"deposit_root": "", "deposit_count": "", "block_hash": ""}, "graffiti": "", "proposer_slashings": [{"signed_header_1": {"message": {"slot": "", "proposer_index": "", "parent_root": "", "state_root": "", "body_root": ""},"signature": ""}, "signed_header_2": {"message": {"slot": "", "proposer_index": "", "parent_root": "", "state_root": "", "body_root": ""},"signature": ""}}], "attester_slashings": [{"attestation_1": {"attesting_indices": [""], "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}, "attestation_2": {"attesting_indices": [""], "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}}], "attestations": [{"aggregation_bits": "", "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}], "deposits": [{"proof": [""], "data": {"pubkey": "", "withdrawal_credentials": "", "amount": "", "signature": ""}}], "voluntary_exits": [{"message": {"epoch": "", "validator_index": ""}, "signature": ""}]}}, "signature": ""}}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blindedblocks_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blinded_blocks/genesis",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [
|
|
{"key": "Content-Type", "value": "application/json", "operator": "equals"},
|
|
{"key": "Eth-Consensus-Version", "value": ["phase0", "altair", "bellatrix"], "operator": "oneof"}
|
|
],
|
|
"body": [{"operator": "jstructcmpns", "value": {"version": "", "data": {"message": {"slot": "", "proposer_index": "", "parent_root": "", "state_root": "", "body": {"randao_reveal": "", "eth1_data": {"deposit_root": "", "deposit_count": "", "block_hash": ""}, "graffiti": "", "proposer_slashings": [{"signed_header_1": {"message": {"slot": "", "proposer_index": "", "parent_root": "", "state_root": "", "body_root": ""},"signature": ""}, "signed_header_2": {"message": {"slot": "", "proposer_index": "", "parent_root": "", "state_root": "", "body_root": ""},"signature": ""}}], "attester_slashings": [{"attestation_1": {"attesting_indices": [""], "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}, "attestation_2": {"attesting_indices": [""], "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}}], "attestations": [{"aggregation_bits": "", "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}], "deposits": [{"proof": [""], "data": {"pubkey": "", "withdrawal_credentials": "", "amount": "", "signature": ""}}], "voluntary_exits": [{"message": {"epoch": "", "validator_index": ""}, "signature": ""}]}}, "signature": ""}}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blindedblocks_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blinded_blocks/finalized",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [
|
|
{"key": "Content-Type", "value": "application/json", "operator": "equals"},
|
|
{"key": "Eth-Consensus-Version", "value": ["phase0", "altair", "bellatrix"], "operator": "oneof"}
|
|
],
|
|
"body": [{"operator": "jstructcmpns", "value": {"version": "", "data": {"message": {"slot": "", "proposer_index": "", "parent_root": "", "state_root": "", "body": {"randao_reveal": "", "eth1_data": {"deposit_root": "", "deposit_count": "", "block_hash": ""}, "graffiti": "", "proposer_slashings": [{"signed_header_1": {"message": {"slot": "", "proposer_index": "", "parent_root": "", "state_root": "", "body_root": ""},"signature": ""}, "signed_header_2": {"message": {"slot": "", "proposer_index": "", "parent_root": "", "state_root": "", "body_root": ""},"signature": ""}}], "attester_slashings": [{"attestation_1": {"attesting_indices": [""], "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}, "attestation_2": {"attesting_indices": [""], "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}}], "attestations": [{"aggregation_bits": "", "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}], "deposits": [{"proof": [""], "data": {"pubkey": "", "withdrawal_credentials": "", "amount": "", "signature": ""}}], "voluntary_exits": [{"message": {"epoch": "", "validator_index": ""}, "signature": ""}]}}, "signature": ""}}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blindedblocks_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blinded_blocks/0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [
|
|
{"key": "Content-Type", "value": "application/json", "operator": "equals"},
|
|
{"key": "Eth-Consensus-Version", "value": ["phase0", "altair", "bellatrix"], "operator": "oneof"}
|
|
],
|
|
"body": [{"operator": "jstructcmpns", "value": {"version": "", "data": {"message": {"slot": "", "proposer_index": "", "parent_root": "", "state_root": "", "body": {"randao_reveal": "", "eth1_data": {"deposit_root": "", "deposit_count": "", "block_hash": ""}, "graffiti": "", "proposer_slashings": [{"signed_header_1": {"message": {"slot": "", "proposer_index": "", "parent_root": "", "state_root": "", "body_root": ""},"signature": ""}, "signed_header_2": {"message": {"slot": "", "proposer_index": "", "parent_root": "", "state_root": "", "body_root": ""},"signature": ""}}], "attester_slashings": [{"attestation_1": {"attesting_indices": [""], "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}, "attestation_2": {"attesting_indices": [""], "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}}], "attestations": [{"aggregation_bits": "", "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}], "deposits": [{"proof": [""], "data": {"pubkey": "", "withdrawal_credentials": "", "amount": "", "signature": ""}}], "voluntary_exits": [{"message": {"epoch": "", "validator_index": ""}, "signature": ""}]}}, "signature": ""}}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blindedblocks_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blinded_blocks/18446744073709551615",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "404"},
|
|
"headers": [
|
|
{"key": "Content-Type", "value": "application/json", "operator": "equals"},
|
|
{"key": "Eth-Consensus-Version", "operator": "notexists"}
|
|
],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 404, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blindedblocks_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blinded_blocks/18446744073709551616",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [
|
|
{"key": "Content-Type", "value": "application/json", "operator": "equals"},
|
|
{"key": "Eth-Consensus-Version", "operator": "notexists"}
|
|
],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blindedblocks_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blinded_blocks/0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "404"},
|
|
"headers": [
|
|
{"key": "Content-Type", "value": "application/json", "operator": "equals"},
|
|
{"key": "Eth-Consensus-Version", "operator": "notexists"}
|
|
],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 404, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blindedblocks_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blinded_blocks/18446744073709551616",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [
|
|
{"key": "Content-Type", "value": "application/json", "operator": "equals"},
|
|
{"key": "Eth-Consensus-Version", "operator": "notexists"}
|
|
],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blindedblocks_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blinded_blocks/heat",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blindedblocks_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blinded_blocks/geneziz",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blindedblocks_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blinded_blocks/finalised",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blindedblocks_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blinded_blocks/foobar",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blindedblocks_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blinded_blocks/0x",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blindedblocks_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blinded_blocks/0x0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blindedblocks_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blinded_blocks/0x00",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blindedblocks_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blinded_blocks/0x000000000000000000000000000000000000000000000000000000000000000000",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_block_blinded_blocks"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blinded_blocks",
|
|
"method": "POST",
|
|
"headers": {"Accept": "application/json"},
|
|
"body": {"content-type": "application/json", "data": "[]"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_light_client_bootstrap_blockroot"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/light_client/bootstrap/0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "404"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_light_client_bootstrap_blockroot"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/light_client/bootstrap/head",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_light_client_updates"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/light_client/updates?start_period=0&count=50",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": [],"value": [{"version":"","data":{"attested_header":{"beacon":{"slot":"6","proposer_index":"28","parent_root":"0xc3640959c639e6fd3e3404842f09e211c0b74e71bb44fc32939a013bf385fe77","state_root":"0x3c61bd0b9bdb706d42b4b2a093fc3bfc50444b60d67e66f0f90ac5a1bdf0fdd2","body_root":"0x41d46fd59c2b75b47f1b2a9904f1af14a0b21b2d00108e9c2c7db63355b4c14d"}},"next_sync_committee":{"pubkeys":["0x9799063b332cfbdd6c5913fdcf47d83b6277be3f174d2acd8059dcadb84dab131a9c8ec4ddb4e1e42c0acd543deebfa9"],"aggregate_pubkey":"0x8675cdecf7cb5aa6c14de5ad24f638d6c384b65737d9f60618e0a9c1411bc11659a080617d1e07d46789739ceb929d02"},"next_sync_committee_branch":["0x40cfc59c70b042b86576ff570f8c4f84ca397e436c9a13a16fc713723a53f983"],"finalized_header":{"beacon":{"slot":"0","proposer_index":"0","parent_root":"0x0000000000000000000000000000000000000000000000000000000000000000","state_root":"0x0000000000000000000000000000000000000000000000000000000000000000","body_root":"0x0000000000000000000000000000000000000000000000000000000000000000"}},"finality_branch":["0x0000000000000000000000000000000000000000000000000000000000000000"],"sync_aggregate":{"sync_committee_bits":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","sync_committee_signature":"0xa9e05329da094eebe7874f1664c2dfccd0430420c720e8243c25e4031a678f8d99a69270f7b72ba09d6672a7e61e155612f1e0ccf260ede2344322ea53a27acfefe6cd09bd3a543dab1f9678e474f3ac01da94af28373031c2f09e3aeeba2de8"},"signature_slot":"7"}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_light_client_updates"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/light_client/updates?start_period=X&count=50",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_light_client_updates"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/light_client/updates?start_period=0&count=X",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_light_client_updates"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/light_client/updates?count=50",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_light_client_updates"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/light_client/updates?start_period=0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_light_client_finality_update"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/light_client/finality_update",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"],"value": {"attested_header":{"beacon":{"slot":"2","proposer_index":"18","parent_root":"0x87cc18e17479f1af290f078dee05f78fb61a493866874d4c7319737f8470d8c3","state_root":"0x9b33428ca370d41a89e94239d7bb4f117bd6f3d828f84307523660481613f036","body_root":"0x2546d749931de6be38ea6aa16f0633d46aef84543f3b25804f0e14a41774ca0f"}},"finalized_header":{"beacon":{"slot":"0","proposer_index":"0","parent_root":"0x0000000000000000000000000000000000000000000000000000000000000000","state_root":"0x0000000000000000000000000000000000000000000000000000000000000000","body_root":"0x0000000000000000000000000000000000000000000000000000000000000000"}},"finality_branch":["0x0000000000000000000000000000000000000000000000000000000000000000"],"sync_aggregate":{"sync_committee_bits":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","sync_committee_signature":"0xb73ccf4a5ed492a75e6d569de7caf3595203b5b0687c6ea02531a9ae2fbbc7f34b9fe86e8b8f0e0ae976f199641a296b0e29a757114dc5c3cb2516d6affead47df71078f2216ec0196bfd11d6ff1881722e95317c7e6f3446ff5aacbdc94f300"},"signature_slot":"3"}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_light_client_optimistic_update"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/light_client/optimistic_update",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"],"value": {"attested_header":{"beacon":{"slot":"2","proposer_index":"18","parent_root":"0x87cc18e17479f1af290f078dee05f78fb61a493866874d4c7319737f8470d8c3","state_root":"0x9b33428ca370d41a89e94239d7bb4f117bd6f3d828f84307523660481613f036","body_root":"0x2546d749931de6be38ea6aa16f0633d46aef84543f3b25804f0e14a41774ca0f"}},"sync_aggregate":{"sync_committee_bits":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","sync_committee_signature":"0xb73ccf4a5ed492a75e6d569de7caf3595203b5b0687c6ea02531a9ae2fbbc7f34b9fe86e8b8f0e0ae976f199641a296b0e29a757114dc5c3cb2516d6affead47df71078f2216ec0196bfd11d6ff1881722e95317c7e6f3446ff5aacbdc94f300"},"signature_slot":"3"}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "pool_attestations"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/pool/attestations",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"],"value": [{"aggregation_bits": "", "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "pool_attestations"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/pool/attestations?slot=0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"],"value": [{"aggregation_bits": "", "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "pool_attestations"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/pool/attestations?slot=18446744073709551615",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"],"value": [{"aggregation_bits": "", "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "pool_attestations"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/pool/attestations?slot=18446744073709551616",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "pool_attestations"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/pool/attestations?slot=word",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "pool_attestations"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/pool/attestations?committee_index=0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"],"value": [{"aggregation_bits": "", "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "pool_attestations"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/pool/attestations?committee_index=18446744073709551615",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "pool_attestations"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/pool/attestations?committee_index=18446744073709551616",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "pool_attestations"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/pool/attestations?committee_index=word",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "pool_attestations"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/pool/attestations?slot=0&committee_index=0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"],"value": [{"aggregation_bits": "", "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "pool_attestations"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/pool/attestations?slot=word&committee_index=word",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "pool_attestations"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/pool/attestations?slot=18446744073709551615&committee_index=18446744073709551615",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "pool_attestations"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/pool/attestations?slot=18446744073709551616&committee_index=18446744073709551616",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "pool_attestations_electra"],
|
|
"request": {
|
|
"url": "/eth/v2/beacon/pool/attestations",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals", "eth-consensus-version": "electra"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"],"value": [{"aggregation_bits": "", "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "pool_attestations_electra"],
|
|
"request": {
|
|
"url": "/eth/v2/beacon/pool/attestations?slot=0",
|
|
"headers": {"Eth-Consensus-Version": "electra", "Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals", "eth-consensus-version": "electra"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"],"value": [{"aggregation_bits": "", "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "pool_attestations_electra"],
|
|
"request": {
|
|
"url": "/eth/v2/beacon/pool/attestations?slot=18446744073709551615",
|
|
"headers": {"Eth-Consensus-Version": "electra", "Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals", "eth-consensus-version": "electra"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"],"value": [{"aggregation_bits": "", "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "pool_attestations_electra"],
|
|
"request": {
|
|
"url": "/eth/v2/beacon/pool/attestations?slot=18446744073709551616",
|
|
"headers": {"Eth-Consensus-Version": "electra", "Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals", "eth-consensus-version": "electra"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "pool_attestations_electra"],
|
|
"request": {
|
|
"url": "/eth/v2/beacon/pool/attestations?slot=word",
|
|
"headers": {"Eth-Consensus-Version": "electra", "Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals", "eth-consensus-version": "electra"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "pool_attestations_electra"],
|
|
"request": {
|
|
"url": "/eth/v2/beacon/pool/attestations?committee_index=0",
|
|
"headers": {"Eth-Consensus-Version": "electra", "Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals", "eth-consensus-version": "electra"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"],"value": [{"aggregation_bits": "", "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "pool_attestations_electra"],
|
|
"request": {
|
|
"url": "/eth/v2/beacon/pool/attestations?committee_index=18446744073709551615",
|
|
"headers": {"Eth-Consensus-Version": "electra", "Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals", "eth-consensus-version": "electra"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "pool_attestations_electra"],
|
|
"request": {
|
|
"url": "/eth/v2/beacon/pool/attestations?committee_index=18446744073709551616",
|
|
"headers": {"Eth-Consensus-Version": "electra", "Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals", "eth-consensus-version": "electra"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "pool_attestations_electra"],
|
|
"request": {
|
|
"url": "/eth/v2/beacon/pool/attestations?committee_index=word",
|
|
"headers": {"Eth-Consensus-Version": "electra", "Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals", "eth-consensus-version": "electra"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "pool_attestations_electra"],
|
|
"request": {
|
|
"url": "/eth/v2/beacon/pool/attestations?slot=0&committee_index=0",
|
|
"headers": {"Eth-Consensus-Version": "electra", "Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals", "eth-consensus-version": "electra"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"],"value": [{"aggregation_bits": "", "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "pool_attestations_electra"],
|
|
"request": {
|
|
"url": "/eth/v2/beacon/pool/attestations?slot=word&committee_index=word",
|
|
"headers": {"Eth-Consensus-Version": "electra", "Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals", "eth-consensus-version": "electra"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "pool_attestations_electra"],
|
|
"request": {
|
|
"url": "/eth/v2/beacon/pool/attestations?slot=18446744073709551615&committee_index=18446744073709551615",
|
|
"headers": {"Eth-Consensus-Version": "electra", "Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals", "eth-consensus-version": "electra"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "pool_attestations_electra"],
|
|
"request": {
|
|
"url": "/eth/v2/beacon/pool/attestations?slot=18446744073709551616&committee_index=18446744073709551616",
|
|
"headers": {"Eth-Consensus-Version": "electra", "Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals", "eth-consensus-version": "electra"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "pool_attester_slashings"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/pool/attester_slashings",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"],"value": [{"attestation_1": {"attesting_indices": [""], "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}, "attestation_2": {"attesting_indices": [""], "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "pool_attester_slashings_electra"],
|
|
"request": {
|
|
"url": "/eth/v2/beacon/pool/attester_slashings",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}, {"key": "eth-consensus-version", "value": ["phase0", "altair", "bellatrix"], "operator": "oneof"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"],"value": [{"attestation_1": {"attesting_indices": [""], "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}, "attestation_2": {"attesting_indices": [""], "signature": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "pool_proposer_slashings"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/pool/proposer_slashings",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"],"value": [{"signed_header_1": {"message": {"slot": "", "proposer_index": "", "parent_root": "", "state_root": "", "body_root": ""}, "signature": ""}, "signed_header_2": {"message": {"slot": "", "proposer_index": "", "parent_root": "", "state_root": "", "body_root": ""}, "signature": ""}}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "pool_voluntary_exits"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/pool/voluntary_exits",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"],"value": [{"message": {"epoch": "", "validator_index": ""}, "signature": ""}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "pool_bls_to_execution_changes"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/pool/bls_to_execution_changes",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"],"value": [{"message": {"validator_index": "", "from_bls_pubkey": "", "to_execution_address": ""}, "signature": ""}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "blob_sidecars_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blob_sidecars/head",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "200"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "blob_sidecars_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blob_sidecars/finalized",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "200"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "blob_sidecars_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/blob_sidecars/0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "404"}}
|
|
},
|
|
{
|
|
"topics": ["builder", "states_expected_withdrawals"],
|
|
"request": {
|
|
"url": "/eth/v1/builder/states/head/expected_withdrawals",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["builder", "states_expected_withdrawals"],
|
|
"request": {
|
|
"url": "/eth/v1/builder/states/genesis/expected_withdrawals",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["builder", "states_expected_withdrawals"],
|
|
"request": {
|
|
"url": "/eth/v1/builder/states/finalized/expected_withdrawals",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["builder", "states_expected_withdrawals"],
|
|
"request": {
|
|
"url": "/eth/v1/builder/states/justified/expected_withdrawals",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["builder", "states_expected_withdrawals"],
|
|
"request": {"url": "/eth/v1/builder/states/heat/expected_withdrawals"},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["builder", "states_expected_withdrawals"],
|
|
"request": {"url": "/eth/v1/builder/states/genezis/expected_withdrawals"},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["builder", "states_expected_withdrawals"],
|
|
"request": {"url": "/eth/v1/builder/states/finalised/expected_withdrawals"},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["builder", "states_expected_withdrawals"],
|
|
"request": {"url": "/eth/v1/builder/states/justilied/expected_withdrawals"},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["builder", "states_expected_withdrawals"],
|
|
"request": {
|
|
"url": "/eth/v1/builder/states/0/expected_withdrawals",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["builder", "states_expected_withdrawals"],
|
|
"request": {
|
|
"url": "/eth/v1/builder/states/18446744073709551615/expected_withdrawals",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"comment": "Maximum value for uint64",
|
|
"response": {"status": {"operator": "equals", "value": "404"}}
|
|
},
|
|
{
|
|
"topics": ["builder", "states_expected_withdrawals"],
|
|
"request": {
|
|
"url": "/eth/v1/builder/states/18446744073709551616/expected_withdrawals",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"comment": "Overflow uint64 value test",
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["builder", "states_expected_withdrawals"],
|
|
"request": {"url": "/eth/v1/builder/states/0x/expected_withdrawals"},
|
|
"comment": "Hexadecimal state root tests",
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["builder", "states_expected_withdrawals"],
|
|
"request": {"url": "/eth/v1/builder/states/0x0/expected_withdrawals"},
|
|
"comment": "Hexadecimal state root tests",
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["builder", "states_expected_withdrawals"],
|
|
"request": {"url": "/eth/v1/builder/states/0x00/expected_withdrawals"},
|
|
"comment": "Hexadecimal state root tests",
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["builder", "states_expected_withdrawals"],
|
|
"request": {"url": "/eth/v1/builder/states/0x1/expected_withdrawals"},
|
|
"comment": "Hexadecimal state root tests",
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["builder", "states_expected_withdrawals"],
|
|
"request": {"url": "/eth/v1/builder/states/0x11/expected_withdrawals"},
|
|
"comment": "Hexadecimal state root tests",
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["config"],
|
|
"request": {
|
|
"url": "/eth/v1/config/fork_schedule",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"previous_version": "", "current_version": "", "epoch": ""}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["config"],
|
|
"request": {
|
|
"url": "/eth/v1/config/spec",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"MAX_COMMITTEES_PER_SLOT":"","TARGET_COMMITTEE_SIZE":"","MAX_VALIDATORS_PER_COMMITTEE":"","SHUFFLE_ROUND_COUNT":"","HYSTERESIS_QUOTIENT":"","HYSTERESIS_DOWNWARD_MULTIPLIER":"","HYSTERESIS_UPWARD_MULTIPLIER":"","MIN_DEPOSIT_AMOUNT":"","MAX_EFFECTIVE_BALANCE":"","MAX_EFFECTIVE_BALANCE_ELECTRA":"","EFFECTIVE_BALANCE_INCREMENT":"","MIN_ATTESTATION_INCLUSION_DELAY":"","SLOTS_PER_EPOCH":"","MIN_SEED_LOOKAHEAD":"","MAX_SEED_LOOKAHEAD":"","EPOCHS_PER_ETH1_VOTING_PERIOD":"","SLOTS_PER_HISTORICAL_ROOT":"","MIN_EPOCHS_TO_INACTIVITY_PENALTY":"","EPOCHS_PER_HISTORICAL_VECTOR":"","EPOCHS_PER_SLASHINGS_VECTOR":"","HISTORICAL_ROOTS_LIMIT":"","VALIDATOR_REGISTRY_LIMIT":"","BASE_REWARD_FACTOR":"","WHISTLEBLOWER_REWARD_QUOTIENT":"","PROPOSER_REWARD_QUOTIENT":"","INACTIVITY_PENALTY_QUOTIENT":"","MIN_SLASHING_PENALTY_QUOTIENT":"","PROPORTIONAL_SLASHING_MULTIPLIER":"","MAX_PROPOSER_SLASHINGS":"","MAX_ATTESTER_SLASHINGS":"","MAX_ATTESTATIONS":"","MAX_DEPOSITS":"","MAX_VOLUNTARY_EXITS":"","INACTIVITY_PENALTY_QUOTIENT_ALTAIR":"","MIN_SLASHING_PENALTY_QUOTIENT_ALTAIR":"","PROPORTIONAL_SLASHING_MULTIPLIER_ALTAIR":"","SYNC_COMMITTEE_SIZE":"","EPOCHS_PER_SYNC_COMMITTEE_PERIOD":"","MIN_SYNC_COMMITTEE_PARTICIPANTS":"","UPDATE_TIMEOUT":"","INACTIVITY_PENALTY_QUOTIENT_BELLATRIX":"","MIN_SLASHING_PENALTY_QUOTIENT_BELLATRIX":"","PROPORTIONAL_SLASHING_MULTIPLIER_BELLATRIX":"","MAX_BYTES_PER_TRANSACTION":"","MAX_TRANSACTIONS_PER_PAYLOAD":"","BYTES_PER_LOGS_BLOOM":"","MAX_EXTRA_DATA_BYTES":"","MAX_BLS_TO_EXECUTION_CHANGES":"","MAX_WITHDRAWALS_PER_PAYLOAD":"","MAX_VALIDATORS_PER_WITHDRAWALS_SWEEP":"","PRESET_BASE":"","CONFIG_NAME":"","TERMINAL_TOTAL_DIFFICULTY":"","TERMINAL_BLOCK_HASH":"","TERMINAL_BLOCK_HASH_ACTIVATION_EPOCH":"","MIN_GENESIS_ACTIVE_VALIDATOR_COUNT":"","MIN_GENESIS_TIME":"","GENESIS_FORK_VERSION":"","GENESIS_DELAY":"","ALTAIR_FORK_VERSION":"","ALTAIR_FORK_EPOCH":"","BELLATRIX_FORK_VERSION":"","BELLATRIX_FORK_EPOCH":"","CAPELLA_FORK_VERSION":"","CAPELLA_FORK_EPOCH":"","DENEB_FORK_VERSION":"","DENEB_FORK_EPOCH":"","ELECTRA_FORK_VERSION":"","ELECTRA_FORK_EPOCH":"","SECONDS_PER_SLOT":"","SECONDS_PER_ETH1_BLOCK":"","MIN_VALIDATOR_WITHDRAWABILITY_DELAY":"","FIELD_ELEMENTS_PER_BLOB":"","MAX_BLOB_COMMITMENTS_PER_BLOCK":"","MAX_BLOBS_PER_BLOCK":"","KZG_COMMITMENT_INCLUSION_PROOF_DEPTH":"","SHARD_COMMITTEE_PERIOD":"","ETH1_FOLLOW_DISTANCE":"","INACTIVITY_SCORE_BIAS":"","INACTIVITY_SCORE_RECOVERY_RATE":"","EJECTION_BALANCE":"","MIN_PER_EPOCH_CHURN_LIMIT":"","CHURN_LIMIT_QUOTIENT":"","MAX_PER_EPOCH_ACTIVATION_CHURN_LIMIT":"","PROPOSER_SCORE_BOOST":"","REORG_HEAD_WEIGHT_THRESHOLD":"","REORG_PARENT_WEIGHT_THRESHOLD":"","REORG_MAX_EPOCHS_SINCE_FINALIZATION":"","DEPOSIT_CHAIN_ID":"","DEPOSIT_NETWORK_ID":"","DEPOSIT_CONTRACT_ADDRESS":"","GOSSIP_MAX_SIZE":"","MAX_REQUEST_BLOCKS":"","EPOCHS_PER_SUBNET_SUBSCRIPTION":"","MIN_EPOCHS_FOR_BLOCK_REQUESTS":"","MAX_CHUNK_SIZE":"","TTFB_TIMEOUT":"","RESP_TIMEOUT":"","ATTESTATION_PROPAGATION_SLOT_RANGE":"","MAXIMUM_GOSSIP_CLOCK_DISPARITY":"","MESSAGE_DOMAIN_INVALID_SNAPPY":"","MESSAGE_DOMAIN_VALID_SNAPPY":"","SUBNETS_PER_NODE":"","ATTESTATION_SUBNET_COUNT":"","ATTESTATION_SUBNET_EXTRA_BITS":"","ATTESTATION_SUBNET_PREFIX_BITS":"","MAX_REQUEST_BLOCKS_DENEB":"","MAX_REQUEST_BLOB_SIDECARS":"","MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS":"","BLOB_SIDECAR_SUBNET_COUNT":"","BLS_WITHDRAWAL_PREFIX":"","ETH1_ADDRESS_WITHDRAWAL_PREFIX":"","DOMAIN_BEACON_PROPOSER":"","DOMAIN_BEACON_ATTESTER":"","DOMAIN_RANDAO":"","DOMAIN_DEPOSIT":"","DOMAIN_VOLUNTARY_EXIT":"","DOMAIN_SELECTION_PROOF":"","DOMAIN_AGGREGATE_AND_PROOF":"","TIMELY_SOURCE_FLAG_INDEX":"","TIMELY_TARGET_FLAG_INDEX":"","TIMELY_HEAD_FLAG_INDEX":"","TIMELY_SOURCE_WEIGHT":"","TIMELY_TARGET_WEIGHT":"","TIMELY_HEAD_WEIGHT":"","SYNC_REWARD_WEIGHT":"","PROPOSER_WEIGHT":"","WEIGHT_DENOMINATOR":"","DOMAIN_SYNC_COMMITTEE":"","DOMAIN_SYNC_COMMITTEE_SELECTION_PROOF":"","DOMAIN_CONTRIBUTION_AND_PROOF":"","DOMAIN_BLS_TO_EXECUTION_CHANGE":"","TARGET_AGGREGATORS_PER_COMMITTEE":"","TARGET_AGGREGATORS_PER_SYNC_SUBCOMMITTEE":"","SYNC_COMMITTEE_SUBNET_COUNT":""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["config"],
|
|
"request": {
|
|
"url": "/eth/v1/config/deposit_contract",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"chain_id": "", "address": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["debug"],
|
|
"request": {
|
|
"url": "/eth/v1/debug/beacon/heads",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "410"}
|
|
}
|
|
},
|
|
{
|
|
"topics": ["debug", "beacon_states_head_slow", "slow"],
|
|
"request": {
|
|
"url": "/eth/v1/debug/beacon/states/head",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"genesis_time": "", "genesis_validators_root": "", "slot": "", "fork": {"previous_version": "", "current_version": "", "epoch": ""}, "latest_block_header": {"slot": "", "proposer_index": "", "parent_root": "", "state_root": "", "body_root": ""}, "block_roots": [""], "state_roots": [""], "historical_roots": [""], "eth1_data": {"deposit_root": "", "deposit_count": "", "block_hash": ""}, "eth1_data_votes": [{"deposit_root": "", "deposit_count": "", "block_hash": ""}], "eth1_deposit_index": "", "validators": [{"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}], "balances": [""], "randao_mixes": [""], "slashings": [""], "previous_epoch_attestations": [{"aggregation_bits": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}, "inclusion_delay": "", "proposer_index": ""}], "current_epoch_attestations": [{"aggregation_bits": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}, "inclusion_delay": "", "proposer_index": ""}], "justification_bits": "", "previous_justified_checkpoint": {"epoch": "", "root": ""}, "current_justified_checkpoint": {"epoch": "", "root": ""}, "finalized_checkpoint": {"epoch": "", "root": ""}}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["debug", "beacon_states_head_slow", "slow"],
|
|
"request": {
|
|
"url": "/eth/v2/debug/beacon/states/head",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [
|
|
{"key": "Content-Type", "value": "application/json", "operator": "equals"},
|
|
{"key": "Eth-Consensus-Version", "value": ["phase0", "altair", "bellatrix"], "operator": "oneof"}
|
|
],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"genesis_time": "", "genesis_validators_root": "", "slot": "", "fork": {"previous_version": "", "current_version": "", "epoch": ""}, "latest_block_header": {"slot": "", "proposer_index": "", "parent_root": "", "state_root": "", "body_root": ""}, "block_roots": [""], "state_roots": [""], "historical_roots": [""], "eth1_data": {"deposit_root": "", "deposit_count": "", "block_hash": ""}, "eth1_data_votes": [{"deposit_root": "", "deposit_count": "", "block_hash": ""}], "eth1_deposit_index": "", "validators": [{"pubkey": "", "withdrawal_credentials": "", "effective_balance": "", "slashed": false, "activation_eligibility_epoch": "", "activation_epoch": "", "exit_epoch": "", "withdrawable_epoch": ""}], "balances": [""], "randao_mixes": [""], "slashings": [""], "previous_epoch_attestations": [{"aggregation_bits": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}, "inclusion_delay": "", "proposer_index": ""}], "current_epoch_attestations": [{"aggregation_bits": "", "data": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}, "inclusion_delay": "", "proposer_index": ""}], "justification_bits": "", "previous_justified_checkpoint": {"epoch": "", "root": ""}, "current_justified_checkpoint": {"epoch": "", "root": ""}, "finalized_checkpoint": {"epoch": "", "root": ""}}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["node"],
|
|
"request": {
|
|
"url": "/eth/v1/node/identity",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"peer_id": "", "enr": "", "p2p_addresses": [""], "discovery_addresses": [""], "metadata": {"seq_number": "", "attnets": "", "syncnets": ""}}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["node"],
|
|
"request": {
|
|
"url": "/eth/v1/node/peers",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"data": [{"peer_id": "", "enr": "", "last_seen_p2p_address": "", "state": "", "direction": ""}], "meta": {"count": 0}}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["node"],
|
|
"request": {
|
|
"url": "/eth/v1/node/peers?state=disconnected",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"data": [{"peer_id": "", "enr": "", "last_seen_p2p_address": "", "state": "", "direction": ""}], "meta": {"count": 0}}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["node"],
|
|
"request": {
|
|
"url": "/eth/v1/node/peers?state=connecting",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"data": [{"peer_id": "", "enr": "", "last_seen_p2p_address": "", "state": "", "direction": ""}], "meta": {"count": 0}}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["node"],
|
|
"request": {
|
|
"url": "/eth/v1/node/peers?state=connected",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"data": [{"peer_id": "", "enr": "", "last_seen_p2p_address": "", "state": "", "direction": ""}], "meta": {"count": 0}}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["node"],
|
|
"request": {
|
|
"url": "/eth/v1/node/peers?state=disconnecting",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"data": [{"peer_id": "", "enr": "", "last_seen_p2p_address": "", "state": "", "direction": ""}], "meta": {"count": 0}}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["node"],
|
|
"request": {
|
|
"url": "/eth/v1/node/peers?state=disconnected&state=connecting&state=connected&state=disconnecting",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"data": [{"peer_id": "", "enr": "", "last_seen_p2p_address": "", "state": "", "direction": ""}], "meta": {"count": 0}}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["node"],
|
|
"request": {
|
|
"url": "/eth/v1/node/peers?state=disconnected&state=connecting&state=connected&state=disconnecting&direction=inbound&direction=outbound",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"data": [{"peer_id": "", "enr": "", "last_seen_p2p_address": "", "state": "", "direction": ""}], "meta": {"count": 0}}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["node"],
|
|
"request": {
|
|
"url": "/eth/v1/node/peers?direction=inbound",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"data": [{"peer_id": "", "enr": "", "last_seen_p2p_address": "", "state": "", "direction": ""}], "meta": {"count": 0}}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["node"],
|
|
"request": {
|
|
"url": "/eth/v1/node/peers?direction=outbound",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"data": [{"peer_id": "", "enr": "", "last_seen_p2p_address": "", "state": "", "direction": ""}], "meta": {"count": 0}}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["node"],
|
|
"request": {
|
|
"url": "/eth/v1/node/peers?state=disconnected&state=disconnected",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["node"],
|
|
"request": {
|
|
"url": "/eth/v1/node/peers?direction=inbound&direction=inbound",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["node"],
|
|
"request": {
|
|
"url": "/eth/v1/node/peers/QmYyQSo1c1Ym7orWxLYvCrM2EmxFTANf8wXmmE7DWjhx5N",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "oneof", "value": ["200", "404"]}
|
|
}
|
|
},
|
|
{
|
|
"topics": ["node"],
|
|
"request": {
|
|
"url": "/eth/v1/node/peers/QmYyQSo1c1Ym7orWxLYvCrM2EmxFTANf8wXmmE7DWjhx5",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"}
|
|
}
|
|
},
|
|
{
|
|
"topics": ["node"],
|
|
"request": {
|
|
"url": "/eth/v1/node/peers/QmYyQSo1c1Ym7orWxLYvCrM2EmxFTANf8wXmmE7DWjhx5l",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"}
|
|
}
|
|
},
|
|
{
|
|
"topics": ["node"],
|
|
"request": {
|
|
"url": "/eth/v1/node/peer_count",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"disconnected": "", "connecting": "", "connected": "", "disconnecting": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["node"],
|
|
"request": {
|
|
"url": "/eth/v1/node/version",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"version": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["node"],
|
|
"request": {
|
|
"url": "/eth/v1/node/syncing",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"head_slot": "", "sync_distance": "", "is_syncing": false, "is_optimistic": false}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["node"],
|
|
"request": {
|
|
"url": "/eth/v1/node/health",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "oneof", "value": ["200", "206", "503"]}}
|
|
},
|
|
{
|
|
"topics": ["validator", "proposer_duties"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/duties/proposer/0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "value": {"dependent_root": "", "execution_optimistic": false, "data": [{"pubkey": "", "validator_index": "", "slot": ""}]}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "proposer_duties", "mainnet"],
|
|
"comment": "Maximum epoch + 1 for mainnet parameters",
|
|
"request": {
|
|
"url": "/eth/v1/validator/duties/proposer/576460752303423488",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "proposer_duties"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/duties/proposer/18446744073709551615",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "proposer_duties"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/duties/proposer/18446744073709551616",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "proposer_duties"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/duties/proposer/foobar",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"}
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "blocks"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/blocks/0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "410"}
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "blocksV2"],
|
|
"request": {
|
|
"url": "/eth/v2/validator/blocks/0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"}
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "blinded_blocks"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/blinded_blocks/0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"}
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "attestation_data"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/attestation_data?slot=0&committee_index=0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"}
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "attestation_data"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/attestation_data?slot=1&committee_index=0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"slot": "", "index": "", "beacon_block_root": "", "source": {"epoch": "", "root": ""}, "target": {"epoch": "", "root": ""}}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "attestation_data"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/attestation_data",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "attestation_data"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/attestation_data?slot=0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "attestation_data"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/attestation_data?committee_index=0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "attestation_data"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/attestation_data?slot=18446744073709551615&committee_index=18446744073709551615",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "attestation_data"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/attestation_data?slot=18446744073709551616&committee_index=18446744073709551616",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "attestation_data"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/attestation_data?slot=foobar&committee_index=foobar",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "attestation_data"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/attestation_data?slot=&committee_index=",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "aggregate_attestation"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/aggregate_attestation",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "aggregate_attestation"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/aggregate_attestation?slot=0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "aggregate_attestation"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/aggregate_attestation?slot=&attestation_data_root=",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "aggregate_attestation"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/aggregate_attestation?slot=0&attestation_data_root=0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "oneof", "value": ["400", "200"]}
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "aggregate_attestation"],
|
|
"request": {
|
|
"url": "/eth/v2/validator/aggregate_attestation",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "aggregate_attestation"],
|
|
"request": {
|
|
"url": "/eth/v2/validator/aggregate_attestation?slot=0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "aggregate_attestation"],
|
|
"request": {
|
|
"url": "/eth/v2/validator/aggregate_attestation?slot=&attestation_data_root=",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "aggregate_attestation"],
|
|
"request": {
|
|
"url": "/eth/v2/validator/aggregate_attestation?slot=&attestation_data_root=&committee_index=",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "aggregate_attestation"],
|
|
"request": {
|
|
"url": "/eth/v2/validator/aggregate_attestation?slot=0&attestation_data_root=0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"}
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "aggregate_attestation"],
|
|
"request": {
|
|
"url": "/eth/v2/validator/aggregate_attestation?slot=0&attestation_data_root=0x0000000000000000000000000000000000000000000000000000000000000000&committee_index=0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "oneof", "value": ["404", "200"]}
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "attester_duties"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/duties/attester/0",
|
|
"method": "POST",
|
|
"headers": {"Accept": "application/json"},
|
|
"body": {"content-type": "application/json", "data": "[\"0\"]"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "value": {"dependent_root": "", "execution_optimistic": false, "data":[{"pubkey": "", "validator_index": "", "committee_index": "", "committee_length": "", "committees_at_slot": "", "validator_committee_index": "", "slot": ""}]}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "attester_duties"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/duties/attester/0",
|
|
"method": "POST",
|
|
"headers": {"Accept": "application/json"},
|
|
"body": {"content-type": "application/json", "data": "[]"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "attester_duties"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/duties/attester/0",
|
|
"method": "POST",
|
|
"headers": {"Accept": "application/json"},
|
|
"body": {"content-type": "application/json", "data": "[\"\"]"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "attester_duties"],
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "/eth/v1/validator/duties/attester/0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"}
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "attester_duties"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/duties/attester/576460752303423488",
|
|
"method": "POST",
|
|
"headers": {"Accept": "application/json"},
|
|
"body": {"content-type": "application/json", "data": "[\"0\"]"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "attester_duties"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/duties/attester/18446744073709551615",
|
|
"method": "POST",
|
|
"headers": {"Accept": "application/json"},
|
|
"body": {"content-type": "application/json", "data": "[\"0\"]"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "attester_duties"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/duties/attester/18446744073709551616",
|
|
"method": "POST",
|
|
"headers": {"Accept": "application/json"},
|
|
"body": {"content-type": "application/json", "data": "[\"0\"]"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "attester_duties"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/duties/attester/foobar",
|
|
"method": "POST",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"}
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "attester_duties"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/duties/attester/0",
|
|
"method": "POST",
|
|
"headers": {"Accept": "application/json"},
|
|
"body": {"content-type": "application/json", "data": "[\"2147483647\"]"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "value": {"dependent_root": "", "execution_optimistic": false, "data":[{"pubkey": "", "validator_index": "", "committee_index": "", "committee_length": "", "committees_at_slot": "", "validator_committee_index": "", "slot": ""}]}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "attester_duties"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/duties/attester/0",
|
|
"method": "POST",
|
|
"headers": {"Accept": "application/json"},
|
|
"body": {"content-type": "application/json", "data": "[\"2147483648\"]"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "500"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 500, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "attester_duties"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/duties/attester/0",
|
|
"method": "POST",
|
|
"headers": {"Accept": "application/json"},
|
|
"body": {"content-type": "application/json", "data": "[\"1099511627775\"]"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "500"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 500, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "attester_duties"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/duties/attester/0",
|
|
"method": "POST",
|
|
"headers": {"Accept": "application/json"},
|
|
"body": {"content-type": "application/json", "data": "[\"1099511627776\"]"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "attester_duties"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/duties/attester/0",
|
|
"method": "POST",
|
|
"headers": {"Accept": "application/json"},
|
|
"body": {"content-type": "application/json", "data": "[\"18446744073709551615\"]"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "attester_duties"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/duties/attester/0",
|
|
"method": "POST",
|
|
"headers": {"Accept": "application/json"},
|
|
"body": {"content-type": "application/json", "data": "[\"18446744073709551616\"]"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "beacon_committee_selections"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/beacon_committee_selections",
|
|
"method": "POST",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "501"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 501, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "sync_committee_selections"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/sync_committee_selections",
|
|
"method": "POST",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "501"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 501, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "register_validators"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/register_validator",
|
|
"method": "POST",
|
|
"headers": {"Accept": "application/json"},
|
|
"body": {"content-type": "application/json", "data": "[{\"message\":{\"fee_recipient\":\"0xb943c2c22b1b186a34f47c4dbe2fe367de9ec180\",\"gas_limit\":\"40000000\",\"timestamp\":\"1661879190\",\"pubkey\":\"0xa37b7bb9c412b8cc318fabf7b1fec33eb9634680687f07b977393180ce99889dbcfda81900f3afb9f2281930cf49f5d8\"},\"signature\":\"0xa493085fab365d13bea2376434abc3dbfba00a576276c853acabd7b9cb2f2b4b0a90738dd9baeaef75d0f42fa94119a70a09b0ed38fbebb6dde92c9ca062447018821f36c19d6fe34eb8c357d62e5d33e5c1d35035472ef7dd22a7425cdba0c5\"}]"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"}
|
|
}
|
|
},
|
|
{
|
|
"topics": ["validator", "register_validators"],
|
|
"request": {
|
|
"url": "/eth/v1/validator/register_validator",
|
|
"method": "POST",
|
|
"headers": {"Accept": "application/json"},
|
|
"body": {"content-type": "application/json", "data": "[{\"message\":{\"fee_recipient\":\"0xb943c2c22b1b186a34f47c4dbe2fe367de9ec180\",\"gas_limit\":\"40000000\",\"timestamp\":\"1661879190\",\"pubkey\":\"0xa37b7bb9c412b8cc318fabf7b1fec33eb9634680687f07b977393180ce99889dbcfda81900f3afb9f2281930cf49f5d8\"},\"signature\":\"0xa493085fab365d13bea2376434abc3dbfba00a576276c853acabd7b9cb2f2b4b0a90738dd9baeaef75d0f42fa94119a70a09b0ed38fbebb6dde92c9ca062447018821f36c19d6fe34eb8c357d62e5d33e5c1d35035472ef7dd22a7425cdba0c\"}]"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["key_management", "list_keys"],
|
|
"request": {
|
|
"url": "/eth/v1/keystores",
|
|
"headers": {"Accept": "application/json", "Authorization": "Bearer testToken"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "value": {"data": [{"validating_pubkey": "", "derivation_path": "", "readonly": false}]}}]}
|
|
},
|
|
{
|
|
"topics": ["key_management", "delete_keys"],
|
|
"request": {
|
|
"url": "/eth/v1/keystores",
|
|
"method": "DELETE",
|
|
"headers": {"Accept": "application/json", "Authorization": "Bearer testToken"},
|
|
"body": {"content-type": "application/json", "data": "{\"pubkeys\":[\"0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\", \"0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001\"]}"
|
|
}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {
|
|
"data": [{
|
|
"status": "",
|
|
"message": ""
|
|
}],
|
|
"slashing_protection": ""
|
|
}}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blocks_publish_v2"],
|
|
"request": {
|
|
"method": "POST",
|
|
"headers": {
|
|
"Accept": "application/json",
|
|
"Content-Type": "application/json",
|
|
"Eth-Consensus-Version": "capella"
|
|
},
|
|
"url": "/eth/v2/beacon/blocks",
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": "Empty request body"}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blocks_publish_v2"],
|
|
"request": {
|
|
"method": "POST",
|
|
"headers": {
|
|
"Accept": "application/json",
|
|
"Content-Type": "application/json",
|
|
"Eth-Consensus-Version": "capella"
|
|
},
|
|
"url": "/eth/v2/beacon/blocks?broadcast_validation=gossip",
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpnsav", "value": {"code": 400, "message": "Empty request body"}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blocks_publish_v2"],
|
|
"request": {
|
|
"method": "POST",
|
|
"headers": {
|
|
"Accept": "application/json",
|
|
"Content-Type": "application/json",
|
|
"Eth-Consensus-Version": "capella"
|
|
},
|
|
"url": "/eth/v2/beacon/blocks?broadcast_validation=test",
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpnsav", "value": {"code": 400, "message": "Invalid broadcast_validation type value"}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blocks_publish_v2"],
|
|
"request": {
|
|
"method": "POST",
|
|
"headers": {
|
|
"Accept": "application/json",
|
|
"Content-Type": "application/json",
|
|
"Eth-Consensus-Version": "capella"
|
|
},
|
|
"url": "/eth/v2/beacon/blocks?broadcast_validation=",
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpnsav", "value": {"code": 400, "message": "Invalid broadcast_validation type value"}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blocks_publish_v2"],
|
|
"request": {
|
|
"method": "POST",
|
|
"headers": {
|
|
"Accept": "application/json",
|
|
"Content-Type": "application/json",
|
|
"Eth-Consensus-Version": "capella"
|
|
},
|
|
"url": "/eth/v2/beacon/blocks?broadcast_validation=consensus",
|
|
},
|
|
"comment": "TODO: This should be replaced when `consensus` become supported",
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "500"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpnsav", "value": {"code": 500, "message": "Only `gossip` broadcast_validation option supported"}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "beacon_blocks_publish_v2"],
|
|
"request": {
|
|
"method": "POST",
|
|
"headers": {
|
|
"Accept": "application/json",
|
|
"Content-Type": "application/json",
|
|
"Eth-Consensus-Version": "capella"
|
|
},
|
|
"url": "/eth/v2/beacon/blocks?broadcast_validation=consensus_and_equivocation",
|
|
},
|
|
"comment": "TODO: This should be replaced when `consensus_and_equivocation` become supported",
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "500"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpnsav", "value": {"code": 500, "message": "Only `gossip` broadcast_validation option supported"}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "rewards", "block_rewards_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/rewards/blocks/head",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"proposer_index": "", "total": "", "attestations": "", "sync_aggregate": "", "proposer_slashings": "", "attester_slashings": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "rewards", "block_rewards_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/rewards/blocks/genesis",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"proposer_index": "", "total": "", "attestations": "", "sync_aggregate": "", "proposer_slashings": "", "attester_slashings": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "rewards", "block_rewards_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/rewards/blocks/finalized",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"proposer_index": "", "total": "", "attestations": "", "sync_aggregate": "", "proposer_slashings": "", "attester_slashings": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "rewards", "block_rewards_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/rewards/blocks/heat",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "rewards", "block_rewards_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/rewards/blocks/geneziz",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "rewards", "block_rewards_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/rewards/blocks/finalised",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "rewards", "block_rewards_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/rewards/blocks/0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"proposer_index": "", "total": "", "attestations": "", "sync_aggregate": "", "proposer_slashings": "", "attester_slashings": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "rewards", "block_rewards_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/rewards/blocks/0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "404"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 404, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "rewards", "block_rewards_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/rewards/blocks/18446744073709551615",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "404"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 404, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "rewards", "block_rewards_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/rewards/blocks/18446744073709551616",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "rewards", "block_rewards_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/rewards/blocks/0x",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "rewards", "block_rewards_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/rewards/blocks/0x0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "rewards", "block_rewards_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/rewards/blocks/0x00",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "rewards", "block_rewards_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/rewards/blocks/0xII",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "rewards", "block_rewards_blockid"],
|
|
"request": {
|
|
"url": "/eth/v1/beacon/rewards/blocks/foobar",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "rewards", "sync_committee_rewards_blockid"],
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "[]"
|
|
},
|
|
"url": "/eth/v1/beacon/rewards/sync_committee/head",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"validator_index": "", "reward": ""}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "rewards", "sync_committee_rewards_blockid"],
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "[]"
|
|
},
|
|
"url": "/eth/v1/beacon/rewards/sync_committee/genesis",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"validator_index": "", "reward": ""}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "rewards", "sync_committee_rewards_blockid"],
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "[]"
|
|
},
|
|
"url": "/eth/v1/beacon/rewards/sync_committee/finalized",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"validator_index": "", "reward": ""}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "rewards", "sync_committee_rewards_blockid"],
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "[]"
|
|
},
|
|
"url": "/eth/v1/beacon/rewards/sync_committee/heat",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "rewards", "sync_committee_rewards_blockid"],
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "[]"
|
|
},
|
|
"url": "/eth/v1/beacon/rewards/sync_committee/geneziz",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "rewards", "sync_committee_rewards_blockid"],
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "[]"
|
|
},
|
|
"url": "/eth/v1/beacon/rewards/sync_committee/finalised",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "rewards", "sync_committee_rewards_blockid"],
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "[]"
|
|
},
|
|
"url": "/eth/v1/beacon/rewards/sync_committee/0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "200"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmps", "start": ["data"], "value": [{"validator_index": "", "reward": ""}]}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "rewards", "sync_committee_rewards_blockid"],
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "[]"
|
|
},
|
|
"url": "/eth/v1/beacon/rewards/sync_committee/0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "404"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 404, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "rewards", "sync_committee_rewards_blockid"],
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "[]"
|
|
},
|
|
"url": "/eth/v1/beacon/rewards/sync_committee/18446744073709551615",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "404"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 404, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "rewards", "sync_committee_rewards_blockid"],
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "[]"
|
|
},
|
|
"url": "/eth/v1/beacon/rewards/sync_committee/18446744073709551616",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {
|
|
"status": {"operator": "equals", "value": "400"},
|
|
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
|
"body": [{"operator": "jstructcmpns", "value": {"code": 400, "message": ""}}]
|
|
}
|
|
},
|
|
{
|
|
"topics": ["beacon", "rewards", "sync_committee_rewards_blockid"],
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "[]"
|
|
},
|
|
"url": "/eth/v1/beacon/rewards/sync_committee/0x",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "rewards", "sync_committee_rewards_blockid"],
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "[]"
|
|
},
|
|
"url": "/eth/v1/beacon/rewards/sync_committee/0x0",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "rewards", "sync_committee_rewards_blockid"],
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "[]"
|
|
},
|
|
"url": "/eth/v1/beacon/rewards/sync_committee/0x00",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "rewards", "sync_committee_rewards_blockid"],
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "[]"
|
|
},
|
|
"url": "/eth/v1/beacon/rewards/sync_committee/0xII",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
},
|
|
{
|
|
"topics": ["beacon", "rewards", "sync_committee_rewards_blockid"],
|
|
"request": {
|
|
"method": "POST",
|
|
"body": {
|
|
"content-type": "application/json",
|
|
"data": "[]"
|
|
},
|
|
"url": "/eth/v1/beacon/rewards/sync_committee/foobar",
|
|
"headers": {"Accept": "application/json"}
|
|
},
|
|
"response": {"status": {"operator": "equals", "value": "400"}}
|
|
}
|
|
]
|