Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
migrations for 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
coderobe committed Jul 11, 2023
1 parent 1eeffe7 commit 9d636e7
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 6 deletions.
8 changes: 6 additions & 2 deletions runtime/kusama/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1527,6 +1527,7 @@ pub type Migrations = (
migrations::V0941,
migrations::V0942,
migrations::V0943,
migrations::V10000,
migrations::Unreleased,
);

Expand Down Expand Up @@ -1557,13 +1558,16 @@ pub mod migrations {
ump_migrations::UpdateUmpLimits,
);

/// Unreleased migrations. Add new ones here:
pub type Unreleased = (
pub type V10000 = (
init_state_migration::InitMigrate,
pallet_society::migrations::MigrateToV2<Runtime, (), past_payouts::PastPayouts>,
pallet_im_online::migration::v1::Migration<Runtime>,
);

/// Unreleased migrations. Add new ones here:
pub type Unreleased = (
);

/// Migrations that set `StorageVersion`s we missed to set.
pub struct SetStorageVersions;

Expand Down
7 changes: 6 additions & 1 deletion runtime/polkadot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1489,6 +1489,7 @@ pub type Migrations = (
migrations::V0941,
migrations::V0942,
migrations::V0943,
migrations::V10000,
migrations::Unreleased,
);

Expand Down Expand Up @@ -1524,8 +1525,12 @@ pub mod migrations {
ump_migrations::UpdateUmpLimits,
);

pub type V10000 = (
pallet_im_online::migration::v1::Migration<Runtime>,
);

/// Unreleased migrations. Add new ones here:
pub type Unreleased = (pallet_im_online::migration::v1::Migration<Runtime>,);
pub type Unreleased = ();

/// Migrations that set `StorageVersion`s we missed to set.
pub struct SetStorageVersions;
Expand Down
8 changes: 6 additions & 2 deletions runtime/rococo/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1519,6 +1519,7 @@ pub type Migrations = (
migrations::V0941,
migrations::V0942,
migrations::V0943,
migrations::V10000,
migrations::Unreleased,
);

Expand Down Expand Up @@ -1623,11 +1624,14 @@ pub mod migrations {
}
}

/// Unreleased migrations. Add new ones here:
pub type Unreleased = (
pub type V10000 = (
pallet_society::migrations::MigrateToV2<Runtime, (), ()>,
pallet_im_online::migration::v1::Migration<Runtime>,
);

/// Unreleased migrations. Add new ones here:
pub type Unreleased = (
);
}

/// Helpers to configure all migrations.
Expand Down
7 changes: 6 additions & 1 deletion runtime/westend/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1281,6 +1281,7 @@ pub type Migrations = (
migrations::V0941,
migrations::V0942,
migrations::V0943,
migrations::V10000,
migrations::Unreleased,
);

Expand Down Expand Up @@ -1325,8 +1326,12 @@ pub mod migrations {
}
}

pub type V10000 = (
pallet_im_online::migration::v1::Migration<Runtime>,
);

/// Unreleased migrations. Add new ones here:
pub type Unreleased = (pallet_im_online::migration::v1::Migration<Runtime>,);
pub type Unreleased = ();
}

/// Helpers to configure all migrations.
Expand Down

0 comments on commit 9d636e7

Please sign in to comment.