prysm-pulse/beacon-chain/blockchain/testing
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
..
BUILD.bazel Stream Blocks Functionality for RPC (#4771) 2020-02-06 20:14:38 +00:00
mock.go Correctly return attestation data for late requests (#5183) 2020-03-23 21:30:28 -07:00