mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 21:01:02 +00:00
[pallet_xcm] Forgotten migration to XCMv4 + added try-state to the pallet_xcm (#3228)
Relates to: https://github.com/paritytech/polkadot-sdk/issues/3214 ## TODO - [ ] backport to the `1.7.0` release
This commit is contained in:
@@ -968,6 +968,8 @@ pub type Migrations = (
|
||||
InitStorageVersions,
|
||||
// unreleased
|
||||
cumulus_pallet_xcmp_queue::migration::v4::MigrationToV4<Runtime>,
|
||||
// permanent
|
||||
pallet_xcm::migration::MigrateToLatestXcmVersion<Runtime>,
|
||||
);
|
||||
|
||||
/// Migration to initialize storage versions for pallets added after genesis.
|
||||
|
||||
@@ -949,6 +949,8 @@ pub type Migrations = (
|
||||
DeleteUndecodableStorage,
|
||||
// unreleased
|
||||
cumulus_pallet_xcmp_queue::migration::v4::MigrationToV4<Runtime>,
|
||||
// permanent
|
||||
pallet_xcm::migration::MigrateToLatestXcmVersion<Runtime>,
|
||||
);
|
||||
|
||||
/// Asset Hub Westend has some undecodable storage, delete it.
|
||||
|
||||
@@ -152,6 +152,8 @@ pub type Migrations = (
|
||||
ConstU32<BRIDGE_HUB_ID>,
|
||||
ConstU32<ASSET_HUB_ID>,
|
||||
>,
|
||||
// permanent
|
||||
pallet_xcm::migration::MigrateToLatestXcmVersion<Runtime>,
|
||||
);
|
||||
|
||||
/// Migration to initialize storage versions for pallets added after genesis.
|
||||
|
||||
@@ -124,6 +124,8 @@ pub type Migrations = (
|
||||
InitStorageVersions,
|
||||
// unreleased
|
||||
cumulus_pallet_xcmp_queue::migration::v4::MigrationToV4<Runtime>,
|
||||
// permanent
|
||||
pallet_xcm::migration::MigrateToLatestXcmVersion<Runtime>,
|
||||
);
|
||||
|
||||
/// Migration to initialize storage versions for pallets added after genesis.
|
||||
|
||||
@@ -727,6 +727,8 @@ type Migrations = (
|
||||
pallet_collator_selection::migration::v1::MigrateToV1<Runtime>,
|
||||
// unreleased
|
||||
cumulus_pallet_xcmp_queue::migration::v4::MigrationToV4<Runtime>,
|
||||
// permanent
|
||||
pallet_xcm::migration::MigrateToLatestXcmVersion<Runtime>,
|
||||
);
|
||||
|
||||
/// Executive: handles dispatch to the various modules.
|
||||
|
||||
@@ -103,6 +103,8 @@ pub type Migrations = (
|
||||
pallet_contracts::Migration<Runtime>,
|
||||
// unreleased
|
||||
cumulus_pallet_xcmp_queue::migration::v4::MigrationToV4<Runtime>,
|
||||
// permanent
|
||||
pallet_xcm::migration::MigrateToLatestXcmVersion<Runtime>,
|
||||
);
|
||||
|
||||
type EventRecord = frame_system::EventRecord<
|
||||
|
||||
@@ -106,7 +106,11 @@ pub type UncheckedExtrinsic =
|
||||
generic::UncheckedExtrinsic<Address, RuntimeCall, Signature, SignedExtra>;
|
||||
|
||||
/// Migrations to apply on runtime upgrade.
|
||||
pub type Migrations = (cumulus_pallet_xcmp_queue::migration::v4::MigrationToV4<Runtime>,);
|
||||
pub type Migrations = (
|
||||
cumulus_pallet_xcmp_queue::migration::v4::MigrationToV4<Runtime>,
|
||||
// permanent
|
||||
pallet_xcm::migration::MigrateToLatestXcmVersion<Runtime>,
|
||||
);
|
||||
|
||||
/// Executive: handles dispatch to the various modules.
|
||||
pub type Executive = frame_executive::Executive<
|
||||
|
||||
@@ -97,7 +97,10 @@ pub type UncheckedExtrinsic =
|
||||
generic::UncheckedExtrinsic<Address, RuntimeCall, Signature, SignedExtra>;
|
||||
|
||||
/// Migrations to apply on runtime upgrade.
|
||||
pub type Migrations = ();
|
||||
pub type Migrations = (
|
||||
// permanent
|
||||
pallet_xcm::migration::MigrateToLatestXcmVersion<Runtime>,
|
||||
);
|
||||
|
||||
/// Executive: handles dispatch to the various modules.
|
||||
pub type Executive = frame_executive::Executive<
|
||||
|
||||
@@ -100,7 +100,10 @@ pub type UncheckedExtrinsic =
|
||||
generic::UncheckedExtrinsic<Address, RuntimeCall, Signature, SignedExtra>;
|
||||
|
||||
/// Migrations to apply on runtime upgrade.
|
||||
pub type Migrations = ();
|
||||
pub type Migrations = (
|
||||
// permanent
|
||||
pallet_xcm::migration::MigrateToLatestXcmVersion<Runtime>,
|
||||
);
|
||||
|
||||
/// Executive: handles dispatch to the various modules.
|
||||
pub type Executive = frame_executive::Executive<
|
||||
|
||||
@@ -100,7 +100,10 @@ pub type UncheckedExtrinsic =
|
||||
generic::UncheckedExtrinsic<Address, RuntimeCall, Signature, SignedExtra>;
|
||||
|
||||
/// Migrations to apply on runtime upgrade.
|
||||
pub type Migrations = ();
|
||||
pub type Migrations = (
|
||||
// permanent
|
||||
pallet_xcm::migration::MigrateToLatestXcmVersion<Runtime>,
|
||||
);
|
||||
|
||||
/// Executive: handles dispatch to the various modules.
|
||||
pub type Executive = frame_executive::Executive<
|
||||
|
||||
Reference in New Issue
Block a user