From e60d3c15fed584ba32ae6865aff5106053834b87 Mon Sep 17 00:00:00 2001 From: andrew Date: Wed, 1 Feb 2023 13:19:58 +0000 Subject: [PATCH 1/9] Bump version --- examples/contract-terminate/Cargo.toml | 2 +- examples/contract-transfer/Cargo.toml | 2 +- examples/delegator/Cargo.toml | 2 +- examples/delegator/accumulator/Cargo.toml | 2 +- examples/delegator/adder/Cargo.toml | 2 +- examples/delegator/subber/Cargo.toml | 2 +- examples/dns/Cargo.toml | 2 +- examples/erc1155/Cargo.toml | 2 +- examples/erc20/Cargo.toml | 2 +- examples/erc721/Cargo.toml | 2 +- examples/flipper/Cargo.toml | 2 +- examples/incrementer/Cargo.toml | 2 +- examples/lang-err-integration-tests/call-builder/Cargo.toml | 2 +- .../constructors-return-value/Cargo.toml | 2 +- examples/lang-err-integration-tests/contract-ref/Cargo.toml | 2 +- .../lang-err-integration-tests/integration-flipper/Cargo.toml | 2 +- examples/mapping_integration_tests/Cargo.toml | 2 +- examples/mother/Cargo.toml | 2 +- examples/multisig/Cargo.toml | 2 +- examples/payment-channel/Cargo.toml | 2 +- examples/psp22-extension/Cargo.toml | 2 +- examples/rand-extension/Cargo.toml | 2 +- examples/trait-erc20/Cargo.toml | 2 +- examples/trait-flipper/Cargo.toml | 2 +- examples/trait-incrementer/Cargo.toml | 2 +- examples/trait-incrementer/traits/Cargo.toml | 2 +- examples/upgradeable-contracts/forward-calls/Cargo.toml | 2 +- examples/upgradeable-contracts/set-code-hash/Cargo.toml | 2 +- .../set-code-hash/updated-incrementer/Cargo.toml | 2 +- 29 files changed, 29 insertions(+), 29 deletions(-) diff --git a/examples/contract-terminate/Cargo.toml b/examples/contract-terminate/Cargo.toml index a2b10ffa02d..10ddecd289d 100644 --- a/examples/contract-terminate/Cargo.toml +++ b/examples/contract-terminate/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract_terminate" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/contract-transfer/Cargo.toml b/examples/contract-transfer/Cargo.toml index 47f660ccd49..201f6bfe5eb 100644 --- a/examples/contract-transfer/Cargo.toml +++ b/examples/contract-transfer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract_transfer" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/delegator/Cargo.toml b/examples/delegator/Cargo.toml index 929247142e3..dab779fca69 100644 --- a/examples/delegator/Cargo.toml +++ b/examples/delegator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "delegator" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/delegator/accumulator/Cargo.toml b/examples/delegator/accumulator/Cargo.toml index 9ca85734547..4320301cc94 100644 --- a/examples/delegator/accumulator/Cargo.toml +++ b/examples/delegator/accumulator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "accumulator" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies "] edition = "2021" diff --git a/examples/delegator/adder/Cargo.toml b/examples/delegator/adder/Cargo.toml index 95c63381936..4277a3f9622 100644 --- a/examples/delegator/adder/Cargo.toml +++ b/examples/delegator/adder/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "adder" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies "] edition = "2021" diff --git a/examples/delegator/subber/Cargo.toml b/examples/delegator/subber/Cargo.toml index 5299948c2e2..dd1528fba54 100644 --- a/examples/delegator/subber/Cargo.toml +++ b/examples/delegator/subber/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "subber" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies "] edition = "2021" diff --git a/examples/dns/Cargo.toml b/examples/dns/Cargo.toml index 7f0596032ec..b3220929dac 100644 --- a/examples/dns/Cargo.toml +++ b/examples/dns/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dns" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/erc1155/Cargo.toml b/examples/erc1155/Cargo.toml index 2cdaf7e4a2a..c712787ba58 100644 --- a/examples/erc1155/Cargo.toml +++ b/examples/erc1155/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "erc1155" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/erc20/Cargo.toml b/examples/erc20/Cargo.toml index fc482f2d2a8..ab215f6f271 100644 --- a/examples/erc20/Cargo.toml +++ b/examples/erc20/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "erc20" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/erc721/Cargo.toml b/examples/erc721/Cargo.toml index 7215f40a8c4..ad5666e9332 100644 --- a/examples/erc721/Cargo.toml +++ b/examples/erc721/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "erc721" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/flipper/Cargo.toml b/examples/flipper/Cargo.toml index 094be93ca44..78a5acd910a 100644 --- a/examples/flipper/Cargo.toml +++ b/examples/flipper/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "flipper" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/incrementer/Cargo.toml b/examples/incrementer/Cargo.toml index 3129f4a61f2..580af7198b0 100644 --- a/examples/incrementer/Cargo.toml +++ b/examples/incrementer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "incrementer" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/lang-err-integration-tests/call-builder/Cargo.toml b/examples/lang-err-integration-tests/call-builder/Cargo.toml index 66f13e8efcf..88a3c924c05 100755 --- a/examples/lang-err-integration-tests/call-builder/Cargo.toml +++ b/examples/lang-err-integration-tests/call-builder/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "call_builder" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/lang-err-integration-tests/constructors-return-value/Cargo.toml b/examples/lang-err-integration-tests/constructors-return-value/Cargo.toml index d8eb31b2e82..e37ee7d3b72 100644 --- a/examples/lang-err-integration-tests/constructors-return-value/Cargo.toml +++ b/examples/lang-err-integration-tests/constructors-return-value/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "constructors_return_value" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/lang-err-integration-tests/contract-ref/Cargo.toml b/examples/lang-err-integration-tests/contract-ref/Cargo.toml index c90129c63e1..602cf6852be 100755 --- a/examples/lang-err-integration-tests/contract-ref/Cargo.toml +++ b/examples/lang-err-integration-tests/contract-ref/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract_ref" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies "] edition = "2021" diff --git a/examples/lang-err-integration-tests/integration-flipper/Cargo.toml b/examples/lang-err-integration-tests/integration-flipper/Cargo.toml index 3fdc904515b..333b1c88772 100644 --- a/examples/lang-err-integration-tests/integration-flipper/Cargo.toml +++ b/examples/lang-err-integration-tests/integration-flipper/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "integration_flipper" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/mapping_integration_tests/Cargo.toml b/examples/mapping_integration_tests/Cargo.toml index 17d7b1fa27c..43e87109d08 100755 --- a/examples/mapping_integration_tests/Cargo.toml +++ b/examples/mapping_integration_tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mapping-integration-tests" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/mother/Cargo.toml b/examples/mother/Cargo.toml index 6a132e9c3c3..134ac82822f 100755 --- a/examples/mother/Cargo.toml +++ b/examples/mother/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "mother" description = "Mother of all contracts" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/multisig/Cargo.toml b/examples/multisig/Cargo.toml index d6c13ed5e5c..17c3f9018bb 100755 --- a/examples/multisig/Cargo.toml +++ b/examples/multisig/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "multisig" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/payment-channel/Cargo.toml b/examples/payment-channel/Cargo.toml index 06f82463831..b9a81693c91 100755 --- a/examples/payment-channel/Cargo.toml +++ b/examples/payment-channel/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "payment_channel" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/psp22-extension/Cargo.toml b/examples/psp22-extension/Cargo.toml index 0bbc862cfd9..2b36dd1be9b 100755 --- a/examples/psp22-extension/Cargo.toml +++ b/examples/psp22-extension/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "psp22_extension" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/rand-extension/Cargo.toml b/examples/rand-extension/Cargo.toml index cff66f2a059..aa1fbf920f9 100755 --- a/examples/rand-extension/Cargo.toml +++ b/examples/rand-extension/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rand_extension" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/trait-erc20/Cargo.toml b/examples/trait-erc20/Cargo.toml index 78433f18752..3e2e0d2f7e3 100644 --- a/examples/trait-erc20/Cargo.toml +++ b/examples/trait-erc20/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trait_erc20" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/trait-flipper/Cargo.toml b/examples/trait-flipper/Cargo.toml index 3d59471b7ea..9c530b9831a 100644 --- a/examples/trait-flipper/Cargo.toml +++ b/examples/trait-flipper/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trait_flipper" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/trait-incrementer/Cargo.toml b/examples/trait-incrementer/Cargo.toml index 6bb2e373c6d..f5945e7d9b1 100644 --- a/examples/trait-incrementer/Cargo.toml +++ b/examples/trait-incrementer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trait-incrementer" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/trait-incrementer/traits/Cargo.toml b/examples/trait-incrementer/traits/Cargo.toml index c38277ebeae..d6fdd2d1445 100644 --- a/examples/trait-incrementer/traits/Cargo.toml +++ b/examples/trait-incrementer/traits/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "traits" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/upgradeable-contracts/forward-calls/Cargo.toml b/examples/upgradeable-contracts/forward-calls/Cargo.toml index 223392920de..a778c80f721 100644 --- a/examples/upgradeable-contracts/forward-calls/Cargo.toml +++ b/examples/upgradeable-contracts/forward-calls/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "forward_calls" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/upgradeable-contracts/set-code-hash/Cargo.toml b/examples/upgradeable-contracts/set-code-hash/Cargo.toml index aeedcf2d8c2..3e00ad1945d 100644 --- a/examples/upgradeable-contracts/set-code-hash/Cargo.toml +++ b/examples/upgradeable-contracts/set-code-hash/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "incrementer" -version = "4.0.0-beta.1" +version = "4.0.0-rc" edition = "2021" authors = ["Parity Technologies "] publish = false diff --git a/examples/upgradeable-contracts/set-code-hash/updated-incrementer/Cargo.toml b/examples/upgradeable-contracts/set-code-hash/updated-incrementer/Cargo.toml index 9252a6f0040..5756e24d35f 100644 --- a/examples/upgradeable-contracts/set-code-hash/updated-incrementer/Cargo.toml +++ b/examples/upgradeable-contracts/set-code-hash/updated-incrementer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "updated-incrementer" -version = "4.0.0-beta.1" +version = "4.0.0-rc" edition = "2021" authors = ["Parity Technologies "] publish = false From 0d16911f61b74f44549d1b99927475a091b62680 Mon Sep 17 00:00:00 2001 From: andrew Date: Wed, 1 Feb 2023 13:23:34 +0000 Subject: [PATCH 2/9] WIP update CHANGELOG.md --- CHANGELOG.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e54bc9fd5f..32a5a90b539 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased] +## Version 4.0.0-rc - Rename `_checked` codegen call methods with `try_` ‒ [#1621](https://github.com/paritytech/ink/pull/1621) ### Breaking Changes @@ -12,6 +12,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 1. We've renamed some of the generated message methods on the `ContractRef` struct. They have been changed from `_checked` to `try_` ([#1621](https://github.com/paritytech/ink/pull/1621)) +### Added +### Fixed +### Changed + ## Version 4.0.0-beta.1 The coolest feature included in this release is the first first published version of ink!'s native ["end-to-end" (E2E) testing framework](https://github.com/paritytech/ink/issues/1234). From 4002232a71716ca2e10a8cdff218addd57946107 Mon Sep 17 00:00:00 2001 From: andrew Date: Wed, 1 Feb 2023 13:34:46 +0000 Subject: [PATCH 3/9] Update CHANGELOG.md --- CHANGELOG.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 32a5a90b539..6e2fba7ba3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## Version 4.0.0-rc -- Rename `_checked` codegen call methods with `try_` ‒ [#1621](https://github.com/paritytech/ink/pull/1621) + +The first release candidate is here! This is the first release which could become the final +`v4.0.0`. Any subsequent release candidates should only contain bug fixes: no API changes, +breaking or otherwise. ### Breaking Changes @@ -13,8 +16,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 have been changed from `_checked` to `try_` ([#1621](https://github.com/paritytech/ink/pull/1621)) ### Added -### Fixed +- E2E: expose call dry-run method ‒ [#1624](https://github.com/paritytech/ink/pull/1624) + ### Changed +- Rename `_checked` codegen call methods with `try_` ‒ [#1621](https://github.com/paritytech/ink/pull/1621) +- Bump Substrate and `subxt` dependencies ‒ [#1549](https://github.com/paritytech/ink/pull/1549) ## Version 4.0.0-beta.1 The coolest feature included in this release is the first first published version of From decbb5780ac267b72e51290d4814254e7e6967e7 Mon Sep 17 00:00:00 2001 From: andrew Date: Wed, 1 Feb 2023 13:38:15 +0000 Subject: [PATCH 4/9] Bump versions --- crates/allocator/Cargo.toml | 2 +- crates/e2e/Cargo.toml | 10 +++++----- crates/e2e/macro/Cargo.toml | 4 ++-- crates/engine/Cargo.toml | 4 ++-- crates/env/Cargo.toml | 14 +++++++------- crates/ink/Cargo.toml | 14 +++++++------- crates/ink/codegen/Cargo.toml | 6 +++--- crates/ink/ir/Cargo.toml | 2 +- crates/ink/macro/Cargo.toml | 8 ++++---- crates/metadata/Cargo.toml | 6 +++--- crates/prelude/Cargo.toml | 2 +- crates/primitives/Cargo.toml | 4 ++-- crates/storage/Cargo.toml | 12 ++++++------ crates/storage/traits/Cargo.toml | 8 ++++---- linting/Cargo.toml | 2 +- 15 files changed, 49 insertions(+), 49 deletions(-) diff --git a/crates/allocator/Cargo.toml b/crates/allocator/Cargo.toml index efbf53067ba..24656824977 100644 --- a/crates/allocator/Cargo.toml +++ b/crates/allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink_allocator" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies ", "Robin Freyler "] edition = "2021" diff --git a/crates/e2e/Cargo.toml b/crates/e2e/Cargo.toml index 3705bf9cd28..cd17b0c7477 100644 --- a/crates/e2e/Cargo.toml +++ b/crates/e2e/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink_e2e" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies "] edition = "2021" @@ -15,10 +15,10 @@ categories = ["no-std", "embedded"] include = ["/Cargo.toml", "src/**/*.rs", "/README.md", "/LICENSE"] [dependencies] -ink_e2e_macro = { version = "4.0.0-beta.1", path = "./macro" } -ink = { version = "4.0.0-beta.1", path = "../ink" } -ink_env = { version = "4.0.0-beta.1", path = "../env" } -ink_primitives = { version = "4.0.0-beta.1", path = "../primitives" } +ink_e2e_macro = { version = "4.0.0-rc", path = "./macro" } +ink = { version = "4.0.0-rc", path = "../ink" } +ink_env = { version = "4.0.0-rc", path = "../env" } +ink_primitives = { version = "4.0.0-rc", path = "../primitives" } contract-metadata = { version = "2.0.0-rc" } funty = "2.0.0" diff --git a/crates/e2e/macro/Cargo.toml b/crates/e2e/macro/Cargo.toml index 49ed5a086c1..eb0670d1805 100644 --- a/crates/e2e/macro/Cargo.toml +++ b/crates/e2e/macro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink_e2e_macro" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies "] edition = "2021" @@ -19,7 +19,7 @@ name = "ink_e2e_macro" proc-macro = true [dependencies] -ink_ir = { version = "4.0.0-beta.1", path = "../../ink/ir" } +ink_ir = { version = "4.0.0-rc", path = "../../ink/ir" } contract-build = "2.0.0-beta.1" derive_more = "0.99.17" env_logger = "0.10.0" diff --git a/crates/engine/Cargo.toml b/crates/engine/Cargo.toml index fd56f2151f3..cba61f5bbba 100644 --- a/crates/engine/Cargo.toml +++ b/crates/engine/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink_engine" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies ", "Michael Müller "] edition = "2021" @@ -15,7 +15,7 @@ categories = ["no-std", "embedded"] include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"] [dependencies] -ink_primitives = { version = "4.0.0-beta.1", path = "../../crates/primitives", default-features = false } +ink_primitives = { version = "4.0.0-rc", path = "../../crates/primitives", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive", "full"] } derive_more = { version = "0.99", default-features = false, features = ["from", "display"] } diff --git a/crates/env/Cargo.toml b/crates/env/Cargo.toml index ea2f94a778d..ae77b98de15 100644 --- a/crates/env/Cargo.toml +++ b/crates/env/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink_env" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies ", "Robin Freyler "] edition = "2021" @@ -15,11 +15,11 @@ categories = ["no-std", "embedded"] include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"] [dependencies] -ink_metadata = { version = "4.0.0-beta.1", path = "../metadata", default-features = false, features = ["derive"], optional = true } -ink_allocator = { version = "4.0.0-beta.1", path = "../allocator", default-features = false } -ink_storage_traits = { version = "4.0.0-beta.1", path = "../storage/traits", default-features = false } -ink_prelude = { version = "4.0.0-beta.1", path = "../prelude", default-features = false } -ink_primitives = { version = "4.0.0-beta.1", path = "../primitives", default-features = false } +ink_metadata = { version = "4.0.0-rc", path = "../metadata", default-features = false, features = ["derive"], optional = true } +ink_allocator = { version = "4.0.0-rc", path = "../allocator", default-features = false } +ink_storage_traits = { version = "4.0.0-rc", path = "../storage/traits", default-features = false } +ink_prelude = { version = "4.0.0-rc", path = "../prelude", default-features = false } +ink_primitives = { version = "4.0.0-rc", path = "../primitives", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive", "full"] } derive_more = { version = "0.99", default-features = false, features = ["from", "display"] } @@ -33,7 +33,7 @@ static_assertions = "1.1" rlibc = "1" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] -ink_engine = { version = "4.0.0-beta.1", path = "../engine/", optional = true } +ink_engine = { version = "4.0.0-rc", path = "../engine/", optional = true } # Hashes for the off-chain environment. sha2 = { version = "0.10", optional = true } diff --git a/crates/ink/Cargo.toml b/crates/ink/Cargo.toml index 224f68dd686..b3e5813694f 100644 --- a/crates/ink/Cargo.toml +++ b/crates/ink/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies ", "Robin Freyler "] edition = "2021" rust-version = "1.63" @@ -16,12 +16,12 @@ categories = ["no-std", "embedded"] include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"] [dependencies] -ink_env = { version = "4.0.0-beta.1", path = "../env", default-features = false } -ink_storage = { version = "4.0.0-beta.1", path = "../storage", default-features = false } -ink_primitives = { version = "4.0.0-beta.1", path = "../primitives", default-features = false } -ink_metadata = { version = "4.0.0-beta.1", path = "../metadata", default-features = false, optional = true } -ink_prelude = { version = "4.0.0-beta.1", path = "../prelude", default-features = false } -ink_macro = { version = "4.0.0-beta.1", path = "macro", default-features = false } +ink_env = { version = "4.0.0-rc", path = "../env", default-features = false } +ink_storage = { version = "4.0.0-rc", path = "../storage", default-features = false } +ink_primitives = { version = "4.0.0-rc", path = "../primitives", default-features = false } +ink_metadata = { version = "4.0.0-rc", path = "../metadata", default-features = false, optional = true } +ink_prelude = { version = "4.0.0-rc", path = "../prelude", default-features = false } +ink_macro = { version = "4.0.0-rc", path = "macro", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive", "full"] } derive_more = { version = "0.99", default-features = false, features = ["from"] } diff --git a/crates/ink/codegen/Cargo.toml b/crates/ink/codegen/Cargo.toml index 7074068c00d..8452718f9a0 100644 --- a/crates/ink/codegen/Cargo.toml +++ b/crates/ink/codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink_codegen" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies ", "Robin Freyler "] edition = "2021" @@ -18,8 +18,8 @@ include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"] name = "ink_codegen" [dependencies] -ink_primitives = { version = "4.0.0-beta.1", path = "../../primitives" } -ir = { version = "4.0.0-beta.1", package = "ink_ir", path = "../ir", default-features = false } +ink_primitives = { version = "4.0.0-rc", path = "../../primitives" } +ir = { version = "4.0.0-rc", package = "ink_ir", path = "../ir", default-features = false } quote = "1" syn = { version = "1.0", features = ["parsing", "full", "extra-traits"] } proc-macro2 = "1.0" diff --git a/crates/ink/ir/Cargo.toml b/crates/ink/ir/Cargo.toml index 4c99ca9f1df..9ad34a022c7 100644 --- a/crates/ink/ir/Cargo.toml +++ b/crates/ink/ir/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink_ir" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies ", "Robin Freyler "] edition = "2021" diff --git a/crates/ink/macro/Cargo.toml b/crates/ink/macro/Cargo.toml index db252dc03ee..ce90e59b8a8 100644 --- a/crates/ink/macro/Cargo.toml +++ b/crates/ink/macro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink_macro" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies ", "Robin Freyler "] edition = "2021" @@ -15,9 +15,9 @@ categories = ["no-std", "embedded"] include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"] [dependencies] -ink_ir = { version = "4.0.0-beta.1", path = "../ir", default-features = false } -ink_codegen = { version = "4.0.0-beta.1", path = "../codegen", default-features = false } -ink_primitives = { version = "4.0.0-beta.1", path = "../../primitives/", default-features = false } +ink_ir = { version = "4.0.0-rc", path = "../ir", default-features = false } +ink_codegen = { version = "4.0.0-rc", path = "../codegen", default-features = false } +ink_primitives = { version = "4.0.0-rc", path = "../../primitives/", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } syn = "1" diff --git a/crates/metadata/Cargo.toml b/crates/metadata/Cargo.toml index 5ae6b0e7dff..ee4515474a7 100644 --- a/crates/metadata/Cargo.toml +++ b/crates/metadata/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink_metadata" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies ", "Robin Freyler "] edition = "2021" @@ -15,8 +15,8 @@ categories = ["no-std", "embedded"] include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"] [dependencies] -ink_prelude = { version = "4.0.0-beta.1", path = "../prelude/", default-features = false } -ink_primitives = { version = "4.0.0-beta.1", path = "../primitives/", default-features = false } +ink_prelude = { version = "4.0.0-rc", path = "../prelude/", default-features = false } +ink_primitives = { version = "4.0.0-rc", path = "../primitives/", default-features = false } serde = { version = "1.0", default-features = false, features = ["derive", "alloc"] } impl-serde = "0.4.0" diff --git a/crates/prelude/Cargo.toml b/crates/prelude/Cargo.toml index 2fd7bfe300a..aad928592eb 100644 --- a/crates/prelude/Cargo.toml +++ b/crates/prelude/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink_prelude" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies ", "Robin Freyler "] edition = "2021" diff --git a/crates/primitives/Cargo.toml b/crates/primitives/Cargo.toml index e240f0c5d8d..599e4fcae81 100644 --- a/crates/primitives/Cargo.toml +++ b/crates/primitives/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink_primitives" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies ", "Robin Freyler "] edition = "2021" @@ -16,7 +16,7 @@ include = ["/Cargo.toml", "src/**/*.rs", "/README.md", "/LICENSE"] [dependencies] derive_more = { version = "0.99", default-features = false, features = ["from", "display"] } -ink_prelude = { version = "4.0.0-beta.1", path = "../prelude/", default-features = false } +ink_prelude = { version = "4.0.0-rc", path = "../prelude/", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive", "full"] } scale-info = { version = "2.3", default-features = false, features = ["derive"], optional = true } xxhash-rust = { version = "0.8", features = ["const_xxh32"] } diff --git a/crates/storage/Cargo.toml b/crates/storage/Cargo.toml index 3a265c3a013..33247247302 100644 --- a/crates/storage/Cargo.toml +++ b/crates/storage/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink_storage" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies ", "Robin Freyler "] edition = "2021" @@ -15,11 +15,11 @@ categories = ["no-std", "embedded"] include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"] [dependencies] -ink_env = { version = "4.0.0-beta.1", path = "../env/", default-features = false } -ink_metadata = { version = "4.0.0-beta.1", path = "../metadata/", default-features = false, features = ["derive"], optional = true } -ink_primitives = { version = "4.0.0-beta.1", path = "../primitives/", default-features = false } -ink_storage_traits = { version = "4.0.0-beta.1", path = "traits", default-features = false } -ink_prelude = { version = "4.0.0-beta.1", path = "../prelude/", default-features = false } +ink_env = { version = "4.0.0-rc", path = "../env/", default-features = false } +ink_metadata = { version = "4.0.0-rc", path = "../metadata/", default-features = false, features = ["derive"], optional = true } +ink_primitives = { version = "4.0.0-rc", path = "../primitives/", default-features = false } +ink_storage_traits = { version = "4.0.0-rc", path = "traits", default-features = false } +ink_prelude = { version = "4.0.0-rc", path = "../prelude/", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive", "full"] } derive_more = { version = "0.99", default-features = false, features = ["from", "display"] } diff --git a/crates/storage/traits/Cargo.toml b/crates/storage/traits/Cargo.toml index 54d14f12a74..4762f9a04cc 100644 --- a/crates/storage/traits/Cargo.toml +++ b/crates/storage/traits/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink_storage_traits" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies "] edition = "2021" @@ -15,9 +15,9 @@ categories = ["no-std", "embedded"] include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"] [dependencies] -ink_metadata = { version = "4.0.0-beta.1", path = "../../metadata", default-features = false, features = ["derive"], optional = true } -ink_primitives = { version = "4.0.0-beta.1", path = "../../primitives", default-features = false } -ink_prelude = { version = "4.0.0-beta.1", path = "../../prelude", default-features = false } +ink_metadata = { version = "4.0.0-rc", path = "../../metadata", default-features = false, features = ["derive"], optional = true } +ink_primitives = { version = "4.0.0-rc", path = "../../primitives", default-features = false } +ink_prelude = { version = "4.0.0-rc", path = "../../prelude", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive", "full"] } scale-info = { version = "2.3", default-features = false, features = ["derive"], optional = true } syn = { version = "1", features = ["full"] } diff --git a/linting/Cargo.toml b/linting/Cargo.toml index d180ed04f1b..104c31296d7 100644 --- a/linting/Cargo.toml +++ b/linting/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink_linting" -version = "4.0.0-beta.1" +version = "4.0.0-rc" authors = ["Parity Technologies "] edition = "2021" publish = false From f10596240498f3f61700c536df06589e515a11d2 Mon Sep 17 00:00:00 2001 From: andrew Date: Wed, 1 Feb 2023 16:55:25 +0000 Subject: [PATCH 5/9] Update `contract-build` to rc.1 --- crates/e2e/macro/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/e2e/macro/Cargo.toml b/crates/e2e/macro/Cargo.toml index eb0670d1805..d7e970a8122 100644 --- a/crates/e2e/macro/Cargo.toml +++ b/crates/e2e/macro/Cargo.toml @@ -20,7 +20,7 @@ proc-macro = true [dependencies] ink_ir = { version = "4.0.0-rc", path = "../../ink/ir" } -contract-build = "2.0.0-beta.1" +contract-build = "2.0.0-rc.1" derive_more = "0.99.17" env_logger = "0.10.0" log = "0.4.17" From 9ce2bd6d5c762e10d4f45d0e3490907b51981e54 Mon Sep 17 00:00:00 2001 From: andrew Date: Wed, 1 Feb 2023 19:28:01 +0000 Subject: [PATCH 6/9] Temporarily log output for hanging examples tests --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index abd73be748e..5028a796298 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -380,7 +380,7 @@ examples-test: if [ "$example" = "examples/upgradeable-contracts/" ]; then continue; fi; if [ "$example" = "examples/lang-err-integration-tests/" ]; then continue; fi; if grep -q "e2e-tests = \[\]" "${example}/Cargo.toml"; then - cargo test --verbose --manifest-path ${example}/Cargo.toml --features e2e-tests; + RUST_LOG=debug cargo test --verbose --manifest-path ${example}/Cargo.toml --features e2e-tests; else cargo test --verbose --manifest-path ${example}/Cargo.toml; fi; From 1e3731c33ad435d97c23529509062b843da984e1 Mon Sep 17 00:00:00 2001 From: andrew Date: Wed, 1 Feb 2023 19:52:50 +0000 Subject: [PATCH 7/9] revert examples test logging --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5028a796298..abd73be748e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -380,7 +380,7 @@ examples-test: if [ "$example" = "examples/upgradeable-contracts/" ]; then continue; fi; if [ "$example" = "examples/lang-err-integration-tests/" ]; then continue; fi; if grep -q "e2e-tests = \[\]" "${example}/Cargo.toml"; then - RUST_LOG=debug cargo test --verbose --manifest-path ${example}/Cargo.toml --features e2e-tests; + cargo test --verbose --manifest-path ${example}/Cargo.toml --features e2e-tests; else cargo test --verbose --manifest-path ${example}/Cargo.toml; fi; From 69da70a645669a6b307ff1f287cac24b603dbc8f Mon Sep 17 00:00:00 2001 From: andrew Date: Wed, 1 Feb 2023 19:53:49 +0000 Subject: [PATCH 8/9] Update contract-metadata version --- crates/e2e/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/e2e/Cargo.toml b/crates/e2e/Cargo.toml index cd17b0c7477..c4741b1e912 100644 --- a/crates/e2e/Cargo.toml +++ b/crates/e2e/Cargo.toml @@ -20,7 +20,7 @@ ink = { version = "4.0.0-rc", path = "../ink" } ink_env = { version = "4.0.0-rc", path = "../env" } ink_primitives = { version = "4.0.0-rc", path = "../primitives" } -contract-metadata = { version = "2.0.0-rc" } +contract-metadata = { version = "2.0.0-rc.1" } funty = "2.0.0" impl-serde = { version = "0.3.1", default-features = false } jsonrpsee = { version = "0.16.0", features = ["ws-client"] } From 26d82a22e4ecb13bde063ae731d1449dfc62628d Mon Sep 17 00:00:00 2001 From: andrew Date: Wed, 1 Feb 2023 20:03:09 +0000 Subject: [PATCH 9/9] Update RELEASES_CHECKLIST.md --- RELEASES_CHECKLIST.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RELEASES_CHECKLIST.md b/RELEASES_CHECKLIST.md index 8430a9b341c..97c55064c3f 100644 --- a/RELEASES_CHECKLIST.md +++ b/RELEASES_CHECKLIST.md @@ -76,7 +76,7 @@ in the future. `master` during the release. - The above are to ensure that the bundled code pushed to crates.io is the same as the tagged release on GitHub. -1. Publish with `export PUBLISH_GRACE_SLEEP=5 && cargo release [new_version] -v --no-tag --no-push --execute` +1. Publish with `cargo release [new_version] -v --no-tag --no-push --execute` - Ensure the same `[new_version]` as the dry run, which should be the **exact** SemVer compatible version you are attempting to release e.g. `4.0.0-alpha.3`. - We add the grace period since crates depend on one another.