Function validate_cancun_gas

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

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

See EIP-4844: Shard Blob Transactions