Trait pallet_evm::GasWeightMapping [−][src]
pub trait GasWeightMapping { fn gas_to_weight(gas: u64) -> Weight; fn weight_to_gas(weight: Weight) -> u64; }
Expand description
A mapping function that converts Ethereum gas to Substrate weight