foundry_evm_core::utils

Function new_evm_with_inspector

Source
pub fn new_evm_with_inspector<'evm, 'i, 'db, I: InspectorExt + ?Sized>(
    db: &'db mut dyn DatabaseExt,
    env: EnvWithHandlerCfg,
    inspector: &'i mut I,
) -> Evm<'evm, &'i mut I, &'db mut dyn DatabaseExt>
Expand description

Creates a new EVM with the given inspector.