diff --git a/runtime/altair/src/migrations.rs b/runtime/altair/src/migrations.rs index c4c6eceb93..39f34d3b93 100644 --- a/runtime/altair/src/migrations.rs +++ b/runtime/altair/src/migrations.rs @@ -10,6 +10,13 @@ // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. +use crate::{ForeignInvestments, OraclePriceCollection, OraclePriceFeed, OrderBook}; + /// The migration set for Altair @ Kusama. /// It includes all the migrations that have to be applied on that chain. -pub type UpgradeAltair1035 = (); +pub type UpgradeAltair1035 = ( + runtime_common::migrations::increase_storage_version::Migration, + runtime_common::migrations::increase_storage_version::Migration, + runtime_common::migrations::increase_storage_version::Migration, + runtime_common::migrations::increase_storage_version::Migration, +); diff --git a/runtime/centrifuge/src/migrations.rs b/runtime/centrifuge/src/migrations.rs index a3be22e77a..162fa93d4d 100644 --- a/runtime/centrifuge/src/migrations.rs +++ b/runtime/centrifuge/src/migrations.rs @@ -10,6 +10,11 @@ // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. +use crate::{OraclePriceCollection, OraclePriceFeed}; + /// The migration set for Centrifuge @ Polkadot. /// It includes all the migrations that have to be applied on that chain. -pub type UpgradeCentrifuge1029 = (); +pub type UpgradeCentrifuge1029 = ( + runtime_common::migrations::increase_storage_version::Migration, + runtime_common::migrations::increase_storage_version::Migration, +); diff --git a/runtime/common/src/migrations/increase_storage_version.rs b/runtime/common/src/migrations/increase_storage_version.rs index d8e6afba11..14e7899ebb 100644 --- a/runtime/common/src/migrations/increase_storage_version.rs +++ b/runtime/common/src/migrations/increase_storage_version.rs @@ -77,7 +77,8 @@ where } } -/// Simply bumps the storage version of a pallet +/// Simply bumps the storage version of a pallet. +/// Similar to the above but it does not check the current version is TO_VERSION /// /// NOTE: Use with extreme caution! Must ensure beforehand that a migration is /// not necessary