Type Alias MainnetEvm
pub type MainnetEvm<CTX, INSP = ()> = Evm<CTX, INSP, EthInstructions<EthInterpreter, CTX>, EthPrecompiles>;Aliased Type§
pub struct MainnetEvm<CTX, INSP = ()> {
pub ctx: CTX,
pub inspector: INSP,
pub instruction: EthInstructions<EthInterpreter, CTX>,
pub precompiles: EthPrecompiles,
}Fields§
§ctx: CTXcontext_interface::ContextTr of the EVM it is used to fetch data from database.
inspector: INSPInspector of the EVM it is used to inspect the EVM. Its trait are defined in revm-inspector crate.
instruction: EthInstructions<EthInterpreter, CTX>Instructions provider of the EVM it is used to execute instructions.
InstructionProvider trait is defined in revm-handler crate.
precompiles: EthPrecompilesPrecompile provider of the EVM it is used to execute precompiles.
PrecompileProvider trait is defined in revm-handler crate.
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.