pub fn validate_block_post_execution<R: DepositReceipt>(
header: impl BlockHeader,
chain_spec: impl OpHardforks,
receipts: &[R],
) -> Result<(), ConsensusError>
Expand description
Validate a block with regard to execution results:
- Compares the receipts root in the block header to the block body
- Compares the gas used in the block header to the actual gas usage after execution