From e7a43cc0306b0509f13caf8147f872a5d6d4e75f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20M=C3=BCller?= Date: Wed, 10 Apr 2024 15:36:01 +0200 Subject: [PATCH] Release 4.1.0 (#1586) * Bump versions to 4.1.0 * Update compatibility list * Update changelog * Update `Cargo.lock` --- CHANGELOG.md | 4 +- Cargo.lock | 131 ++++++++++++------------ crates/analyze/Cargo.toml | 4 +- crates/build/Cargo.toml | 4 +- crates/cargo-contract/Cargo.toml | 12 +-- crates/extrinsics/Cargo.toml | 8 +- crates/metadata/Cargo.toml | 2 +- crates/metadata/compatibility_list.json | 2 +- crates/transcode/Cargo.toml | 4 +- 9 files changed, 86 insertions(+), 85 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aa38c8829..502f6a164 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,13 +6,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [4.1.0] + ### Fixed - Fix the `instantiate` command for Substrate `0.9.42` based chains - [#1564](https://github.com/paritytech/cargo-contract/pull/1564) ### Added - Add `cargo contract storage --version` command - [#1564](https://github.com/paritytech/cargo-contract/pull/1564) - Verify raw Wasm in cargo contract verify - [#1551](https://github.com/paritytech/cargo-contract/pull/1551) -- Specify prod chain URL with names and check for the verifiable build upon upload - [#1290](https://github.com/paritytech/cargo-contract/pull/1290) +- Allow specifying production chain URL + check for verifiable build upon upload - [#1290](https://github.com/paritytech/cargo-contract/pull/1290) ## [4.0.2] diff --git a/Cargo.lock b/Cargo.lock index 69801748f..64316a03a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -160,9 +160,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.81" +version = "1.0.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0952808a6c2afd1aa8947271f3a60f1a6763c7b912d210184c5149b5cf147247" +checksum = "f538837af36e6f6a9be0faa67f9a314f8119e4e4b5867c6ab40ed60360142519" [[package]] name = "ark-bls12-377" @@ -354,7 +354,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f28243a43d821d11341ab73c80bed182dc015c514b951616cf79bd4af39af0c3" dependencies = [ "concurrent-queue", - "event-listener 5.2.0", + "event-listener 5.3.0", "event-listener-strategy 0.5.1", "futures-core", "pin-project-lite", @@ -362,9 +362,9 @@ dependencies = [ [[package]] name = "async-executor" -version = "1.9.1" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10b3e585719c2358d2660232671ca8ca4ddb4be4ce8a1842d6c2dc8685303316" +checksum = "5f98c37cf288e302c16ef6c8472aad1e034c6c84ce5ea7b8101c98eb4a802fee" dependencies = [ "async-lock 3.3.0", "async-task", @@ -448,7 +448,7 @@ dependencies = [ "async-task", "blocking", "cfg-if", - "event-listener 5.2.0", + "event-listener 5.3.0", "futures-lite", "rustix 0.38.32", "tracing", @@ -824,9 +824,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.15.4" +version = "3.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ff69b9dd49fd426c69a0db9fc04dd934cdb6645ff000864d98f7e2af8830eaa" +checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" [[package]] name = "byte-slice-cast" @@ -885,7 +885,7 @@ dependencies = [ [[package]] name = "cargo-contract" -version = "4.0.2" +version = "4.1.0" dependencies = [ "anyhow", "assert_cmd", @@ -946,9 +946,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.90" +version = "1.0.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cd6604a82acf3039f1144f54b8eb34e91ffba622051189e71b781822d5ee1f5" +checksum = "2678b2e3449475e95b0aa6f9b506a28e61b3dc8996592b983695e8ebb58a8b41" dependencies = [ "jobserver", "libc", @@ -1148,7 +1148,7 @@ checksum = "cd7e35aee659887cbfb97aaf227ac12cad1a9d7c71e55ff3376839ed4e282d08" [[package]] name = "contract-analyze" -version = "4.0.2" +version = "4.1.0" dependencies = [ "anyhow", "contract-metadata", @@ -1158,7 +1158,7 @@ dependencies = [ [[package]] name = "contract-build" -version = "4.0.2" +version = "4.1.0" dependencies = [ "anyhow", "blake2", @@ -1198,7 +1198,7 @@ dependencies = [ [[package]] name = "contract-extrinsics" -version = "4.0.2" +version = "4.1.0" dependencies = [ "anyhow", "assert_cmd", @@ -1236,7 +1236,7 @@ dependencies = [ [[package]] name = "contract-metadata" -version = "4.0.2" +version = "4.1.0" dependencies = [ "anyhow", "impl-serde", @@ -1249,7 +1249,7 @@ dependencies = [ [[package]] name = "contract-transcode" -version = "4.0.2" +version = "4.1.0" dependencies = [ "anyhow", "assert_matches", @@ -1463,9 +1463,9 @@ dependencies = [ [[package]] name = "cxx" -version = "1.0.120" +version = "1.0.121" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff4dc7287237dd438b926a81a1a5605dad33d286870e5eee2db17bf2bcd9e92a" +checksum = "21db378d04296a84d8b7d047c36bb3954f0b46529db725d7e62fb02f9ba53ccc" dependencies = [ "cc", "cxxbridge-flags", @@ -1475,9 +1475,9 @@ dependencies = [ [[package]] name = "cxx-build" -version = "1.0.120" +version = "1.0.121" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f47c6c8ad7c1a10d3ef0fe3ff6733f4db0d78f08ef0b13121543163ef327058b" +checksum = "3e5262a7fa3f0bae2a55b767c223ba98032d7c328f5c13fa5cdc980b77fc0658" dependencies = [ "cc", "codespan-reporting", @@ -1490,15 +1490,15 @@ dependencies = [ [[package]] name = "cxxbridge-flags" -version = "1.0.120" +version = "1.0.121" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "701a1ac7a697e249cdd8dc026d7a7dafbfd0dbcd8bd24ec55889f2bc13dd6287" +checksum = "be8dcadd2e2fb4a501e1d9e93d6e88e6ea494306d8272069c92d5a9edf8855c0" [[package]] name = "cxxbridge-macro" -version = "1.0.120" +version = "1.0.121" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b404f596046b0bb2d903a9c786b875a126261b52b7c3a64bbb66382c41c771df" +checksum = "ad08a837629ad949b73d032c637653d069e909cffe4ee7870b02301939ce39cc" dependencies = [ "proc-macro2", "quote", @@ -1698,9 +1698,9 @@ dependencies = [ [[package]] name = "downcast-rs" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650" +checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2" [[package]] name = "duct" @@ -1837,9 +1837,9 @@ dependencies = [ [[package]] name = "encoding_rs" -version = "0.8.33" +version = "0.8.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7268b386296a025e474d5140678f75d6de9493ae55a5d709eeb9dd08149945e1" +checksum = "b45de904aa0b010bce2ab45264d0631681847fa7b6f2eaa7dab7619943bc4f59" dependencies = [ "cfg-if", ] @@ -1894,9 +1894,9 @@ dependencies = [ [[package]] name = "event-listener" -version = "5.2.0" +version = "5.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b5fb89194fa3cad959b833185b3063ba881dbfc7030680b314250779fb4cc91" +checksum = "6d9944b8ca13534cdfb2800775f8dd4902ff3fc75a50101466decadfdf322a24" dependencies = [ "concurrent-queue", "parking", @@ -1919,7 +1919,7 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "332f51cb23d20b0de8458b86580878211da09bcd4503cb579c225b3d124cabb3" dependencies = [ - "event-listener 5.2.0", + "event-listener 5.3.0", "pin-project-lite", ] @@ -2181,9 +2181,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.12" +version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5" +checksum = "94b22e06ecb0110981051723910cbf0b5f5e09a2062dd7663334ee79a9d1286c" dependencies = [ "cfg-if", "js-sys", @@ -2950,9 +2950,9 @@ dependencies = [ [[package]] name = "jsonrpsee" -version = "0.22.3" +version = "0.22.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3cdbb7cb6f3ba28f5b212dd250ab4483105efc3e381f5c8bb90340f14f0a2cc3" +checksum = "c4b0e68d9af1f066c06d6e2397583795b912d78537d7d907c561e82c13d69fa1" dependencies = [ "jsonrpsee-client-transport", "jsonrpsee-core", @@ -2962,9 +2962,9 @@ dependencies = [ [[package]] name = "jsonrpsee-client-transport" -version = "0.22.3" +version = "0.22.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ab2e14e727d2faf388c99d9ca5210566ed3b044f07d92c29c3611718d178380" +checksum = "92f254f56af1ae84815b9b1325094743dcf05b92abb5e94da2e81a35cff0cada" dependencies = [ "futures-util", "http 0.2.12", @@ -2983,12 +2983,11 @@ dependencies = [ [[package]] name = "jsonrpsee-core" -version = "0.22.3" +version = "0.22.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71962a1c49af43adf81d337e4ebc93f3c915faf6eccaa14d74e255107dfd7723" +checksum = "274d68152c24aa78977243bb56f28d7946e6aa309945b37d33174a3f92d89a3a" dependencies = [ "anyhow", - "async-lock 3.3.0", "async-trait", "beef", "futures-timer", @@ -3007,9 +3006,9 @@ dependencies = [ [[package]] name = "jsonrpsee-http-client" -version = "0.22.3" +version = "0.22.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c13987da51270bda2c1c9b40c19be0fe9b225c7a0553963d8f17e683a50ce84" +checksum = "ac13bc1e44cd00448a5ff485824a128629c945f02077804cb659c07a0ba41395" dependencies = [ "async-trait", "hyper 0.14.28", @@ -3027,9 +3026,9 @@ dependencies = [ [[package]] name = "jsonrpsee-types" -version = "0.22.3" +version = "0.22.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e53c72de6cd2ad6ac1aa6e848206ef8b736f92ed02354959130373dfa5b3cbd" +checksum = "3dc828e537868d6b12bbb07ec20324909a22ced6efca0057c825c3e1126b2c6d" dependencies = [ "anyhow", "beef", @@ -4022,9 +4021,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.35" +version = "1.0.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" +checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" dependencies = [ "proc-macro2", ] @@ -4364,7 +4363,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f1fb85efa936c42c6d5fc28d2629bb51e4b2f4b8a5211e297d599cc5a093792" dependencies = [ "openssl-probe", - "rustls-pemfile 2.1.1", + "rustls-pemfile 2.1.2", "rustls-pki-types", "schannel", "security-framework", @@ -4381,11 +4380,11 @@ dependencies = [ [[package]] name = "rustls-pemfile" -version = "2.1.1" +version = "2.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f48172685e6ff52a556baa527774f61fcaa884f59daf3375c62a3f1cd2549dab" +checksum = "29993a25686778eb88d4189742cd713c9bce943bc54251a33509dc63cbacf73d" dependencies = [ - "base64 0.21.7", + "base64 0.22.0", "rustls-pki-types", ] @@ -4418,9 +4417,9 @@ dependencies = [ [[package]] name = "rustversion" -version = "1.0.14" +version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" +checksum = "80af6f9131f277a45a3fba6ce8e2258037bb0477a67e610d3c1fe046ab31de47" [[package]] name = "ruzstd" @@ -4867,9 +4866,9 @@ dependencies = [ [[package]] name = "serde_repr" -version = "0.1.18" +version = "0.1.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b2e6b945e9d3df726b65d6ee24060aff8e3533d431f677a9695db04eff9dfdb" +checksum = "6c64451ba24fc7a6a2d60fc75dd9c83c90903b19028d4eff35e88fc1e86564e9" dependencies = [ "proc-macro2", "quote", @@ -5703,9 +5702,9 @@ dependencies = [ [[package]] name = "subxt-codegen" -version = "0.35.1" +version = "0.35.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31528ba082daea68850852ecb49e463022b47c14f8031874c73d04ce04d36d05" +checksum = "cd94344feea939a37b919b7381e038dededfd1a88e01bedda67fe40847abfc78" dependencies = [ "frame-metadata 16.0.0", "heck 0.4.1", @@ -5724,9 +5723,9 @@ dependencies = [ [[package]] name = "subxt-lightclient" -version = "0.35.1" +version = "0.35.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04e4dc4cf724926d89dadeb26ecba7b8c92a3cabd04f1385ea46a927ef1508b0" +checksum = "c0dbc6ed49c3c5607fc7423d7ebda4dae858eb3040cdaec602105a240d4f412f" dependencies = [ "futures", "futures-util", @@ -5741,9 +5740,9 @@ dependencies = [ [[package]] name = "subxt-macro" -version = "0.35.1" +version = "0.35.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af4de9eebf532a2d28dea87e04974180842c892ca74b710cc929f3df7d3560e8" +checksum = "4707a920898a7c653210bc946d26904e81ae6fcbb4f91e3a56101d5979f72fe9" dependencies = [ "darling 0.20.8", "parity-scale-codec", @@ -5756,9 +5755,9 @@ dependencies = [ [[package]] name = "subxt-metadata" -version = "0.35.1" +version = "0.35.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e2ed94dbebe8a093c8990bfced142ac5377a1be8e5e2c8cfa5e0d7dce851289" +checksum = "65ffc8b7d246ebd38611f818547ee8e09fd69717cb79aae22e3a54fc423e6e14" dependencies = [ "derive_more", "frame-metadata 16.0.0", @@ -5944,9 +5943,9 @@ dependencies = [ [[package]] name = "time" -version = "0.3.34" +version = "0.3.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8248b6521bb14bc45b4067159b9b6ad792e2d6d754d6c41fb50e29fefe38749" +checksum = "ef89ece63debf11bc32d1ed8d078ac870cbeb44da02afb02a9ff135ae7ca0582" dependencies = [ "deranged", "itoa", @@ -5965,9 +5964,9 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.17" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ba3a3ef41e6672a2f0f001392bb5dcd3ff0a9992d618ca761a11c3121547774" +checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" dependencies = [ "num-conv", "time-core", diff --git a/crates/analyze/Cargo.toml b/crates/analyze/Cargo.toml index 3d4cef6ab..ccccbf263 100644 --- a/crates/analyze/Cargo.toml +++ b/crates/analyze/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract-analyze" -version = "4.0.2" +version = "4.1.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.2", path = "../metadata" } +contract-metadata = { version = "4.1.0", path = "../metadata" } parity-wasm = { version = "0.45.0" } anyhow = "1.0.81" diff --git a/crates/build/Cargo.toml b/crates/build/Cargo.toml index bdaddbdc3..dfd3c63c3 100644 --- a/crates/build/Cargo.toml +++ b/crates/build/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract-build" -version = "4.0.2" +version = "4.1.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.2", path = "../metadata" } +contract-metadata = { version = "4.1.0", path = "../metadata" } [target.'cfg(unix)'.dependencies] uzers = "0.11" diff --git a/crates/cargo-contract/Cargo.toml b/crates/cargo-contract/Cargo.toml index ee49d9f68..b8064d72a 100644 --- a/crates/cargo-contract/Cargo.toml +++ b/crates/cargo-contract/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cargo-contract" -version = "4.0.2" +version = "4.1.0" authors = ["Parity Technologies "] build = "build.rs" edition = "2021" @@ -18,11 +18,11 @@ include = [ ] [dependencies] -contract-build = { version = "4.0.2", path = "../build" } -contract-extrinsics = { version = "4.0.2", path = "../extrinsics" } -contract-transcode = { version = "4.0.2", path = "../transcode" } -contract-metadata = { version = "4.0.2", path = "../metadata" } -contract-analyze = { version = "4.0.2", path = "../analyze" } +contract-build = { version = "4.1.0", path = "../build" } +contract-extrinsics = { version = "4.1.0", path = "../extrinsics" } +contract-transcode = { version = "4.1.0", path = "../transcode" } +contract-metadata = { version = "4.1.0", path = "../metadata" } +contract-analyze = { version = "4.1.0", path = "../analyze" } anyhow = "1.0.81" clap = { version = "4.5.4", features = ["derive", "env"] } diff --git a/crates/extrinsics/Cargo.toml b/crates/extrinsics/Cargo.toml index 1830398ba..17052b584 100644 --- a/crates/extrinsics/Cargo.toml +++ b/crates/extrinsics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract-extrinsics" -version = "4.0.2" +version = "4.1.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.2", path = "../build" } -contract-metadata = { version = "4.0.2", path = "../metadata" } -contract-transcode = { version = "4.0.2", path = "../transcode" } +contract-build = { version = "4.1.0", path = "../build" } +contract-metadata = { version = "4.1.0", path = "../metadata" } +contract-transcode = { version = "4.1.0", path = "../transcode" } anyhow = "1.0.81" blake2 = { version = "0.10.6", default-features = false } diff --git a/crates/metadata/Cargo.toml b/crates/metadata/Cargo.toml index 8fe5f992e..c1a76651f 100644 --- a/crates/metadata/Cargo.toml +++ b/crates/metadata/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract-metadata" -version = "4.0.2" +version = "4.1.0" authors = ["Parity Technologies "] edition = "2021" diff --git a/crates/metadata/compatibility_list.json b/crates/metadata/compatibility_list.json index cf6ed79b1..9fad055f3 100644 --- a/crates/metadata/compatibility_list.json +++ b/crates/metadata/compatibility_list.json @@ -22,7 +22,7 @@ "=5.0.0-rc.1" ] }, - "4.0.2": { + "4.1.0": { "ink": [ ">=5.0.0-rc.2", "5.0.0" diff --git a/crates/transcode/Cargo.toml b/crates/transcode/Cargo.toml index 1289758ad..3be564257 100644 --- a/crates/transcode/Cargo.toml +++ b/crates/transcode/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract-transcode" -version = "4.0.2" +version = "4.1.0" authors = ["Parity Technologies "] edition = "2021" @@ -20,7 +20,7 @@ path = "src/lib.rs" anyhow = "1.0.81" base58 = { version = "0.2.0" } blake2 = { version = "0.10.6", default-features = false } -contract-metadata = { version = "4.0.2", path = "../metadata" } +contract-metadata = { version = "4.1.0", path = "../metadata" } escape8259 = "0.5.2" hex = "0.4.3" indexmap = "2.2.6"