forge::revm::interpreter::gas

Function extcodecopy_cost

pub const fn extcodecopy_cost(
    spec_id: SpecId,
    len: u64,
    load: Eip7702CodeLoad<()>,
) -> Option<u64>
Expand description

EXTCODECOPY opcode cost calculation.