TempoContext

Type Alias TempoContext 

Source
pub type TempoContext<DB> = Context<TempoBlockEnv, TempoTxEnv, CfgEnv<TempoHardfork>, DB>;
Expand description

The Tempo EVM context type.

Aliased Type§

pub struct TempoContext<DB> {
    pub block: TempoBlockEnv,
    pub tx: TempoTxEnv,
    pub cfg: CfgEnv<TempoHardfork>,
    pub journaled_state: Journal<DB>,
    pub chain: (),
    pub local: LocalContext,
    pub error: Result<(), ContextError<<DB as Database>::Error>>,
}

Fields§

§block: TempoBlockEnv

Block information.

§tx: TempoTxEnv

Transaction information.

§cfg: CfgEnv<TempoHardfork>

Configurations.

§journaled_state: Journal<DB>

EVM State with journaling support and database.

§chain: ()

Inner context.

§local: LocalContext

Local context that is filled by execution.

§error: Result<(), ContextError<<DB as Database>::Error>>

Error that happened during execution.

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.