Skip to content

Commit

Permalink
Merge pull request #733 from CosmWasm/release-0.13.4
Browse files Browse the repository at this point in the history
Release 0.13.4
  • Loading branch information
maurolacy authored Jun 2, 2022
2 parents 10661dd + 5a8cdbe commit e360fed
Show file tree
Hide file tree
Showing 24 changed files with 120 additions and 109 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ jobs:
- run:
name: Install check_contract
# Uses --debug for compilation speed
command: cargo install --debug --version 1.0.0-beta8 --features iterator --example check_contract -- cosmwasm-vm
command: cargo install --debug --version 1.0.0 --features iterator --example check_contract -- cosmwasm-vm
- save_cache:
paths:
- /usr/local/cargo/registry
Expand Down
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@

## [Unreleased](https://github.com/CosmWasm/cw-plus/tree/HEAD)

[Full Changelog](https://github.com/CosmWasm/cw-plus/compare/v0.13.3...HEAD)
[Full Changelog](https://github.com/CosmWasm/cw-plus/compare/v0.13.4...HEAD)

## [v0.13.4](https://github.com/CosmWasm/cw-plus/tree/v0.13.4) (2022-06-02)

[Full Changelog](https://github.com/CosmWasm/cw-plus/compare/v0.13.3...v0.13.4)

**Merged pull requests:**

- Dump state multitest [\#732](https://github.com/CosmWasm/cw-plus/pull/732) ([ethanfrey](https://github.com/ethanfrey))

## [v0.13.3](https://github.com/CosmWasm/cw-plus/tree/v0.13.3) (2022-06-01)

Expand Down
40 changes: 20 additions & 20 deletions Cargo.lock

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

14 changes: 7 additions & 7 deletions contracts/cw1-subkeys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cw1-subkeys"
version = "0.13.3"
version = "0.13.4"
authors = ["Ethan Frey <[email protected]>"]
edition = "2018"
description = "Implement subkeys for authorizing native tokens as a cw1 proxy contract"
Expand All @@ -19,17 +19,17 @@ library = []
test-utils = []

[dependencies]
cw-utils = { path = "../../packages/utils", version = "0.13.3" }
cw1 = { path = "../../packages/cw1", version = "0.13.3" }
cw2 = { path = "../../packages/cw2", version = "0.13.3" }
cw1-whitelist = { path = "../cw1-whitelist", version = "0.13.3", features = ["library"] }
cw-utils = { path = "../../packages/utils", version = "0.13.4" }
cw1 = { path = "../../packages/cw1", version = "0.13.4" }
cw2 = { path = "../../packages/cw2", version = "0.13.4" }
cw1-whitelist = { path = "../cw1-whitelist", version = "0.13.4", features = ["library"] }
cosmwasm-std = { version = "1.0.0", features = ["staking"] }
cw-storage-plus = { path = "../../packages/storage-plus", version = "0.13.3" }
cw-storage-plus = { path = "../../packages/storage-plus", version = "0.13.4" }
schemars = "0.8.1"
serde = { version = "1.0.103", default-features = false, features = ["derive"] }
thiserror = "1.0.23"
semver = "1"

[dev-dependencies]
cosmwasm-schema = { version = "1.0.0" }
cw1-whitelist = { path = "../cw1-whitelist", version = "0.13.3", features = ["library", "test-utils"] }
cw1-whitelist = { path = "../cw1-whitelist", version = "0.13.4", features = ["library", "test-utils"] }
14 changes: 7 additions & 7 deletions contracts/cw1-whitelist-ng/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cw1-whitelist-ng"
version = "0.13.3"
version = "0.13.4"
authors = ["Bartłomiej Kuras <[email protected]>"]
edition = "2018"
description = "Implementation of an proxy contract using a whitelist"
Expand All @@ -22,20 +22,20 @@ querier = ["library"]
multitest = ["cw-multi-test", "anyhow"]

[dependencies]
cw-utils = { path = "../../packages/utils", version = "0.13.3" }
cw1 = { path = "../../packages/cw1", version = "0.13.3" }
cw2 = { path = "../../packages/cw2", version = "0.13.3" }
cw-utils = { path = "../../packages/utils", version = "0.13.4" }
cw1 = { path = "../../packages/cw1", version = "0.13.4" }
cw2 = { path = "../../packages/cw2", version = "0.13.4" }
cosmwasm-std = { version = "1.0.0", features = ["staking"] }
cw-storage-plus = { path = "../../packages/storage-plus", version = "0.13.3" }
cw-storage-plus = { path = "../../packages/storage-plus", version = "0.13.4" }
schemars = "0.8.1"
serde = { version = "1.0.103", default-features = false, features = ["derive"] }
thiserror = { version = "1.0.23" }
cw-multi-test = { path = "../../packages/multi-test", version = "0.13.3", optional = true }
cw-multi-test = { path = "../../packages/multi-test", version = "0.13.4", optional = true }
anyhow = { version = "1", optional = true }

[dev-dependencies]
anyhow = "1"
assert_matches = "1"
cosmwasm-schema = { version = "1.0.0" }
cw-multi-test = { path = "../../packages/multi-test", version = "0.13.3" }
cw-multi-test = { path = "../../packages/multi-test", version = "0.13.4" }
derivative = "2"
12 changes: 6 additions & 6 deletions contracts/cw1-whitelist/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cw1-whitelist"
version = "0.13.3"
version = "0.13.4"
authors = ["Ethan Frey <[email protected]>"]
edition = "2018"
description = "Implementation of an proxy contract using a whitelist"
Expand All @@ -19,11 +19,11 @@ library = []
test-utils = []

[dependencies]
cw-utils = { path = "../../packages/utils", version = "0.13.3" }
cw1 = { path = "../../packages/cw1", version = "0.13.3" }
cw2 = { path = "../../packages/cw2", version = "0.13.3" }
cw-utils = { path = "../../packages/utils", version = "0.13.4" }
cw1 = { path = "../../packages/cw1", version = "0.13.4" }
cw2 = { path = "../../packages/cw2", version = "0.13.4" }
cosmwasm-std = { version = "1.0.0", features = ["staking"] }
cw-storage-plus = { path = "../../packages/storage-plus", version = "0.13.3" }
cw-storage-plus = { path = "../../packages/storage-plus", version = "0.13.4" }
schemars = "0.8.1"
serde = { version = "1.0.103", default-features = false, features = ["derive"] }
thiserror = { version = "1.0.23" }
Expand All @@ -32,5 +32,5 @@ thiserror = { version = "1.0.23" }
anyhow = "1"
assert_matches = "1"
cosmwasm-schema = { version = "1.0.0" }
cw-multi-test = { path = "../../packages/multi-test", version = "0.13.3" }
cw-multi-test = { path = "../../packages/multi-test", version = "0.13.4" }
derivative = "2"
10 changes: 5 additions & 5 deletions contracts/cw1155-base/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cw1155-base"
version = "0.13.3"
version = "0.13.4"
authors = ["Huang Yi <[email protected]>"]
edition = "2018"
description = "Basic implementation of a CosmWasm-1155 compliant token"
Expand All @@ -18,10 +18,10 @@ backtraces = ["cosmwasm-std/backtraces"]
library = []

[dependencies]
cw-utils = { path = "../../packages/utils", version = "0.13.3" }
cw2 = { path = "../../packages/cw2", version = "0.13.3" }
cw1155 = { path = "../../packages/cw1155", version = "0.13.3" }
cw-storage-plus = { path = "../../packages/storage-plus", version = "0.13.3" }
cw-utils = { path = "../../packages/utils", version = "0.13.4" }
cw2 = { path = "../../packages/cw2", version = "0.13.4" }
cw1155 = { path = "../../packages/cw1155", version = "0.13.4" }
cw-storage-plus = { path = "../../packages/storage-plus", version = "0.13.4" }
cosmwasm-std = { version = "1.0.0" }
schemars = "0.8.1"
serde = { version = "1.0.103", default-features = false, features = ["derive"] }
Expand Down
10 changes: 5 additions & 5 deletions contracts/cw20-base/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cw20-base"
version = "0.13.3"
version = "0.13.4"
authors = ["Ethan Frey <[email protected]>"]
edition = "2018"
description = "Basic implementation of a CosmWasm-20 compliant token"
Expand All @@ -18,10 +18,10 @@ backtraces = ["cosmwasm-std/backtraces"]
library = []

[dependencies]
cw-utils = { path = "../../packages/utils", version = "0.13.3" }
cw2 = { path = "../../packages/cw2", version = "0.13.3" }
cw20 = { path = "../../packages/cw20", version = "0.13.3" }
cw-storage-plus = { path = "../../packages/storage-plus", version = "0.13.3" }
cw-utils = { path = "../../packages/utils", version = "0.13.4" }
cw2 = { path = "../../packages/cw2", version = "0.13.4" }
cw20 = { path = "../../packages/cw20", version = "0.13.4" }
cw-storage-plus = { path = "../../packages/storage-plus", version = "0.13.4" }
cosmwasm-std = { version = "1.0.0" }
schemars = "0.8.1"
serde = { version = "1.0.103", default-features = false, features = ["derive"] }
Expand Down
12 changes: 6 additions & 6 deletions contracts/cw20-ics20/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cw20-ics20"
version = "0.13.3"
version = "0.13.4"
authors = ["Ethan Frey <[email protected]>"]
edition = "2018"
description = "IBC Enabled contracts that receives CW20 tokens and sends them over ICS20 to a remote chain"
Expand All @@ -18,12 +18,12 @@ backtraces = ["cosmwasm-std/backtraces"]
library = []

[dependencies]
cw-utils = { path = "../../packages/utils", version = "0.13.3" }
cw2 = { path = "../../packages/cw2", version = "0.13.3" }
cw20 = { path = "../../packages/cw20", version = "0.13.3" }
cw-utils = { path = "../../packages/utils", version = "0.13.4" }
cw2 = { path = "../../packages/cw2", version = "0.13.4" }
cw20 = { path = "../../packages/cw20", version = "0.13.4" }
cosmwasm-std = { version = "1.0.0", features = ["stargate"] }
cw-storage-plus = { path = "../../packages/storage-plus", version = "0.13.3" }
cw-controllers = { path = "../../packages/controllers", version = "0.13.3" }
cw-storage-plus = { path = "../../packages/storage-plus", version = "0.13.4" }
cw-controllers = { path = "../../packages/controllers", version = "0.13.4" }
schemars = "0.8.1"
semver = "1"
serde = { version = "1.0.103", default-features = false, features = ["derive"] }
Expand Down
5 changes: 4 additions & 1 deletion contracts/cw20-ics20/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@ pub fn execute_allow(

const MIGRATE_MIN_VERSION: &str = "0.11.1";
const MIGRATE_VERSION_2: &str = "0.12.0-alpha1";
const MIGRATE_VERSION_3: &str = "0.13.3";
// the new functionality starts in 0.13.1, this is the last release that needs to be migrated to v3
const MIGRATE_VERSION_3: &str = "0.13.0";

#[cfg_attr(not(feature = "library"), entry_point)]
pub fn migrate(mut deps: DepsMut, env: Env, msg: MigrateMsg) -> Result<Response, ContractError> {
Expand Down Expand Up @@ -575,6 +576,8 @@ mod test {
// balances set high
deps.querier
.update_balance(MOCK_CONTRACT_ADDR, coins(50000, native));
// pretend this is an old contract - set version explicitly
set_contract_version(deps.as_mut().storage, CONTRACT_NAME, MIGRATE_VERSION_3).unwrap();

// channel state a bit lower (some in-flight acks)
let state = ChannelState {
Expand Down
Loading

0 comments on commit e360fed

Please sign in to comment.