Skip to content

Commit

Permalink
chore(migrations): Fix migrations warning (#3666)
Browse files Browse the repository at this point in the history
  • Loading branch information
breathx authored Jan 16, 2024
1 parent f462441 commit 5852ee9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions pallets/gear/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<T>) -> Weight {
// Incrementing Gear block number
Expand Down
2 changes: 1 addition & 1 deletion runtime/vara/src/migrations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,6 @@ pub type Migrations = (
pallet_offences::migration::v1::MigrateToV1<Runtime>,
// v1040
pallet_im_online::migration::v1::Migration<Runtime>,
// unreleased
// v1050
pallet_gear_program::migrations::MigrateToV3<Runtime>,
);

0 comments on commit 5852ee9

Please sign in to comment.