Skip to content

Commit

Permalink
Merge pull request #42 from apollodao/dev/release-profile-cosmwasm-st…
Browse files Browse the repository at this point in the history
…d-bump

build: add release profile and bump cosmwasm-std
  • Loading branch information
apollo-sturdy authored Aug 28, 2024
2 parents 9b15f74 + 2c9629a commit 0c5c9cc
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 14 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

# [0.4.3] - 2024-04-23

### Changed

- Added release profile to `Cargo.toml` with `overflow-checks = true` to prevent wrapping on overflows in release builds.
- Bumped `cosmwasm-std` to `1.5.4`.

# [0.4.2] - 2024-02-26

### Added
Expand Down
18 changes: 9 additions & 9 deletions Cargo.lock

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

17 changes: 14 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,26 @@ members = [
resolver = "2"

[workspace.package]
version = "0.4.2"
version = "0.4.3"
edition = "2021"
license = "BUSL-1.1"

[profile.release]
opt-level = 3
debug = false
rpath = false
lto = true
debug-assertions = false
codegen-units = 1
panic = 'abort'
incremental = false
overflow-checks = true

[workspace.dependencies]
apollo-cw-asset = "0.1.2"
apollo-utils = "0.1.1"
cosmwasm-schema = "1.1.0"
cosmwasm-std = "1.5.2"
cosmwasm-std = "1.5.4"
cw-dex = { version = "0.5.3" }
cw-dex-astroport = { version = "0.1.1" }
cw-ownable = "0.5.1"
Expand All @@ -36,7 +47,7 @@ schemars = "0.8.12"
semver = "1.0.21"

# Repo packages
locked-astroport-vault = { version = "0.4.2", path = "./contracts/locked-astroport-vault" }
locked-astroport-vault = { version = "0.4.3", path = "./contracts/locked-astroport-vault" }
locked-astroport-vault-test-helpers = { path = "./test-helpers" }

# Dev dependencies
Expand Down
2 changes: 1 addition & 1 deletion Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ command = "cargo"
args = [
"build",
"-p",
"[email protected].2",
"[email protected].3",
"--target",
"wasm32-unknown-unknown",
"--lib",
Expand Down
2 changes: 1 addition & 1 deletion contracts/locked-astroport-vault/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ pub fn migrate(mut deps: DepsMut, env: Env, msg: MigrateMsg) -> Result<Response,
env,
incentives_contract,
)?,
"0.4.0" | "0.4.1" => Response::default(),
"0.4.0" | "0.4.1" | "0.4.2" => Response::default(),
_ => {
return Err(StdError::generic_err(
"Cannot migrate from a version of the contract other than v0.2.0, v0.3.0, v0.4.0, or v0.4.1",
Expand Down

0 comments on commit 0c5c9cc

Please sign in to comment.