pub fn validate_cancun_gas<H, B>(
block: &SealedBlock<H, B>,
) -> Result<(), ConsensusError>where
H: BlockHeader,
B: BlockBody,
Expand description
Validate that blob gas is present in the block if Cancun is active.
See EIP-4844: Shard Blob Transactions