add migration for staking v10 (#5817)

This commit is contained in:
Kian Paimani
2022-07-27 09:02:09 +01:00
committed by GitHub
parent 88d9aca202
commit 85b909a0b2
4 changed files with 197 additions and 228 deletions
+188 -225
View File
File diff suppressed because it is too large Load Diff
+4 -1
View File
@@ -1602,7 +1602,10 @@ pub type Executive = frame_executive::Executive<
frame_system::ChainContext<Runtime>, frame_system::ChainContext<Runtime>,
Runtime, Runtime,
AllPalletsWithSystem, AllPalletsWithSystem,
pallet_nomination_pools::migration::v2::MigrateToV2<Runtime>, (
pallet_nomination_pools::migration::v2::MigrateToV2<Runtime>,
pallet_staking::migrations::v10::MigrateToV10<Runtime>,
),
>; >;
/// The payload being signed in the transactions. /// The payload being signed in the transactions.
pub type SignedPayload = generic::SignedPayload<Call, SignedExtra>; pub type SignedPayload = generic::SignedPayload<Call, SignedExtra>;
+1 -1
View File
@@ -1515,7 +1515,7 @@ pub type Executive = frame_executive::Executive<
frame_system::ChainContext<Runtime>, frame_system::ChainContext<Runtime>,
Runtime, Runtime,
AllPalletsWithSystem, AllPalletsWithSystem,
(), pallet_staking::migrations::v10::MigrateToV10<Runtime>,
>; >;
/// The payload being signed in transactions. /// The payload being signed in transactions.
pub type SignedPayload = generic::SignedPayload<Call, SignedExtra>; pub type SignedPayload = generic::SignedPayload<Call, SignedExtra>;
+4 -1
View File
@@ -1174,7 +1174,10 @@ pub type Executive = frame_executive::Executive<
frame_system::ChainContext<Runtime>, frame_system::ChainContext<Runtime>,
Runtime, Runtime,
AllPalletsWithSystem, AllPalletsWithSystem,
pallet_nomination_pools::migration::v2::MigrateToV2<Runtime>, (
pallet_nomination_pools::migration::v2::MigrateToV2<Runtime>,
pallet_staking::migrations::v10::MigrateToV10<Runtime>,
),
>; >;
/// The payload being signed in transactions. /// The payload being signed in transactions.
pub type SignedPayload = generic::SignedPayload<Call, SignedExtra>; pub type SignedPayload = generic::SignedPayload<Call, SignedExtra>;