prysm-pulse/beacon-chain
Radosław Kapka a7345c1094
Implement GetDepositContract in the config API (#8316)
* Add funnction to retrieve deposit contract's address from powchain

* change bytes.Equal to assert.DeepEqual

* add DepositContractAddress to mocks

* Extract powchain info to a separate struct

* span

* Revert "Extract powchain info to a separate struct"

This reverts commit e01dd5222b2ddc92607391f4b927b099100e03dd.

* implementation + test

* use the correct hexutil library

* read contract address from configuration

* return ETH1 chain ID instead of fork version

* gzl (I hate you)

* remove unused ChainInfoFetcher

Co-authored-by: terence tsao <terence@prysmaticlabs.com>
2021-01-26 09:37:22 +00:00
..
blockchain Rename getter functions to be idiomatic (#8320) 2021-01-25 21:27:30 +00:00
cache Better receiver names in beacon chain module (#8286) 2021-01-19 13:21:32 +00:00
core Rename getter functions to be idiomatic (#8320) 2021-01-25 21:27:30 +00:00
db Rename getter functions to be idiomatic (#8320) 2021-01-25 21:27:30 +00:00
flags Unify the pattern of using a package-level logger (#8245) 2021-01-11 20:03:28 +00:00
forkchoice Consolidate Required Web UI Endpoints Into Single Protobuf File (#8127) 2020-12-16 17:30:48 +00:00
gateway Unify the pattern of using a package-level logger (#8245) 2021-01-11 20:03:28 +00:00
interop-cold-start Add space at the start of comments (#8202) 2021-01-05 13:09:41 +00:00
node Rename getter functions to be idiomatic (#8320) 2021-01-25 21:27:30 +00:00
operations Better receiver names in beacon chain module (#8286) 2021-01-19 13:21:32 +00:00
p2p Rename getter functions to be idiomatic (#8320) 2021-01-25 21:27:30 +00:00
powchain Rename non-generated files ending with '_mock' (#8317) 2021-01-25 22:30:55 +00:00
rpc Implement GetDepositContract in the config API (#8316) 2021-01-26 09:37:22 +00:00
state Rename getter functions to be idiomatic (#8320) 2021-01-25 21:27:30 +00:00
sync Rename getter functions to be idiomatic (#8320) 2021-01-25 21:27:30 +00:00
BUILD.bazel Unify the pattern of using a package-level logger (#8245) 2021-01-11 20:03:28 +00:00
log.go Unify the pattern of using a package-level logger (#8245) 2021-01-11 20:03:28 +00:00
main.go Rename getter functions to be idiomatic (#8320) 2021-01-25 21:27:30 +00:00
README.md Fix Up READMEs for Mainnet (#7910) 2020-11-23 18:47:55 +00:00
usage_test.go Refactor dependencies, make Prysm "go gettable" (#6053) 2020-05-31 14:44:34 +08:00
usage.go Add Fallback Option for Eth1 Nodes (#8062) 2020-12-11 19:15:04 +08: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.