referrerpolicy=no-referrer-when-downgrade

WeightInfo

Trait WeightInfo 

Source
pub trait WeightInfo {
    // Required methods
    fn set_points_per_service() -> Weight;
    fn report_authored_blocks() -> Weight;
}
Expand description

Weight functions needed for pallet_staking_async_points_converter.

Required Methods§

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 set_points_per_service() -> Weight

Storage: StakingPointsConverter::PointsPerService (r:0 w:1) Proof: StakingPointsConverter::PointsPerService (max_values: None, max_size: Some(25), added: 2500, mode: MaxEncodedLen)

Source§

fn report_authored_blocks() -> Weight

Storage: StakingPointsConverter::PointsPerService (r:1 w:0) Proof: StakingPointsConverter::PointsPerService (max_values: None, max_size: Some(25), added: 2500, mode: MaxEncodedLen)

Implementors§

Source§

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