Skip to main content

tempo_next_block_base_fee

Function tempo_next_block_base_fee 

Source
fn tempo_next_block_base_fee(
    hardfork: TempoHardfork,
    gas_used: u64,
    parent_base_fee: u64,
) -> u64
Expand description

Computes the next block’s base fee for a Tempo chain.

  • T7+: the TIP-1067 dynamic controller, an EIP-1559 update against a fixed 10M gas target clamped to [floor, cap].
  • Pre-T7: the fixed hardfork base fee (10 gwei pre-T1, 20 gwei T1+).