Skip to main content

tempo_t7_next_block_base_fee

Function tempo_t7_next_block_base_fee 

Source
pub fn tempo_t7_next_block_base_fee(
    parent_base_fee: u64,
    parent_gas_used: u64,
) -> u64
Available on crate feature reth only.
Expand description

Returns the TIP-1067 base fee for the child of a block.

The update follows EIP-1559’s integer formula against a fixed 10M gas target, then clamps the result to [TEMPO_T7_BASE_FEE_FLOOR, TEMPO_T7_BASE_FEE_CAP].