diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d3f4e86e1..996043d380 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,14 +4,98 @@ 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 + +The latest stable release of ink! is here πŸ₯³ + +This version brings a lot of usability improvements, making the language better suited +for the needs of production parachains. + +A couple of highlights include: +- Changes to how contract storage works, which significantly reduced the sizes of + contract binaries +- A new end-to-end testing framework, letting you easily write integration tests +- Changes to the metadata format, which (in part) makes error handling more expressive + +There's a lot more to dig through, so take some time to poke around the `CHANGELOG` +(including the `4.0.0-alpha` and `4.0.0-beta` releases). + +You may notice there have been a few breaking changes. No need to be scared though, we +wrote up a [migration guide](https://use.ink/faq/migrating-from-ink-3-to-4) covering all +of the breaking changes and how to update your ink! 3.x contract accordingly. + +Thanks to everyone that helped make this release possible ❀️ + +### Compatibility + +In order to build contracts which use ink! `v4.0.0` you need to use +`cargo-contract` +[`v2.0.0`](https://github.com/paritytech/cargo-contract/releases/tag/v2.0.0). +You can install it as follows: + +`cargo install cargo-contract --forced --locked` + +You will also need to use a version of [`pallet-contracts`](https://github.com/paritytech/substrate/tree/master/frame/contracts) +later than [polkadot-v0.9.37](https://github.com/paritytech/substrate/tree/polkadot-v0.9.37) +in your node. + +The [`v0.24.0`](https://github.com/paritytech/substrate-contracts-node/releases/tag/v0.24.0) +release of the [`substrate-contracts-node`](https://github.com/paritytech/substrate-contracts-node) is +compatible with the ink! `4.0.0` release. + +For full compatibility requirements see the [migration guide](https://use.ink/faq/migrating-from-ink-3-to-4/#compatibility). ### Added -- Support custom environment in E2E tests - [#1645](https://github.com/paritytech/ink/pull/1645) +- Add `Mapping::contains(key)` and `Mapping::insert_return_size(key, val)` β€’ [#1224](https://github.com/paritytech/ink/pull/1224) +- Add [`payment-channel`](https://github.com/paritytech/ink/tree/master/examples/payment-channel) example β€’ [#1248](https://github.com/paritytech/ink/pull/1248) (thanks [@kanishkatn](https://github.com/kanishkatn)!) +- Add `version` field to ink! metadata β€’ [#1313](https://github.com/paritytech/ink/pull/1313) +- The `rand-extension` example has been adapted to an updated version of the `ChainExtension` API β€’ [#1356](https://github.com/paritytech/ink/pull/1356) +- Add `ink_env::pay_with_call!` helper macro for off-chain emulation of sending payments with contract message calls β€’ [#1379](https://github.com/paritytech/ink/pull/1379) +- Allow using `Result` as a return type in constructors β€’ [#1446](https://github.com/paritytech/ink/pull/1446) +- Add `Mapping::take()` function allowing to get a value removing it from storage β€’ [#1461](https://github.com/paritytech/ink/pull/1461) +- Add E2E testing framework MVP β€’ [#1395](https://github.com/paritytech/ink/pull/1395) +- Add E2E tests for `Mapping` functions - [#1492](https://github.com/paritytech/ink/pull/1492) +- E2E: expose call dry-run method β€’ [#1624](https://github.com/paritytech/ink/pull/1624) +- Make cross-contract callee non-optional β€’ [#1636](https://github.com/paritytech/ink/pull/1636) +- Support custom environment in E2E tests - [#1645](https://github.com/paritytech/ink/pull/1645) (thanks [@pmikolajczyk41](https://github.com/pmikolajczyk41)!) ### Changed +- Contract size optimization in case contract doesn't accept payment β€’ [#1267](https://github.com/paritytech/ink/pull/1267) (thanks [@xgreenx](https://github.com/xgreenx)!) +- Move ink! linter into `ink` repository β€’ [#1361](https://github.com/paritytech/ink/pull/1267) +- Introduce `ink` entrance crate β€’ [#1223](https://github.com/paritytech/ink/pull/1223) +- Use `XXH32` instead of `sha256` for calculating storage keys β€’ [#1393](https://github.com/paritytech/ink/pull/1393) +- Storage Refactoring β€’ [#1331](https://github.com/paritytech/ink/pull/1331) +- Add support for language level errors (`LangError`) β€’ [#1450](https://github.com/paritytech/ink/pull/1450) +- Return `LangError`s from constructors β€’ [#1504](https://github.com/paritytech/ink/pull/1504) +- Update `scale-info` requirement to `2.3` β€’ [#1467](https://github.com/paritytech/ink/pull/1467) +- Merge `Mapping::insert(key, val)` and `Mapping::insert_return_size(key, val)` into one method - [#1463](https://github.com/paritytech/ink/pull/1463) +- FFI: no more `__unstable__` wasm import module β€’ [#1522](https://github.com/paritytech/ink/pull/1522) +- Clean up CallBuilder `return()` type β€’ [#1525](https://github.com/paritytech/ink/pull/1525) +- Fix trait message return type metadata β€’ [#1531](https://github.com/paritytech/ink/pull/1531) +- Bump Dylint dependencies β€’ [#1551](https://github.com/paritytech/ink/pull/1551) +- Stabilize `take_storage` β€’ [#1568](https://github.com/paritytech/ink/pull/1568) +- Chain Extension: Evaluation of method return type at compile time β€’ [#1569](https://github.com/paritytech/ink/pull/1569) +- Make more functions be const β€’ [#1574](https://github.com/paritytech/ink/pull/1574) (thanks [@yjhmelody](https://github.com/yjhmelody)!) +- Unify fallible and non fallible `instantiate` methods β€’ [#1591](https://github.com/paritytech/ink/pull/1591) +- Make `CallBuilder` and `CreateBuilder` error handling optional β€’ [#1602](https://github.com/paritytech/ink/pull/1602) +- Rename `CallBuilder::fire()` method to `invoke()` β€’ [#1604](https://github.com/paritytech/ink/pull/1604) +- chore: add minimum rust version to the ink crate β€’ [#1609](https://github.com/paritytech/ink/pull/1609) (thanks [@Kurtsley](https://github.com/Kurtsley)!) +- 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) - E2E: spawn a separate contracts node instance per test β€’ [#1642](https://github.com/paritytech/ink/pull/1642) +### Fixed +- Trim single whitespace prefix in the metadata `docs` field β€’ [#1385](https://github.com/paritytech/ink/pull/1385) +- Allow pay_with_call to take multiple arguments β€’ [#1401](https://github.com/paritytech/ink/pull/1401) +- Add Determinism enum from pallet-contracts β€’ [#1547](https://github.com/paritytech/ink/pull/1547) +- Added missed `WhereClosure` for the generics into `storage_item` β€’ [#1536](https://github.com/paritytech/ink/pull/1536) (thanks [@xgreenx](https://github.com/xgreenx)!) + +### Removed +- Implement `ecdsa_to_eth_address()` and remove `eth_compatibility` crate β€’ [#1233](https://github.com/paritytech/ink/pull/1233) +- Remove `wee-alloc` β€’ [#1403](https://github.com/paritytech/ink/pull/1403) +- Remove `ink_env::random` function β€’ [#1442](https://github.com/paritytech/ink/pull/1442) +- Remove `Default` implementation for AccountId β€’ [#1255](https://github.com/paritytech/ink/pull/1255) + ## Version 4.0.0-rc The first release candidate is here! This is the first release which could become the final @@ -41,7 +125,7 @@ breaking or otherwise. - Remove `Default` implementation for AccountId β€’ [#1255](https://github.com/paritytech/ink/pull/1255) ## Version 4.0.0-beta.1 -The coolest feature included in this release is the first first published version of +The coolest feature included in this release is the first published version of ink!'s native ["end-to-end" (E2E) testing framework](https://github.com/paritytech/ink/issues/1234). This enables testing of a contract by deploying and calling it on a Substrate node with @@ -204,6 +288,7 @@ through a feature flag. `wee-alloc` is no longer maintained and we removed suppo ### Changed - Introduce `ink` entrance crate β€’ [#1223](https://github.com/paritytech/ink/pull/1223) - Use `XXH32` instead of `sha256` for calculating storage keys β€’ [#1393](https://github.com/paritytech/ink/pull/1393) +- Storage Refactoring β€’ [#1331](https://github.com/paritytech/ink/pull/1331) ### Fixed - Trim single whitespace prefix in the metadata `docs` field β€’ [#1385](https://github.com/paritytech/ink/pull/1385) diff --git a/crates/allocator/Cargo.toml b/crates/allocator/Cargo.toml index 2465682497..93c760e4eb 100644 --- a/crates/allocator/Cargo.toml +++ b/crates/allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink_allocator" -version = "4.0.0-rc" +version = "4.0.0" authors = ["Parity Technologies ", "Robin Freyler "] edition = "2021" diff --git a/crates/e2e/Cargo.toml b/crates/e2e/Cargo.toml index 622cc1a1fd..416c84a9c6 100644 --- a/crates/e2e/Cargo.toml +++ b/crates/e2e/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink_e2e" -version = "4.0.0-rc" +version = "4.0.0" 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-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" } +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" } contract-metadata = { version = "2.0.0-rc.1" } funty = "2.0.0" diff --git a/crates/e2e/macro/Cargo.toml b/crates/e2e/macro/Cargo.toml index 9fa931e054..2cb830bda7 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-rc" +version = "4.0.0" authors = ["Parity Technologies "] edition = "2021" @@ -19,8 +19,8 @@ name = "ink_e2e_macro" proc-macro = true [dependencies] -ink_ir = { version = "4.0.0-rc", path = "../../ink/ir" } -contract-build = "2.0.0-rc.1" +ink_ir = { version = "4.0.0", path = "../../ink/ir" } +contract-build = "2.0.0" derive_more = "0.99.17" env_logger = "0.10.0" log = "0.4.17" diff --git a/crates/engine/Cargo.toml b/crates/engine/Cargo.toml index cba61f5bbb..7ce92c97a7 100644 --- a/crates/engine/Cargo.toml +++ b/crates/engine/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink_engine" -version = "4.0.0-rc" +version = "4.0.0" 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-rc", path = "../../crates/primitives", default-features = false } +ink_primitives = { version = "4.0.0", 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 ae77b98de1..d5785848d7 100644 --- a/crates/env/Cargo.toml +++ b/crates/env/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink_env" -version = "4.0.0-rc" +version = "4.0.0" 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-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 } +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 } 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-rc", path = "../engine/", optional = true } +ink_engine = { version = "4.0.0", 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 b3e5813694..900ffc0b08 100644 --- a/crates/ink/Cargo.toml +++ b/crates/ink/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink" -version = "4.0.0-rc" +version = "4.0.0" 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-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 } +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 } 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 8452718f9a..a6bd06a805 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-rc" +version = "4.0.0" 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-rc", path = "../../primitives" } -ir = { version = "4.0.0-rc", package = "ink_ir", path = "../ir", default-features = false } +ink_primitives = { version = "4.0.0", path = "../../primitives" } +ir = { version = "4.0.0", 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 9ad34a022c..d95aae3684 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-rc" +version = "4.0.0" authors = ["Parity Technologies ", "Robin Freyler "] edition = "2021" diff --git a/crates/ink/macro/Cargo.toml b/crates/ink/macro/Cargo.toml index ce90e59b8a..0fee593c1b 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-rc" +version = "4.0.0" 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-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 } +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 } 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 ee4515474a..68e441a3b4 100644 --- a/crates/metadata/Cargo.toml +++ b/crates/metadata/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink_metadata" -version = "4.0.0-rc" +version = "4.0.0" 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-rc", path = "../prelude/", default-features = false } -ink_primitives = { version = "4.0.0-rc", path = "../primitives/", 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 } 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 aad928592e..051ce919f4 100644 --- a/crates/prelude/Cargo.toml +++ b/crates/prelude/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink_prelude" -version = "4.0.0-rc" +version = "4.0.0" authors = ["Parity Technologies ", "Robin Freyler "] edition = "2021" diff --git a/crates/primitives/Cargo.toml b/crates/primitives/Cargo.toml index 599e4fcae8..90f8e9a175 100644 --- a/crates/primitives/Cargo.toml +++ b/crates/primitives/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink_primitives" -version = "4.0.0-rc" +version = "4.0.0" 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-rc", path = "../prelude/", default-features = false } +ink_prelude = { version = "4.0.0", 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 3324724730..9ac67ef2b5 100644 --- a/crates/storage/Cargo.toml +++ b/crates/storage/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink_storage" -version = "4.0.0-rc" +version = "4.0.0" 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-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 } +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 } 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 4762f9a04c..e0cb11f043 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-rc" +version = "4.0.0" 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-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 } +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 } 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/examples/contract-terminate/Cargo.toml b/examples/contract-terminate/Cargo.toml index 10ddecd289..1addc4d619 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-rc" +version = "4.0.0" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/contract-transfer/Cargo.toml b/examples/contract-transfer/Cargo.toml index 201f6bfe5e..ece4b4ad93 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-rc" +version = "4.0.0" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/custom-environment/Cargo.toml b/examples/custom-environment/Cargo.toml index 98810d18ae..242d04e5f0 100644 --- a/examples/custom-environment/Cargo.toml +++ b/examples/custom-environment/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "custom-environment" -version = "4.0.0-rc" +version = "4.0.0" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/delegator/Cargo.toml b/examples/delegator/Cargo.toml index dab779fca6..b8db2fbb75 100644 --- a/examples/delegator/Cargo.toml +++ b/examples/delegator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "delegator" -version = "4.0.0-rc" +version = "4.0.0" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/delegator/accumulator/Cargo.toml b/examples/delegator/accumulator/Cargo.toml index 4320301cc9..1737c20542 100644 --- a/examples/delegator/accumulator/Cargo.toml +++ b/examples/delegator/accumulator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "accumulator" -version = "4.0.0-rc" +version = "4.0.0" authors = ["Parity Technologies "] edition = "2021" diff --git a/examples/delegator/adder/Cargo.toml b/examples/delegator/adder/Cargo.toml index 4277a3f962..6f3b423c91 100644 --- a/examples/delegator/adder/Cargo.toml +++ b/examples/delegator/adder/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "adder" -version = "4.0.0-rc" +version = "4.0.0" authors = ["Parity Technologies "] edition = "2021" diff --git a/examples/delegator/subber/Cargo.toml b/examples/delegator/subber/Cargo.toml index dd1528fba5..39540d6577 100644 --- a/examples/delegator/subber/Cargo.toml +++ b/examples/delegator/subber/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "subber" -version = "4.0.0-rc" +version = "4.0.0" authors = ["Parity Technologies "] edition = "2021" diff --git a/examples/dns/Cargo.toml b/examples/dns/Cargo.toml index b3220929da..858d21e339 100644 --- a/examples/dns/Cargo.toml +++ b/examples/dns/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dns" -version = "4.0.0-rc" +version = "4.0.0" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/erc1155/Cargo.toml b/examples/erc1155/Cargo.toml index c712787ba5..d144477a62 100644 --- a/examples/erc1155/Cargo.toml +++ b/examples/erc1155/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "erc1155" -version = "4.0.0-rc" +version = "4.0.0" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/erc20/Cargo.toml b/examples/erc20/Cargo.toml index ab215f6f27..6897fa22e6 100644 --- a/examples/erc20/Cargo.toml +++ b/examples/erc20/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "erc20" -version = "4.0.0-rc" +version = "4.0.0" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/erc721/Cargo.toml b/examples/erc721/Cargo.toml index ad5666e933..2be9c3e7a5 100644 --- a/examples/erc721/Cargo.toml +++ b/examples/erc721/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "erc721" -version = "4.0.0-rc" +version = "4.0.0" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/flipper/Cargo.toml b/examples/flipper/Cargo.toml index 78a5acd910..89354f77dd 100644 --- a/examples/flipper/Cargo.toml +++ b/examples/flipper/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "flipper" -version = "4.0.0-rc" +version = "4.0.0" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/incrementer/Cargo.toml b/examples/incrementer/Cargo.toml index 580af7198b..57ce4b62c3 100644 --- a/examples/incrementer/Cargo.toml +++ b/examples/incrementer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "incrementer" -version = "4.0.0-rc" +version = "4.0.0" 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 88a3c924c0..73b41c2939 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-rc" +version = "4.0.0" 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 e37ee7d3b7..3d3edf83b1 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-rc" +version = "4.0.0" 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 602cf6852b..ed9255d381 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-rc" +version = "4.0.0" 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 333b1c8877..21646e65c3 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-rc" +version = "4.0.0" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/mapping_integration_tests/Cargo.toml b/examples/mapping_integration_tests/Cargo.toml index 43e87109d0..5f4143be05 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-rc" +version = "4.0.0" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/mother/Cargo.toml b/examples/mother/Cargo.toml index 134ac82822..a87164ec45 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-rc" +version = "4.0.0" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/multisig/Cargo.toml b/examples/multisig/Cargo.toml index 17c3f9018b..56d1eca490 100755 --- a/examples/multisig/Cargo.toml +++ b/examples/multisig/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "multisig" -version = "4.0.0-rc" +version = "4.0.0" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/payment-channel/Cargo.toml b/examples/payment-channel/Cargo.toml index b9a81693c9..68dc1dd7be 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-rc" +version = "4.0.0" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/psp22-extension/Cargo.toml b/examples/psp22-extension/Cargo.toml index 2b36dd1be9..216535dbc9 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-rc" +version = "4.0.0" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/rand-extension/Cargo.toml b/examples/rand-extension/Cargo.toml index aa1fbf920f..b080d61375 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-rc" +version = "4.0.0" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/trait-erc20/Cargo.toml b/examples/trait-erc20/Cargo.toml index 3e2e0d2f7e..1cf53e0421 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-rc" +version = "4.0.0" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/trait-flipper/Cargo.toml b/examples/trait-flipper/Cargo.toml index 9c530b9831..01e1baee7d 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-rc" +version = "4.0.0" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/trait-incrementer/Cargo.toml b/examples/trait-incrementer/Cargo.toml index f5945e7d9b..be097158f3 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-rc" +version = "4.0.0" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/examples/trait-incrementer/traits/Cargo.toml b/examples/trait-incrementer/traits/Cargo.toml index d6fdd2d144..1002b4f40b 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-rc" +version = "4.0.0" 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 a778c80f72..499e3a5232 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-rc" +version = "4.0.0" 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 3e00ad1945..0915830872 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-rc" +version = "4.0.0" 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 5756e24d35..f140066583 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-rc" +version = "4.0.0" edition = "2021" authors = ["Parity Technologies "] publish = false diff --git a/linting/Cargo.toml b/linting/Cargo.toml index 104c31296d..bd5fad9e31 100644 --- a/linting/Cargo.toml +++ b/linting/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink_linting" -version = "4.0.0-rc" +version = "4.0.0" authors = ["Parity Technologies "] edition = "2021" publish = false