Skip to content

Commit

Permalink
chore: bump pool contract version
Browse files Browse the repository at this point in the history
  • Loading branch information
kerber0x committed Feb 5, 2024
1 parent afff454 commit 2d2f437
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

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

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "terraswap-pair"
version = "1.3.4"
version = "1.3.5"
authors = [
"Terraform Labs, PTE.",
"DELIGHT LABS",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,8 @@ pub fn migrate(mut deps: DepsMut, _env: Env, _msg: MigrateMsg) -> Result<Respons
migrations::migrate_to_v130(deps.branch())?;
}
#[cfg(feature = "osmosis")]
if storage_version == Version::parse("1.3.3")? {
migrations::migrate_to_v134(deps.branch())?;
if storage_version < Version::parse("1.3.4")? {
migrations::migrate_to_v135(deps.branch())?;
}

set_contract_version(deps.storage, CONTRACT_NAME, CONTRACT_VERSION)?;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ pub fn migrate_to_v13x(deps: DepsMut) -> Result<(), StdError> {
/// This migration adds the `cosmwasm_pool_interface` to the config, so we can see if the swap is coming from
/// the osmosis pool manager or not in order to pay the osmosis taker fee.
#[cfg(feature = "osmosis")]
pub fn migrate_to_v134(deps: DepsMut) -> Result<(), StdError> {
pub fn migrate_to_v135(deps: DepsMut) -> Result<(), StdError> {
#[cw_serde]
struct ConfigV133 {
pub owner: Addr,
Expand Down

0 comments on commit 2d2f437

Please sign in to comment.