Skip to main content

tempo_gas_params_with_amsterdam

Function tempo_gas_params_with_amsterdam 

Source
pub fn tempo_gas_params_with_amsterdam(
    spec: TempoHardfork,
    amsterdam_eip8037_enabled: bool,
) -> GasParams
Expand description

Tempo gas params override.

amsterdam_eip8037_enabled mirrors CfgEnv::enable_amsterdam_eip8037 and gates the TIP-1016 regular/state gas split. When false, TIP-1000 (T1) costs are used regardless of the spec, so TIP-1016 can be deferred independently of the T4 hardfork activation.