nimbus-eth2/beacon_chain
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
..
consensus_object_pools move BeaconClock from ChainDAG to BeaconNode (#2796) 2021-08-20 08:58:15 +00:00
eth1 eth2.0-specs -> consensus-specs repo rename (#2801) 2021-08-20 23:37:45 +00:00
fork_choice eth2.0-specs -> consensus-specs repo rename (#2801) 2021-08-20 23:37:45 +00:00
gossip_processing add errIgnore helper and refactor errReject helper (#2808) 2021-08-23 12:39:06 +02:00
networking Number of REST fixes for Altair. (#2790) 2021-08-23 12:41:48 +02:00
rpc Number of REST fixes for Altair. (#2790) 2021-08-23 12:41:48 +02:00
spec Number of REST fixes for Altair. (#2790) 2021-08-23 12:41:48 +02:00
ssz eth2.0-specs -> consensus-specs repo rename (#2801) 2021-08-20 23:37:45 +00:00
sync eth2.0-specs -> consensus-specs repo rename (#2801) 2021-08-20 23:37:45 +00:00
validator_client Number of REST fixes for Altair. (#2790) 2021-08-23 12:41:48 +02:00
validators Number of REST fixes for Altair. (#2790) 2021-08-23 12:41:48 +02:00
.gitignore Rename binaries; Mimic the original repo layout in the distribution 2020-11-09 11:38:52 +02:00
beacon_chain_db.nim disentangle eth2 types from the ssz library (#2785) 2021-08-18 20:57:58 +02:00
beacon_chain_db_immutable.nim eth2.0-specs -> consensus-specs repo rename (#2801) 2021-08-20 23:37:45 +00:00
beacon_clock.nim eth2.0-specs -> consensus-specs repo rename (#2801) 2021-08-20 23:37:45 +00:00
beacon_node_common.nim move BeaconClock from ChainDAG to BeaconNode (#2796) 2021-08-20 08:58:15 +00:00
beacon_node_status.nim EH cleanup (#2455) 2021-03-26 07:52:01 +01:00
beacon_node_types.nim rework spec imports (#2779) 2021-08-12 13:08:20 +00:00
conf.nim rework spec imports (#2779) 2021-08-12 13:08:20 +00:00
extras.nim use ForkedHashedBeaconState in StateData (#2634) 2021-06-11 20:51:46 +03:00
filepath.nim EH cleanup (#2455) 2021-03-26 07:52:01 +01:00
interop.nim disentangle eth2 types from the ssz library (#2785) 2021-08-18 20:57:58 +02:00
nimbus_beacon_node.nim move BeaconClock from ChainDAG to BeaconNode (#2796) 2021-08-20 08:58:15 +00:00
nimbus_beacon_node.nim.cfg remove remaining traces of nim-prompt 2021-08-16 21:56:50 +03:00
nimbus_binary_common.nim rework spec imports (#2779) 2021-08-12 13:08:20 +00:00
nimbus_signing_process.nim rework spec imports (#2779) 2021-08-12 13:08:20 +00:00
nimbus_validator_client.nim REST API client, JSON-RPC cleanups (#2756) 2021-08-03 17:17:11 +02:00
nimbus_validator_client.nim.cfg remove remaining traces of nim-prompt 2021-08-16 21:56:50 +03:00
sszdump.nim disentangle eth2 types from the ssz library (#2785) 2021-08-18 20:57:58 +02:00
statediff.nim rework spec imports (#2779) 2021-08-12 13:08:20 +00:00
statusbar.nim switch result = foo to expression return; unexport rest of logtrace symbols (#2788) 2021-08-17 09:51:39 +00:00
version.nim Merge remote-tracking branch 'origin/stable' into merge-stable 2021-08-09 13:14:28 +02:00