Introduce migrations for inactive balances (#1943)

* Introduce migrations

* Introduce migrations

* Bump

Co-authored-by: joepetrowski <joe@parity.io>
This commit is contained in:
Gavin Wood
2022-12-13 12:48:37 +00:00
committed by GitHub
parent a3c9b242f7
commit 3396a70d8f
7 changed files with 38 additions and 5 deletions
@@ -96,6 +96,12 @@ pub type UncheckedExtrinsic =
generic::UncheckedExtrinsic<Address, RuntimeCall, Signature, SignedExtra>;
/// Extrinsic type that has already been checked.
pub type CheckedExtrinsic = generic::CheckedExtrinsic<AccountId, RuntimeCall, SignedExtra>;
pub type Migrations = (
pallet_contracts::Migration<Runtime>,
pallet_balances::migration::MigrateToTrackInactive<Runtime, xcm_config::CheckingAccount>,
);
/// Executive: handles dispatch to the various modules.
pub type Executive = frame_executive::Executive<
Runtime,
@@ -103,7 +109,7 @@ pub type Executive = frame_executive::Executive<
frame_system::ChainContext<Runtime>,
Runtime,
AllPalletsWithSystem,
pallet_contracts::Migration<Runtime>,
Migrations,
>;
impl_opaque_keys! {