TempoInstructionContext

Type Alias TempoInstructionContext 

Source
type TempoInstructionContext<'a, DB> = InstructionContext<'a, TempoContext<DB>, EthInterpreter>;
Expand description

Alias for Tempo-specific [InstructionContext].

Aliased Type§

struct TempoInstructionContext<'a, DB> {
    pub interpreter: &'a mut Interpreter,
    pub host: &'a mut Context<TempoBlockEnv, TempoTxEnv, CfgEnv<TempoHardfork>, DB>,
}

Fields§

§interpreter: &'a mut Interpreter

Reference to the interpreter containing execution state (stack, memory, gas, etc).

§host: &'a mut Context<TempoBlockEnv, TempoTxEnv, CfgEnv<TempoHardfork>, DB>

Reference to the host interface for accessing external blockchain state.

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 16 bytes