revm_wiring::block::blob

Function calc_excess_blob_gas

Source
pub fn calc_excess_blob_gas(
    parent_excess_blob_gas: u64,
    parent_blob_gas_used: u64,
) -> u64
Expand description

Calculates the excess_blob_gas from the parent header’s blob_gas_used and excess_blob_gas.

See also [the EIP-4844 helpers]https://eips.ethereum.org/EIPS/eip-4844#helpers (calc_excess_blob_gas).