prysm-pulse/beacon-chain/rpc/beaconv1
Radosław Kapka 190d862552
Implement GetBeaconState in the debug API (#8631)
* Return status.Errorf instead of plain errors from gRPC functions

* return plain errors from helper functions

* change errors to lowercase in node

* correct test expectations

* extracted StateFetcher

* StateFetcher tests

* extract beacon state creation option and fix state tests

* add comment to StateFetcher

* register the server

* implement grpc function

* test ToProto

* gRPC function test with mock state fetcher

* reduce visibility of packages

* add missing error assertion

* removed unused code

* overwrite config name

* gzl

* Fix service fields

* rename StateFetcher to Provider

* Update beacon-chain/state/stateV0/state_trie.go

Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>

* adjust code to new v0 interfaces

* interface/struct naming changes

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2021-03-29 21:04:35 +00:00
..
blocks_test.go Use Eth2 type CommitteeIndex (#8477) 2021-02-18 20:11:20 +00:00
blocks.go ETH2 Types: Slot (#8408) 2021-02-16 07:45:34 +00:00
BUILD.bazel Introduce API StateFetcher (#8639) 2021-03-22 15:19:38 +00:00
config_test.go ETH2 Types: Slot (#8408) 2021-02-16 07:45:34 +00:00
config.go ETH2 Types: Slot (#8408) 2021-02-16 07:45:34 +00:00
init_test.go Embedded mainnet genesis state + load genesis.ssz from file (#8614) 2021-03-18 21:00:00 +00:00
log.go Unify the pattern of using a package-level logger (#8245) 2021-01-11 20:03:28 +00:00
pool_test.go Extract filling testutil's beacon chain root (#8645) 2021-03-24 03:47:36 +00:00
pool.go Move attestation's source checkpoint validation to VerifyAttestationNoVerifySignature (#8598) 2021-03-12 21:43:20 +00:00
server_test.go Verify interface compliance using typed nil instead of dereferencing and conversion (#7489) 2020-10-10 00:36:48 +00:00
server.go Implement GetBeaconState in the debug API (#8631) 2021-03-29 21:04:35 +00:00
state_test.go Implement GetBeaconState in the debug API (#8631) 2021-03-29 21:04:35 +00:00
state.go Introduce API StateFetcher (#8639) 2021-03-22 15:19:38 +00:00
validator.go Remove WaitForSynced (#7835) 2020-11-16 20:48:16 -06:00