revm_optimism::transaction::abstraction

Trait OpTxGetter

Source
pub trait OpTxGetter: TransactionGetter {
    type OpTransaction: OpTxTrait;

    // Required method
    fn op_tx(&self) -> &Self::OpTransaction;
}

Required Associated Types§

Required Methods§

Source

fn op_tx(&self) -> &Self::OpTransaction

Implementations on Foreign Types§

Source§

impl<BLOCK, TX: Transaction, CFG, DB: Database, JOURNAL: Journal<Database = DB>, CHAIN> OpTxGetter for Context<BLOCK, OpTransaction<TX>, CFG, DB, JOURNAL, CHAIN>

Implementors§