prysm-pulse/beacon-chain/state
Preston Van Loon 35d74981a0
Correctly return attestation data for late requests (#5183)
* Add functionality to support attestation requests that are older than the head state

* lint

* gaz

* Handle nil state case

* handle underflow of first epoch

* Remove redundant and possibly wrong genesisTime struct field

* fix remaining tests

* gofmt

* remove debug comment

* use stategen.StateByRoot interchangably with beaconDB.State

* gofmt

* goimports

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-03-23 21:30:28 -07:00
..
stategen Fix new state mgmt sync stuck in a loop (#5142) 2020-03-19 18:46:35 -07:00
stateutil Add Field Trie to State (#5118) 2020-03-18 10:09:31 +08:00
BUILD.bazel Integrate Field Tries into Current State (#5082) 2020-03-18 04:52:08 +00:00
cloners.go Remove remaining instances of proto.clone() (#4806) 2020-02-14 01:03:51 +00:00
field_trie_test.go Add Field Trie to State (#5118) 2020-03-18 10:09:31 +08:00
field_trie.go Integrate Field Tries into Current State (#5082) 2020-03-18 04:52:08 +00:00
getters_test.go fixes data race in state.Slot (#5067) 2020-03-11 09:11:07 +00:00
getters.go Correctly return attestation data for late requests (#5183) 2020-03-23 21:30:28 -07:00
references_test.go Save attestation to DB gated by archival flag (#4776) 2020-02-06 15:14:52 +00:00
setters.go Integrate Field Tries into Current State (#5082) 2020-03-18 04:52:08 +00:00
state_trie.go Integrate Field Tries into Current State (#5082) 2020-03-18 04:52:08 +00:00
types_test.go Shift Stateutils to State Package (#4921) 2020-02-21 16:52:21 +00:00
types.go Integrate Field Tries into Current State (#5082) 2020-03-18 04:52:08 +00:00