bump nim-web3 and use engine API v1.0.0.alpha.9 (#3663)
This commit is contained in:
parent
92c1e75915
commit
dfd8cd22b7
|
@ -443,8 +443,7 @@ proc runQueueProcessingLoop*(self: ref BlockProcessor) {.async.} =
|
||||||
|
|
||||||
if executionPayloadStatus in [
|
if executionPayloadStatus in [
|
||||||
PayloadExecutionStatus.invalid,
|
PayloadExecutionStatus.invalid,
|
||||||
PayloadExecutionStatus.invalid_block_hash,
|
PayloadExecutionStatus.invalid_block_hash]:
|
||||||
PayloadExecutionStatus.invalid_terminal_block]:
|
|
||||||
debug "runQueueProcessingLoop: execution payload invalid",
|
debug "runQueueProcessingLoop: execution payload invalid",
|
||||||
executionPayloadStatus
|
executionPayloadStatus
|
||||||
if not blck.resfut.isNil:
|
if not blck.resfut.isNil:
|
||||||
|
|
|
@ -28,10 +28,10 @@ const
|
||||||
# https://github.com/ethereum/consensus-specs/blob/v1.2.0-rc.1/specs/bellatrix/beacon-chain.md#transition-settings
|
# https://github.com/ethereum/consensus-specs/blob/v1.2.0-rc.1/specs/bellatrix/beacon-chain.md#transition-settings
|
||||||
TERMINAL_BLOCK_HASH_ACTIVATION_EPOCH* = FAR_FUTURE_EPOCH
|
TERMINAL_BLOCK_HASH_ACTIVATION_EPOCH* = FAR_FUTURE_EPOCH
|
||||||
|
|
||||||
# https://github.com/ethereum/execution-apis/blob/2c3dffa1ad301a5b1d46212e1bd65e918265cd6f/src/engine/specification.md#request-1
|
# https://github.com/ethereum/execution-apis/blob/v1.0.0-alpha.9/src/engine/specification.md#request-1
|
||||||
FORKCHOICEUPDATED_TIMEOUT* = 8.seconds
|
FORKCHOICEUPDATED_TIMEOUT* = 8.seconds
|
||||||
|
|
||||||
# https://github.com/ethereum/execution-apis/blob/2c3dffa1ad301a5b1d46212e1bd65e918265cd6f/src/engine/specification.md#request
|
# https://github.com/ethereum/execution-apis/blob/v1.0.0-alpha.9/src/engine/specification.md#request
|
||||||
NEWPAYLOAD_TIMEOUT* = 8.seconds
|
NEWPAYLOAD_TIMEOUT* = 8.seconds
|
||||||
|
|
||||||
type
|
type
|
||||||
|
|
|
@ -528,7 +528,7 @@ proc getExecutionPayload(node: BeaconNode, proposalState: auto):
|
||||||
# Minimize window for Eth1 monitor to shut down connection
|
# Minimize window for Eth1 monitor to shut down connection
|
||||||
await node.consensusManager.eth1Monitor.ensureDataProvider()
|
await node.consensusManager.eth1Monitor.ensureDataProvider()
|
||||||
|
|
||||||
# https://github.com/ethereum/execution-apis/blob/2c3dffa1ad301a5b1d46212e1bd65e918265cd6f/src/engine/specification.md#request-2
|
# https://github.com/ethereum/execution-apis/blob/v1.0.0-alpha.9/src/engine/specification.md#request-2
|
||||||
const GETPAYLOAD_TIMEOUT = 1.seconds
|
const GETPAYLOAD_TIMEOUT = 1.seconds
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
# at your option. This file may not be copied, modified, or distributed except according to those terms.
|
# at your option. This file may not be copied, modified, or distributed except according to those terms.
|
||||||
|
|
||||||
import
|
import
|
||||||
re, strutils, os, math,
|
std/[os, re, strutils],
|
||||||
stew/bitops2,
|
stew/bitops2,
|
||||||
../beacon_chain/spec/[
|
../beacon_chain/spec/[
|
||||||
datatypes/base,
|
datatypes/base,
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit d260915a0c2111e64ac49b9f75083734c58e5f03
|
Subproject commit 755b6dc92b1545d6c9eb242c551e8188e35ffe5d
|
Loading…
Reference in New Issue