From 5852ee9dfcb5bdb7093c53b446f8da13c034ac67 Mon Sep 17 00:00:00 2001 From: Dmitry Novikov Date: Tue, 16 Jan 2024 11:00:08 +0400 Subject: [PATCH] chore(migrations): Fix migrations warning (#3666) --- pallets/gear/src/lib.rs | 6 ------ runtime/vara/src/migrations.rs | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/pallets/gear/src/lib.rs b/pallets/gear/src/lib.rs index bb50f934a12..4ac0be7f759 100644 --- a/pallets/gear/src/lib.rs +++ b/pallets/gear/src/lib.rs @@ -480,12 +480,6 @@ pub mod pallet { where T::AccountId: Origin, { - fn on_runtime_upgrade() -> Weight { - log::debug!(target: "gear::runtime", "⚙️ Runtime upgrade"); - - Zero::zero() - } - /// Initialization fn on_initialize(bn: BlockNumberFor) -> Weight { // Incrementing Gear block number diff --git a/runtime/vara/src/migrations.rs b/runtime/vara/src/migrations.rs index 69ada7a4857..10fb1fc6d5e 100644 --- a/runtime/vara/src/migrations.rs +++ b/runtime/vara/src/migrations.rs @@ -97,6 +97,6 @@ pub type Migrations = ( pallet_offences::migration::v1::MigrateToV1, // v1040 pallet_im_online::migration::v1::Migration, - // unreleased + // v1050 pallet_gear_program::migrations::MigrateToV3, );