pub fn new_evm_with_inspector_ref<'a, DB>(
db: DB,
env: EnvWithHandlerCfg,
inspector: &mut dyn Inspector<WrapDatabaseRef<DB>>,
odyssey: 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
.