Trait SystemCallCommitEvm    
pub trait SystemCallCommitEvm: SystemCallEvm + ExecuteCommitEvm {
    // Required method
    fn system_call_with_caller_commit(
        &mut self,
        caller: Address,
        system_contract_address: Address,
        data: Bytes,
    ) -> Result<Self::ExecutionResult, Self::Error>;
    // Provided methods
    fn system_call_commit(
        &mut self,
        system_contract_address: Address,
        data: Bytes,
    ) -> Result<Self::ExecutionResult, Self::Error> { ... }
    fn transact_system_call_commit(
        &mut self,
        system_contract_address: Address,
        data: Bytes,
    ) -> Result<Self::ExecutionResult, Self::Error> { ... }
    fn transact_system_call_with_caller_commit(
        &mut self,
        caller: Address,
        system_contract_address: Address,
        data: Bytes,
    ) -> Result<Self::ExecutionResult, Self::Error> { ... }
}Available on crate feature 
evm only.Expand description
Extension of the SystemCallEvm trait that adds a method that commits the state after execution.
Required Methods§
fn system_call_with_caller_commit(
    &mut self,
    caller: Address,
    system_contract_address: Address,
    data: Bytes,
) -> Result<Self::ExecutionResult, Self::Error>
fn system_call_with_caller_commit( &mut self, caller: Address, system_contract_address: Address, data: Bytes, ) -> Result<Self::ExecutionResult, Self::Error>
Calls SystemCallCommitEvm::system_call_commit with a custom caller.
Provided Methods§
fn system_call_commit(
    &mut self,
    system_contract_address: Address,
    data: Bytes,
) -> Result<Self::ExecutionResult, Self::Error>
fn system_call_commit( &mut self, system_contract_address: Address, data: Bytes, ) -> Result<Self::ExecutionResult, Self::Error>
Transact the system call and commit to the state.
fn transact_system_call_commit(
    &mut self,
    system_contract_address: Address,
    data: Bytes,
) -> Result<Self::ExecutionResult, Self::Error>
 👎Deprecated since 0.1.0: Use system_call_commit instead
fn transact_system_call_commit( &mut self, system_contract_address: Address, data: Bytes, ) -> Result<Self::ExecutionResult, Self::Error>
system_call_commit insteadTransact the system call and commit to the state.
fn transact_system_call_with_caller_commit(
    &mut self,
    caller: Address,
    system_contract_address: Address,
    data: Bytes,
) -> Result<Self::ExecutionResult, Self::Error>
 👎Deprecated since 0.1.0: Use system_call_with_caller_commit instead
fn transact_system_call_with_caller_commit( &mut self, caller: Address, system_contract_address: Address, data: Bytes, ) -> Result<Self::ExecutionResult, Self::Error>
system_call_with_caller_commit insteadCalls SystemCallCommitEvm::system_call_commit with a custom caller.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.