Enable full use of pallet-bags-list in westend and kusama runtimes (#4195)

This commit is contained in:
Kian Paimani
2021-11-12 13:13:53 +00:00
committed by GitHub
parent 760d6804dc
commit ea16b72e0b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -554,7 +554,7 @@ impl pallet_staking::Config for Runtime {
type MaxNominatorRewardedPerValidator = MaxNominatorRewardedPerValidator;
type OffendingValidatorsThreshold = OffendingValidatorsThreshold;
// Use the nominators map to iter voters, but also keep bags-list up-to-date.
type SortedListProvider = runtime_common::elections::UseNominatorsAndUpdateBagsList<Runtime>;
type SortedListProvider = BagsList;
type WeightInfo = weights::pallet_staking::WeightInfo<Runtime>;
}
+1 -1
View File
@@ -456,7 +456,7 @@ impl pallet_staking::Config for Runtime {
type ElectionProvider = ElectionProviderMultiPhase;
type GenesisElectionProvider = runtime_common::elections::GenesisElectionOf<Self>;
// Use the nominators map to iter voters, but also keep bags-list up-to-date.
type SortedListProvider = runtime_common::elections::UseNominatorsAndUpdateBagsList<Runtime>;
type SortedListProvider = BagsList;
type WeightInfo = weights::pallet_staking::WeightInfo<Runtime>;
}