revm_optimism::handler_register

Function end

Source
pub fn end<EvmWiringT: OptimismWiring, SPEC: OptimismSpec>(
    context: &mut Context<EvmWiringT>,
    evm_output: EVMResult<EvmWiringT>,
) -> EVMResult<EvmWiringT>
Expand description

Optimism end handle changes output if the transaction is a deposit transaction. Deposit transaction can’t be reverted and is always successful.