pub trait WeightInfo {
    // Required methods
    fn base_fee_per_gas_adjustment() -> Weight;
    fn set_base_fee_per_gas() -> Weight;
    fn min_gas_price() -> Weight;
}
Expand description

Weight functions needed for pallet_dynamic_evm_base_fee.

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn base_fee_per_gas_adjustment() -> Weight

Storage: DynamicEvmBaseFee BaseFeePerGas (r:1 w:1) Proof: DynamicEvmBaseFee BaseFeePerGas (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) Storage: TransactionPayment NextFeeMultiplier (r:1 w:0) Proof: TransactionPayment NextFeeMultiplier (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)

source§

fn set_base_fee_per_gas() -> Weight

Storage: DynamicEvmBaseFee BaseFeePerGas (r:0 w:1) Proof: DynamicEvmBaseFee BaseFeePerGas (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)

source§

fn min_gas_price() -> Weight

Storage: DynamicEvmBaseFee BaseFeePerGas (r:1 w:0) Proof: DynamicEvmBaseFee BaseFeePerGas (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)

Implementors§

source§

impl<T: Config> WeightInfo for SubstrateWeight<T>