prysm-pulse/beacon-chain/state/v2
Potuz 3cf385fe91
Unrealized justification (#10659)
* unrealized justification API

* Add time elapse logging

* add unrealized justification checkpoint

* Use UnrealizedJustificationCheckpoint

* Refactor unrealized checkpoints

* Move logic to state package

* do not use ctx on a sum

* fix ctx

* add tests

* fix conflicts

* unhandled error

* Fix ordering in computing checkpoints

* gaz

* keep finalized checkpoint if nothing justified

* gaz

* copy checkpoint

* fix check for nil

* Add state package tests

* Add tests

* Radek's review

* add more tests

* Update beacon-chain/core/epoch/precompute/justification_finalization.go

Co-authored-by: terencechain <terence@prysmaticlabs.com>

* deduplicate to stateutil

* missing file

* Add stateutil test

* Minor refactor, don't export certain things

* Fix exports in tests

* remove unused error

Co-authored-by: terence tsao <terence@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-05-27 16:38:00 +00:00
..
testdata/fuzz/FuzzV2StateHashTreeRoot Add in State Fuzzing (#10375) 2022-05-11 12:47:54 +00:00
BUILD.bazel Unrealized justification (#10659) 2022-05-27 16:38:00 +00:00
deprecated_getters_test.go Some improvements for the state package testing (#10316) 2022-03-15 18:32:09 +00:00
deprecated_getters.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
deprecated_setters_test.go Deduplicate native state (a.k.a. One State to rule them all) (#10483) 2022-05-09 13:02:34 +00:00
deprecated_setters.go Use beacon state interfaces instead of concrete structs (#10195) 2022-02-08 09:30:06 +00:00
error.go Unrealized justification (#10659) 2022-05-27 16:38:00 +00:00
field_roots.go Remove SSZ Cache (#10256) 2022-02-22 17:27:51 +08:00
getters_block_test.go Some improvements for the state package testing (#10316) 2022-03-15 18:32:09 +00:00
getters_block.go Create Encoding Bytesutil (#9658) 2021-09-23 15:23:37 +00:00
getters_checkpoint_test.go Complete coverage for in beacon chain state for getters checkpoint (#10373) 2022-03-23 09:58:45 +00:00
getters_checkpoint.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
getters_eth1.go Clean Up V2 BeaconState (#9648) 2021-09-23 01:10:25 +00:00
getters_misc.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
getters_participation_test.go Unrealized justification (#10659) 2022-05-27 16:38:00 +00:00
getters_participation.go Unrealized justification (#10659) 2022-05-27 16:38:00 +00:00
getters_randao.go Create Encoding Bytesutil (#9658) 2021-09-23 15:23:37 +00:00
getters_state.go Unify GenesisValidator(s)Root throughout the codebase (#10230) 2022-02-14 13:34:38 +00:00
getters_sync_committee.go Add Error checks for nil inner state (#10701) 2022-05-17 17:38:35 +08:00
getters_test.go Unrealized justification (#10659) 2022-05-27 16:38:00 +00:00
getters_validator_test.go Some improvements for the state package testing (#10316) 2022-03-15 18:32:09 +00:00
getters_validator.go Unify WARNING comments (#10678) 2022-05-12 15:25:44 +00:00
proofs_test.go Initialize Merkle Layers and Recompute Dirty Fields in BeaconState Proofs (#10032) 2022-01-11 17:36:03 +08:00
proofs.go Deduplicate native state (a.k.a. One State to rule them all) (#10483) 2022-05-09 13:02:34 +00:00
references_test.go Some improvements for the state package testing (#10316) 2022-03-15 18:32:09 +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 Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
setters_participation.go Add Method To Modify Participation Bits (#10409) 2022-03-23 23:18:02 +08:00
setters_randao.go Clean Up V2 BeaconState (#9648) 2021-09-23 01:10:25 +00:00
setters_state.go Split state package into state-proto and state-native (#10069) 2022-01-13 12:23:53 +01:00
setters_sync_committee.go Clean Up V2 BeaconState (#9648) 2021-09-23 01:10:25 +00:00
setters_test.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
setters_validator.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
spec_parameters.go Encapsulate Fork-Specific Parameters Under BeaconState Interface (#10706) 2022-05-20 15:30:30 +00:00
state_fuzz_test.go Add in State Fuzzing (#10375) 2022-05-11 12:47:54 +00:00
state_trie_test.go Graduate Balance Trie Feature (#10552) 2022-04-25 11:16:41 +02:00
state_trie.go Remove Unnecessary State Interfaces (#10707) 2022-05-20 22:40:03 +00:00
types.go Unify GenesisValidator(s)Root throughout the codebase (#10230) 2022-02-14 13:34:38 +00:00