Trait pallet_session::weights::WeightInfo
source · pub trait WeightInfo {
// Required methods
fn set_keys() -> Weight;
fn purge_keys() -> Weight;
}
Expand description
Weight functions needed for pallet_session
.
Required Methods§
fn set_keys() -> Weight
fn purge_keys() -> Weight
Object Safety§
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn set_keys() -> Weight
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: Session::NextKeys
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Session::KeyOwner
(r:6 w:6)
Proof: Session::KeyOwner
(max_values
: None, max_size
: None, mode: Measured
)
source§fn purge_keys() -> Weight
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: Session::NextKeys
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Session::KeyOwner
(r:0 w:6)
Proof: Session::KeyOwner
(max_values
: None, max_size
: None, mode: Measured
)