mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 07:27:55 +00:00
companion for validator self-vote in bags (#5088)
* companion for validator self-vote in bags * fix * cargo update -p sp-io
This commit is contained in:
@@ -346,9 +346,7 @@ impl pallet_staking::Config for Runtime {
|
||||
frame_election_provider_support::onchain::OnChainSequentialPhragmen<Self>;
|
||||
type GenesisElectionProvider =
|
||||
frame_election_provider_support::onchain::OnChainSequentialPhragmen<Self>;
|
||||
// Use the nominator map to iter voter AND no-ops for all SortedListProvider hooks. The migration
|
||||
// to bags-list is a no-op, but the storage version will be updated.
|
||||
type SortedListProvider = pallet_staking::UseNominatorsMap<Runtime>;
|
||||
type VoterList = pallet_staking::UseNominatorsAndValidatorsMap<Runtime>;
|
||||
type MaxUnlockingChunks = frame_support::traits::ConstU32<32>;
|
||||
type BenchmarkingConfig = runtime_common::StakingBenchmarkingConfig;
|
||||
type WeightInfo = ();
|
||||
|
||||
Reference in New Issue
Block a user