mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 06:21:11 +00:00
[Companion] Get rid of HistoryDepth storage (#5996)
* remove history depth from storage and add it as config for pallet staking * add migration to v11 for staking pallet * revert local substrate dependency patch * remove history depth from storage and add it as config for pallet staking * add migration to v11 for staking pallet * revert local substrate dependency patch * update substrate dependencies * update cargo lock * update to latest substrate * revert all changes to Cargo.lock * cargo update -p sp-io * mark migration job as failable Co-authored-by: kianenigma <kian@parity.io>
This commit is contained in:
@@ -356,6 +356,7 @@ impl pallet_staking::Config for Runtime {
|
||||
type VoterList = pallet_staking::UseNominatorsAndValidatorsMap<Runtime>;
|
||||
type TargetList = pallet_staking::UseValidatorsMap<Runtime>;
|
||||
type MaxUnlockingChunks = frame_support::traits::ConstU32<32>;
|
||||
type HistoryDepth = frame_support::traits::ConstU32<84>;
|
||||
type BenchmarkingConfig = runtime_common::StakingBenchmarkingConfig;
|
||||
type OnStakerSlash = ();
|
||||
type WeightInfo = ();
|
||||
|
||||
Reference in New Issue
Block a user