foundry_evm::utils

Function new_evm_with_inspector

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

Creates a new EVM with the given inspector.