Skip to content

Commit

Permalink
prepare migration
Browse files Browse the repository at this point in the history
  • Loading branch information
bobthebuidlr committed Jun 17, 2024
1 parent 8eeb63c commit 79e47d9
Show file tree
Hide file tree
Showing 8 changed files with 451 additions and 12 deletions.
2 changes: 1 addition & 1 deletion contracts/mock-red-bank/src/state.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use cosmwasm_std::{Uint128};
use cosmwasm_std::Uint128;
use cw_storage_plus::Map;
use mars_types::red_bank::Market;

Expand Down
3 changes: 3 additions & 0 deletions contracts/red-bank/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,4 +154,7 @@ pub enum ContractError {

#[error("Cannot liquidate credit manager (use credit-manager contract liquidate function)")]
CannotLiquidateCreditManager {},

#[error("Debt has already been migrated to the new state")]
DebtAlreadyMigrated {},
}
1 change: 1 addition & 0 deletions contracts/red-bank/src/migrations/mod.rs
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
pub mod v2_0_0;
pub mod v2_0_1;
Loading

0 comments on commit 79e47d9

Please sign in to comment.