Skip to content

Commit f686a1a

Browse files
committed
Add MIGRATING entry
1 parent 1289238 commit f686a1a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

MIGRATING.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This guide explains what is needed to upgrade contracts when migrating over
44
major releases of `cosmwasm`. Note that you can also view the
55
[complete CHANGELOG](./CHANGELOG.md) to understand the differences.
66

7-
## 1.5.x -> 2.0.0
7+
## 1.5.x -> 2.0.x
88

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

@@ -262,6 +262,10 @@ major releases of `cosmwasm`. Note that you can also view the
262262
in 2.0. To keep the CosmWasm 1.x behaviour, just set payload to
263263
`Binary::default()`.
264264

265+
- In test code, replace calls to `mock_info` with `message_info`. This takes a
266+
`&Addr` as the first argument which you get by using owned `Addr` in the test
267+
bodies.
268+
265269
## 1.4.x -> 1.5.0
266270

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

0 commit comments

Comments
 (0)