diff --git a/substrate-node/pallets/pallet-tft-bridge/src/migrations/v2.rs b/substrate-node/pallets/pallet-tft-bridge/src/migrations/v2.rs index 28dc6dc8b..abb85715a 100644 --- a/substrate-node/pallets/pallet-tft-bridge/src/migrations/v2.rs +++ b/substrate-node/pallets/pallet-tft-bridge/src/migrations/v2.rs @@ -18,7 +18,7 @@ impl OnRuntimeUpgrade for MigrateBurnTransactionsV2 { fn pre_upgrade() -> Result, sp_runtime::TryRuntimeError> { info!("current pallet version: {:?}", PalletVersion::::get()); ensure!( - PalletVersion::::get() == types::StorageVersion::V1, + PalletVersion::::get() >= types::StorageVersion::V1, DispatchError::Other("Unexpected pallet version") ); @@ -36,7 +36,7 @@ impl OnRuntimeUpgrade for MigrateBurnTransactionsV2 { executed_burn_transactions_count ); - info!("👥 TFT-BRIDGE pallet to V1 passes PRE migrate checks ✅",); + info!("👥 TFT-BRIDGE pallet to V2 passes PRE migrate checks ✅",); Ok(Vec::::new()) } @@ -55,7 +55,7 @@ impl OnRuntimeUpgrade for MigrateBurnTransactionsV2 { ) -> Result<(), sp_runtime::TryRuntimeError> { info!("current pallet version: {:?}", PalletVersion::::get()); ensure!( - PalletVersion::::get() == types::StorageVersion::V2, + PalletVersion::::get() >= types::StorageVersion::V2, DispatchError::Other("Unexpected pallet version") );