Skip to content

Commit

Permalink
feat: Update deps to 2.0.0 (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
jawoznia committed Mar 27, 2024
1 parent 8cb52a2 commit f030849
Show file tree
Hide file tree
Showing 43 changed files with 734 additions and 701 deletions.
83 changes: 28 additions & 55 deletions Cargo.lock

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

9 changes: 9 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ version = "0.10.1"

[workspace.dependencies]
sylvia-derive = { version = "0.10.1", path = "sylvia-derive" }
anyhow = "1.0.81"
cosmwasm-schema = "2.0.0"
cosmwasm-std = "2.0.0"
cw-multi-test = "2.0.0"
cw-storage-plus = "2.0.0"
schemars = "0.8.16"
cw-utils = "2.0.0"
serde = { version = "1.0.197", default-features = false, features = ["derive"] }
thiserror = "1.0.58"

[workspace.metadata.docs.rs]
all-features = true
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -521,13 +521,13 @@ mod tests {

let contract = code_id.instantiate(3)
.with_label("My contract")
.call(owner)
.call(&owner)
.unwrap();

let counter = contract.counter().unwrap();
assert_eq!(counter, contract::CounterResp { counter: 3});

contract.increment().call(owner).unwrap();
contract.increment().call(&owner).unwrap();

let counter = contract.counter().unwrap();
assert_eq!(counter, contract::CounterResp { counter: 4});
Expand Down Expand Up @@ -594,11 +594,11 @@ fn member_test() {

let contract = code_id.instantiate(0)
.with_label("My contract")
.call(owner);
.call(&owner);

contract
.add_member(member.to_owned())
.call(owner);
.call(&owner);

let resp = contract
.is_member(member.to_owned())
Expand Down
Loading

0 comments on commit f030849

Please sign in to comment.