Skip to content

Commit

Permalink
Merge pull request #396 from astroport-fi/merge/features_221223
Browse files Browse the repository at this point in the history
Release v3.8.0
  • Loading branch information
epanchee authored Dec 22, 2023
2 parents d9e00f4 + 04fe9c9 commit 80595f1
Show file tree
Hide file tree
Showing 4 changed files with 104 additions and 115 deletions.
136 changes: 93 additions & 43 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions contracts/pair_concentrated/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ thiserror = "1.0"
cosmwasm-schema = "1.1"
itertools = "0.10"
cw-utils = "0.15"
astroport-pair-concentrated_v1 = { package = "astroport-pair-concentrated", version = "1.2.13", features = ["library"] }

[dev-dependencies]
astroport-token = { path = "../token" }
Expand Down
5 changes: 2 additions & 3 deletions contracts/pair_concentrated/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -958,11 +958,10 @@ pub fn migrate(deps: DepsMut, _env: Env, _msg: MigrateMsg) -> Result<Response, C

match contract_version.contract.as_ref() {
"astroport-pair-concentrated" => match contract_version.version.as_ref() {
"1.1.0" => migrate_config(deps.storage)?,
"1.2.4" => {
"1.2.13" | "1.2.14" => {
migrate_config(deps.storage)?;
BufferManager::init(deps.storage, OBSERVATIONS, OBSERVATIONS_SIZE)?;
}
"2.0.3" | "2.0.4" => {}
_ => return Err(ContractError::MigrationError {}),
},
_ => return Err(ContractError::MigrationError {}),
Expand Down
Loading

0 comments on commit 80595f1

Please sign in to comment.