fixed interop with geth after updating nim-web3

This commit is contained in:
Viktor Kirilov 2020-09-24 16:07:48 +03:00
parent 2cd0c3adaa
commit 410a72667b
2 changed files with 2 additions and 3 deletions

View File

@ -414,9 +414,8 @@ method onBlockHeaders*(p: Web3DataProviderRef,
info "Waiting for new Eth1 block headers" info "Waiting for new Eth1 block headers"
let options = newJObject()
p.blockHeadersSubscription = await p.web3.subscribeForBlockHeaders( p.blockHeadersSubscription = await p.web3.subscribeForBlockHeaders(
options, blockHeaderHandler, errorHandler) blockHeaderHandler, errorHandler)
# https://github.com/ethereum/eth2.0-specs/blob/v0.11.1/specs/phase0/validator.md#get_eth1_data # https://github.com/ethereum/eth2.0-specs/blob/v0.11.1/specs/phase0/validator.md#get_eth1_data
func getBlockProposalData*(preset: RuntimePreset, eth1Chain: Eth1Chain, func getBlockProposalData*(preset: RuntimePreset, eth1Chain: Eth1Chain,

2
vendor/nim-web3 vendored

@ -1 +1 @@
Subproject commit 0361338cea1cf0c3999434c349287081ec81c133 Subproject commit dde382f70e811d964a000bdd4d86151615f9d4c0