Skip to content

Commit

Permalink
runtime(gear,vara): Remove unused migrations (#2728)
Browse files Browse the repository at this point in the history
  • Loading branch information
ukint-vs authored Jun 7, 2023
1 parent 26b32bf commit 92ca391
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 77 deletions.
1 change: 0 additions & 1 deletion runtime/common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

mod apis;
pub mod constants;
pub mod migration;
pub mod weights;

use frame_support::{
Expand Down
63 changes: 0 additions & 63 deletions runtime/common/src/migration.rs

This file was deleted.

10 changes: 1 addition & 9 deletions runtime/gear/src/migrations.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
use crate::*;

use runtime_common::migration::SessionValidatorSetMigration;

pub type Migrations = (
SessionValidatorSetMigration<Runtime>,
pallet_gear_gas::migrations::v1::MigrateToV1<Runtime>,
pallet_gear_scheduler::migration::MigrateToV2<Runtime>,
pallet_gear_program::migration::MigrateToV2<Runtime>,
pallet_gear_gas::migrations::v2::MigrateToV2<Runtime>,
);
pub type Migrations = (pallet_gear_gas::migrations::v2::MigrateToV2<Runtime>,);
4 changes: 0 additions & 4 deletions runtime/vara/src/migrations.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
use crate::*;

use runtime_common::migration::SessionValidatorSetMigration;

pub type Migrations = (
SessionValidatorSetMigration<Runtime>,
pallet_gear_gas::migrations::v1::MigrateToV1<Runtime>,
pallet_gear_scheduler::migration::MigrateToV2<Runtime>,
pallet_gear_program::migration::MigrateToV2<Runtime>,
pallet_gear_gas::migrations::v2::MigrateToV2<Runtime>,
);

0 comments on commit 92ca391

Please sign in to comment.