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
+13 -7
View File
@@ -130,13 +130,13 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("kusama"),
impl_name: create_runtime_str!("parity-kusama"),
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: 21,
transaction_version: 23,
state_version: 0,
};
@@ -1504,8 +1504,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)]
@@ -1526,15 +1531,16 @@ pub mod migrations {
pallet_offences::migration::v1::MigrateToV1<Runtime>,
runtime_common::session::migration::ClearOldSessionStorage<Runtime>,
);
/// Unreleased migrations. Add new ones here:
pub type Unreleased = (
pub type V0943 = (
SetStorageVersions,
// Remove UMP dispatch queue <https://github.com/paritytech/polkadot/pull/6271>
parachains_configuration::migration::v6::MigrateToV6<Runtime>,
ump_migrations::UpdateUmpLimits,
);
/// Unreleased migrations. Add new ones here:
pub type Unreleased = ();
/// Migrations that set `StorageVersion`s we missed to set.
pub struct SetStorageVersions;