Skip to content

Commit

Permalink
Add .0 in storage getters to migration guise [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
webmaster128 committed Jun 23, 2020
1 parent 753578c commit fcfb649
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions MIGRATING.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ Integration tests:

- Replace `cosmwasm_vm::ReadonlyStorage` with `cosmwasm_vm::Storage`, which now
contains all backend storage methods.
- Storage getters (and iterators) now return a result of
`(Option<Vec<u8>>, u64)`, where the first component is the element and the
second one is the gas cost. Thus in a few places `.0` must be added to access
the element.

## 0.7.2 -> 0.8

Expand Down

0 comments on commit fcfb649

Please sign in to comment.