Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [3.2.0]

This release allows building contracts with recent (> 1.69) Rust toolchains which can emit
`signext` Wasm instructions. An extra pass is added to `wasm-opt` which "lowers" `signext`
instructions to MVP compatible instructions. The resulting binaries can therefore be
deployed to chains with an older version of `pallet-contracts` which does not yet support
those instructions.

### Changed
- Backport SignextLowering #1189 + #1280 - [#1286](https://github.com/paritytech/cargo-contract/pull/1286)

## [3.0.1]

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions crates/build/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "contract-build"
version = "3.0.1"
version = "3.2.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"

Expand Down Expand Up @@ -39,7 +39,7 @@ which = "4.4.0"
zip = { version = "0.6.6", default-features = false }
strum = { version = "0.24", features = ["derive"] }

contract-metadata = { version = "3.0.1", path = "../metadata" }
contract-metadata = { version = "3.2.0", path = "../metadata" }

[build-dependencies]
anyhow = "1.0.71"
Expand Down
8 changes: 4 additions & 4 deletions crates/cargo-contract/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-contract"
version = "3.0.1"
version = "3.2.0"
authors = ["Parity Technologies <admin@parity.io>"]
build = "build.rs"
edition = "2021"
Expand All @@ -18,9 +18,9 @@ include = [
]

[dependencies]
contract-build = { version = "3.0.1", path = "../build" }
contract-metadata = { version = "3.0.1", path = "../metadata" }
contract-transcode = { version = "3.0.1", path = "../transcode" }
contract-build = { version = "3.2.0", path = "../build" }
contract-metadata = { version = "3.2.0", path = "../metadata" }
contract-transcode = { version = "3.2.0", path = "../transcode" }

anyhow = "1.0.71"
clap = { version = "4.2.7", features = ["derive", "env"] }
Expand Down
2 changes: 1 addition & 1 deletion crates/metadata/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "contract-metadata"
version = "3.0.1"
version = "3.2.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"

Expand Down
4 changes: 2 additions & 2 deletions crates/transcode/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "contract-transcode"
version = "3.0.1"
version = "3.2.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"

Expand All @@ -20,7 +20,7 @@ path = "src/lib.rs"
anyhow = "1.0.71"
base58 = { version = "0.2.0" }
blake2 = { version = "0.10.4", default-features = false }
contract-metadata = { version = "3.0.1", path = "../metadata" }
contract-metadata = { version = "3.2.0", path = "../metadata" }
escape8259 = "0.5.2"
hex = "0.4.3"
indexmap = "1.9.3"
Expand Down