From d4765c9564890ed13a796306d3d13d70af068e69 Mon Sep 17 00:00:00 2001 From: Sebastian Miasojed Date: Tue, 12 Mar 2024 10:22:06 +0100 Subject: [PATCH] Release v4.0.0 (#1518) --- CHANGELOG.md | 68 +++++++++++++++ Cargo.lock | 106 ++++++++++++------------ crates/analyze/Cargo.toml | 4 +- crates/build/Cargo.toml | 4 +- crates/build/templates/new/_Cargo.toml | 2 +- crates/cargo-contract/Cargo.toml | 16 ++-- crates/extrinsics/Cargo.toml | 14 ++-- crates/metadata/Cargo.toml | 2 +- crates/metadata/compatibility_list.json | 2 +- crates/transcode/Cargo.toml | 10 +-- 10 files changed, 148 insertions(+), 80 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c6ab44627..d3677ee14 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,74 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [4.0.0] + +This `cargo-contract` release is compatible with Rust versions `>=1.70`and ink! versions `>=5.0.0` + +_ℹ️ We have created a migration guide from ink! 4 to ink! 5. It also contains an +overview over newly added features in this release of `cargo-contract` and explains +e.g. the newly added contract verification in more detail. + +You can view it [here](https://use.ink/faq/migrating-from-ink-4-to-5)._ + +**Notable changes:** +- Verifiable builds inside a docker container - [#1148](/~https://github.com/paritytech/cargo-contract/pull/1148) +- Extrinsics extracted to separate crate - [#1181](/~https://github.com/paritytech/cargo-contract/pull/1181) +- Fix building contracts with Rust >= 1.70: enable `sign_ext` Wasm opcode - [#1189](/~https://github.com/paritytech/cargo-contract/pull/1189) +- Support for multiple versions of `pallet-contracts` - [#1399](/~https://github.com/paritytech/cargo-contract/pull/1399) + +### Added +- Export `ink_metadata` types in `transcode` crate - [#1522](/~https://github.com/paritytech/cargo-contract/pull/1522) +- Improved error message for Strings as CLI arguments - [#1492](/~https://github.com/paritytech/cargo-contract/pull/1492) +- Add a user-friendly view of contract storage data in the form of a table - [#1414](/~https://github.com/paritytech/cargo-contract/pull/1414) +- Add `rpc` command - [#1458](/~https://github.com/paritytech/cargo-contract/pull/1458) +- Add schema generation and verification - [#1404](/~https://github.com/paritytech/cargo-contract/pull/1404) +- Compare `Environment` types against the node - [#1377](/~https://github.com/paritytech/cargo-contract/pull/1377) +- Detect `INK_STATIC_BUFFER_SIZE` env var - [#1310](/~https://github.com/paritytech/cargo-contract/pull/1310) +- Add `verify` command - [#1306](/~https://github.com/paritytech/cargo-contract/pull/1306) +- Add `--binary` flag for `info` command - [#1311](/~https://github.com/paritytech/cargo-contract/pull/1311/) +- Add `--all` flag for `info` command - [#1319](/~https://github.com/paritytech/cargo-contract/pull/1319) +- Add contract language detection feature for `info` command - [#1329](/~https://github.com/paritytech/cargo-contract/pull/1329) +- Add warning message when using incompatible contract's ink! version - [#1334](/~https://github.com/paritytech/cargo-contract/pull/1334) +- Add workspace support -[#1358](/~https://github.com/paritytech/cargo-contract/pull/1358) +- Add `Storage Total Deposit` to `info` command output - [#1347](/~https://github.com/paritytech/cargo-contract/pull/1347) +- Add dynamic types support - [#1399](/~https://github.com/paritytech/cargo-contract/pull/1399) +- Basic storage inspection command - [#1395](/~https://github.com/paritytech/cargo-contract/pull/1395) +- Standardised verifiable builds - [#1148](/~https://github.com/paritytech/cargo-contract/pull/1148) +- Enable Wasm sign_ext [#1189](/~https://github.com/paritytech/cargo-contract/pull/1189) +- Expose extrinsics operations as a library - [#1181](/~https://github.com/paritytech/cargo-contract/pull/1181) +- Suggest valid message or constructor name, when misspelled - [#1162](/~https://github.com/paritytech/cargo-contract/pull/1162) +- Add flag -y as a shortcut for --skip-confirm - [#1127](/~https://github.com/paritytech/cargo-contract/pull/1127) +- Add command line argument --max-memory-pages - [#1128](/~https://github.com/paritytech/cargo-contract/pull/1128) +- Show Gas consumption by default for dry-runs - [#1121](/~https://github.com/paritytech/cargo-contract/pull/1121) + +### Changed +- Print type comparison warning only on `--verbose` - [#1483](/~https://github.com/paritytech/cargo-contract/pull/1483) +- Mandatory dylint-based lints - [#1412](/~https://github.com/paritytech/cargo-contract/pull/1412) +- Add a new tabular layout for the contract storage data - [#1485](/~https://github.com/paritytech/cargo-contract/pull/1485) +- Run wasm-opt first, remove sign_ext feature - [#1416](/~https://github.com/paritytech/cargo-contract/pull/1416) +- Bump `subxt` to `0.32.0` - [#1352](/~https://github.com/paritytech/cargo-contract/pull/1352) +- Remove check for compatible `scale` and `scale-info` versions - [#1370](/~https://github.com/paritytech/cargo-contract/pull/1370) +- Dry-run result output improvements - [1123](/~https://github.com/paritytech/cargo-contract/pull/1123) +- Display build progress with --output-json, print to stderr - [1211](/~https://github.com/paritytech/cargo-contract/pull/1211) +- Upgrade wasm-opt to 0.113 - [#1188](/~https://github.com/paritytech/cargo-contract/pull/1188) +- Update substrate dependencies - [#1149](/~https://github.com/paritytech/cargo-contract/pull/1149) +- Make output format of cargo contract info consistent with other subcommands - [#1120](/~https://github.com/paritytech/cargo-contract/pull/1120) +- set minimum supported `rust-version` to `1.70` - [#1241](/~https://github.com/paritytech/cargo-contract/pull/1241) + +### Fixed +- Fix parsing of docker STDOUT - [#1526](/~https://github.com/paritytech/cargo-contract/pull/1526) +- Remove docker container on build failure - [#1531](/~https://github.com/paritytech/cargo-contract/pull/1531) +- Fix build `--verifiable` command [#1511](/~https://github.com/paritytech/cargo-contract/pull/1511) +- Do not allow to execute calls on immutable contract messages - [#1397](/~https://github.com/paritytech/cargo-contract/pull/1397) +- Improve JSON Output for Upload and Remove Commands - [#1389](/~https://github.com/paritytech/cargo-contract/pull/1389) +- Fix for a Url to String conversion in `info` command - [#1330](/~https://github.com/paritytech/cargo-contract/pull/1330) +- Configure tty output correctly - [#1209](/~https://github.com/paritytech/cargo-contract/pull/1209) +- Set `lto = "thin"` for metadata build to fix `linkme` on macOS - [#1200](/~https://github.com/paritytech/cargo-contract/pull/1200) +- fix(build): An error when running with `--lint` - [#1174](/~https://github.com/paritytech/cargo-contract/pull/1174) +- Dry-run result output improvements - [#1123](/~https://github.com/paritytech/cargo-contract/pull/1123) +- feat: use `CARGO_ENCODED_RUSTFLAGS` instead of `RUSTFLAGS` - [#1124](/~https://github.com/paritytech/cargo-contract/pull/1124) + ## [4.0.0-rc.4] ### Added diff --git a/Cargo.lock b/Cargo.lock index 23e5e1110..01323deb5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -387,9 +387,9 @@ dependencies = [ [[package]] name = "async-io" -version = "2.3.1" +version = "2.3.2" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "8f97ab0c5b00a7cdbe5a371b9a782ee7be1316095885c8a4ea1daf490eb0ef65" +checksum = "dcccb0f599cfa2f8ace422d3555572f47424da5648a4382a9dd0310ff8210884" dependencies = [ "async-lock 3.3.0", "cfg-if", @@ -857,7 +857,7 @@ dependencies = [ [[package]] name = "cargo-contract" -version = "4.0.0-rc.4" +version = "4.0.0" dependencies = [ "anyhow", "assert_cmd", @@ -1121,7 +1121,7 @@ checksum = "cd7e35aee659887cbfb97aaf227ac12cad1a9d7c71e55ff3376839ed4e282d08" [[package]] name = "contract-analyze" -version = "4.0.0-rc.4" +version = "4.0.0" dependencies = [ "anyhow", "contract-metadata", @@ -1131,7 +1131,7 @@ dependencies = [ [[package]] name = "contract-build" -version = "4.0.0-rc.4" +version = "4.0.0" dependencies = [ "anyhow", "blake2", @@ -1153,7 +1153,7 @@ dependencies = [ "semver", "serde", "serde_json", - "strum 0.26.1", + "strum 0.26.2", "tempfile", "term_size", "tokio", @@ -1171,7 +1171,7 @@ dependencies = [ [[package]] name = "contract-extrinsics" -version = "4.0.0-rc.4" +version = "4.0.0" dependencies = [ "anyhow", "assert_cmd", @@ -1210,7 +1210,7 @@ dependencies = [ [[package]] name = "contract-metadata" -version = "4.0.0-rc.4" +version = "4.0.0" dependencies = [ "anyhow", "impl-serde", @@ -1223,7 +1223,7 @@ dependencies = [ [[package]] name = "contract-transcode" -version = "4.0.0-rc.4" +version = "4.0.0" dependencies = [ "anyhow", "assert_matches", @@ -2325,12 +2325,12 @@ dependencies = [ [[package]] name = "http-body-util" -version = "0.1.0" +version = "0.1.1" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "41cb79eb393015dadd30fc252023adb0b2400a0caee0fa2a077e6e21a551e840" +checksum = "0475f8b2ac86659c21b64320d5d653f9efe42acd2a4e560073ec61a155a34f1d" dependencies = [ "bytes", - "futures-util", + "futures-core", "http 1.1.0", "http-body 1.0.0", "pin-project-lite", @@ -2561,9 +2561,9 @@ checksum = "8e04e2fd2b8188ea827b32ef11de88377086d690286ab35747ef7f9bf3ccb590" [[package]] name = "ink" -version = "5.0.0-rc.3" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "529130b4fcd9b369c6eb710511c222fd33d165b1884d224855b18deb6b98f7a1" +checksum = "3d4a862aedbfda93175ddf75c9aaa2ae4c4b39ee5cee06c16d50bccce05bf5c7" dependencies = [ "derive_more", "ink_env", @@ -2579,18 +2579,18 @@ dependencies = [ [[package]] name = "ink_allocator" -version = "5.0.0-rc.3" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "4509501e7eaee3988cc7f22a044f3be6599c8532a303b80b0c5761c8d940e413" +checksum = "5cee56055bac6d928d425e944c5f3b69baa33c9635822fd1c00cd4afc70fde3e" dependencies = [ "cfg-if", ] [[package]] name = "ink_codegen" -version = "5.0.0-rc.3" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "32bbb845e3ee52b86d4b8907c6dd9de174bed224eb353fcf6bce92ae472b8fde" +checksum = "70a1f8473fa09e0f9b6f3cb3f8d18c07c14ebf9ea1f7cdfee270f009d45ee8e9" dependencies = [ "blake2", "derive_more", @@ -2610,9 +2610,9 @@ dependencies = [ [[package]] name = "ink_engine" -version = "5.0.0-rc.3" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "cc1967c441dd9cca93af1cea6601115b8ac5a596befd01090ddf68607259dc57" +checksum = "4f357e2e867f4e222ffc4015a6e61d1073548de89f70a4e36a8b0385562777fa" dependencies = [ "blake2", "derive_more", @@ -2626,9 +2626,9 @@ dependencies = [ [[package]] name = "ink_env" -version = "5.0.0-rc.3" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "42ff8e745688bfe87f6d5ecb39ad3e3d712465a756f4a7b76fd9214b8310061c" +checksum = "42cec50b7e4f8406aab25801b015d3802a52d76cfbe48ce11cfb4200fa88e296" dependencies = [ "blake2", "cfg-if", @@ -2656,9 +2656,9 @@ dependencies = [ [[package]] name = "ink_ir" -version = "5.0.0-rc.3" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "f25523803443aa3d7911407edca9f9de3b0bbc2ca60ede1f20b183619801e673" +checksum = "3b1ad2975551c4ed800af971289ed6d2c68ac41ffc03a42010b3e01d7360dfb2" dependencies = [ "blake2", "either", @@ -2672,9 +2672,9 @@ dependencies = [ [[package]] name = "ink_macro" -version = "5.0.0-rc.3" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "6f2c7267bc9b616447f4a29790f8a9083f574540b9a1cdde0530ceb2aa625180" +checksum = "aee1a546f37eae3b3cd223832d31702033c5369dcfa3405899587c110a7908d3" dependencies = [ "ink_codegen", "ink_ir", @@ -2688,9 +2688,9 @@ dependencies = [ [[package]] name = "ink_metadata" -version = "5.0.0-rc.3" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "1e7a6dbb5dee1ed28e022cd99866ae426cae4e8172d66f40349fe1c022034579" +checksum = "a98fcc0ff9292ff68c7ee7b84c93533c9ff13859ec3b148faa822e2da9954fe6" dependencies = [ "derive_more", "impl-serde", @@ -2705,18 +2705,18 @@ dependencies = [ [[package]] name = "ink_prelude" -version = "5.0.0-rc.3" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "ddfed647babce3e9f2ca528866b16edce8156b49550fa971bf11e52410239703" +checksum = "ea1734d058c80aa72e59c8ae75624fd8a51791efba21469f273156c0f4cad5c9" dependencies = [ "cfg-if", ] [[package]] name = "ink_primitives" -version = "5.0.0-rc.3" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "22dcad2912e7faadd116fc7952956c87225fe751a99da77d051a83d8fa404ca7" +checksum = "11ec35ef7f45e67a53b6142d7e7f18e6d9292d76c3a2a1da14cf8423e481813d" dependencies = [ "derive_more", "ink_prelude", @@ -2729,9 +2729,9 @@ dependencies = [ [[package]] name = "ink_storage" -version = "5.0.0-rc.3" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "c9f7a599f0fdb8ce93e8e8b86dde7dc1d951f2f78ccda5bfd883a5c8caa39d66" +checksum = "bbdb04cad74df858c05bc9cb6f30bbf12da33c3e2cb7ca211749c001fa761aa9" dependencies = [ "array-init", "cfg-if", @@ -2748,9 +2748,9 @@ dependencies = [ [[package]] name = "ink_storage_traits" -version = "5.0.0-rc.3" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "782122a6be4e7a0022d4e9ad70d99311adc64402635731436d26bbee5eb3c590" +checksum = "83ce49e3d2935fc1ec3e73117119712b187d3123339f6a31624e92f75fa2293d" dependencies = [ "ink_metadata", "ink_prelude", @@ -3999,9 +3999,9 @@ dependencies = [ [[package]] name = "reqwest" -version = "0.11.24" +version = "0.11.25" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "c6920094eb85afde5e4a138be3f2de8bbdf28000f0029e72c45025a56b042251" +checksum = "0eea5a9eb898d3783f17c6407670e3592fd174cb81a10e51d4c37f49450b9946" dependencies = [ "base64 0.21.7", "bytes", @@ -5357,11 +5357,11 @@ checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" [[package]] name = "strum" -version = "0.26.1" +version = "0.26.2" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "723b93e8addf9aa965ebe2d11da6d7540fa2283fcea14b3371ff055f7ba13f5f" +checksum = "5d8cec3501a5194c432b2b7976db6b7d10ec95c253208b45f83f7136aa985e29" dependencies = [ - "strum_macros 0.26.1", + "strum_macros 0.26.2", ] [[package]] @@ -5392,9 +5392,9 @@ dependencies = [ [[package]] name = "strum_macros" -version = "0.26.1" +version = "0.26.2" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "7a3417fc93d76740d974a01654a09777cb500428cc874ca9f45edfe0c4d4cd18" +checksum = "c6cf59daf282c0a494ba14fd21610a0325f9f90ec9d1231dea26bcb1d696c946" dependencies = [ "heck", "proc-macro2", @@ -5605,20 +5605,20 @@ dependencies = [ [[package]] name = "system-configuration" -version = "0.5.1" +version = "0.6.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7" +checksum = "658bc6ee10a9b4fcf576e9b0819d95ec16f4d2c02d39fd83ac1c8789785c4a42" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.4.2", "core-foundation", "system-configuration-sys", ] [[package]] name = "system-configuration-sys" -version = "0.5.0" +version = "0.6.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "a75fb188eb626b924683e3b95e3a48e63551fcfb51949de2f06a9d91dbee93c9" +checksum = "8e1d1b10ced5ca923a1fcb8d03e96b8d3268065d724548c0211415ff6ac6bac4" dependencies = [ "core-foundation-sys", "libc", @@ -5826,14 +5826,14 @@ dependencies = [ [[package]] name = "toml" -version = "0.8.10" +version = "0.8.11" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "9a9aad4a3066010876e8dcf5a8a06e70a558751117a145c6ce2b82c2e2054290" +checksum = "af06656561d28735e9c1cd63dfd57132c8155426aa6af24f36a00a351f88c48e" dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit 0.22.6", + "toml_edit 0.22.7", ] [[package]] @@ -5880,9 +5880,9 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.22.6" +version = "0.22.7" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "2c1b5fd4128cc8d3e0cb74d4ed9a9cc7c7284becd4df68f5f940e1ad123606f6" +checksum = "18769cd1cec395d70860ceb4d932812a0b4d06b1a4bb336745a4d21b9496e992" dependencies = [ "indexmap 2.2.5", "serde", diff --git a/crates/analyze/Cargo.toml b/crates/analyze/Cargo.toml index 98df17e08..1d80cddbb 100644 --- a/crates/analyze/Cargo.toml +++ b/crates/analyze/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract-analyze" -version = "4.0.0-rc.4" +version = "4.0.0" authors = ["Parity Technologies "] edition = "2021" @@ -14,7 +14,7 @@ keywords = ["wasm", "parity", "webassembly", "blockchain", "edsl"] include = ["Cargo.toml", "*.rs", "LICENSE"] [dependencies] -contract-metadata = { version = "4.0.0-rc.4", path = "../metadata" } +contract-metadata = { version = "4.0.0", path = "../metadata" } parity-wasm = { version = "0.45.0" } anyhow = "1.0.80" diff --git a/crates/build/Cargo.toml b/crates/build/Cargo.toml index 8508033b2..43009c541 100644 --- a/crates/build/Cargo.toml +++ b/crates/build/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract-build" -version = "4.0.0-rc.4" +version = "4.0.0" authors = ["Parity Technologies "] edition = "2021" @@ -44,7 +44,7 @@ tokio-stream = "0.1" bollard = "0.16" crossterm = "0.27.0" -contract-metadata = { version = "4.0.0-rc.4", path = "../metadata" } +contract-metadata = { version = "4.0.0", path = "../metadata" } [target.'cfg(unix)'.dependencies] uzers = "0.11" diff --git a/crates/build/templates/new/_Cargo.toml b/crates/build/templates/new/_Cargo.toml index bc251d367..202e87c10 100644 --- a/crates/build/templates/new/_Cargo.toml +++ b/crates/build/templates/new/_Cargo.toml @@ -5,7 +5,7 @@ authors = ["[your_name] <[your_email]>"] edition = "2021" [dependencies] -ink = { version = "5.0.0-rc.3", default-features = false } +ink = { version = "5.0.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2.6", default-features = false, features = ["derive"], optional = true } diff --git a/crates/cargo-contract/Cargo.toml b/crates/cargo-contract/Cargo.toml index 40f52f03f..f4b6c91ac 100644 --- a/crates/cargo-contract/Cargo.toml +++ b/crates/cargo-contract/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cargo-contract" -version = "4.0.0-rc.4" +version = "4.0.0" authors = ["Parity Technologies "] build = "build.rs" edition = "2021" @@ -18,11 +18,11 @@ include = [ ] [dependencies] -contract-build = { version = "4.0.0-rc.4", path = "../build" } -contract-extrinsics = { version = "4.0.0-rc.4", path = "../extrinsics" } -contract-transcode = { version = "4.0.0-rc.4", path = "../transcode" } -contract-metadata = { version = "4.0.0-rc.4", path = "../metadata" } -contract-analyze = { version = "4.0.0-rc.4", path = "../analyze" } +contract-build = { version = "4.0.0", path = "../build" } +contract-extrinsics = { version = "4.0.0", path = "../extrinsics" } +contract-transcode = { version = "4.0.0", path = "../transcode" } +contract-metadata = { version = "4.0.0", path = "../metadata" } +contract-analyze = { version = "4.0.0", path = "../analyze" } anyhow = "1.0.80" clap = { version = "4.5.2", features = ["derive", "env"] } @@ -37,8 +37,8 @@ url = { version = "2.5.0", features = ["serde"] } semver = "1.0" jsonschema = "0.17" schemars = "0.8" -ink_metadata = "5.0.0-rc.3" -ink_env = "5.0.0-rc.3" +ink_metadata = "5.0.0" +ink_env = "5.0.0" comfy-table = "7.1.0" # dependencies for extrinsics (deploying and calling a contract) diff --git a/crates/extrinsics/Cargo.toml b/crates/extrinsics/Cargo.toml index ae6ae03cf..427bd2b91 100644 --- a/crates/extrinsics/Cargo.toml +++ b/crates/extrinsics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract-extrinsics" -version = "4.0.0-rc.4" +version = "4.0.0" authors = ["Parity Technologies "] edition = "2021" rust-version = "1.70" @@ -15,9 +15,9 @@ keywords = ["wasm", "parity", "webassembly", "blockchain", "edsl"] include = ["Cargo.toml", "*.rs", "LICENSE",] [dependencies] -contract-build = { version = "4.0.0-rc.4", path = "../build" } -contract-metadata = { version = "4.0.0-rc.4", path = "../metadata" } -contract-transcode = { version = "4.0.0-rc.4", path = "../transcode" } +contract-build = { version = "4.0.0", path = "../build" } +contract-metadata = { version = "4.0.0", path = "../metadata" } +contract-transcode = { version = "4.0.0", path = "../transcode" } anyhow = "1.0.80" blake2 = { version = "0.10.6", default-features = false } @@ -40,11 +40,11 @@ scale-info = "2.10.0" subxt = "0.34.0" hex = "0.4.3" derivative = "2.2.0" -ink_metadata = "5.0.0-rc.3" -ink_env = "5.0.0-rc.3" +ink_metadata = "5.0.0" +ink_env = "5.0.0" [dev-dependencies] -ink = "5.0.0-rc.3" +ink = "5.0.0" assert_cmd = "2.0.14" regex = "1.10.3" predicates = "3.1.0" diff --git a/crates/metadata/Cargo.toml b/crates/metadata/Cargo.toml index 7db161d67..e8a36361d 100644 --- a/crates/metadata/Cargo.toml +++ b/crates/metadata/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract-metadata" -version = "4.0.0-rc.4" +version = "4.0.0" authors = ["Parity Technologies "] edition = "2021" diff --git a/crates/metadata/compatibility_list.json b/crates/metadata/compatibility_list.json index ea458f662..eafccaaad 100644 --- a/crates/metadata/compatibility_list.json +++ b/crates/metadata/compatibility_list.json @@ -22,7 +22,7 @@ "=5.0.0-rc.1" ] }, - "4.0.0-rc.4": { + "4.0.0": { "ink": [ ">=5.0.0-rc.2", "5.0.0" diff --git a/crates/transcode/Cargo.toml b/crates/transcode/Cargo.toml index 23c0d6875..78743ec2d 100644 --- a/crates/transcode/Cargo.toml +++ b/crates/transcode/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract-transcode" -version = "4.0.0-rc.4" +version = "4.0.0" authors = ["Parity Technologies "] edition = "2021" @@ -20,12 +20,12 @@ path = "src/lib.rs" anyhow = "1.0.80" base58 = { version = "0.2.0" } blake2 = { version = "0.10.6", default-features = false } -contract-metadata = { version = "4.0.0-rc.4", path = "../metadata" } +contract-metadata = { version = "4.0.0", path = "../metadata" } escape8259 = "0.5.2" hex = "0.4.3" indexmap = "2.2.5" -ink_env = "5.0.0-rc.3" -ink_metadata = "5.0.0-rc.3" +ink_env = "5.0.0" +ink_metadata = "5.0.0" itertools = "0.12.1" tracing = "0.1.40" nom = "7.1.3" @@ -40,7 +40,7 @@ strsim = "0.11.0" [dev-dependencies] assert_matches = "1.5.0" -ink = "5.0.0-rc.3" +ink = "5.0.0" sp-core = "30.0.0" sp-keyring = "33.0.0"