Skip to content

Commit ca27f72

Browse files
authored
Merge pull request #55 from public-awesome/shanev/fix-versions
Update version numbers and upgrade to CosmWasm 1.0.0-beta5
2 parents 6e6be57 + 0c820b9 commit ca27f72

File tree

7 files changed

+93
-74
lines changed

7 files changed

+93
-74
lines changed

Cargo.lock

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

contracts/cw2981-royalties/Cargo.toml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cw2981-royalties"
3-
version = "0.10.0"
3+
version = "0.12.0"
44
authors = ["Alex Lynham <alex@lynh.am>"]
55
edition = "2018"
66
description = "Basic implementation of royalties for cw721 NFTs with token level royalties"
@@ -25,12 +25,14 @@ backtraces = ["cosmwasm-std/backtraces"]
2525
library = []
2626

2727
[dependencies]
28-
cw721 = { path = "../../packages/cw721", version = "0.11" }
29-
cw721-base = { path = "../cw721-base", version = "0.11", features = ["library"] }
30-
cosmwasm-std = { version = "1.0.0-beta" }
28+
cw721 = { path = "../../packages/cw721", version = "0.12.0" }
29+
cw721-base = { path = "../cw721-base", version = "0.12.0", features = [
30+
"library",
31+
] }
32+
cosmwasm-std = { version = "1.0.0-beta5" }
3133
schemars = "0.8.1"
3234
serde = { version = "1.0.103", default-features = false, features = ["derive"] }
3335
thiserror = { version = "1.0.23" }
3436

3537
[dev-dependencies]
36-
cosmwasm-schema = { version = "0.16.0" }
38+
cosmwasm-schema = { version = "1.0.0-beta5" }

contracts/cw721-base/Cargo.toml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
[package]
22
name = "cw721-base"
3-
version = "0.11.1"
4-
authors = ["Ethan Frey <ethanfrey@users.noreply.github.com>", "Orkun Külçe <orkun@deuslabs.fi>"]
3+
version = "0.12.0"
4+
authors = [
5+
"Ethan Frey <ethanfrey@users.noreply.github.com>",
6+
"Orkun Külçe <orkun@deuslabs.fi>",
7+
]
58
edition = "2018"
69
description = "Basic implementation cw721 NFTs"
710
license = "Apache-2.0"
@@ -25,14 +28,14 @@ backtraces = ["cosmwasm-std/backtraces"]
2528
library = []
2629

2730
[dependencies]
28-
cw-utils = { version = "0.11" }
29-
cw2 = { version = "0.11" }
30-
cw721 = { path = "../../packages/cw721", version = "0.11" }
31-
cw-storage-plus = { version = "0.11" }
32-
cosmwasm-std = { version = "1.0.0-beta" }
31+
cw-utils = "0.12.1"
32+
cw2 = "0.12.1"
33+
cw721 = { path = "../../packages/cw721", version = "0.12.0" }
34+
cw-storage-plus = "0.12.1"
35+
cosmwasm-std = { version = "1.0.0-beta5" }
3336
schemars = "0.8"
3437
serde = { version = "1.0", default-features = false, features = ["derive"] }
3538
thiserror = { version = "1.0" }
3639

3740
[dev-dependencies]
38-
cosmwasm-schema = { version = "1.0.0-beta" }
41+
cosmwasm-schema = { version = "1.0.0-beta5" }

contracts/cw721-base/src/query.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ where
6565
) -> StdResult<OperatorsResponse> {
6666
let limit = limit.unwrap_or(DEFAULT_LIMIT).min(MAX_LIMIT) as usize;
6767
let start_addr = maybe_addr(deps.api, start_after)?;
68-
let start = start_addr.map(|addr| Bound::exclusive(addr.as_ref()));
68+
let start = start_addr.as_ref().map(Bound::exclusive);
6969

7070
let owner_addr = deps.api.addr_validate(&owner)?;
7171
let res: StdResult<Vec<_>> = self
@@ -150,7 +150,7 @@ where
150150
limit: Option<u32>,
151151
) -> StdResult<TokensResponse> {
152152
let limit = limit.unwrap_or(DEFAULT_LIMIT).min(MAX_LIMIT) as usize;
153-
let start = start_after.map(Bound::exclusive);
153+
let start = start_after.map(|s| Bound::ExclusiveRaw(s.into()));
154154

155155
let owner_addr = deps.api.addr_validate(&owner)?;
156156
let tokens: Vec<String> = self
@@ -173,7 +173,7 @@ where
173173
limit: Option<u32>,
174174
) -> StdResult<TokensResponse> {
175175
let limit = limit.unwrap_or(DEFAULT_LIMIT).min(MAX_LIMIT) as usize;
176-
let start = start_after.map(Bound::exclusive);
176+
let start = start_after.map(|s| Bound::ExclusiveRaw(s.into()));
177177

178178
let tokens: StdResult<Vec<String>> = self
179179
.tokens

contracts/cw721-fixed-price/Cargo.toml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cw721-fixed-price"
3-
version = "0.1.0"
3+
version = "0.12.0"
44
authors = ["Vernon Johnson <vtj2105@columbia.edu>"]
55
edition = "2018"
66

@@ -40,17 +40,20 @@ optimize = """docker run --rm -v "$(pwd)":/code \
4040
"""
4141

4242
[dependencies]
43-
cosmwasm-std = { version = "1.0.0-beta" }
44-
cosmwasm-storage = { version = "1.0.0-beta" }
45-
cw-storage-plus = "0.11.1"
46-
cw2 = "0.11.1"
43+
cosmwasm-std = { version = "1.0.0-beta5" }
44+
cosmwasm-storage = { version = "1.0.0-beta5" }
45+
cw-storage-plus = "0.12.1"
46+
cw2 = "0.12.1"
4747
schemars = "0.8.3"
48-
cw721-base = { path = "../cw721-base", version = "0.11.1", features = [ "library"] }
49-
cw20 = "0.11.1"
48+
cw721-base = { path = "../cw721-base", version = "0.12.0", features = [
49+
"library",
50+
] }
51+
cw20 = "0.12.1"
5052
serde = { version = "1.0.127", default-features = false, features = ["derive"] }
5153
thiserror = { version = "1.0.26" }
52-
cw-utils = { version= "0.11.1" }
54+
cw-utils = "0.12.1"
5355
prost = "0.9.0"
56+
cw3 = "0.12.1"
5457

5558
[dev-dependencies]
56-
cosmwasm-schema = { version = "1.0.0-beta" }
59+
cosmwasm-schema = { version = "1.0.0-beta5" }

contracts/cw721-metadata-onchain/Cargo.toml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
[package]
22
name = "cw721-metadata-onchain"
3-
version = "0.11.1"
4-
authors = ["Ethan Frey <ethanfrey@users.noreply.github.com>", "Orkun Külçe <orkun@deuslabs.fi>"]
3+
version = "0.12.0"
4+
authors = [
5+
"Ethan Frey <ethanfrey@users.noreply.github.com>",
6+
"Orkun Külçe <orkun@deuslabs.fi>",
7+
]
58
edition = "2018"
69
description = "Example extending CW721 NFT to store metadata on chain"
710
license = "Apache-2.0"
@@ -25,12 +28,14 @@ backtraces = ["cosmwasm-std/backtraces"]
2528
library = []
2629

2730
[dependencies]
28-
cw721 = { path = "../../packages/cw721", version = "0.11" }
29-
cw721-base = { path = "../cw721-base", version = "0.11", features = ["library"] }
30-
cosmwasm-std = { version = "1.0.0-beta" }
31+
cw721 = { path = "../../packages/cw721", version = "0.12.0" }
32+
cw721-base = { path = "../cw721-base", version = "0.12.0", features = [
33+
"library",
34+
] }
35+
cosmwasm-std = { version = "1.0.0-beta5" }
3136
schemars = "0.8"
3237
serde = { version = "1.0.130", default-features = false, features = ["derive"] }
3338
thiserror = { version = "1.0.30" }
3439

3540
[dev-dependencies]
36-
cosmwasm-schema = { version = "1.0.0-beta" }
41+
cosmwasm-schema = { version = "1.0.0-beta5" }

packages/cw721/Cargo.toml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
[package]
22
name = "cw721"
3-
version = "0.11.1"
4-
authors = ["Ethan Frey <ethanfrey@users.noreply.github.com>", "Orkun Külçe <orkun@deuslabs.fi>"]
3+
version = "0.12.0"
4+
authors = [
5+
"Ethan Frey <ethanfrey@users.noreply.github.com>",
6+
"Orkun Külçe <orkun@deuslabs.fi>",
7+
]
58
edition = "2018"
69
description = "Definition and types for the CosmWasm-721 NFT interface"
710
license = "Apache-2.0"
@@ -10,10 +13,10 @@ homepage = "https://cosmwasm.com"
1013
documentation = "https://docs.cosmwasm.com"
1114

1215
[dependencies]
13-
cw-utils = { version = "0.11" }
14-
cosmwasm-std = { version = "1.0.0-beta" }
16+
cw-utils = "0.12.1"
17+
cosmwasm-std = { version = "1.0.0-beta5" }
1518
schemars = "0.8"
1619
serde = { version = "1.0", default-features = false, features = ["derive"] }
1720

1821
[dev-dependencies]
19-
cosmwasm-schema = { version = "1.0.0-beta" }
22+
cosmwasm-schema = { version = "1.0.0-beta5" }

0 commit comments

Comments
 (0)