Trait ExecuteEvm

Source
pub trait ExecuteEvm: ContextSetters {
    type Output;

    // Required method
    fn transact_previous(&mut self) -> Self::Output;

    // Provided method
    fn transact(&mut self, tx: Self::Tx) -> Self::Output { ... }
}
Expand description

Execute EVM transactions.

Required Associated Types§

Required Methods§

Source

fn transact_previous(&mut self) -> Self::Output

Provided Methods§

Source

fn transact(&mut self, tx: Self::Tx) -> Self::Output

Implementations on Foreign Types§

Source§

impl<CTX, INSP, PRECOMPILES> ExecuteEvm for Evm<CTX, INSP, EthInstructions<EthInterpreter, CTX>, PRECOMPILES>
where CTX: ContextSetters + ContextTr<Journal: Journal<FinalOutput = (EvmState, Vec<Log>)>>, PRECOMPILES: PrecompileProvider<Context = CTX, Output = InterpreterResult>,

Implementors§