charge_l2_calldata

Function charge_l2_calldata 

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

Charge precompile gas for calldata processing (the framework argsCost and any per-call copy fees on caller-supplied data), recording it as L2Calldata. The single-gas total is unchanged; only the resource breakdown is recorded.