reth_consensus_common::validation

Function validate_against_parent_eip1559_base_fee

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

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