prysm-pulse/beacon-chain/rpc/beaconv1
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
..
blocks_test.go Replace bytes.Equal with assert.DeepEqual in tests (#8318) 2021-01-22 15:15:40 +00:00
blocks.go Added db.BlocksBySlot and db.BlockRootsBySlot (#8184) 2021-01-12 18:31:15 +00:00
BUILD.bazel Implement GetDepositContract in the config API (#8316) 2021-01-26 09:37:22 +00:00
config_test.go Implement GetDepositContract in the config API (#8316) 2021-01-26 09:37:22 +00:00
config.go Implement GetDepositContract in the config API (#8316) 2021-01-26 09:37:22 +00:00
log.go Unify the pattern of using a package-level logger (#8245) 2021-01-11 20:03:28 +00:00
pool.go Eth2 API: Add outline for beacon endpoints (#7408) 2020-10-05 00:15:27 +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 Eth2 API: Implement block endpoints (#7433) 2020-10-15 18:00:49 +00:00
state.go Eth2 API: Add outline for beacon endpoints (#7408) 2020-10-05 00:15:27 +00:00
validator.go Remove WaitForSynced (#7835) 2020-11-16 20:48:16 -06:00