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 @@ -463,16 +463,14 @@ template validateBeaconBlockGloas(
463463 # `bid.parent_block_hash`) passes all validation.
464464 withState (dag.headState):
465465 when consensusFork >= ConsensusFork .Gloas :
466- if bid.parent_block_hash != forkyState.latest_block_hash:
466+ if bid.parent_block_hash != forkyState.data. latest_block_hash:
467467 return dag.checkedReject (" validateBeaconBlockGloas: invalid execution payload parent" )
468468
469469 # [REJECT] The bid's parent (defined by `bid.parent_block_root`) equals the
470470 # block's parent (defined by `block.parent_root`).
471471 if bid.parent_block_root != blck.parent_root:
472472 return dag.checkedReject (" validateBeaconBlockGloas: parent block root mismatch" )
473473
474- ok ()
475-
476474# https://github.com/ethereum/consensus-specs/blob/v1.4.0-beta.4/specs/deneb/p2p-interface.md#blob_sidecar_subnet_id
477475proc validateBlobSidecar * (
478476 dag: ChainDAGRef , quarantine: ref Quarantine ,
You can’t perform that action at this time.
0 commit comments