sync master with 0.9.43 (#7358)

* sync workspace version with 0.9.43

* sync spec and tx ver with 0.9.43

* 0943 migrations
This commit is contained in:
Mara Robin B
2023-06-13 16:30:05 +02:00
committed by GitHub
parent 958cf435b1
commit e71c541ede
6 changed files with 140 additions and 120 deletions
+16 -10
View File
@@ -116,13 +116,13 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("westend"),
impl_name: create_runtime_str!("parity-westend"),
authoring_version: 2,
spec_version: 9410,
spec_version: 9430,
impl_version: 0,
#[cfg(not(feature = "disable-runtime-api"))]
apis: RUNTIME_API_VERSIONS,
#[cfg(feature = "disable-runtime-api")]
apis: sp_version::create_apis_vec![[]],
transaction_version: 20,
transaction_version: 22,
state_version: 1,
};
@@ -1275,8 +1275,13 @@ impl Get<Perbill> for NominationPoolsMigrationV4OldPallet {
///
/// This contains the combined migrations of the last 10 releases. It allows to skip runtime
/// upgrades in case governance decides to do so. THE ORDER IS IMPORTANT.
pub type Migrations =
(migrations::V0940, migrations::V0941, migrations::V0942, migrations::Unreleased);
pub type Migrations = (
migrations::V0940,
migrations::V0941,
migrations::V0942,
migrations::V0943,
migrations::Unreleased,
);
/// The runtime migrations per release.
#[allow(deprecated, missing_docs)]
@@ -1298,6 +1303,12 @@ pub mod migrations {
parachains_configuration::migration::v5::MigrateToV5<Runtime>,
pallet_offences::migration::v1::MigrateToV1<Runtime>,
);
pub type V0943 = (
SetStorageVersions,
// Remove UMP dispatch queue <https://github.com/paritytech/polkadot/pull/6271>
parachains_configuration::migration::v6::MigrateToV6<Runtime>,
ump_migrations::UpdateUmpLimits,
);
/// Migrations that set `StorageVersion`s we missed to set.
pub struct SetStorageVersions;
@@ -1314,12 +1325,7 @@ pub mod migrations {
}
/// Unreleased migrations. Add new ones here:
pub type Unreleased = (
SetStorageVersions,
// Remove UMP dispatch queue <https://github.com/paritytech/polkadot/pull/6271>
parachains_configuration::migration::v6::MigrateToV6<Runtime>,
ump_migrations::UpdateUmpLimits,
);
pub type Unreleased = ();
}
/// Helpers to configure all migrations.