Skip to content

Commit

Permalink
fix: remove deprecated migrations
Browse files Browse the repository at this point in the history
NOTE: StorageVersion is tracked inside pallet macro
  • Loading branch information
wischli committed Jun 2, 2022
1 parent c7592e0 commit b8919e0
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 339 deletions.
1 change: 0 additions & 1 deletion pallets/delegation/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@
mod access_control;
pub mod default_weights;
pub mod delegation_hierarchy;
pub mod migrations;

#[cfg(any(feature = "mock", test))]
pub mod mock;
Expand Down
103 changes: 0 additions & 103 deletions pallets/delegation/src/migrations.rs

This file was deleted.

1 change: 0 additions & 1 deletion pallets/did/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
pub mod default_weights;
pub mod did_details;
pub mod errors;
pub mod migrations;
pub mod origin;
pub mod service_endpoints;

Expand Down
104 changes: 0 additions & 104 deletions pallets/did/src/migrations.rs

This file was deleted.

1 change: 0 additions & 1 deletion pallets/parachain-staking/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ pub(crate) mod mock;
pub(crate) mod tests;

mod inflation;
pub mod migrations;
mod set;
mod types;

Expand Down
125 changes: 0 additions & 125 deletions pallets/parachain-staking/src/migrations.rs

This file was deleted.

5 changes: 1 addition & 4 deletions runtimes/standalone/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -763,10 +763,7 @@ pub type Executive = frame_executive::Executive<
frame_system::ChainContext<Runtime>,
Runtime,
AllPalletsWithSystem,
(
delegation::migrations::v3::DelegationMigrationV3<Runtime>,
did::migrations::v4::DidMigrationV4<Runtime>,
),
(),
>;

impl_runtime_apis! {
Expand Down

0 comments on commit b8919e0

Please sign in to comment.