Skip to content

Commit

Permalink
Allow unused migration
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
  • Loading branch information
ggwpez committed May 2, 2024
1 parent 587d6a2 commit eccc4f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions system-parachains/encointer/src/migrations_fix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ pub mod scheduler {
StorageMap<Pallet<T>, Twox64Concat, TaskName, TaskAddress<BlockNumberFor<T>>>;

/// Migrate the scheduler pallet from V0 to V4 by brute-force emptying the agenda.
#[allow(dead_code)]
pub struct MigrateToV4<T>(sp_std::marker::PhantomData<T>);

impl<T: Config> OnRuntimeUpgrade for MigrateToV4<T> {
Expand Down

0 comments on commit eccc4f9

Please sign in to comment.