prysm-pulse/beacon-chain/state/v1
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
..
BUILD.bazel Encapsulate Fork-Specific Parameters Under BeaconState Interface (#10706) 2022-05-20 15:30:30 +00:00
doc.go Beacon State V2 Interface Definition With Semantic Version Paths (#9125) 2021-06-30 15:06:19 +00:00
field_roots.go Remove SSZ Cache (#10256) 2022-02-22 17:27:51 +08:00
getters_attestation_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
getters_attestation.go Add Error checks for nil inner state (#10701) 2022-05-17 17:38:35 +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 Refactor States To Allow for Single Cached Hasher (#9922) 2021-11-29 16:30:17 +00:00
getters_misc.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04: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_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
readonly_validator_test.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
readonly_validator.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
references_test.go Use beacon state interfaces instead of concrete structs (#10195) 2022-02-08 09:30:06 +00:00
setters_attestation_test.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
setters_attestation.go Use Static Sizes for State Fields (#10007) 2021-12-13 10:16:23 +01:00
setters_block.go Remove copyutil pkg, move v1alpha1 copy methods into v1alpha1 pkg (#9533) 2021-09-04 06:55:57 +00:00
setters_checkpoint.go Move v1alpha1 into Prysm API namespace (#9245) 2021-07-21 21:34:07 +00:00
setters_eth1.go Move v1alpha1 into Prysm API namespace (#9245) 2021-07-21 21:34:07 +00:00
setters_misc.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
setters_randao.go Beacon State V2 Interface Definition With Semantic Version Paths (#9125) 2021-06-30 15:06:19 +00:00
setters_state.go Split state package into state-proto and state-native (#10069) 2022-01-13 12:23:53 +01: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_test.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
state_trie_test.go Graduate Balance Trie Feature (#10552) 2022-04-25 11:16:41 +02:00
state_trie.go Unify WARNING comments (#10678) 2022-05-12 15:25:44 +00:00
types_test.go Use fieldparams for BLS public key (#10042) 2022-01-06 17:33:08 +00:00
types.go Unify GenesisValidator(s)Root throughout the codebase (#10230) 2022-02-14 13:34:38 +00:00
unsupported_getters.go Unrealized justification (#10659) 2022-05-27 16:38:00 +00:00
unsupported_setters.go Add Method To Modify Participation Bits (#10409) 2022-03-23 23:18:02 +08:00