forge::utils

Function gas_used

Source
pub fn gas_used(spec: SpecId, spent: u64, refunded: u64) -> u64
Expand description

Get the gas used, accounting for refunds