prysm-pulse/beacon-chain/rpc/beacon
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
..
assignments_test.go Ensure New State Type Tests Pass in Prysm (#4646) 2020-01-31 12:57:01 -08:00
assignments.go Ensure New State Type Tests Pass in Prysm (#4646) 2020-01-31 12:57:01 -08:00
attestations_test.go Change ListAttestations to get attestations from blocks (#5145) 2020-03-23 16:22:37 -04:00
attestations.go Change ListAttestations to get attestations from blocks (#5145) 2020-03-23 16:22:37 -04:00
blocks_test.go Stream Indexed Attestations RPC Implementation (#4941) 2020-02-26 20:14:22 +00:00
blocks.go Stream Indexed Attestations RPC Implementation (#4941) 2020-02-26 20:14:22 +00:00
BUILD.bazel Correctly return attestation data for late requests (#5183) 2020-03-23 21:30:28 -07:00
committees_test.go Correctly return attestation data for late requests (#5183) 2020-03-23 21:30:28 -07:00
committees.go Use Current Time Slot for Fetching Committees in RPC (#5094) 2020-03-14 03:32:51 +00:00
config_test.go Add Endpoint to Return Current Chain Config Parameters (#4595) 2020-02-04 05:28:35 +00:00
config.go Add Endpoint to Return Current Chain Config Parameters (#4595) 2020-02-04 05:28:35 +00:00
server.go Part 1 of integrating new state mgmt to run time (#5108) 2020-03-16 12:07:07 -07:00
slashings_test.go Broadcast slashing (#5073) 2020-03-12 20:29:23 +00:00
slashings.go Broadcast slashing (#5073) 2020-03-12 20:29:23 +00:00
validators_stream_test.go Infostream (#4760) 2020-02-19 11:09:23 -06:00
validators_stream.go Update outdated spec function names and comments (#4992) 2020-03-03 18:29:41 +00:00
validators_test.go Add fetching validators by indices and public keys (#5141) 2020-03-19 20:30:40 +00:00
validators.go Add fetching validators by indices and public keys (#5141) 2020-03-19 20:30:40 +00:00