prysm-pulse/beacon-chain/core/helpers
Mohamed Zahoor e953804239
Process future Blocks and Attestations (#8975)
* queue future blocks

* process early attestations

* fix formatting

* fix testcases

* fix signature testcase and move verify slot time to original place

* Add testcases to test early blocks and slot processing

* added test case to cover failure case while inserting in block pending queue

* satisfy deepsource

* fix review comments

* remove invalid testcase

* do not queue blocks which are within MAXIMUM_GOSSIP_CLOCK_DISPARITY

* format fix

* added a helper to check of the block slot is within MAXIMUM_GOSSIP_CLOCK_DISPARITY

* add helper to check clock disparity and test case for the same

* deepsource fix

* satisfy deepsoruce

* sysc/service.go

Co-authored-by: terence tsao <terence@prysmaticlabs.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-06-17 00:17:52 +00:00
..
attestation_test.go Process future Blocks and Attestations (#8975) 2021-06-17 00:17:52 +00:00
attestation.go Process future Blocks and Attestations (#8975) 2021-06-17 00:17:52 +00:00
block_test.go Move state pkg to stateV0 pkg (#8620) 2021-03-17 19:49:49 +00:00
block.go Use Block Interface Across Prysm (#8918) 2021-05-26 16:19:54 +00:00
BUILD.bazel Refactor helpers for Altair (#9026) 2021-06-11 19:29:50 +00:00
committee_test.go Move EthereumAPIs Into Prysm (#8968) 2021-06-02 18:49:52 -05:00
committee.go Move EthereumAPIs Into Prysm (#8968) 2021-06-02 18:49:52 -05:00
genesis.go Refactor helpers for Altair (#9026) 2021-06-11 19:29:50 +00:00
randao_test.go Move state pkg to stateV0 pkg (#8620) 2021-03-17 19:49:49 +00:00
randao.go Update spec comments (#8727) 2021-04-08 19:33:54 +00:00
rewards_penalties_test.go Move EthereumAPIs Into Prysm (#8968) 2021-06-02 18:49:52 -05:00
rewards_penalties.go Update specs comments (#8750) 2021-04-13 05:35:22 +00:00
shuffle_test.go Use Custom Type ValidatorIndex Across Prysm (#8478) 2021-02-23 00:14:50 +00:00
shuffle.go Update spec comments (#8727) 2021-04-08 19:33:54 +00:00
signing_root_test.go Move EthereumAPIs Into Prysm (#8968) 2021-06-02 18:49:52 -05:00
signing_root.go Move EthereumAPIs Into Prysm (#8968) 2021-06-02 18:49:52 -05:00
slot_epoch_test.go Minor changes from hf1 branch (#8906) 2021-05-19 16:11:48 +00:00
slot_epoch.go Minor changes from hf1 branch (#8906) 2021-05-19 16:11:48 +00:00
validators_test.go Move EthereumAPIs Into Prysm (#8968) 2021-06-02 18:49:52 -05:00
validators.go Move EthereumAPIs Into Prysm (#8968) 2021-06-02 18:49:52 -05:00
weak_subjectivity_test.go Move EthereumAPIs Into Prysm (#8968) 2021-06-02 18:49:52 -05:00
weak_subjectivity.go Move EthereumAPIs Into Prysm (#8968) 2021-06-02 18:49:52 -05:00