mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 18:07:58 +00:00
[Substrate Companion] Part 1: add TargetList for validator ranking (#5930)
* [Substrate Companion] Part 1: add TargetList for validator ranking * fix fmt * don't change the pallet name * eloquent migration * fmt * fix build * update deps * Cargo.lock conflicts resolved * update deps * Revert "update deps" This reverts commit e0b07565854f9c66e5f30cdfe2c0a8f08457c96e. * fix deps Co-authored-by: kianenigma <kian@parity.io>
This commit is contained in:
@@ -355,6 +355,7 @@ impl pallet_staking::Config for Runtime {
|
||||
// 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 VoterList = pallet_staking::UseNominatorsAndValidatorsMap<Runtime>;
|
||||
type TargetList = pallet_staking::UseValidatorsMap<Runtime>;
|
||||
type MaxUnlockingChunks = frame_support::traits::ConstU32<32>;
|
||||
type BenchmarkingConfig = runtime_common::StakingBenchmarkingConfig;
|
||||
type OnStakerSlash = ();
|
||||
|
||||
Reference in New Issue
Block a user