File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
beacon_chain/gossip_processing Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -429,16 +429,14 @@ template validateBeaconBlockGloas(
429429 # `bid.parent_block_hash`) passes all validation.
430430 withState (dag.headState):
431431 when consensusFork >= ConsensusFork .Gloas :
432- if bid.parent_block_hash != forkyState.latest_block_hash:
432+ if bid.parent_block_hash != forkyState.data. latest_block_hash:
433433 return dag.checkedReject (" validateBeaconBlockGloas: invalid execution payload parent" )
434434
435435 # [REJECT] The bid's parent (defined by `bid.parent_block_root`) equals the
436436 # block's parent (defined by `block.parent_root`).
437437 if bid.parent_block_root != blck.parent_root:
438438 return dag.checkedReject (" validateBeaconBlockGloas: parent block root mismatch" )
439439
440- ok ()
441-
442440# https://github.com/ethereum/consensus-specs/blob/v1.4.0-beta.4/specs/deneb/p2p-interface.md#blob_sidecar_subnet_id
443441proc validateBlobSidecar * (
444442 dag: ChainDAGRef , quarantine: ref Quarantine ,
You can’t perform that action at this time.
0 commit comments