reth::consensus_common::validation

Function validate_header_base_fee

pub fn validate_header_base_fee<ChainSpec>(
    header: &Header,
    chain_spec: &ChainSpec,
) -> Result<(), ConsensusError>
where ChainSpec: EthereumHardforks,
Expand description

Ensure the EIP-1559 base fee is set if the London hardfork is active.