Skip to content

Commit 71c817c

Browse files
authored
Release v4.3.0 (#1886)
* Bump version to `4.3.0` * CHANGELOG.md
1 parent 5a2a29d commit 71c817c

File tree

50 files changed

+91
-82
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+91
-82
lines changed

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## Version 4.3.0
10+
11+
This release is to fix compatibility of `ink_e2e` with newer (> 1.69) versions of Rust,
12+
which produce `signext` instructions, and older versions of `pallet_contracts` which do
13+
not yet support these instructions.
14+
15+
- Backport use of `contract-build` to `3.2.0` to include `signext` lowering, and update
16+
`subxt` to remove incompatible `wasmi-instrument` transient dependency ‒ [#1884](https://github.com/paritytech/ink/pull/1884)
17+
918
## Version 4.2.1
1019

1120
This release contains a low-severity security related fix. Users of the `4.x` series of

crates/allocator/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink_allocator"
3-
version = "4.2.1"
3+
version = "4.3.0"
44
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
55
edition = "2021"
66

crates/e2e/Cargo.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink_e2e"
3-
version = "4.2.1"
3+
version = "4.3.0"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66

@@ -15,10 +15,10 @@ categories = ["no-std", "embedded"]
1515
include = ["/Cargo.toml", "src/**/*.rs", "/README.md", "/LICENSE"]
1616

1717
[dependencies]
18-
ink_e2e_macro = { version = "4.2.1", path = "./macro" }
19-
ink = { version = "4.2.1", path = "../ink" }
20-
ink_env = { version = "4.2.1", path = "../env" }
21-
ink_primitives = { version = "4.2.1", path = "../primitives" }
18+
ink_e2e_macro = { version = "4.3.0", path = "./macro" }
19+
ink = { version = "4.3.0", path = "../ink" }
20+
ink_env = { version = "4.3.0", path = "../env" }
21+
ink_primitives = { version = "4.3.0", path = "../primitives" }
2222

2323
funty = "2.0.0"
2424
impl-serde = { version = "0.3.1", default-features = false }

crates/e2e/macro/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink_e2e_macro"
3-
version = "4.2.1"
3+
version = "4.3.0"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66

@@ -19,7 +19,7 @@ name = "ink_e2e_macro"
1919
proc-macro = true
2020

2121
[dependencies]
22-
ink_ir = { version = "4.2.1", path = "../../ink/ir" }
22+
ink_ir = { version = "4.3.0", path = "../../ink/ir" }
2323
cargo_metadata = "0.15.3"
2424
contract-build = "3.2.0"
2525
derive_more = "0.99.17"

crates/engine/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink_engine"
3-
version = "4.2.1"
3+
version = "4.3.0"
44
authors = ["Parity Technologies <[email protected]>", "Michael Müller <[email protected]>"]
55
edition = "2021"
66

@@ -15,7 +15,7 @@ categories = ["no-std", "embedded"]
1515
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
1616

1717
[dependencies]
18-
ink_primitives = { version = "4.2.1", path = "../../crates/primitives", default-features = false }
18+
ink_primitives = { version = "4.3.0", path = "../../crates/primitives", default-features = false }
1919
scale = { package = "parity-scale-codec", version = "3.4", default-features = false, features = ["derive"] }
2020
derive_more = { version = "0.99", default-features = false, features = ["from", "display"] }
2121

crates/env/Cargo.toml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink_env"
3-
version = "4.2.1"
3+
version = "4.3.0"
44
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
55
edition = "2021"
66
rust-version = "1.68"
@@ -16,10 +16,10 @@ categories = ["no-std", "embedded"]
1616
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
1717

1818
[dependencies]
19-
ink_allocator = { version = "4.2.1", path = "../allocator", default-features = false }
20-
ink_storage_traits = { version = "4.2.1", path = "../storage/traits", default-features = false }
21-
ink_prelude = { version = "4.2.1", path = "../prelude", default-features = false }
22-
ink_primitives = { version = "4.2.1", path = "../primitives", default-features = false }
19+
ink_allocator = { version = "4.3.0", path = "../allocator", default-features = false }
20+
ink_storage_traits = { version = "4.3.0", path = "../storage/traits", default-features = false }
21+
ink_prelude = { version = "4.3.0", path = "../prelude", default-features = false }
22+
ink_primitives = { version = "4.3.0", path = "../primitives", default-features = false }
2323

2424
scale = { package = "parity-scale-codec", version = "3.4", default-features = false, features = ["derive"] }
2525
derive_more = { version = "0.99", default-features = false, features = ["from", "display"] }
@@ -33,7 +33,7 @@ static_assertions = "1.1"
3333
rlibc = "1"
3434

3535
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
36-
ink_engine = { version = "4.2.1", path = "../engine/", optional = true }
36+
ink_engine = { version = "4.3.0", path = "../engine/", optional = true }
3737

3838
# Hashes for the off-chain environment.
3939
sha2 = { version = "0.10", optional = true }

crates/ink/Cargo.toml

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink"
3-
version = "4.2.1"
3+
version = "4.3.0"
44
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
55
edition = "2021"
66
rust-version = "1.63"
@@ -16,12 +16,12 @@ categories = ["no-std", "embedded"]
1616
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
1717

1818
[dependencies]
19-
ink_env = { version = "4.2.1", path = "../env", default-features = false }
20-
ink_storage = { version = "4.2.1", path = "../storage", default-features = false }
21-
ink_primitives = { version = "4.2.1", path = "../primitives", default-features = false }
22-
ink_metadata = { version = "4.2.1", path = "../metadata", default-features = false, optional = true }
23-
ink_prelude = { version = "4.2.1", path = "../prelude", default-features = false }
24-
ink_macro = { version = "4.2.1", path = "macro", default-features = false }
19+
ink_env = { version = "4.3.0", path = "../env", default-features = false }
20+
ink_storage = { version = "4.3.0", path = "../storage", default-features = false }
21+
ink_primitives = { version = "4.3.0", path = "../primitives", default-features = false }
22+
ink_metadata = { version = "4.3.0", path = "../metadata", default-features = false, optional = true }
23+
ink_prelude = { version = "4.3.0", path = "../prelude", default-features = false }
24+
ink_macro = { version = "4.3.0", path = "macro", default-features = false }
2525

2626
scale = { package = "parity-scale-codec", version = "3.4", default-features = false, features = ["derive"] }
2727
derive_more = { version = "0.99", default-features = false, features = ["from"] }

crates/ink/codegen/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink_codegen"
3-
version = "4.2.1"
3+
version = "4.3.0"
44
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
55
edition = "2021"
66

@@ -18,8 +18,8 @@ include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
1818
name = "ink_codegen"
1919

2020
[dependencies]
21-
ink_primitives = { version = "4.2.1", path = "../../primitives" }
22-
ir = { version = "4.2.1", package = "ink_ir", path = "../ir", default-features = false }
21+
ink_primitives = { version = "4.3.0", path = "../../primitives" }
22+
ir = { version = "4.3.0", package = "ink_ir", path = "../ir", default-features = false }
2323
quote = "1"
2424
syn = { version = "2.0", features = ["parsing", "full", "extra-traits"] }
2525
proc-macro2 = "1.0"

crates/ink/ir/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink_ir"
3-
version = "4.2.1"
3+
version = "4.3.0"
44
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
55
edition = "2021"
66

crates/ink/macro/Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink_macro"
3-
version = "4.2.1"
3+
version = "4.3.0"
44
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
55
edition = "2021"
66

@@ -15,9 +15,9 @@ categories = ["no-std", "embedded"]
1515
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
1616

1717
[dependencies]
18-
ink_ir = { version = "4.2.1", path = "../ir", default-features = false }
19-
ink_codegen = { version = "4.2.1", path = "../codegen", default-features = false }
20-
ink_primitives = { version = "4.2.1", path = "../../primitives/", default-features = false }
18+
ink_ir = { version = "4.3.0", path = "../ir", default-features = false }
19+
ink_codegen = { version = "4.3.0", path = "../codegen", default-features = false }
20+
ink_primitives = { version = "4.3.0", path = "../../primitives/", default-features = false }
2121

2222
scale = { package = "parity-scale-codec", version = "3.4", default-features = false, features = ["derive"] }
2323
syn = "2"

crates/metadata/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink_metadata"
3-
version = "4.2.1"
3+
version = "4.3.0"
44
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
55
edition = "2021"
66

@@ -15,8 +15,8 @@ categories = ["no-std", "embedded"]
1515
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
1616

1717
[dependencies]
18-
ink_prelude = { version = "4.2.1", path = "../prelude/", default-features = false }
19-
ink_primitives = { version = "4.2.1", path = "../primitives/", default-features = false }
18+
ink_prelude = { version = "4.3.0", path = "../prelude/", default-features = false }
19+
ink_primitives = { version = "4.3.0", path = "../primitives/", default-features = false }
2020

2121
serde = { version = "1.0", default-features = false, features = ["derive", "alloc"] }
2222
impl-serde = "0.4.0"

crates/prelude/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink_prelude"
3-
version = "4.2.1"
3+
version = "4.3.0"
44
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
55
edition = "2021"
66

crates/primitives/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink_primitives"
3-
version = "4.2.1"
3+
version = "4.3.0"
44
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
55
edition = "2021"
66

@@ -16,7 +16,7 @@ include = ["/Cargo.toml", "src/**/*.rs", "/README.md", "/LICENSE"]
1616

1717
[dependencies]
1818
derive_more = { version = "0.99", default-features = false, features = ["from", "display"] }
19-
ink_prelude = { version = "4.2.1", path = "../prelude/", default-features = false }
19+
ink_prelude = { version = "4.3.0", path = "../prelude/", default-features = false }
2020
scale = { package = "parity-scale-codec", version = "3.4", default-features = false, features = ["derive"] }
2121
scale-decode = { version = "0.9.0", default-features = false, features = ["derive"], optional = true }
2222
scale-encode = { version = "0.5.0", default-features = false, features = ["derive"], optional = true }

crates/storage/Cargo.toml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink_storage"
3-
version = "4.2.1"
3+
version = "4.3.0"
44
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
55
edition = "2021"
66

@@ -15,11 +15,11 @@ categories = ["no-std", "embedded"]
1515
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
1616

1717
[dependencies]
18-
ink_env = { version = "4.2.1", path = "../env/", default-features = false }
19-
ink_metadata = { version = "4.2.1", path = "../metadata/", default-features = false, features = ["derive"], optional = true }
20-
ink_primitives = { version = "4.2.1", path = "../primitives/", default-features = false }
21-
ink_storage_traits = { version = "4.2.1", path = "traits", default-features = false }
22-
ink_prelude = { version = "4.2.1", path = "../prelude/", default-features = false }
18+
ink_env = { version = "4.3.0", path = "../env/", default-features = false }
19+
ink_metadata = { version = "4.3.0", path = "../metadata/", default-features = false, features = ["derive"], optional = true }
20+
ink_primitives = { version = "4.3.0", path = "../primitives/", default-features = false }
21+
ink_storage_traits = { version = "4.3.0", path = "traits", default-features = false }
22+
ink_prelude = { version = "4.3.0", path = "../prelude/", default-features = false }
2323

2424
scale = { package = "parity-scale-codec", version = "3.4", default-features = false, features = ["derive"] }
2525
derive_more = { version = "0.99", default-features = false, features = ["from", "display"] }

crates/storage/traits/Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink_storage_traits"
3-
version = "4.2.1"
3+
version = "4.3.0"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66

@@ -15,9 +15,9 @@ categories = ["no-std", "embedded"]
1515
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
1616

1717
[dependencies]
18-
ink_metadata = { version = "4.2.1", path = "../../metadata", default-features = false, features = ["derive"], optional = true }
19-
ink_primitives = { version = "4.2.1", path = "../../primitives", default-features = false }
20-
ink_prelude = { version = "4.2.1", path = "../../prelude", default-features = false }
18+
ink_metadata = { version = "4.3.0", path = "../../metadata", default-features = false, features = ["derive"], optional = true }
19+
ink_primitives = { version = "4.3.0", path = "../../primitives", default-features = false }
20+
ink_prelude = { version = "4.3.0", path = "../../prelude", default-features = false }
2121
scale = { package = "parity-scale-codec", version = "3.4", default-features = false, features = ["derive"] }
2222
scale-info = { version = "2.5", default-features = false, features = ["derive"], optional = true }
2323

integration-tests/basic_contract_caller/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "basic_contract_caller"
3-
version = "4.2.1"
3+
version = "4.3.0"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66
publish = false

integration-tests/basic_contract_caller/other_contract/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "other_contract"
3-
version = "4.2.1"
3+
version = "4.3.0"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66
publish = false

integration-tests/contract-terminate/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "contract_terminate"
3-
version = "4.2.1"
3+
version = "4.3.0"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66
publish = false

integration-tests/contract-transfer/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "contract_transfer"
3-
version = "4.2.1"
3+
version = "4.3.0"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66
publish = false

integration-tests/custom-environment/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "custom-environment"
3-
version = "4.2.1"
3+
version = "4.3.0"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66
publish = false

integration-tests/custom_allocator/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "custom_allocator"
3-
version = "4.2.1"
3+
version = "4.3.0"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66
publish = false

integration-tests/dns/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dns"
3-
version = "4.2.1"
3+
version = "4.3.0"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66
publish = false

integration-tests/e2e-call-runtime/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "e2e_call_runtime"
3-
version = "4.2.1"
3+
version = "4.3.0"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66
publish = false

integration-tests/erc1155/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "erc1155"
3-
version = "4.2.1"
3+
version = "4.3.0"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66
publish = false

integration-tests/erc20/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "erc20"
3-
version = "4.2.1"
3+
version = "4.3.0"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66
publish = false

integration-tests/erc721/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "erc721"
3-
version = "4.2.1"
3+
version = "4.3.0"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66
publish = false

integration-tests/flipper/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "flipper"
3-
version = "4.2.1"
3+
version = "4.3.0"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66
publish = false

integration-tests/incrementer/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "incrementer"
3-
version = "4.2.1"
3+
version = "4.3.0"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66
publish = false

integration-tests/lang-err-integration-tests/call-builder-delegate/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "call_builder_delegate"
3-
version = "4.2.1"
3+
version = "4.3.0"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66
publish = false

integration-tests/lang-err-integration-tests/call-builder/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "call_builder"
3-
version = "4.2.1"
3+
version = "4.3.0"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66
publish = false

0 commit comments

Comments
 (0)