Companion for pools tweaks (#5488)

* add weights

* update lockfile for {"substrate"}

Co-authored-by: parity-processbot <>
This commit is contained in:
Kian Paimani
2022-05-10 18:42:37 +01:00
committed by GitHub
parent 7a602c47ab
commit be8cbc8001
2 changed files with 178 additions and 171 deletions
@@ -250,5 +250,12 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
(2_793_000 as Weight)
.saturating_add(T::DbWeight::get().writes(5 as Weight))
}
// Storage: NominationPools BondedPools (r:1 w:1)
fn update_roles() -> Weight {
(18_608_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
}