Skip to content

Commit

Permalink
Add migration guide from ink! 4.x to 5.0 (#301)
Browse files Browse the repository at this point in the history
* Add migration guide from ink! 4.x to 5.0

* Add Krest to compatible production chains

* Add screenshot of `cargo contract storage`

* Add steps to upgrade

* Add breaking decode behavior change

* Add note for `StorageVec`

* Add note on support for multiple chain extensions

* Add note on stabilized `call_runtime`

* Add note on chain extension syntax change

* Move `StorageVec` section up

* Add note on new fallible methods

* Move `StorageVec` and fallible methods to important section

* Improve docs on fallible methods

* Improve `StorageVec` text

* Mention `non_fallible_api` lint

* Update list of fallible `StorageVec` methods

* Update text on recommendations

* Update section on chain extensions

* Mention contract verification

* Add note on fallible methods

* Apply suggestions from code review

Co-authored-by: Gherman <[email protected]>

* Explain reason for data migration better

* Move custom signature topics to Events 2.0

* Added E2E builder API changes

* Link to more infos about safe math in Rust

* Improve text on safe math

* Clarify text

* Improve text

---------

Co-authored-by: Gherman <[email protected]>
  • Loading branch information
cmichi and Gherman authored Jan 30, 2024
1 parent 5b2ee79 commit 1d80186
Show file tree
Hide file tree
Showing 3 changed files with 522 additions and 0 deletions.
Binary file added static/img/contract-storage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 1d80186

Please sign in to comment.