nimbus-eth2/beacon_chain/spec
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
..
datatypes eth2.0-specs -> consensus-specs repo rename (#2801) 2021-08-20 23:37:45 +00:00
eth2_apis Number of REST fixes for Altair. (#2790) 2021-08-23 12:41:48 +02:00
presets eth2.0-specs -> consensus-specs repo rename (#2801) 2021-08-20 23:37:45 +00:00
beaconstate.nim disentangle eth2 types from the ssz library (#2785) 2021-08-18 20:57:58 +02:00
crypto.nim rework spec imports (#2779) 2021-08-12 13:08:20 +00:00
digest.nim eth2.0-specs -> consensus-specs repo rename (#2801) 2021-08-20 23:37:45 +00:00
english_word_list.txt Bump testutils 2020-06-01 16:58:28 +03:00
eth2_merkleization.nim disentangle eth2 types from the ssz library (#2785) 2021-08-18 20:57:58 +02:00
eth2_ssz_serialization.nim disentangle eth2 types from the ssz library (#2785) 2021-08-18 20:57:58 +02:00
forks.nim Number of REST fixes for Altair. (#2790) 2021-08-23 12:41:48 +02:00
helpers.nim disentangle eth2 types from the ssz library (#2785) 2021-08-18 20:57:58 +02:00
keystore.nim eth2.0-specs -> consensus-specs repo rename (#2801) 2021-08-20 23:37:45 +00:00
network.nim eth2.0-specs -> consensus-specs repo rename (#2801) 2021-08-20 23:37:45 +00:00
presets.nim eth2.0-specs -> consensus-specs repo rename (#2801) 2021-08-20 23:37:45 +00:00
signatures.nim eth2.0-specs -> consensus-specs repo rename (#2801) 2021-08-20 23:37:45 +00:00
signatures_batch.nim disentangle eth2 types from the ssz library (#2785) 2021-08-18 20:57:58 +02:00
ssz_codec.nim disentangle eth2 types from the ssz library (#2785) 2021-08-18 20:57:58 +02:00
state_transition.nim disentangle eth2 types from the ssz library (#2785) 2021-08-18 20:57:58 +02:00
state_transition_block.nim disentangle eth2 types from the ssz library (#2785) 2021-08-18 20:57:58 +02:00
state_transition_epoch.nim avoid repeated `integer_squareroot`s for 20% faster Altair epoch processing (#2797) 2021-08-20 16:41:32 +02:00
validator.nim rework spec imports (#2779) 2021-08-12 13:08:20 +00:00
weak_subjectivity.nim eth2.0-specs -> consensus-specs repo rename (#2801) 2021-08-20 23:37:45 +00:00