reth_revm::optimism

Function end

pub fn end<SPEC, EXT, DB>(
    context: &mut Context<EXT, DB>,
    evm_output: Result<ResultAndState, EVMError<<DB as Database>::Error>>,
) -> Result<ResultAndState, EVMError<<DB as Database>::Error>>
where SPEC: Spec, DB: Database,
Available on crate feature optimism only.
Expand description

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