prysm-pulse/beacon-chain/rpc
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
..
aggregator Migrate SubmitAggregateAndProof (#4951) 2020-02-27 20:23:35 +00:00
beacon Correctly return attestation data for late requests (#5183) 2020-03-23 21:30:28 -07:00
node Handle attestations with missing block (#4705) 2020-02-02 01:42:29 +00:00
testing fuzz core/blocks package (#4907) 2020-03-03 19:02:14 +05:30
validator Correctly return attestation data for late requests (#5183) 2020-03-23 21:30:28 -07:00
BUILD.bazel Part 1 of integrating new state mgmt to run time (#5108) 2020-03-16 12:07:07 -07:00
service_test.go Update run time to v0.9.3 (#4154) 2020-01-07 18:47:39 +00:00
service.go Correctly return attestation data for late requests (#5183) 2020-03-23 21:30:28 -07:00