Skip to content

Commit

Permalink
Add compatibility notes for rc6 (#969)
Browse files Browse the repository at this point in the history
* Add compatibility notes for rc6

* Add word 'versioned' to dictionary

* Add compatible scale version
  • Loading branch information
Michael Müller authored Oct 20, 2021
1 parent c64d4f9 commit d85565e
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions .config/cargo_spellcheck.dic
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ v3
validator
variadic
versa
versioned
versioning
Verbatim
metadata
Expand Down
24 changes: 24 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,30 @@

This is the 6th release candidate for ink! 3.0.

## Compatibility

### Please upgrade `cargo-contract`

You need to update to the latest `cargo-contract` in order to use this release:
```
cargo install cargo-contract --vers ^0.15 --force --locked
```

If you build contracts from this release candidate with an older `cargo-contract`,
the UI's won't display all contract-relevant fields.

### Please upgrade `scale-info` in your contract's dependencies

In this release candidate we upgraded `scale-info`. You have to use a compatible
version in your contract's `Cargo.toml` as well; `cargo-contract` will throw
an error otherwise.

The `Cargo.toml` should contain
```
scale-info = { version = "1.0", default-features = false, features = ["derive"], optional = true }
scale = { package = "parity-scale-codec", version = "2", default-features = false, features = ["derive", "full"] }
```

## Added
- Added an Ethereum-compatibility function to recover a public key from an ECDSA signature and message hash - [#914](https://github.com/paritytech/ink/pull/914) (thanks [@xgreenx](https://github.com/xgreenx)).
- Added new utility proc. macros to `ink_lang` crate - [#947](https://github.com/paritytech/ink/pull/947):
Expand Down

0 comments on commit d85565e

Please sign in to comment.