cast::revm::interpreter::gas

Function selfdestruct_cost

pub const fn selfdestruct_cost(
    spec_id: SpecId,
    res: StateLoad<SelfDestructResult>,
) -> u64
Expand description

SELFDESTRUCT opcode cost calculation.