Trait ExecuteEvm
pub trait ExecuteEvm {
type Output;
type Tx: Transaction;
type Block: Block;
// Required methods
fn set_tx(&mut self, tx: Self::Tx);
fn set_block(&mut self, block: Self::Block);
fn replay(&mut self) -> Self::Output;
// Provided method
fn transact(&mut self, tx: Self::Tx) -> Self::Output { ... }
}
Expand description
Execute EVM transactions. Main trait for transaction execution.
Required Associated Types§
type Output
type Output
Output of transaction execution.
type Tx: Transaction
type Tx: Transaction
Transaction type.