Function forge::utils::sputnik_helpers::evm[][src]

pub fn evm<'a>(
    opts: &EvmOpts,
    cfg: &'a mut Config,
    vicinity: &'a MemoryVicinity
) -> Result<TestSputnikVM<'a, Arc<Box<dyn Backend + 'a>>>>
Expand description

Creates a new Sputnik EVM given the EvmOpts (specifying whether to fork or not), a VM Hard Fork config, and the initial state from the memory vicinity.