Trait SystemCallCommitEvm

Source
pub trait SystemCallCommitEvm: SystemCallEvm + ExecuteCommitEvm {
    // Required method
    fn transact_system_call_commit(
        &mut self,
        data: Bytes,
        system_contract_address: Address,
    ) -> Self::CommitOutput;
}
Expand description

Extension of the SystemCallEvm trait that adds a method that commits the state after execution.

Required Methods§

Source

fn transact_system_call_commit( &mut self, data: Bytes, system_contract_address: Address, ) -> Self::CommitOutput

Transact the system call and commit to the state.

Implementations on Foreign Types§

Source§

impl<CTX, INSP, INST, PRECOMPILES> SystemCallCommitEvm for Evm<CTX, INSP, INST, PRECOMPILES>
where CTX: ContextTr<Journal: JournalTr<FinalOutput = JournalOutput>, Db: DatabaseCommit, Tx: SystemCallTx> + ContextSetters, INST: InstructionProvider<Context = CTX, InterpreterTypes = EthInterpreter>, PRECOMPILES: PrecompileProvider<CTX, Output = InterpreterResult>,

Source§

fn transact_system_call_commit( &mut self, data: Bytes, system_contract_address: Address, ) -> Self::CommitOutput

Implementors§