mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 22:11:02 +00:00
Cleanup XCMP QueueConfigData (#2142)
Removes obsolete fields from the `QueueConfigData` structure. For the remaining fields, if they use the old defaults, we replace them with the new defaults. Resolves: https://github.com/paritytech/polkadot-sdk/issues/1795
This commit is contained in:
@@ -954,8 +954,12 @@ pub type SignedExtra = (
|
||||
pub type UncheckedExtrinsic =
|
||||
generic::UncheckedExtrinsic<Address, RuntimeCall, Signature, SignedExtra>;
|
||||
/// Migrations to apply on runtime upgrade.
|
||||
pub type Migrations =
|
||||
(pallet_collator_selection::migration::v1::MigrateToV1<Runtime>, InitStorageVersions);
|
||||
pub type Migrations = (
|
||||
pallet_collator_selection::migration::v1::MigrateToV1<Runtime>,
|
||||
InitStorageVersions,
|
||||
// unreleased
|
||||
cumulus_pallet_xcmp_queue::migration::v4::MigrationToV4<Runtime>,
|
||||
);
|
||||
|
||||
/// Migration to initialize storage versions for pallets added after genesis.
|
||||
///
|
||||
|
||||
@@ -941,6 +941,8 @@ pub type Migrations = (
|
||||
InitStorageVersions,
|
||||
// unreleased
|
||||
DeleteUndecodableStorage,
|
||||
// unreleased
|
||||
cumulus_pallet_xcmp_queue::migration::v4::MigrationToV4<Runtime>,
|
||||
);
|
||||
|
||||
/// Asset Hub Westend has some undecodable storage, delete it.
|
||||
|
||||
@@ -118,6 +118,7 @@ pub type Migrations = (
|
||||
pallet_collator_selection::migration::v1::MigrateToV1<Runtime>,
|
||||
pallet_multisig::migrations::v1::MigrateToV1<Runtime>,
|
||||
InitStorageVersions,
|
||||
cumulus_pallet_xcmp_queue::migration::v4::MigrationToV4<Runtime>,
|
||||
);
|
||||
|
||||
/// Migration to initialize storage versions for pallets added after genesis.
|
||||
|
||||
@@ -118,6 +118,8 @@ pub type Migrations = (
|
||||
pallet_collator_selection::migration::v1::MigrateToV1<Runtime>,
|
||||
pallet_multisig::migrations::v1::MigrateToV1<Runtime>,
|
||||
InitStorageVersions,
|
||||
// unreleased
|
||||
cumulus_pallet_xcmp_queue::migration::v4::MigrationToV4<Runtime>,
|
||||
);
|
||||
|
||||
/// Migration to initialize storage versions for pallets added after genesis.
|
||||
|
||||
@@ -707,6 +707,8 @@ pub type UncheckedExtrinsic =
|
||||
type Migrations = (
|
||||
// unreleased
|
||||
pallet_collator_selection::migration::v1::MigrateToV1<Runtime>,
|
||||
// unreleased
|
||||
cumulus_pallet_xcmp_queue::migration::v4::MigrationToV4<Runtime>,
|
||||
);
|
||||
|
||||
/// Executive: handles dispatch to the various modules.
|
||||
|
||||
@@ -100,9 +100,11 @@ pub type UncheckedExtrinsic =
|
||||
/// Migrations to apply on runtime upgrade.
|
||||
pub type Migrations = (
|
||||
cumulus_pallet_parachain_system::migration::Migration<Runtime>,
|
||||
cumulus_pallet_xcmp_queue::migration::MigrationToV3<Runtime>,
|
||||
cumulus_pallet_xcmp_queue::migration::v2::MigrationToV2<Runtime>,
|
||||
cumulus_pallet_xcmp_queue::migration::v3::MigrationToV3<Runtime>,
|
||||
pallet_contracts::Migration<Runtime>,
|
||||
// unreleased
|
||||
cumulus_pallet_xcmp_queue::migration::v4::MigrationToV4<Runtime>,
|
||||
);
|
||||
|
||||
type EventRecord = frame_system::EventRecord<
|
||||
|
||||
Reference in New Issue
Block a user