Skip to content

Commit

Permalink
fix: 🐛 rm migration
Browse files Browse the repository at this point in the history
  • Loading branch information
yooml committed Sep 6, 2023
1 parent 8ef04e8 commit ac47879
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 186 deletions.
10 changes: 2 additions & 8 deletions pallets/lend-market/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ mod lend_token;
mod rate_model;
mod types;

pub mod migrations;
pub mod weights;

pub const MAX_INTEREST_CALCULATING_INTERVAL: u64 = 5 * 24 * 3600; // 5 days
Expand All @@ -89,12 +88,7 @@ type BalanceOf<T> =
/// Utility type for managing upgrades/migrations.
#[derive(Encode, Decode, Clone, Copy, PartialEq, Eq, RuntimeDebug, TypeInfo)]
pub enum Versions {
V1,
V2,
V3,
V4,
V5,
V6,
V0,
}

#[frame_support::pallet]
Expand Down Expand Up @@ -454,7 +448,7 @@ pub mod pallet {
/// DefaultVersion is using for initialize the StorageVersion
#[pallet::type_value]
pub(super) fn DefaultVersion<T: Config>() -> Versions {
Versions::V2
Versions::V0
}

/// Storage version of the pallet.
Expand Down
178 changes: 0 additions & 178 deletions pallets/lend-market/src/migrations.rs

This file was deleted.

0 comments on commit ac47879

Please sign in to comment.