Skip to main content

active_tempo_hardfork

Function active_tempo_hardfork 

Source
fn active_tempo_hardfork<FEN: FoundryEvmNetwork>(
    ccx: &CheatsCtxt<'_, '_, FEN>,
) -> Option<TempoHardfork>
Expand description

Resolves the active Tempo hardfork from the cheatcode-visible spec, or None on non-Tempo networks. Goes through the spec’s stable string name because the context is generic over the network type.