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.

Required Methods

Implementations on Foreign Types

Implementors