Function move_vm_types::natives::function::native_gas
source · pub fn native_gas(
table: &CostTable,
key: NativeCostIndex,
size: usize
) -> InternalGasUnits<GasCarrier>
Expand description
Return the native gas entry in CostTable
for the given key.
The key is the specific native function index known to CostTable
.