Skip to content

Commit

Permalink
Fix version in MIGRATING
Browse files Browse the repository at this point in the history
  • Loading branch information
webmaster128 committed Sep 5, 2022
1 parent 0f3609c commit a252870
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions MIGRATING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@ major releases of `cosmwasm`. Note that you can also view the

## 1.0.0 -> 1.1.0

- Update `cosmwasm-*` dependencies in Cargo.toml (skip the ones you don't use):

```
[dependencies]
cosmwasm-std = "1.1.0"
cosmwasm-storage = "1.1.0"
# ...
[dev-dependencies]
cosmwasm-schema = "1.1.0"
cosmwasm-vm = "1.1.0"
# ...
```

- There are changes to how we generate schemas, resulting in less boilerplace
maintenance for smart contract devs. Old contracts will continue working for a
while, but it's highly recommended to migrate now.
Expand All @@ -15,15 +29,15 @@ major releases of `cosmwasm`. Note that you can also view the

```diff
[dependencies]
+ cosmwasm-schema = { version = "1.0.0" }
cosmwasm-std = { version = "1.0.0", features = ["stargate"] }
+ cosmwasm-schema = { version = "1.1.0" }
cosmwasm-std = { version = "1.1.0", features = ["stargate"] }
cw-storage-plus = { path = "../../packages/storage-plus", version = "0.10.0" }
schemars = "0.8.1"
serde = { version = "1.0.103", default-features = false, features = ["derive"] }
thiserror = { version = "1.0.23" }

[dev-dependencies]
- cosmwasm-schema = { version = "1.0.0" }
- cosmwasm-schema = { version = "1.1.0" }
```

Types you send to the contract and receive back are annotated with a bunch of
Expand Down

0 comments on commit a252870

Please sign in to comment.