pub trait WeightInfo {
    // Required methods
    fn set_keys() -> Weight;
    fn purge_keys() -> Weight;
}
Expand description

Weight functions needed for pallet_session.

Required Methods§

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn set_keys() -> Weight

Storage: Staking Ledger (r:1 w:0) Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) Storage: Session NextKeys (r:1 w:1) Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) Storage: Session KeyOwner (r:4 w:4) Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured)

source§

fn purge_keys() -> Weight

Storage: Staking Ledger (r:1 w:0) Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) Storage: Session NextKeys (r:1 w:1) Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) Storage: Session KeyOwner (r:0 w:4) Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured)

Implementors§