Skip to content

Commit f842da2

Browse files
committed
tmp
1 parent e4acad9 commit f842da2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

beacon_chain/gossip_processing/block_processor.nim

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -508,9 +508,10 @@ proc verifyPayload(
508508
# required checks on the CL instead and proceed as if the EL was syncing
509509
# https://github.com/ethereum/consensus-specs/blob/v1.6.0-alpha.6/specs/bellatrix/beacon-chain.md#verify_and_notify_new_payload
510510
# https://github.com/ethereum/consensus-specs/blob/v1.6.0-alpha.6/specs/deneb/beacon-chain.md#modified-verify_and_notify_new_payload
511-
when consensusFork == ConsensusFork.Gloas:
512-
debugGloasComment "no exection payload field for gloas"
513-
ok OptimisticStatus.valid
511+
when consensusFork >= ConsensusFork.Gloas:
512+
# Execution payload should always be enabled since Gloas. So return not
513+
# validated as it is true from `is_execution_block` as in Bellatrix to Fulu.
514+
ok OptimisticStatus.notValidated
514515
elif consensusFork >= ConsensusFork.Bellatrix:
515516
if signedBlock.message.is_execution_block:
516517
template payload(): auto =

0 commit comments

Comments
 (0)