reth::consensus_common::validation

Function validate_against_parent_eip1559_base_fee

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

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