Skip to content

Commit

Permalink
remove applied migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
orriin committed May 23, 2024
1 parent dc401bc commit 5a6beb8
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 241 deletions.
9 changes: 1 addition & 8 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,13 @@ mod migrations;

use codec::{Decode, Encode, MaxEncodedLen};

use migrations::{account_data_migration, init_storage_versions};
use pallet_commitments::CanCommit;
use pallet_grandpa::{
fg_primitives, AuthorityId as GrandpaId, AuthorityList as GrandpaAuthorityList,
};

use frame_support::{
pallet_prelude::{DispatchError, DispatchResult, Get},
traits::OnRuntimeUpgrade,
};
use frame_system::{EnsureNever, EnsureRoot, RawOrigin};

Expand Down Expand Up @@ -1171,12 +1169,7 @@ pub type SignedExtra = (
pallet_commitments::CommitmentsSignedExtension<Runtime>,
);

type Migrations = (
init_storage_versions::Migration,
account_data_migration::Migration,
pallet_multisig::migrations::v1::MigrateToV1<Runtime>,
pallet_preimage::migration::v1::Migration<Runtime>,
);
type Migrations = ();

// Unchecked extrinsic type as expected by this runtime.
pub type UncheckedExtrinsic =
Expand Down
205 changes: 0 additions & 205 deletions runtime/src/migrations/account_data_migration.rs

This file was deleted.

26 changes: 0 additions & 26 deletions runtime/src/migrations/init_storage_versions.rs

This file was deleted.

4 changes: 2 additions & 2 deletions runtime/src/migrations/mod.rs
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pub mod account_data_migration;
pub mod init_storage_versions;
//! Module for standalone migrations

0 comments on commit 5a6beb8

Please sign in to comment.