reth_consensus_common::validation

Function validate_cancun_gas

Source
pub fn validate_cancun_gas(block: &SealedBlock) -> Result<(), ConsensusError>
Expand description

Validate that blob gas is present in the block if Cancun is active.

See EIP-4844: Shard Blob Transactions