pub type MainnetEvm<CTX, INSP = ()> = Evm<CTX, INSP, EthInstructions<EthInterpreter, CTX>, EthPrecompiles>;
Aliased Type§
struct MainnetEvm<CTX, INSP = ()> {
pub ctx: CTX,
pub inspector: INSP,
pub instruction: EthInstructions<EthInterpreter, CTX>,
pub precompiles: EthPrecompiles,
}
Fields§
§ctx: CTX
[context_interface::ContextTr
] of the EVM it is used to fetch data from database.
inspector: INSP
Inspector 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: EthPrecompiles
Precompile provider of the EVM it is used to execute precompiles.
PrecompileProvider
trait is defined in revm-handler crate.