cast::utils

Function gas_used

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

Get the gas used, accounting for refunds