mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 14:01:02 +00:00
Revise how staking configurations are set (#5018)
* Revise how staking configurations are set companion PR to https://github.com/paritytech/substrate/pull/10955 * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
This commit is contained in:
committed by
GitHub
parent
511344e86c
commit
eaa96a27a3
@@ -395,7 +395,17 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking ChillThreshold (r:0 w:1)
|
||||
// Storage: Staking MaxNominatorsCount (r:0 w:1)
|
||||
// Storage: Staking MinNominatorBond (r:0 w:1)
|
||||
fn set_staking_configs() -> Weight {
|
||||
fn set_staking_configs_all_set() -> Weight {
|
||||
(2_647_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(6 as Weight))
|
||||
}
|
||||
// Storage: Staking MinCommission (r:0 w:1)
|
||||
// Storage: Staking MinValidatorBond (r:0 w:1)
|
||||
// Storage: Staking MaxValidatorsCount (r:0 w:1)
|
||||
// Storage: Staking ChillThreshold (r:0 w:1)
|
||||
// Storage: Staking MaxNominatorsCount (r:0 w:1)
|
||||
// Storage: Staking MinNominatorBond (r:0 w:1)
|
||||
fn set_staking_configs_all_remove() -> Weight {
|
||||
(2_647_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(6 as Weight))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user