Unverified Commit dfc0167b authored by Kian Paimani's avatar Kian Paimani Committed by GitHub
Browse files

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

parent a2244b66
Pipeline #165707 failed with stages
in 37 minutes and 56 seconds
......@@ -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>;
}
......
......@@ -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>;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment