Skip to content

Commit

Permalink
support migration from 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tsilva-figure committed Sep 15, 2023
1 parent 967c952 commit 28d1e19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/migrate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ pub fn migrate(
let contract_info = get_contract_version(deps.storage)?;

match contract_info.version.as_str() {
"2.3.0" => {}
"2.2.0" | "2.2.1" => {
let old_state: StateV2_2_0 = singleton_read(deps.storage, CONFIG_KEY).load()?;
let required_capital_attributes =
Expand Down

0 comments on commit 28d1e19

Please sign in to comment.