charge_storage_read

Function charge_storage_read 

Source
pub fn charge_storage_read(gas_used: &mut u64, ctx: &ArbPrecompileCtx, gas: u64)
Expand description

Charge precompile gas for an ArbOS state read, recording it as StorageAccessRead for the v60 multi-dimensional pricing backlog (mirrors the reference, which dimensions every state Get as a storage read). The single-gas total is unchanged; only the resource breakdown is recorded.