pallet_rewards::weights

Trait WeightInfo

source
pub trait WeightInfo {
    // Required method
    fn update_issuance_params(p: u32, v: u32) -> Weight;
}
Expand description

Weight functions needed for pallet_rewards.

Required Methods§

source

fn update_issuance_params(p: u32, v: u32) -> Weight

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn update_issuance_params(p: u32, v: u32) -> Weight

Storage: Rewards::ProposerSubsidyPoints (r:0 w:1) Proof: Rewards::ProposerSubsidyPoints (max_values: Some(1), max_size: Some(401), added: 896, mode: MaxEncodedLen) Storage: Rewards::VoterSubsidyPoints (r:0 w:1) Proof: Rewards::VoterSubsidyPoints (max_values: Some(1), max_size: Some(401), added: 896, mode: MaxEncodedLen) The range of component p is [0, 20]. The range of component v is [0, 20].

Implementors§

source§

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