Skip to content

Commit 8ac9899

Browse files
authored
Add linter upgrade note to 5.1 release note (#2341)
1 parent 9af923e commit 8ac9899

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,16 @@ The compatibility changes a bit to ink! 5.0:
9999
- `substrate-contracts-node`: `>= 0.42.0`
100100
- [DRink!](https://github.com/inkdevhub/drink): `>= 0.18.0`
101101

102+
For the linter in `cargo-contract` the Rust toolchain version changed.
103+
To upgrade:
104+
105+
```
106+
export TOOLCHAIN_VERSION=nightly-2024-09-05
107+
rustup install $TOOLCHAIN_VERSION
108+
rustup component add rust-src --toolchain $TOOLCHAIN_VERSION
109+
rustup run $TOOLCHAIN_VERSION cargo install cargo-dylint dylint-link
110+
```
111+
102112
### Added
103113
- [Runtime-to-Contract Calls] Environment agnostic contract invocation API, for calling contracts from runtime ‒ [#2219](https://github.com/use-ink/ink/pull/2219)
104114
- [Runtime-to-Contract Calls] Add `no-panic-handler` feature ‒ [#2164](https://github.com/paritytech/ink/pull/2164)

0 commit comments

Comments
 (0)