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§
fn set_points_per_service() -> 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 ()
impl WeightInfo for ()
Source§fn set_points_per_service() -> Weight
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)
Storage: StakingPointsConverter::PointsPerService (r:1 w:0)
Proof: StakingPointsConverter::PointsPerService (max_values: None, max_size: Some(25),
added: 2500, mode: MaxEncodedLen)