reth_consensus_common::validation

Function validate_header_base_fee

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

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