Skip to content

Commit e360fed

Browse files
authored
Merge pull request #733 from CosmWasm/release-0.13.4
Release 0.13.4
2 parents 10661dd + 5a8cdbe commit e360fed

File tree

24 files changed

+120
-109
lines changed

24 files changed

+120
-109
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ jobs:
602602
- run:
603603
name: Install check_contract
604604
# Uses --debug for compilation speed
605-
command: cargo install --debug --version 1.0.0-beta8 --features iterator --example check_contract -- cosmwasm-vm
605+
command: cargo install --debug --version 1.0.0 --features iterator --example check_contract -- cosmwasm-vm
606606
- save_cache:
607607
paths:
608608
- /usr/local/cargo/registry

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,15 @@
22

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

5-
[Full Changelog](https://github.com/CosmWasm/cw-plus/compare/v0.13.3...HEAD)
5+
[Full Changelog](https://github.com/CosmWasm/cw-plus/compare/v0.13.4...HEAD)
6+
7+
## [v0.13.4](https://github.com/CosmWasm/cw-plus/tree/v0.13.4) (2022-06-02)
8+
9+
[Full Changelog](https://github.com/CosmWasm/cw-plus/compare/v0.13.3...v0.13.4)
10+
11+
**Merged pull requests:**
12+
13+
- Dump state multitest [\#732](https://github.com/CosmWasm/cw-plus/pull/732) ([ethanfrey](https://github.com/ethanfrey))
614

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

Cargo.lock

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contracts/cw1-subkeys/Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cw1-subkeys"
3-
version = "0.13.3"
3+
version = "0.13.4"
44
authors = ["Ethan Frey <ethanfrey@users.noreply.github.com>"]
55
edition = "2018"
66
description = "Implement subkeys for authorizing native tokens as a cw1 proxy contract"
@@ -19,17 +19,17 @@ library = []
1919
test-utils = []
2020

2121
[dependencies]
22-
cw-utils = { path = "../../packages/utils", version = "0.13.3" }
23-
cw1 = { path = "../../packages/cw1", version = "0.13.3" }
24-
cw2 = { path = "../../packages/cw2", version = "0.13.3" }
25-
cw1-whitelist = { path = "../cw1-whitelist", version = "0.13.3", features = ["library"] }
22+
cw-utils = { path = "../../packages/utils", version = "0.13.4" }
23+
cw1 = { path = "../../packages/cw1", version = "0.13.4" }
24+
cw2 = { path = "../../packages/cw2", version = "0.13.4" }
25+
cw1-whitelist = { path = "../cw1-whitelist", version = "0.13.4", features = ["library"] }
2626
cosmwasm-std = { version = "1.0.0", features = ["staking"] }
27-
cw-storage-plus = { path = "../../packages/storage-plus", version = "0.13.3" }
27+
cw-storage-plus = { path = "../../packages/storage-plus", version = "0.13.4" }
2828
schemars = "0.8.1"
2929
serde = { version = "1.0.103", default-features = false, features = ["derive"] }
3030
thiserror = "1.0.23"
3131
semver = "1"
3232

3333
[dev-dependencies]
3434
cosmwasm-schema = { version = "1.0.0" }
35-
cw1-whitelist = { path = "../cw1-whitelist", version = "0.13.3", features = ["library", "test-utils"] }
35+
cw1-whitelist = { path = "../cw1-whitelist", version = "0.13.4", features = ["library", "test-utils"] }

contracts/cw1-whitelist-ng/Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cw1-whitelist-ng"
3-
version = "0.13.3"
3+
version = "0.13.4"
44
authors = ["Bartłomiej Kuras <bartk@confio.gmbh>"]
55
edition = "2018"
66
description = "Implementation of an proxy contract using a whitelist"
@@ -22,20 +22,20 @@ querier = ["library"]
2222
multitest = ["cw-multi-test", "anyhow"]
2323

2424
[dependencies]
25-
cw-utils = { path = "../../packages/utils", version = "0.13.3" }
26-
cw1 = { path = "../../packages/cw1", version = "0.13.3" }
27-
cw2 = { path = "../../packages/cw2", version = "0.13.3" }
25+
cw-utils = { path = "../../packages/utils", version = "0.13.4" }
26+
cw1 = { path = "../../packages/cw1", version = "0.13.4" }
27+
cw2 = { path = "../../packages/cw2", version = "0.13.4" }
2828
cosmwasm-std = { version = "1.0.0", features = ["staking"] }
29-
cw-storage-plus = { path = "../../packages/storage-plus", version = "0.13.3" }
29+
cw-storage-plus = { path = "../../packages/storage-plus", version = "0.13.4" }
3030
schemars = "0.8.1"
3131
serde = { version = "1.0.103", default-features = false, features = ["derive"] }
3232
thiserror = { version = "1.0.23" }
33-
cw-multi-test = { path = "../../packages/multi-test", version = "0.13.3", optional = true }
33+
cw-multi-test = { path = "../../packages/multi-test", version = "0.13.4", optional = true }
3434
anyhow = { version = "1", optional = true }
3535

3636
[dev-dependencies]
3737
anyhow = "1"
3838
assert_matches = "1"
3939
cosmwasm-schema = { version = "1.0.0" }
40-
cw-multi-test = { path = "../../packages/multi-test", version = "0.13.3" }
40+
cw-multi-test = { path = "../../packages/multi-test", version = "0.13.4" }
4141
derivative = "2"

contracts/cw1-whitelist/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cw1-whitelist"
3-
version = "0.13.3"
3+
version = "0.13.4"
44
authors = ["Ethan Frey <ethanfrey@users.noreply.github.com>"]
55
edition = "2018"
66
description = "Implementation of an proxy contract using a whitelist"
@@ -19,11 +19,11 @@ library = []
1919
test-utils = []
2020

2121
[dependencies]
22-
cw-utils = { path = "../../packages/utils", version = "0.13.3" }
23-
cw1 = { path = "../../packages/cw1", version = "0.13.3" }
24-
cw2 = { path = "../../packages/cw2", version = "0.13.3" }
22+
cw-utils = { path = "../../packages/utils", version = "0.13.4" }
23+
cw1 = { path = "../../packages/cw1", version = "0.13.4" }
24+
cw2 = { path = "../../packages/cw2", version = "0.13.4" }
2525
cosmwasm-std = { version = "1.0.0", features = ["staking"] }
26-
cw-storage-plus = { path = "../../packages/storage-plus", version = "0.13.3" }
26+
cw-storage-plus = { path = "../../packages/storage-plus", version = "0.13.4" }
2727
schemars = "0.8.1"
2828
serde = { version = "1.0.103", default-features = false, features = ["derive"] }
2929
thiserror = { version = "1.0.23" }
@@ -32,5 +32,5 @@ thiserror = { version = "1.0.23" }
3232
anyhow = "1"
3333
assert_matches = "1"
3434
cosmwasm-schema = { version = "1.0.0" }
35-
cw-multi-test = { path = "../../packages/multi-test", version = "0.13.3" }
35+
cw-multi-test = { path = "../../packages/multi-test", version = "0.13.4" }
3636
derivative = "2"

contracts/cw1155-base/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cw1155-base"
3-
version = "0.13.3"
3+
version = "0.13.4"
44
authors = ["Huang Yi <huang@crypto.com>"]
55
edition = "2018"
66
description = "Basic implementation of a CosmWasm-1155 compliant token"
@@ -18,10 +18,10 @@ backtraces = ["cosmwasm-std/backtraces"]
1818
library = []
1919

2020
[dependencies]
21-
cw-utils = { path = "../../packages/utils", version = "0.13.3" }
22-
cw2 = { path = "../../packages/cw2", version = "0.13.3" }
23-
cw1155 = { path = "../../packages/cw1155", version = "0.13.3" }
24-
cw-storage-plus = { path = "../../packages/storage-plus", version = "0.13.3" }
21+
cw-utils = { path = "../../packages/utils", version = "0.13.4" }
22+
cw2 = { path = "../../packages/cw2", version = "0.13.4" }
23+
cw1155 = { path = "../../packages/cw1155", version = "0.13.4" }
24+
cw-storage-plus = { path = "../../packages/storage-plus", version = "0.13.4" }
2525
cosmwasm-std = { version = "1.0.0" }
2626
schemars = "0.8.1"
2727
serde = { version = "1.0.103", default-features = false, features = ["derive"] }

contracts/cw20-base/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cw20-base"
3-
version = "0.13.3"
3+
version = "0.13.4"
44
authors = ["Ethan Frey <ethanfrey@users.noreply.github.com>"]
55
edition = "2018"
66
description = "Basic implementation of a CosmWasm-20 compliant token"
@@ -18,10 +18,10 @@ backtraces = ["cosmwasm-std/backtraces"]
1818
library = []
1919

2020
[dependencies]
21-
cw-utils = { path = "../../packages/utils", version = "0.13.3" }
22-
cw2 = { path = "../../packages/cw2", version = "0.13.3" }
23-
cw20 = { path = "../../packages/cw20", version = "0.13.3" }
24-
cw-storage-plus = { path = "../../packages/storage-plus", version = "0.13.3" }
21+
cw-utils = { path = "../../packages/utils", version = "0.13.4" }
22+
cw2 = { path = "../../packages/cw2", version = "0.13.4" }
23+
cw20 = { path = "../../packages/cw20", version = "0.13.4" }
24+
cw-storage-plus = { path = "../../packages/storage-plus", version = "0.13.4" }
2525
cosmwasm-std = { version = "1.0.0" }
2626
schemars = "0.8.1"
2727
serde = { version = "1.0.103", default-features = false, features = ["derive"] }

contracts/cw20-ics20/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cw20-ics20"
3-
version = "0.13.3"
3+
version = "0.13.4"
44
authors = ["Ethan Frey <ethanfrey@users.noreply.github.com>"]
55
edition = "2018"
66
description = "IBC Enabled contracts that receives CW20 tokens and sends them over ICS20 to a remote chain"
@@ -18,12 +18,12 @@ backtraces = ["cosmwasm-std/backtraces"]
1818
library = []
1919

2020
[dependencies]
21-
cw-utils = { path = "../../packages/utils", version = "0.13.3" }
22-
cw2 = { path = "../../packages/cw2", version = "0.13.3" }
23-
cw20 = { path = "../../packages/cw20", version = "0.13.3" }
21+
cw-utils = { path = "../../packages/utils", version = "0.13.4" }
22+
cw2 = { path = "../../packages/cw2", version = "0.13.4" }
23+
cw20 = { path = "../../packages/cw20", version = "0.13.4" }
2424
cosmwasm-std = { version = "1.0.0", features = ["stargate"] }
25-
cw-storage-plus = { path = "../../packages/storage-plus", version = "0.13.3" }
26-
cw-controllers = { path = "../../packages/controllers", version = "0.13.3" }
25+
cw-storage-plus = { path = "../../packages/storage-plus", version = "0.13.4" }
26+
cw-controllers = { path = "../../packages/controllers", version = "0.13.4" }
2727
schemars = "0.8.1"
2828
semver = "1"
2929
serde = { version = "1.0.103", default-features = false, features = ["derive"] }

contracts/cw20-ics20/src/contract.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,8 @@ pub fn execute_allow(
204204

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

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

579582
// channel state a bit lower (some in-flight acks)
580583
let state = ChannelState {

0 commit comments

Comments
 (0)