This version brings a lot of usability improvements, making the language better suited for the needs of production parachains.
A couple of highlights include:
Changes to how contract storage works, which significantly reduced the sizes of
contract binaries
A new end-to-end testing framework, letting you easily write integration tests
Changes to the metadata format, which (in part) makes error handling more expressive
There's a lot more to dig through, so take some time to poke around the CHANGELOG (including the 4.0.0-alpha and 4.0.0-beta releases).
You may notice there have been a few breaking changes. No need to be scared though, we wrote up a migration guide covering all of the breaking changes and how to update your ink! 3.x contract accordingly.
Thanks to everyone that helped make this release possible ❤️
Compatibility
In order to build contracts which use ink! v4.0.0 you need to use cargo-contractv2.0.0. You can install it as follows:
This version brings a lot of usability improvements, making the language better suited
for the needs of production parachains.
A couple of highlights include:
Changes to how contract storage works, which significantly reduced the sizes of
contract binaries
A new end-to-end testing framework, letting you easily write integration tests
Changes to the metadata format, which (in part) makes error handling more expressive
There's a lot more to dig through, so take some time to poke around the CHANGELOG
(including the 4.0.0-alpha and 4.0.0-beta releases).
You may notice there have been a few breaking changes. No need to be scared though, we
wrote up a migration guide covering all
of the breaking changes and how to update your ink! 3.x contract accordingly.
Thanks to everyone that helped make this release possible ❤️
Compatibility
In order to build contracts which use ink! v4.0.0 you need to use
cargo-contractv2.0.0.
You can install it as follows:
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps ink_primitives from 3.3.1 to 4.0.0.
Release notes
Sourced from ink_primitives's releases.
... (truncated)
Changelog
Sourced from ink_primitives's changelog.
... (truncated)
Commits
ad4f5e5
Releasev4.0.0
(#1653)cc14004
[ink_e2e]
update subxt and substrate dependencies (#1649)510dd3f
Update graphics forARCHITECTURE.md
(#1654)806b5a5
[T-Rex 🦖 ] Make UI tests happy (#1652)21606c0
Support custom environment in E2E tests (#1645)42734a9
Change CI Runners (#1630)8bc8593
[ink_e2e]
spawn a separate contracts node instance per test (#1642)9b6f372
Update CODEOWNERS (#1635)19e3e79
Add another breaking change to theCHANGELOG
(#1640)8d604b2
Remove+nightly
from READMEs (#1639)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)