small fix

This commit is contained in:
Eitan Seri- Levi
2026-02-25 00:01:24 -08:00
parent 5ca68ad8b2
commit 06ee85a0c5
2 changed files with 18 additions and 1 deletions

View File

@@ -894,8 +894,18 @@ where
}
}
}
} else if let Ok(bid) = block.body().signed_execution_payload_bid() {
// Gloas (ePBS): the block carries a bid instead of an inline payload.
// The execution payload will arrive later via an envelope, so mark as
// optimistic using the committed block hash from the bid.
let block_hash = bid.message.block_hash;
if block_hash == ExecutionBlockHash::zero() {
ExecutionStatus::irrelevant()
} else {
ExecutionStatus::Optimistic(block_hash)
}
} else {
// There is no payload to verify.
// There is no payload to verify (pre-merge).
ExecutionStatus::irrelevant()
};