Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
orriin committed May 23, 2024
1 parent 9e7d2b3 commit 343c753
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 235 deletions.
5 changes: 2 additions & 3 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ use frame_support::{
dispatch::DispatchResultWithPostInfo,
genesis_builder_helper::{build_config, create_default_config},
pallet_prelude::{DispatchError, Get},
traits::{fungible::HoldConsideration, LinearStoragePrice, OnRuntimeUpgrade},
traits::{fungible::HoldConsideration, LinearStoragePrice},
};
use frame_system::{EnsureNever, EnsureRoot, RawOrigin};
use migrations::{account_data_migration, init_storage_versions};
use pallet_commitments::CanCommit;
use pallet_grandpa::{
fg_primitives, AuthorityId as GrandpaId, AuthorityList as GrandpaAuthorityList,
Expand Down Expand Up @@ -1185,7 +1184,7 @@ pub type SignedExtra = (
pallet_commitments::CommitmentsSignedExtension<Runtime>,
);

type Migrations = ();
type Migrations = pallet_grandpa::migrations::MigrateV4ToV5<Runtime>;

// Unchecked extrinsic type as expected by this runtime.
pub type UncheckedExtrinsic =
Expand Down
204 changes: 0 additions & 204 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;

//! Export migrations from here.

0 comments on commit 343c753

Please sign in to comment.