prysm-pulse/beacon-chain
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
..
blockchain Harden beacon state interface for Altair (#8673) 2021-03-26 18:15:03 +00:00
cache Move state pkg to stateV0 pkg (#8620) 2021-03-17 19:49:49 +00:00
core Add a separate unit test for ComputeDomainAndSign (#8600) 2021-03-29 15:26:50 +00:00
db Add DB To P2P Service (#8676) 2021-03-26 09:51:58 -05:00
forkchoice Protoarray: add ChainHeads (#8684) 2021-03-29 17:40:38 +00:00
gateway Use context timeout during gateway service shutdown (#8644) 2021-03-24 05:00:47 +00:00
interop-cold-start Embed Config Pattern For Attestation, POW Chain, and RPC Services (#8635) 2021-03-21 16:58:41 +00:00
node Add DB To P2P Service (#8676) 2021-03-26 09:51:58 -05:00
operations Embed Config Pattern For Attestation, POW Chain, and RPC Services (#8635) 2021-03-21 16:58:41 +00:00
p2p Add Remaining Gossip Scoring Topics (#8678) 2021-03-28 09:37:25 +08:00
powchain Remove unused interface (#8682) 2021-03-28 22:53:34 +02:00
rpc Implement GetBeaconState in the debug API (#8631) 2021-03-29 21:04:35 +00:00
state Implement GetBeaconState in the debug API (#8631) 2021-03-29 21:04:35 +00:00
sync Embed Config Pattern for Sync Services (#8636) 2021-03-21 19:07:42 +00:00
BUILD.bazel Add Goland Standard "cmd" Pattern for Beacon-Chain Binaries (#8540) 2021-03-02 13:36:03 -06:00
README.md Fix Up READMEs for Mainnet (#7910) 2020-11-23 18:47:55 +00:00

Prysmatic Labs Beacon Chain Implementation

This is the main project folder for the beacon chain implementation of eth2 written in Go by Prysmatic Labs.

You can also read our main README and join our active chat room on Discord.

Discord

Also, read the official beacon chain specification, this design spec serves as a source of truth for the beacon chain implementation we follow at Prysmatic Labs.