Skip to content

Commit

Permalink
feat: moved migrations correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Honza committed Jan 13, 2025
1 parent 86db98e commit 756cdde
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,13 +190,10 @@ pub mod opaque {
}

#[cfg(feature = "testnet")]
pub type Migrations = (pallet_offworker::migrations::v1::MigrateToV1<Runtime>,);
pub type Migrations = ();

#[cfg(not(feature = "testnet"))]
pub type Migrations = (
pallet_subspace::migrations::v15::MigrateToV15<Runtime>,
pallet_subnet_emission::migrations::v1::MigrateToV1<Runtime>,
);
pub type Migrations = (pallet_offworker::migrations::v1::MigrateToV1<Runtime>);

#[sp_version::runtime_version]
#[cfg(feature = "testnet")]
Expand Down

0 comments on commit 756cdde

Please sign in to comment.