Skip to content

Commit

Permalink
Require cosmwasm-vm and cosmwasm-std to match cosmwasm-check version
Browse files Browse the repository at this point in the history
  • Loading branch information
webmaster128 committed Sep 6, 2023
1 parent f11b456 commit 9b11258
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@ and this project adheres to

## [Unreleased]

### Changed

- cosmwasm-check: Use "=" for pinning the versions of cosmwasm-vm and
cosmwasm-std dependencies. This ensures that you can use an older version of
cosmwasm-check together with the VM of the same version by doing
`cargo install [email protected]`. A typical use case would be to check a
contract with CosmWasm 1.4, 1.5 and 2.0. Note that other dependencies are
still upgraded when using `cargo install` which may lead to API, behavioural
or compiler incompatibilities. The
[--locked](https://doc.rust-lang.org/cargo/commands/cargo-install.html#dealing-with-the-lockfile)
feature allows you use the versions locked when the release was created.

## [1.4.0] - 2023-09-04

### Added
Expand Down
4 changes: 2 additions & 2 deletions packages/check/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ license = "Apache-2.0"
anyhow = "1.0.57"
clap = "4"
colored = "2"
cosmwasm-vm = { path = "../vm", version = "1.4.0" }
cosmwasm-std = { path = "../std", version = "1.4.0" }
cosmwasm-vm = { path = "../vm", version = "=1.4.0" }
cosmwasm-std = { path = "../std", version = "=1.4.0" }

[dev-dependencies]
assert_cmd = "=2.0.10" # 2.0.11+ requires Rust 1.65.0 which we currently don't want to make the minimum if possible
Expand Down

0 comments on commit 9b11258

Please sign in to comment.