mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 02:21:04 +00:00
* Add MaxUnlockingChunks to staking configs; Companion #10670 * Try fix tracing dep * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
This commit is contained in:
Generated
+182
-180
File diff suppressed because it is too large
Load Diff
@@ -582,6 +582,7 @@ impl pallet_staking::Config for Runtime {
|
|||||||
type MaxNominatorRewardedPerValidator = MaxNominatorRewardedPerValidator;
|
type MaxNominatorRewardedPerValidator = MaxNominatorRewardedPerValidator;
|
||||||
type OffendingValidatorsThreshold = OffendingValidatorsThreshold;
|
type OffendingValidatorsThreshold = OffendingValidatorsThreshold;
|
||||||
type SortedListProvider = BagsList;
|
type SortedListProvider = BagsList;
|
||||||
|
type MaxUnlockingChunks = frame_support::traits::ConstU32<32>;
|
||||||
type BenchmarkingConfig = runtime_common::StakingBenchmarkingConfig;
|
type BenchmarkingConfig = runtime_common::StakingBenchmarkingConfig;
|
||||||
type WeightInfo = weights::pallet_staking::WeightInfo<Runtime>;
|
type WeightInfo = weights::pallet_staking::WeightInfo<Runtime>;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ sp-session = { git = "https://github.com/paritytech/substrate", branch = "master
|
|||||||
sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||||
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||||
sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true }
|
sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true }
|
||||||
sp-tracing = { version = "4.0.0-dev", branch = "master", git = "https://github.com/paritytech/substrate", default-features = false, optional = true }
|
sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true }
|
||||||
|
|
||||||
pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||||
pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||||
|
|||||||
@@ -577,6 +577,7 @@ impl pallet_staking::Config for Runtime {
|
|||||||
type ElectionProvider = ElectionProviderMultiPhase;
|
type ElectionProvider = ElectionProviderMultiPhase;
|
||||||
type GenesisElectionProvider = runtime_common::elections::GenesisElectionOf<Self>;
|
type GenesisElectionProvider = runtime_common::elections::GenesisElectionOf<Self>;
|
||||||
type SortedListProvider = BagsList;
|
type SortedListProvider = BagsList;
|
||||||
|
type MaxUnlockingChunks = frame_support::traits::ConstU32<32>;
|
||||||
type BenchmarkingConfig = runtime_common::StakingBenchmarkingConfig;
|
type BenchmarkingConfig = runtime_common::StakingBenchmarkingConfig;
|
||||||
type WeightInfo = weights::pallet_staking::WeightInfo<Runtime>;
|
type WeightInfo = weights::pallet_staking::WeightInfo<Runtime>;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -349,6 +349,7 @@ impl pallet_staking::Config for Runtime {
|
|||||||
// Use the nominator map to iter voter AND no-ops for all SortedListProvider hooks. The migration
|
// 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.
|
// to bags-list is a no-op, but the storage version will be updated.
|
||||||
type SortedListProvider = pallet_staking::UseNominatorsMap<Runtime>;
|
type SortedListProvider = pallet_staking::UseNominatorsMap<Runtime>;
|
||||||
|
type MaxUnlockingChunks = frame_support::traits::ConstU32<32>;
|
||||||
type BenchmarkingConfig = runtime_common::StakingBenchmarkingConfig;
|
type BenchmarkingConfig = runtime_common::StakingBenchmarkingConfig;
|
||||||
type WeightInfo = ();
|
type WeightInfo = ();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -474,6 +474,7 @@ impl pallet_staking::Config for Runtime {
|
|||||||
type ElectionProvider = ElectionProviderMultiPhase;
|
type ElectionProvider = ElectionProviderMultiPhase;
|
||||||
type GenesisElectionProvider = runtime_common::elections::GenesisElectionOf<Self>;
|
type GenesisElectionProvider = runtime_common::elections::GenesisElectionOf<Self>;
|
||||||
type SortedListProvider = BagsList;
|
type SortedListProvider = BagsList;
|
||||||
|
type MaxUnlockingChunks = frame_support::traits::ConstU32<32>;
|
||||||
type BenchmarkingConfig = runtime_common::StakingBenchmarkingConfig;
|
type BenchmarkingConfig = runtime_common::StakingBenchmarkingConfig;
|
||||||
type WeightInfo = weights::pallet_staking::WeightInfo<Runtime>;
|
type WeightInfo = weights::pallet_staking::WeightInfo<Runtime>;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user