revm_optimism::evm

Type Alias OpEvm

Source
pub type OpEvm<DB> = Evm<OpError<DB>, OpContext<DB>, OpHandler<OpContext<DB>, OpError<DB>>>;
Expand description

Optimism EVM type

Aliased Type§

struct OpEvm<DB> {
    pub context: Context<BlockEnv, OpTransaction<TxEnv>, CfgEnv<OpSpec>, DB, L1BlockInfo>,
    pub handler: EthHandler<Context<BlockEnv, OpTransaction<TxEnv>, CfgEnv<OpSpec>, DB, L1BlockInfo>, EVMError<<DB as Database>::Error, InvalidTransaction>, OpValidation<Context<BlockEnv, OpTransaction<TxEnv>, CfgEnv<OpSpec>, DB, L1BlockInfo>, EVMError<<DB as Database>::Error, InvalidTransaction>>, OpPreExecution<Context<BlockEnv, OpTransaction<TxEnv>, CfgEnv<OpSpec>, DB, L1BlockInfo>, EVMError<<DB as Database>::Error, InvalidTransaction>>, OpExecution<Context<BlockEnv, OpTransaction<TxEnv>, CfgEnv<OpSpec>, DB, L1BlockInfo>, EVMError<<DB as Database>::Error, InvalidTransaction>>, OpPostExecution<Context<BlockEnv, OpTransaction<TxEnv>, CfgEnv<OpSpec>, DB, L1BlockInfo>, EVMError<<DB as Database>::Error, InvalidTransaction>>>,
    pub _error: PhantomData<fn() -> EVMError<<DB as Database>::Error, InvalidTransaction>>,
}

Fields§

§context: Context<BlockEnv, OpTransaction<TxEnv>, CfgEnv<OpSpec>, DB, L1BlockInfo>§handler: EthHandler<Context<BlockEnv, OpTransaction<TxEnv>, CfgEnv<OpSpec>, DB, L1BlockInfo>, EVMError<<DB as Database>::Error, InvalidTransaction>, OpValidation<Context<BlockEnv, OpTransaction<TxEnv>, CfgEnv<OpSpec>, DB, L1BlockInfo>, EVMError<<DB as Database>::Error, InvalidTransaction>>, OpPreExecution<Context<BlockEnv, OpTransaction<TxEnv>, CfgEnv<OpSpec>, DB, L1BlockInfo>, EVMError<<DB as Database>::Error, InvalidTransaction>>, OpExecution<Context<BlockEnv, OpTransaction<TxEnv>, CfgEnv<OpSpec>, DB, L1BlockInfo>, EVMError<<DB as Database>::Error, InvalidTransaction>>, OpPostExecution<Context<BlockEnv, OpTransaction<TxEnv>, CfgEnv<OpSpec>, DB, L1BlockInfo>, EVMError<<DB as Database>::Error, InvalidTransaction>>>§_error: PhantomData<fn() -> EVMError<<DB as Database>::Error, InvalidTransaction>>