Function next_block_base_fee

Source
pub fn next_block_base_fee(
    chain_spec: impl EthChainSpec + OpHardforks,
    parent: impl BlockHeader,
    timestamp: u64,
) -> Result<u64, EIP1559ParamError>
Expand description

Read from parent to determine the base fee for the next block

See also Base fee computation