From 96a0c86cee4c493daf7d55bd9c9d043f34d212b2 Mon Sep 17 00:00:00 2001 From: SkymanOne Date: Mon, 27 Feb 2023 13:14:26 +0000 Subject: [PATCH 1/6] update crates and READMEs --- CHANGELOG.md | 4 +++- README.md | 13 +++++++------ crates/allocator/Cargo.toml | 2 +- crates/e2e/Cargo.toml | 12 ++++++------ crates/e2e/macro/Cargo.toml | 6 +++--- crates/e2e/macro/src/config.rs | 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 ++++---- integration-tests/contract-terminate/Cargo.toml | 2 +- integration-tests/contract-transfer/Cargo.toml | 2 +- integration-tests/custom-environment/Cargo.toml | 2 +- integration-tests/custom_allocator/Cargo.toml | 2 +- integration-tests/delegator/Cargo.toml | 2 +- integration-tests/delegator/accumulator/Cargo.toml | 2 +- integration-tests/delegator/adder/Cargo.toml | 2 +- integration-tests/delegator/subber/Cargo.toml | 2 +- integration-tests/dns/Cargo.toml | 2 +- integration-tests/erc1155/Cargo.toml | 2 +- integration-tests/erc20/Cargo.toml | 2 +- integration-tests/erc721/Cargo.toml | 2 +- integration-tests/flipper/Cargo.toml | 2 +- integration-tests/incrementer/Cargo.toml | 2 +- .../call-builder/Cargo.toml | 2 +- .../constructors-return-value/Cargo.toml | 2 +- .../contract-ref/Cargo.toml | 2 +- .../integration-flipper/Cargo.toml | 2 +- .../mapping_integration_tests/Cargo.toml | 2 +- integration-tests/mother/Cargo.toml | 2 +- integration-tests/multisig/Cargo.toml | 2 +- integration-tests/payment-channel/Cargo.toml | 2 +- integration-tests/psp22-extension/Cargo.toml | 2 +- integration-tests/rand-extension/Cargo.toml | 2 +- integration-tests/trait-erc20/Cargo.toml | 2 +- integration-tests/trait-flipper/Cargo.toml | 2 +- integration-tests/trait-incrementer/Cargo.toml | 2 +- .../trait-incrementer/traits/Cargo.toml | 2 +- .../upgradeable-contracts/forward-calls/Cargo.toml | 2 +- .../upgradeable-contracts/set-code-hash/Cargo.toml | 2 +- .../set-code-hash/updated-incrementer/Cargo.toml | 2 +- linting/Cargo.toml | 2 +- 49 files changed, 94 insertions(+), 91 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 569af46974..f620fe71fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,9 @@ 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.1 + +Introduces small bug fix. ### Fixed - Fixing `ManualKey<0>` to act properly - [#1670](https://github.com/paritytech/ink/pull/1670) diff --git a/README.md b/README.md index 783c810bbf..0bd7384eaf 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,7 @@ More relevant links: ## Table of Contents +- [Table of Contents](#table-of-contents) - [Play with It](#play-with-it) - [Usage](#usage) - [Hello, World! ‒ The Flipper](#hello-world--the-flipper) @@ -178,8 +179,8 @@ mod flipper { } } ``` - -The [`flipper/src/lib.rs`](https://github.com/paritytech/ink-examples/blob/v4.0.0/flipper/lib.rs) +4.0.14.0.1 +The [`flipper/src/lib.rs`](https://github.com/paritytech/ink-examples/blob/v4.0.1/flipper/lib.rs) file in our examples folder contains exactly this code. Run `cargo contract build` to build your first ink! smart contract. @@ -240,12 +241,12 @@ See [here](https://paritytech.github.io/ink/ink/attr.contract.html) for a more d ### Trait Definitions -Use `#[ink::trait_definition]` to define your very own trait definitions that are then implementable by ink! smart contracts. -See e.g. the [`examples/trait-erc20`](https://github.com/paritytech/ink-examples/blob/v4.0.0/trait-erc20/lib.rs#L20-L22) contract on how to utilize it or [the documentation](https://paritytech.github.io/ink/ink/attr.trait_definition.html) for details. +Use `#[ink::trait_definition]` to define your very own trait definitions that are then 4.0.1mentable by ink! smart contracts. +See e.g. the [`examples/trait-erc20`](https://github.com/paritytech/ink-examples/blob/v4.0.1/trait-erc20/lib.rs#L20-L22) contract on how to utilize it or [the documentation](https://paritytech.github.io/ink/ink/attr.trait_definition.html) for details. ### Off-chain Testing - -The `#[ink::test]` procedural macro enables off-chain testing. See e.g. the [`examples/erc20`](https://github.com/paritytech/ink-examples/blob/v4.0.0/erc20/lib.rs#L276-L277) contract on how to utilize those or [the documentation](https://paritytech.github.io/ink/ink/attr.test.html) for details. +4.0.1 +The `#[ink::test]` procedural macro enables off-chain testing. See e.g. the [`examples/erc20`](https://github.com/paritytech/ink-examples/blob/v4.0.1/erc20/lib.rs#L276-L277) contract on how to utilize those or [the documentation](https://paritytech.github.io/ink/ink/attr.test.html) for details. ## Developer Documentation diff --git a/crates/allocator/Cargo.toml b/crates/allocator/Cargo.toml index f137a68ee6..7d4a4c9b84 100644 --- a/crates/allocator/Cargo.toml +++ b/crates/allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink_allocator" -version = "4.0.0" +version = "4.0.1" authors = ["Parity Technologies ", "Robin Freyler "] edition = "2021" diff --git a/crates/e2e/Cargo.toml b/crates/e2e/Cargo.toml index 416c84a9c6..0d7de8b232 100644 --- a/crates/e2e/Cargo.toml +++ b/crates/e2e/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink_e2e" -version = "4.0.0" +version = "4.0.1" authors = ["Parity Technologies "] edition = "2021" @@ -15,12 +15,12 @@ categories = ["no-std", "embedded"] include = ["/Cargo.toml", "src/**/*.rs", "/README.md", "/LICENSE"] [dependencies] -ink_e2e_macro = { version = "4.0.0", path = "./macro" } -ink = { version = "4.0.0", path = "../ink" } -ink_env = { version = "4.0.0", path = "../env" } -ink_primitives = { version = "4.0.0", path = "../primitives" } +ink_e2e_macro = { version = "4.0.1", path = "./macro" } +ink = { version = "4.0.1", path = "../ink" } +ink_env = { version = "4.0.1", path = "../env" } +ink_primitives = { version = "4.0.1", path = "../primitives" } -contract-metadata = { version = "2.0.0-rc.1" } +contract-metadata = { version = "2.0.0" } funty = "2.0.0" impl-serde = { version = "0.3.1", default-features = false } jsonrpsee = { version = "0.16.0", features = ["ws-client"] } diff --git a/crates/e2e/macro/Cargo.toml b/crates/e2e/macro/Cargo.toml index 2cb830bda7..0292f23b71 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" +version = "4.0.1" authors = ["Parity Technologies "] edition = "2021" @@ -19,7 +19,7 @@ name = "ink_e2e_macro" proc-macro = true [dependencies] -ink_ir = { version = "4.0.0", path = "../../ink/ir" } +ink_ir = { version = "4.0.1", path = "../../ink/ir" } contract-build = "2.0.0" derive_more = "0.99.17" env_logger = "0.10.0" @@ -28,4 +28,4 @@ serde_json = "1.0.89" syn = "1" proc-macro2 = "1" quote = "1" -which = "4.4.0" \ No newline at end of file +which = "4.4.0" diff --git a/crates/e2e/macro/src/config.rs b/crates/e2e/macro/src/config.rs index af1b918ddc..9cff3ae167 100644 --- a/crates/e2e/macro/src/config.rs +++ b/crates/e2e/macro/src/config.rs @@ -28,11 +28,11 @@ pub struct E2EConfig { whitelisted_attributes: WhitelistedAttributes, /// Additional contracts that have to be built before executing the test. additional_contracts: Vec, - /// The [`Environment`](https://docs.rs/ink_env/4.0.0-rc/ink_env/trait.Environment.html) to use + /// The [`Environment`](https://docs.rs/ink_env/4.0.1/ink_env/trait.Environment.html) to use /// during test execution. /// /// If no `Environment` is specified, the - /// [`DefaultEnvironment`](https://docs.rs/ink_env/4.0.0-rc/ink_env/enum.DefaultEnvironment.html) + /// [`DefaultEnvironment`](https://docs.rs/ink_env/4.0.1/ink_env/enum.DefaultEnvironment.html) /// will be used. environment: Option, } diff --git a/crates/engine/Cargo.toml b/crates/engine/Cargo.toml index 7ce92c97a7..1b0a93574f 100644 --- a/crates/engine/Cargo.toml +++ b/crates/engine/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink_engine" -version = "4.0.0" +version = "4.0.1" 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", path = "../../crates/primitives", default-features = false } +ink_primitives = { version = "4.0.1", 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 09f7bc727f..6b57b4deb6 100644 --- a/crates/env/Cargo.toml +++ b/crates/env/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink_env" -version = "4.0.0" +version = "4.0.1" 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", path = "../metadata", default-features = false, features = ["derive"], optional = true } -ink_allocator = { version = "4.0.0", path = "../allocator", default-features = false } -ink_storage_traits = { version = "4.0.0", path = "../storage/traits", default-features = false } -ink_prelude = { version = "4.0.0", path = "../prelude", default-features = false } -ink_primitives = { version = "4.0.0", path = "../primitives", default-features = false } +ink_metadata = { version = "4.0.1", path = "../metadata", default-features = false, features = ["derive"], optional = true } +ink_allocator = { version = "4.0.1", path = "../allocator", default-features = false } +ink_storage_traits = { version = "4.0.1", path = "../storage/traits", default-features = false } +ink_prelude = { version = "4.0.1", path = "../prelude", default-features = false } +ink_primitives = { version = "4.0.1", 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", path = "../engine/", optional = true } +ink_engine = { version = "4.0.1", 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 d4c11ce9db..90752bf78c 100644 --- a/crates/ink/Cargo.toml +++ b/crates/ink/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink" -version = "4.0.0" +version = "4.0.1" 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", path = "../env", default-features = false } -ink_storage = { version = "4.0.0", path = "../storage", default-features = false } -ink_primitives = { version = "4.0.0", path = "../primitives", default-features = false } -ink_metadata = { version = "4.0.0", path = "../metadata", default-features = false, optional = true } -ink_prelude = { version = "4.0.0", path = "../prelude", default-features = false } -ink_macro = { version = "4.0.0", path = "macro", default-features = false } +ink_env = { version = "4.0.1", path = "../env", default-features = false } +ink_storage = { version = "4.0.1", path = "../storage", default-features = false } +ink_primitives = { version = "4.0.1", path = "../primitives", default-features = false } +ink_metadata = { version = "4.0.1", path = "../metadata", default-features = false, optional = true } +ink_prelude = { version = "4.0.1", path = "../prelude", default-features = false } +ink_macro = { version = "4.0.1", 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 a6bd06a805..d145d61a44 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" +version = "4.0.1" 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", path = "../../primitives" } -ir = { version = "4.0.0", package = "ink_ir", path = "../ir", default-features = false } +ink_primitives = { version = "4.0.1", path = "../../primitives" } +ir = { version = "4.0.1", 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 d95aae3684..6e34f69bd0 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" +version = "4.0.1" authors = ["Parity Technologies ", "Robin Freyler "] edition = "2021" diff --git a/crates/ink/macro/Cargo.toml b/crates/ink/macro/Cargo.toml index 0fee593c1b..d193f317a0 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" +version = "4.0.1" 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", path = "../ir", default-features = false } -ink_codegen = { version = "4.0.0", path = "../codegen", default-features = false } -ink_primitives = { version = "4.0.0", path = "../../primitives/", default-features = false } +ink_ir = { version = "4.0.1", path = "../ir", default-features = false } +ink_codegen = { version = "4.0.1", path = "../codegen", default-features = false } +ink_primitives = { version = "4.0.1", 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 68e441a3b4..15ac2936b3 100644 --- a/crates/metadata/Cargo.toml +++ b/crates/metadata/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink_metadata" -version = "4.0.0" +version = "4.0.1" 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", path = "../prelude/", default-features = false } -ink_primitives = { version = "4.0.0", path = "../primitives/", default-features = false } +ink_prelude = { version = "4.0.1", path = "../prelude/", default-features = false } +ink_primitives = { version = "4.0.1", 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 051ce919f4..f6452b9d6f 100644 --- a/crates/prelude/Cargo.toml +++ b/crates/prelude/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink_prelude" -version = "4.0.0" +version = "4.0.1" authors = ["Parity Technologies ", "Robin Freyler "] edition = "2021" diff --git a/crates/primitives/Cargo.toml b/crates/primitives/Cargo.toml index 90f8e9a175..e76e2c897f 100644 --- a/crates/primitives/Cargo.toml +++ b/crates/primitives/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink_primitives" -version = "4.0.0" +version = "4.0.1" 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", path = "../prelude/", default-features = false } +ink_prelude = { version = "4.0.1", 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 9ac67ef2b5..8ba43a6c05 100644 --- a/crates/storage/Cargo.toml +++ b/crates/storage/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink_storage" -version = "4.0.0" +version = "4.0.1" 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", path = "../env/", default-features = false } -ink_metadata = { version = "4.0.0", path = "../metadata/", default-features = false, features = ["derive"], optional = true } -ink_primitives = { version = "4.0.0", path = "../primitives/", default-features = false } -ink_storage_traits = { version = "4.0.0", path = "traits", default-features = false } -ink_prelude = { version = "4.0.0", path = "../prelude/", default-features = false } +ink_env = { version = "4.0.1", path = "../env/", default-features = false } +ink_metadata = { version = "4.0.1", path = "../metadata/", default-features = false, features = ["derive"], optional = true } +ink_primitives = { version = "4.0.1", path = "../primitives/", default-features = false } +ink_storage_traits = { version = "4.0.1", path = "traits", default-features = false } +ink_prelude = { version = "4.0.1", 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 e0cb11f043..3b3f1a6b2f 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" +version = "4.0.1" 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", path = "../../metadata", default-features = false, features = ["derive"], optional = true } -ink_primitives = { version = "4.0.0", path = "../../primitives", default-features = false } -ink_prelude = { version = "4.0.0", path = "../../prelude", default-features = false } +ink_metadata = { version = "4.0.1", path = "../../metadata", default-features = false, features = ["derive"], optional = true } +ink_primitives = { version = "4.0.1", path = "../../primitives", default-features = false } +ink_prelude = { version = "4.0.1", 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/integration-tests/contract-terminate/Cargo.toml b/integration-tests/contract-terminate/Cargo.toml index 1addc4d619..d2834eb3c9 100644 --- a/integration-tests/contract-terminate/Cargo.toml +++ b/integration-tests/contract-terminate/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract_terminate" -version = "4.0.0" +version = "4.0.1" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/integration-tests/contract-transfer/Cargo.toml b/integration-tests/contract-transfer/Cargo.toml index ece4b4ad93..1b54492d75 100644 --- a/integration-tests/contract-transfer/Cargo.toml +++ b/integration-tests/contract-transfer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract_transfer" -version = "4.0.0" +version = "4.0.1" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/integration-tests/custom-environment/Cargo.toml b/integration-tests/custom-environment/Cargo.toml index 242d04e5f0..514d7ada7b 100644 --- a/integration-tests/custom-environment/Cargo.toml +++ b/integration-tests/custom-environment/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "custom-environment" -version = "4.0.0" +version = "4.0.1" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/integration-tests/custom_allocator/Cargo.toml b/integration-tests/custom_allocator/Cargo.toml index 9612237795..b77054071e 100755 --- a/integration-tests/custom_allocator/Cargo.toml +++ b/integration-tests/custom_allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "custom_allocator" -version = "4.0.0" +version = "4.0.1" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/integration-tests/delegator/Cargo.toml b/integration-tests/delegator/Cargo.toml index b8db2fbb75..e1856d39a3 100644 --- a/integration-tests/delegator/Cargo.toml +++ b/integration-tests/delegator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "delegator" -version = "4.0.0" +version = "4.0.1" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/integration-tests/delegator/accumulator/Cargo.toml b/integration-tests/delegator/accumulator/Cargo.toml index 1737c20542..f460417f81 100644 --- a/integration-tests/delegator/accumulator/Cargo.toml +++ b/integration-tests/delegator/accumulator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "accumulator" -version = "4.0.0" +version = "4.0.1" authors = ["Parity Technologies "] edition = "2021" diff --git a/integration-tests/delegator/adder/Cargo.toml b/integration-tests/delegator/adder/Cargo.toml index 6f3b423c91..2512c752b2 100644 --- a/integration-tests/delegator/adder/Cargo.toml +++ b/integration-tests/delegator/adder/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "adder" -version = "4.0.0" +version = "4.0.1" authors = ["Parity Technologies "] edition = "2021" diff --git a/integration-tests/delegator/subber/Cargo.toml b/integration-tests/delegator/subber/Cargo.toml index 39540d6577..475e069112 100644 --- a/integration-tests/delegator/subber/Cargo.toml +++ b/integration-tests/delegator/subber/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "subber" -version = "4.0.0" +version = "4.0.1" authors = ["Parity Technologies "] edition = "2021" diff --git a/integration-tests/dns/Cargo.toml b/integration-tests/dns/Cargo.toml index 858d21e339..9eb3733ec8 100644 --- a/integration-tests/dns/Cargo.toml +++ b/integration-tests/dns/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dns" -version = "4.0.0" +version = "4.0.1" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/integration-tests/erc1155/Cargo.toml b/integration-tests/erc1155/Cargo.toml index d144477a62..2e52ef6642 100644 --- a/integration-tests/erc1155/Cargo.toml +++ b/integration-tests/erc1155/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "erc1155" -version = "4.0.0" +version = "4.0.1" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/integration-tests/erc20/Cargo.toml b/integration-tests/erc20/Cargo.toml index 6897fa22e6..2389805c87 100644 --- a/integration-tests/erc20/Cargo.toml +++ b/integration-tests/erc20/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "erc20" -version = "4.0.0" +version = "4.0.1" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/integration-tests/erc721/Cargo.toml b/integration-tests/erc721/Cargo.toml index 2be9c3e7a5..f8d1cca5f3 100644 --- a/integration-tests/erc721/Cargo.toml +++ b/integration-tests/erc721/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "erc721" -version = "4.0.0" +version = "4.0.1" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/integration-tests/flipper/Cargo.toml b/integration-tests/flipper/Cargo.toml index 89354f77dd..324f87ddae 100644 --- a/integration-tests/flipper/Cargo.toml +++ b/integration-tests/flipper/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "flipper" -version = "4.0.0" +version = "4.0.1" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/integration-tests/incrementer/Cargo.toml b/integration-tests/incrementer/Cargo.toml index 57ce4b62c3..173eb53c80 100644 --- a/integration-tests/incrementer/Cargo.toml +++ b/integration-tests/incrementer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "incrementer" -version = "4.0.0" +version = "4.0.1" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/integration-tests/lang-err-integration-tests/call-builder/Cargo.toml b/integration-tests/lang-err-integration-tests/call-builder/Cargo.toml index 73b41c2939..008615d68d 100755 --- a/integration-tests/lang-err-integration-tests/call-builder/Cargo.toml +++ b/integration-tests/lang-err-integration-tests/call-builder/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "call_builder" -version = "4.0.0" +version = "4.0.1" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/integration-tests/lang-err-integration-tests/constructors-return-value/Cargo.toml b/integration-tests/lang-err-integration-tests/constructors-return-value/Cargo.toml index 3d3edf83b1..6d4dfa6bce 100644 --- a/integration-tests/lang-err-integration-tests/constructors-return-value/Cargo.toml +++ b/integration-tests/lang-err-integration-tests/constructors-return-value/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "constructors_return_value" -version = "4.0.0" +version = "4.0.1" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/integration-tests/lang-err-integration-tests/contract-ref/Cargo.toml b/integration-tests/lang-err-integration-tests/contract-ref/Cargo.toml index ed9255d381..8801797b2f 100755 --- a/integration-tests/lang-err-integration-tests/contract-ref/Cargo.toml +++ b/integration-tests/lang-err-integration-tests/contract-ref/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract_ref" -version = "4.0.0" +version = "4.0.1" authors = ["Parity Technologies "] edition = "2021" diff --git a/integration-tests/lang-err-integration-tests/integration-flipper/Cargo.toml b/integration-tests/lang-err-integration-tests/integration-flipper/Cargo.toml index 21646e65c3..fa037e62d5 100644 --- a/integration-tests/lang-err-integration-tests/integration-flipper/Cargo.toml +++ b/integration-tests/lang-err-integration-tests/integration-flipper/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "integration_flipper" -version = "4.0.0" +version = "4.0.1" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/integration-tests/mapping_integration_tests/Cargo.toml b/integration-tests/mapping_integration_tests/Cargo.toml index 5f4143be05..ce9d51ce89 100755 --- a/integration-tests/mapping_integration_tests/Cargo.toml +++ b/integration-tests/mapping_integration_tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mapping-integration-tests" -version = "4.0.0" +version = "4.0.1" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/integration-tests/mother/Cargo.toml b/integration-tests/mother/Cargo.toml index a87164ec45..4e322fcc51 100755 --- a/integration-tests/mother/Cargo.toml +++ b/integration-tests/mother/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "mother" description = "Mother of all contracts" -version = "4.0.0" +version = "4.0.1" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/integration-tests/multisig/Cargo.toml b/integration-tests/multisig/Cargo.toml index 56d1eca490..76eeb76a86 100755 --- a/integration-tests/multisig/Cargo.toml +++ b/integration-tests/multisig/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "multisig" -version = "4.0.0" +version = "4.0.1" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/integration-tests/payment-channel/Cargo.toml b/integration-tests/payment-channel/Cargo.toml index 68dc1dd7be..ccfc677d21 100755 --- a/integration-tests/payment-channel/Cargo.toml +++ b/integration-tests/payment-channel/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "payment_channel" -version = "4.0.0" +version = "4.0.1" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/integration-tests/psp22-extension/Cargo.toml b/integration-tests/psp22-extension/Cargo.toml index 216535dbc9..ec09dbad0f 100755 --- a/integration-tests/psp22-extension/Cargo.toml +++ b/integration-tests/psp22-extension/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "psp22_extension" -version = "4.0.0" +version = "4.0.1" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/integration-tests/rand-extension/Cargo.toml b/integration-tests/rand-extension/Cargo.toml index b080d61375..1007ad2b03 100755 --- a/integration-tests/rand-extension/Cargo.toml +++ b/integration-tests/rand-extension/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rand_extension" -version = "4.0.0" +version = "4.0.1" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/integration-tests/trait-erc20/Cargo.toml b/integration-tests/trait-erc20/Cargo.toml index 1cf53e0421..b19515e7a4 100644 --- a/integration-tests/trait-erc20/Cargo.toml +++ b/integration-tests/trait-erc20/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trait_erc20" -version = "4.0.0" +version = "4.0.1" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/integration-tests/trait-flipper/Cargo.toml b/integration-tests/trait-flipper/Cargo.toml index 01e1baee7d..49d6a4265c 100644 --- a/integration-tests/trait-flipper/Cargo.toml +++ b/integration-tests/trait-flipper/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trait_flipper" -version = "4.0.0" +version = "4.0.1" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/integration-tests/trait-incrementer/Cargo.toml b/integration-tests/trait-incrementer/Cargo.toml index be097158f3..5f308627e5 100644 --- a/integration-tests/trait-incrementer/Cargo.toml +++ b/integration-tests/trait-incrementer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trait-incrementer" -version = "4.0.0" +version = "4.0.1" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/integration-tests/trait-incrementer/traits/Cargo.toml b/integration-tests/trait-incrementer/traits/Cargo.toml index 1002b4f40b..cd0f8d7431 100644 --- a/integration-tests/trait-incrementer/traits/Cargo.toml +++ b/integration-tests/trait-incrementer/traits/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "traits" -version = "4.0.0" +version = "4.0.1" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/integration-tests/upgradeable-contracts/forward-calls/Cargo.toml b/integration-tests/upgradeable-contracts/forward-calls/Cargo.toml index 499e3a5232..4173183631 100644 --- a/integration-tests/upgradeable-contracts/forward-calls/Cargo.toml +++ b/integration-tests/upgradeable-contracts/forward-calls/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "forward_calls" -version = "4.0.0" +version = "4.0.1" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/integration-tests/upgradeable-contracts/set-code-hash/Cargo.toml b/integration-tests/upgradeable-contracts/set-code-hash/Cargo.toml index 0915830872..27b102b19b 100644 --- a/integration-tests/upgradeable-contracts/set-code-hash/Cargo.toml +++ b/integration-tests/upgradeable-contracts/set-code-hash/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "incrementer" -version = "4.0.0" +version = "4.0.1" edition = "2021" authors = ["Parity Technologies "] publish = false diff --git a/integration-tests/upgradeable-contracts/set-code-hash/updated-incrementer/Cargo.toml b/integration-tests/upgradeable-contracts/set-code-hash/updated-incrementer/Cargo.toml index f140066583..0667cb79c3 100644 --- a/integration-tests/upgradeable-contracts/set-code-hash/updated-incrementer/Cargo.toml +++ b/integration-tests/upgradeable-contracts/set-code-hash/updated-incrementer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "updated-incrementer" -version = "4.0.0" +version = "4.0.1" edition = "2021" authors = ["Parity Technologies "] publish = false diff --git a/linting/Cargo.toml b/linting/Cargo.toml index bd5fad9e31..525394021b 100644 --- a/linting/Cargo.toml +++ b/linting/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink_linting" -version = "4.0.0" +version = "4.0.1" authors = ["Parity Technologies "] edition = "2021" publish = false From c2db6b6b8ba1770cfda0b12f3a96bb6bcdb5884b Mon Sep 17 00:00:00 2001 From: SkymanOne Date: Mon, 27 Feb 2023 13:15:28 +0000 Subject: [PATCH 2/6] fix typo --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f620fe71fb..9ba742c60d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Version 4.0.1 -Introduces small bug fix. +Introduces a small bug fix. ### Fixed - Fixing `ManualKey<0>` to act properly - [#1670](https://github.com/paritytech/ink/pull/1670) From 388eef89059a135b28f2312667fc744f9a0c8ce8 Mon Sep 17 00:00:00 2001 From: SkymanOne Date: Mon, 27 Feb 2023 13:18:00 +0000 Subject: [PATCH 3/6] fix typos --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0bd7384eaf..8c89d45fdb 100644 --- a/README.md +++ b/README.md @@ -179,7 +179,6 @@ mod flipper { } } ``` -4.0.14.0.1 The [`flipper/src/lib.rs`](https://github.com/paritytech/ink-examples/blob/v4.0.1/flipper/lib.rs) file in our examples folder contains exactly this code. Run `cargo contract build` to build your first ink! smart contract. @@ -241,11 +240,11 @@ See [here](https://paritytech.github.io/ink/ink/attr.contract.html) for a more d ### Trait Definitions -Use `#[ink::trait_definition]` to define your very own trait definitions that are then 4.0.1mentable by ink! smart contracts. +Use `#[ink::trait_definition]` to define your very own trait definitions that are then implementable by ink! smart contracts. See e.g. the [`examples/trait-erc20`](https://github.com/paritytech/ink-examples/blob/v4.0.1/trait-erc20/lib.rs#L20-L22) contract on how to utilize it or [the documentation](https://paritytech.github.io/ink/ink/attr.trait_definition.html) for details. ### Off-chain Testing -4.0.1 + The `#[ink::test]` procedural macro enables off-chain testing. See e.g. the [`examples/erc20`](https://github.com/paritytech/ink-examples/blob/v4.0.1/erc20/lib.rs#L276-L277) contract on how to utilize those or [the documentation](https://paritytech.github.io/ink/ink/attr.test.html) for details. ## Developer Documentation From f65cb6918adfd93b3f9795373760bea5b3a49b0e Mon Sep 17 00:00:00 2001 From: German Date: Mon, 27 Feb 2023 13:36:04 +0000 Subject: [PATCH 4/6] Update CHANGELOG.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Michael Müller --- CHANGELOG.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ba742c60d..d3459b14b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,8 +6,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Version 4.0.1 -Introduces a small bug fix. - ### Fixed - Fixing `ManualKey<0>` to act properly - [#1670](https://github.com/paritytech/ink/pull/1670) From 59f98cbe947bebee6f0c7b68943a5bfda46af4a1 Mon Sep 17 00:00:00 2001 From: SkymanOne Date: Mon, 27 Feb 2023 13:36:55 +0000 Subject: [PATCH 5/6] return Unreleased section --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d3459b14b8..ac0f0ebd96 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ 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.1 ### Fixed From 62efdb6d7daf2053849bd814f43030bd92d6cfbf Mon Sep 17 00:00:00 2001 From: SkymanOne Date: Mon, 27 Feb 2023 14:33:17 +0000 Subject: [PATCH 6/6] update CHANGELOG --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ac0f0ebd96..ea6b05ec67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Fixing `ManualKey<0>` to act properly - [#1670](https://github.com/paritytech/ink/pull/1670) +- Indicated latest release of `cargo-contract` in `e2e` crate ## Version 4.0.0