cast::revm::optimism

Function refund

pub fn refund<SPEC, EXT, DB>(
    context: &mut Context<EXT, DB>,
    gas: &mut Gas,
    eip7702_refund: i64,
)
where SPEC: Spec, DB: Database,
Available on crate feature optimism only.
Expand description

Record Eip-7702 refund and calculate final refund.