mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 08:11:03 +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:
@@ -615,6 +615,7 @@ impl pallet_staking::Config for Runtime {
|
||||
type VoterList = VoterList;
|
||||
type TargetList = UseValidatorsMap<Self>;
|
||||
type MaxUnlockingChunks = frame_support::traits::ConstU32<32>;
|
||||
type HistoryDepth = frame_support::traits::ConstU32<84>;
|
||||
type BenchmarkingConfig = runtime_common::StakingBenchmarkingConfig;
|
||||
type OnStakerSlash = NominationPools;
|
||||
type WeightInfo = weights::pallet_staking::WeightInfo<Runtime>;
|
||||
@@ -1460,6 +1461,7 @@ pub type Executive = frame_executive::Executive<
|
||||
VoterList,
|
||||
StakingMigrationV11OldPallet,
|
||||
>,
|
||||
pallet_staking::migrations::v12::MigrateToV12<Runtime>,
|
||||
),
|
||||
>;
|
||||
/// The payload being signed in the transactions.
|
||||
|
||||
Reference in New Issue
Block a user