reth_revm::interpreter::gas

Function sstore_cost

pub fn sstore_cost(
    spec_id: SpecId,
    vals: &SStoreResult,
    gas: u64,
    is_cold: bool,
) -> Option<u64>
Expand description

SSTORE opcode cost calculation.