pub fn new_evm_with_inspector_ref<'db, DB, I>(
db: &'db DB,
env: &Env,
inspector: &'db mut I,
) -> EitherEvm<WrapDatabaseRef<&'db DB>, &'db mut I, PrecompilesMap>
Expand description
Creates a new EVM with the given inspector and wraps the database in a WrapDatabaseRef
.