prysm-pulse/beacon-chain/state/v2
kasey 3c61cc7d8a
allow checkpoint or genesis origin; refactoring (#9976)
* allow checkpoint or genesis origin; refactoring

some quick readability improvements and simplifying the logic enforcing
the startup ordering of the attestation processing routine

* address PR feedback

* gofmt

* Update beacon-chain/blockchain/receive_attestation.go

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>

* Apply suggestions from code review

use log.WithError for aggregation friendliness

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>

Co-authored-by: kasey <kasey@users.noreply.github.com>
Co-authored-by: Preston Van Loon <preston@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-12-09 22:23:00 +00:00
..
BUILD.bazel Refactor States To Allow for Single Cached Hasher (#9922) 2021-11-29 16:30:17 +00:00
deprecated_getters_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
deprecated_getters.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
deprecated_setters_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
deprecated_setters.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
field_roots.go Refactor States To Allow for Single Cached Hasher (#9922) 2021-11-29 16:30:17 +00:00
getters_block_test.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
getters_block.go Create Encoding Bytesutil (#9658) 2021-09-23 15:23:37 +00:00
getters_checkpoint.go Clean Up V2 BeaconState (#9648) 2021-09-23 01:10:25 +00:00
getters_eth1.go Clean Up V2 BeaconState (#9648) 2021-09-23 01:10:25 +00:00
getters_misc.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
getters_participation.go Clean Up V2 BeaconState (#9648) 2021-09-23 01:10:25 +00:00
getters_randao.go Create Encoding Bytesutil (#9658) 2021-09-23 15:23:37 +00:00
getters_state.go Create Encoding Bytesutil (#9658) 2021-09-23 15:23:37 +00:00
getters_sync_committee.go Create Encoding Bytesutil (#9658) 2021-09-23 15:23:37 +00:00
getters_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
getters_validator_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
getters_validator.go Create Encoding Bytesutil (#9658) 2021-09-23 15:23:37 +00:00
setters_block.go Clean Up V2 BeaconState (#9648) 2021-09-23 01:10:25 +00:00
setters_checkpoint.go Clean Up V2 BeaconState (#9648) 2021-09-23 01:10:25 +00:00
setters_eth1.go Clean Up V2 BeaconState (#9648) 2021-09-23 01:10:25 +00:00
setters_misc.go Add Balance Field Trie (#9793) 2021-11-19 20:01:15 +08:00
setters_participation.go Clean Up V2 BeaconState (#9648) 2021-09-23 01:10:25 +00:00
setters_randao.go Clean Up V2 BeaconState (#9648) 2021-09-23 01:10:25 +00:00
setters_state.go Clean Up Methods In Prysm (#9903) 2021-11-15 10:13:52 -05:00
setters_sync_committee.go Clean Up V2 BeaconState (#9648) 2021-09-23 01:10:25 +00:00
setters_test.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
setters_validator.go Add Balance Field Trie (#9793) 2021-11-19 20:01:15 +08:00
state_trie_test.go Add Balance Field Trie (#9793) 2021-11-19 20:01:15 +08:00
state_trie.go allow checkpoint or genesis origin; refactoring (#9976) 2021-12-09 22:23:00 +00:00
types.go Add Balance Field Trie (#9793) 2021-11-19 20:01:15 +08:00