[Fix] Rename VoterBagsList -> VoterList to match pdot (#12416)

This commit is contained in:
Roman Useinov
2022-10-04 14:26:14 +02:00
committed by GitHub
parent b572116aea
commit e60e7caebd
+3 -3
View File
@@ -569,7 +569,7 @@ impl pallet_staking::Config for Runtime {
type OffendingValidatorsThreshold = OffendingValidatorsThreshold; type OffendingValidatorsThreshold = OffendingValidatorsThreshold;
type ElectionProvider = ElectionProviderMultiPhase; type ElectionProvider = ElectionProviderMultiPhase;
type GenesisElectionProvider = onchain::UnboundedExecution<OnChainSeqPhragmen>; type GenesisElectionProvider = onchain::UnboundedExecution<OnChainSeqPhragmen>;
type VoterList = VoterBagsList; type VoterList = VoterList;
// This a placeholder, to be introduced in the next PR as an instance of bags-list // This a placeholder, to be introduced in the next PR as an instance of bags-list
type TargetList = pallet_staking::UseValidatorsMap<Self>; type TargetList = pallet_staking::UseValidatorsMap<Self>;
type MaxUnlockingChunks = ConstU32<32>; type MaxUnlockingChunks = ConstU32<32>;
@@ -1651,7 +1651,7 @@ construct_runtime!(
Gilt: pallet_gilt, Gilt: pallet_gilt,
Uniques: pallet_uniques, Uniques: pallet_uniques,
TransactionStorage: pallet_transaction_storage, TransactionStorage: pallet_transaction_storage,
VoterBagsList: pallet_bags_list::<Instance1>, VoterList: pallet_bags_list::<Instance1>,
StateTrieMigration: pallet_state_trie_migration, StateTrieMigration: pallet_state_trie_migration,
ChildBounties: pallet_child_bounties, ChildBounties: pallet_child_bounties,
Referenda: pallet_referenda, Referenda: pallet_referenda,
@@ -1739,7 +1739,7 @@ mod benches {
[pallet_alliance, Alliance] [pallet_alliance, Alliance]
[pallet_assets, Assets] [pallet_assets, Assets]
[pallet_babe, Babe] [pallet_babe, Babe]
[pallet_bags_list, VoterBagsList] [pallet_bags_list, VoterList]
[pallet_balances, Balances] [pallet_balances, Balances]
[pallet_bounties, Bounties] [pallet_bounties, Bounties]
[pallet_child_bounties, ChildBounties] [pallet_child_bounties, ChildBounties]