reth::consensus_common::validation

Function validate_against_parent_eip1559_base_fee

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

Validates the base fee against the parent and EIP-1559 rules.