Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit dfc0167

Browse files
authored
Enable full use of pallet-bags-list in westend and kusama runtimes (#4195)
1 parent a2244b6 commit dfc0167

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

runtime/kusama/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ impl pallet_staking::Config for Runtime {
554554
type MaxNominatorRewardedPerValidator = MaxNominatorRewardedPerValidator;
555555
type OffendingValidatorsThreshold = OffendingValidatorsThreshold;
556556
// Use the nominators map to iter voters, but also keep bags-list up-to-date.
557-
type SortedListProvider = runtime_common::elections::UseNominatorsAndUpdateBagsList<Runtime>;
557+
type SortedListProvider = BagsList;
558558
type WeightInfo = weights::pallet_staking::WeightInfo<Runtime>;
559559
}
560560

runtime/westend/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ impl pallet_staking::Config for Runtime {
456456
type ElectionProvider = ElectionProviderMultiPhase;
457457
type GenesisElectionProvider = runtime_common::elections::GenesisElectionOf<Self>;
458458
// Use the nominators map to iter voters, but also keep bags-list up-to-date.
459-
type SortedListProvider = runtime_common::elections::UseNominatorsAndUpdateBagsList<Runtime>;
459+
type SortedListProvider = BagsList;
460460
type WeightInfo = weights::pallet_staking::WeightInfo<Runtime>;
461461
}
462462

0 commit comments

Comments
 (0)