remove merge cruft (#4559)
This commit is contained in:
parent
8e2792bdd7
commit
b2f415cbe5
|
@ -15,8 +15,8 @@ export base
|
||||||
|
|
||||||
const
|
const
|
||||||
# https://github.com/ethereum/consensus-specs/blob/v1.3.0-rc.1/specs/phase0/p2p-interface.md#topics-and-messages
|
# https://github.com/ethereum/consensus-specs/blob/v1.3.0-rc.1/specs/phase0/p2p-interface.md#topics-and-messages
|
||||||
# https://github.com/ethereum/consensus-specs/blob/v1.3.0-rc.0/specs/capella/p2p-interface.md#topics-and-messages
|
# https://github.com/ethereum/consensus-specs/blob/v1.3.0-rc.1/specs/capella/p2p-interface.md#topics-and-messages
|
||||||
# https://github.com/ethereum/consensus-specs/blob/v1.3.0-rc.0/specs/eip4844/p2p-interface.md#topics-and-messages
|
# https://github.com/ethereum/consensus-specs/blob/v1.3.0-rc.1/specs/eip4844/p2p-interface.md#topics-and-messages
|
||||||
topicBeaconBlocksSuffix* = "beacon_block/ssz_snappy"
|
topicBeaconBlocksSuffix* = "beacon_block/ssz_snappy"
|
||||||
topicVoluntaryExitsSuffix* = "voluntary_exit/ssz_snappy"
|
topicVoluntaryExitsSuffix* = "voluntary_exit/ssz_snappy"
|
||||||
topicProposerSlashingsSuffix* = "proposer_slashing/ssz_snappy"
|
topicProposerSlashingsSuffix* = "proposer_slashing/ssz_snappy"
|
||||||
|
@ -26,7 +26,6 @@ const
|
||||||
topicBeaconBlockAndBlobsSidecarTopicSuffix* = "beacon_block_and_blobs_sidecar/ssz_snappy"
|
topicBeaconBlockAndBlobsSidecarTopicSuffix* = "beacon_block_and_blobs_sidecar/ssz_snappy"
|
||||||
|
|
||||||
# https://github.com/ethereum/consensus-specs/blob/v1.3.0-rc.1/specs/phase0/p2p-interface.md#configuration
|
# https://github.com/ethereum/consensus-specs/blob/v1.3.0-rc.1/specs/phase0/p2p-interface.md#configuration
|
||||||
TTFB_TIMEOUT* = 5.seconds
|
|
||||||
RESP_TIMEOUT* = 10.seconds
|
RESP_TIMEOUT* = 10.seconds
|
||||||
|
|
||||||
# https://github.com/ethereum/consensus-specs/blob/v1.3.0-rc.1/specs/bellatrix/p2p-interface.md#configuration
|
# https://github.com/ethereum/consensus-specs/blob/v1.3.0-rc.1/specs/bellatrix/p2p-interface.md#configuration
|
||||||
|
|
|
@ -846,12 +846,7 @@ proc proposeBlock(node: BeaconNode,
|
||||||
return head
|
return head
|
||||||
res.get()
|
res.get()
|
||||||
|
|
||||||
# https://github.com/ethereum/builder-specs/blob/v0.2.0/specs/validator.md#responsibilites-during-the-merge-transition
|
if node.config.payloadBuilderEnable:
|
||||||
# "Honest validators will not utilize the external builder network until
|
|
||||||
# after the transition from the proof-of-work chain to the proof-of-stake
|
|
||||||
# beacon chain has been finalized by the proof-of-stake validators."
|
|
||||||
if node.config.payloadBuilderEnable and
|
|
||||||
not node.dag.loadExecutionBlockRoot(node.dag.finalizedHead.blck).isZero:
|
|
||||||
let newBlockMEV = await node.proposeBlockMEV(
|
let newBlockMEV = await node.proposeBlockMEV(
|
||||||
head, validator, slot, randao, validator_index)
|
head, validator, slot, randao, validator_index)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue