nimbus-eth2/beacon_chain/rpc
Eugene Kabanov 66cb18d69b
Number of REST fixes for Altair. (#2790)
* Fix getForkSchedule call.
Create cache of all configuration endpoints at node startup.
Add prepareJsonResponse() call to create cached responses.
Mark all procedures with `raises`.

* Add getForkSchedule to VC.
Fix getForkSchedule return type for API.
More `raises` annotations.
Fix VC fork_service.nim.

* Use `push raises` instead of inline `raises`.

* Improvements for REST API aggregated attestations and attestations processing.

* Rename eth2_network.sendXXX procedures to eth2_network.broadcastXXX.
Add broadcastBeaconBlock() and broadcastAggregateAndProof().
Fix links to specification in REST API declarations.
Add implementation for v2 getStateV2().
Add validator_duties.sendXXX procedures which not only broadcast data, but also validate it.
Fix JSON-RPC/REST to use new validator_duties.sendXXX procedures instead of own implementations.

* Fix validator_client online nodes count incorrect value.
Fix aggregate and proof attestation could be sent too late.

* Adding timeout for block wait in attestations processing.
Fix compilation errors.

* Attempt to debug aggregate and proofs.

* Fix Beacon AIP to use `sendAttestation`.
Add link comment to produceBlockV2.

* Add debug logs before publish operation for blocks, attestations and aggregated attestations.
Fix attestations publishing issue.

* logging fixes

`indexInCommnittee` already logged in attestation

Co-authored-by: Jacek Sieka <jacek@status.im>
2021-08-23 12:41:48 +02:00
..
eth_merge_sigs.nim non-intrusive, novel portions of merge (#2535) 2021-05-04 11:54:19 +00:00
eth_merge_web3.nim rework spec imports (#2779) 2021-08-12 13:08:20 +00:00
rest_api.nim REST API client, JSON-RPC cleanups (#2756) 2021-08-03 17:17:11 +02:00
rest_beacon_api.nim Number of REST fixes for Altair. (#2790) 2021-08-23 12:41:48 +02:00
rest_config_api.nim Number of REST fixes for Altair. (#2790) 2021-08-23 12:41:48 +02:00
rest_debug_api.nim Number of REST fixes for Altair. (#2790) 2021-08-23 12:41:48 +02:00
rest_event_api.nim Number of REST fixes for Altair. (#2790) 2021-08-23 12:41:48 +02:00
rest_nimbus_api.nim forkedbeaconstate_helpers -> forks (#2772) 2021-08-10 22:46:35 +02:00
rest_node_api.nim Number of REST fixes for Altair. (#2790) 2021-08-23 12:41:48 +02:00
rest_utils.nim rework spec imports (#2779) 2021-08-12 13:08:20 +00:00
rest_validator_api.nim Number of REST fixes for Altair. (#2790) 2021-08-23 12:41:48 +02:00
rpc_api.nim REST API client, JSON-RPC cleanups (#2756) 2021-08-03 17:17:11 +02:00
rpc_beacon_api.nim Number of REST fixes for Altair. (#2790) 2021-08-23 12:41:48 +02:00
rpc_config_api.nim rework spec imports (#2779) 2021-08-12 13:08:20 +00:00
rpc_debug_api.nim rework spec imports (#2779) 2021-08-12 13:08:20 +00:00
rpc_event_api.nim REST API client, JSON-RPC cleanups (#2756) 2021-08-03 17:17:11 +02:00
rpc_nimbus_api.nim rework spec imports (#2779) 2021-08-12 13:08:20 +00:00
rpc_node_api.nim rework spec imports (#2779) 2021-08-12 13:08:20 +00:00
rpc_utils.nim rework spec imports (#2779) 2021-08-12 13:08:20 +00:00
rpc_validator_api.nim disentangle eth2 types from the ssz library (#2785) 2021-08-18 20:57:58 +02:00