anvil::eth::backend::executor

Function new_evm_with_inspector_ref

Source
pub fn new_evm_with_inspector_ref<'a, DB>(
    db: DB,
    env: EnvWithHandlerCfg,
    inspector: &mut dyn Inspector<WrapDatabaseRef<DB>>,
    alphanet: bool,
) -> Evm<'a, &mut dyn Inspector<WrapDatabaseRef<DB>>, WrapDatabaseRef<DB>>
where DB: DatabaseRef,
Expand description

Creates a new EVM with the given inspector and wraps the database in a WrapDatabaseRef.