Skip to content

Commit

Permalink
fix(router): add migration from all deployed versions (#400)
Browse files Browse the repository at this point in the history
  • Loading branch information
epanchee authored Jan 15, 2024
1 parent 89251e3 commit 0e92c6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/router/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ pub fn migrate(deps: DepsMut, _env: Env, _msg: MigrateMsg) -> Result<Response, C

match contract_version.contract.as_ref() {
"astroport-router" => match contract_version.version.as_ref() {
"1.1.1" => {}
"1.1.0" | "1.1.1" | "1.1.2" => {}
_ => return Err(ContractError::MigrationError {}),
},
_ => return Err(ContractError::MigrationError {}),
Expand Down

0 comments on commit 0e92c6c

Please sign in to comment.