cast::revm::interpreter::gas

Function sload_cost

pub const fn sload_cost(spec_id: SpecId, is_cold: bool) -> u64
Expand description

SLOAD opcode cost calculation.