pub fn attribute_wasm_computation(
used_multi_gas: &mut MultiGas,
starting_gas: u64,
gas_left: u64,
)Expand description
Attribute residual WASM gas consumption to the WasmComputation resource kind.
After a Stylus program executes, the total gas consumed may exceed what was
individually tracked through MultiGas accounting. This function assigns the
residual (unaccounted) gas to ResourceKind::WasmComputation.