reth_consensus_common::validation

Function validate_against_parent_eip1559_base_fee

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

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