Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
af6e388
Add migration guide from ink! 4.x to 5.0
cmichi Jan 24, 2024
abed487
Add Krest to compatible production chains
cmichi Jan 24, 2024
062b65d
Merge remote-tracking branch 'origin/master' into cmichi-add-migratio…
cmichi Jan 24, 2024
c90d2ba
Add screenshot of `cargo contract storage`
cmichi Jan 24, 2024
29980d7
Add steps to upgrade
cmichi Jan 25, 2024
95e84b1
Add breaking decode behavior change
cmichi Jan 25, 2024
1d6e623
Add note for `StorageVec`
cmichi Jan 25, 2024
1beaff2
Add note on support for multiple chain extensions
cmichi Jan 25, 2024
c39589e
Add note on stabilized `call_runtime`
cmichi Jan 25, 2024
0d4876a
Add note on chain extension syntax change
cmichi Jan 25, 2024
3a969d7
Move `StorageVec` section up
cmichi Jan 25, 2024
04125e5
Add note on new fallible methods
cmichi Jan 25, 2024
d314a0a
Move `StorageVec` and fallible methods to important section
cmichi Jan 25, 2024
d46d35b
Improve docs on fallible methods
cmichi Jan 25, 2024
7b37142
Improve `StorageVec` text
cmichi Jan 25, 2024
fecf707
Mention `non_fallible_api` lint
cmichi Jan 25, 2024
c55baa0
Update list of fallible `StorageVec` methods
cmichi Jan 25, 2024
95d2498
Update text on recommendations
cmichi Jan 29, 2024
b0c4455
Update section on chain extensions
cmichi Jan 29, 2024
9ff89d4
Mention contract verification
cmichi Jan 29, 2024
31309ed
Add note on fallible methods
cmichi Jan 29, 2024
48c822d
Apply suggestions from code review
Jan 30, 2024
47d2005
Explain reason for data migration better
cmichi Jan 30, 2024
4710bae
Move custom signature topics to Events 2.0
cmichi Jan 30, 2024
bd3f1a9
Added E2E builder API changes
cmichi Jan 30, 2024
b4e161f
Link to more infos about safe math in Rust
cmichi Jan 30, 2024
d69be1d
Improve text on safe math
cmichi Jan 30, 2024
2a7b82d
Clarify text
cmichi Jan 30, 2024
d550fba
Improve text
cmichi Jan 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add screenshot of cargo contract storage
  • Loading branch information
cmichi committed Jan 24, 2024
commit c90d2ba971eb3962fc2808a8a73976e263771da7
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.
8 changes: 6 additions & 2 deletions versioned_docs/version-5.x/faq/migrating-from-ink-4-to-5.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,15 +279,19 @@ Details on each lint can be found [here](/5.x/linter/overview).

### New `cargo-contract` commands

We added a bunch of helpful new commands to `cargo-contract` 4.0:
We added a bunch of helpful new commands to `cargo-contract` 4.0.
For all these commands you can also supply the `--help` cli flag to get more
info (e.g. `cargo contract storage --help`).

* `cargo contract verify`: contract verification ([#1404](https://github.com/paritytech/cargo-contract/pull/1404), [#1306](https://github.com/paritytech/cargo-contract/pull/1306))
* `cargo contract info` now outputs the language of the deployed contract, using a heuristic ([#1329](https://github.com/paritytech/cargo-contract/pull/1329))
* `cargo contract info --binary`: outputs the on-chain Wasm of the contract ([#1311](https://github.com/paritytech/cargo-contract/pull/1311/))
* `cargo contract info --all`: displays all addresses of deployed contracts on a particular chain ([#1319](https://github.com/paritytech/cargo-contract/pull/1319))
* `cargo contract storage`: displays the storage of an on-chain contract ([#1395](https://github.com/paritytech/cargo-contract/pull/1395), [#1414](https://github.com/paritytech/cargo-contract/pull/1414))

For all these commands you can also supply the `--help` cli flag to get more info (e.g. `cargo contract storage --help`).
<center>
<img src="/img/contract-storage.png" />
</center>

### Alternative off-chain E2E testing backend support: DRink!

Expand Down