From fa1336d284fbc6f86c645c1e23df59f62a5e865f Mon Sep 17 00:00:00 2001 From: Benjamin Kampmann Date: Wed, 3 Nov 2021 13:13:33 +0100 Subject: [PATCH 01/19] Intend to reactivate cargo-unleash check It appears the bug it was deactivated for has been resolved a while ago. Trying to reactivate the checks. --- .gitlab-ci.yml | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 87efc43af2898..935a35bbacba2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -455,20 +455,20 @@ test-linux-stable: &test-linux - SUBSTRATE_TEST_TIMEOUT=1 time cargo test -p substrate-test-utils --release --verbose --locked -- --ignored timeout - sccache -s -#unleash-check: - #stage: test - #<<: *docker-env - #<<: *test-refs-no-trigger - #script: - #- cargo install cargo-unleash ${CARGO_UNLEASH_INSTALL_PARAMS} - #- cargo unleash de-dev-deps +unleash-check: + stage: test + <<: *docker-env + <<: *test-refs-no-trigger + script: + - cargo install cargo-unleash ${CARGO_UNLEASH_INSTALL_PARAMS} + - cargo unleash de-dev-deps # Reuse build artifacts when running checks (cuts down check time by 3x) # TODO: Implement this optimization in cargo-unleash rather than here - #- mkdir -p target/unleash - #- export CARGO_TARGET_DIR=target/unleash - #- cargo unleash check ${CARGO_UNLEASH_PKG_DEF} + - mkdir -p target/unleash + - export CARGO_TARGET_DIR=target/unleash + - cargo unleash check ${CARGO_UNLEASH_PKG_DEF} # FIXME: this job must not fail, or unleash-to-crates-io will publish broken stuff - #allow_failure: true + allow_failure: true test-frame-examples-compile-to-wasm: # into one job @@ -873,9 +873,7 @@ unleash-to-crates-io: <<: *vault-secrets rules: - if: $CI_COMMIT_REF_NAME =~ /^ci-release-.*$/ - # FIXME: wait until https://github.com/paritytech/cargo-unleash/issues/50 is fixed, also - # remove allow_failure: true on the check job - # - if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1 + - if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1 script: - cargo install cargo-unleash ${CARGO_UNLEASH_INSTALL_PARAMS} - cargo unleash em-dragons --no-check --owner github:paritytech:core-devs ${CARGO_UNLEASH_PKG_DEF} From a73b55b9c88b6fd87651b20c5d21737992d3e909 Mon Sep 17 00:00:00 2001 From: Benjamin Kampmann Date: Wed, 3 Nov 2021 15:56:06 +0100 Subject: [PATCH 02/19] adding missing cargo.toml metadata for BEEFY crates --- client/beefy/Cargo.toml | 2 ++ client/beefy/rpc/Cargo.toml | 2 ++ frame/beefy-mmr/Cargo.toml | 1 + frame/beefy-mmr/primitives/Cargo.toml | 1 + frame/beefy/Cargo.toml | 2 ++ primitives/beefy/Cargo.toml | 2 ++ 6 files changed, 10 insertions(+) diff --git a/client/beefy/Cargo.toml b/client/beefy/Cargo.toml index d4541288a6287..f3d42a28d52bd 100644 --- a/client/beefy/Cargo.toml +++ b/client/beefy/Cargo.toml @@ -4,6 +4,8 @@ version = "4.0.0-dev" authors = ["Parity Technologies "] edition = "2018" license = "GPL-3.0-or-later WITH Classpath-exception-2.0" +repository = "https://github.com/paritytech/substrate" +description = "BEEFY Client gadget for substrate" [dependencies] fnv = "1.0.6" diff --git a/client/beefy/rpc/Cargo.toml b/client/beefy/rpc/Cargo.toml index 8af2fa3eac867..05b4f3079dc0a 100644 --- a/client/beefy/rpc/Cargo.toml +++ b/client/beefy/rpc/Cargo.toml @@ -4,6 +4,8 @@ version = "4.0.0-dev" authors = ["Parity Technologies "] edition = "2018" license = "GPL-3.0-or-later WITH Classpath-exception-2.0" +repository = "https://github.com/paritytech/substrate" +description = "RPC for the BEEFY Client gadget for substrate" [dependencies] futures = "0.3.16" diff --git a/frame/beefy-mmr/Cargo.toml b/frame/beefy-mmr/Cargo.toml index 3d4a9a72ddf86..82f8d1634b68f 100644 --- a/frame/beefy-mmr/Cargo.toml +++ b/frame/beefy-mmr/Cargo.toml @@ -5,6 +5,7 @@ authors = ["Parity Technologies "] edition = "2018" license = "Apache-2.0" description = "BEEFY + MMR runtime utilities" +repository = "https://github.com/paritytech/substrate" [dependencies] hex = { version = "0.4", optional = true } diff --git a/frame/beefy-mmr/primitives/Cargo.toml b/frame/beefy-mmr/primitives/Cargo.toml index d5dcc0eed3350..1c15adfa2a1fb 100644 --- a/frame/beefy-mmr/primitives/Cargo.toml +++ b/frame/beefy-mmr/primitives/Cargo.toml @@ -4,6 +4,7 @@ version = "4.0.0-dev" authors = ["Parity Technologies "] edition = "2018" license = "Apache-2.0" +repository = "https://github.com/paritytech/substrate" description = "A no-std/Substrate compatible library to construct binary merkle tree." [dependencies] diff --git a/frame/beefy/Cargo.toml b/frame/beefy/Cargo.toml index e5af666e7ca54..b0ef31ca64db8 100644 --- a/frame/beefy/Cargo.toml +++ b/frame/beefy/Cargo.toml @@ -4,6 +4,8 @@ version = "4.0.0-dev" authors = ["Parity Technologies "] edition = "2018" license = "Apache-2.0" +repository = "https://github.com/paritytech/substrate" +description = "BEEFY FRAME pallet" [dependencies] codec = { version = "2.2.0", package = "parity-scale-codec", default-features = false, features = ["derive"] } diff --git a/primitives/beefy/Cargo.toml b/primitives/beefy/Cargo.toml index 633ac0e8fbcd1..f8a98bbad0985 100644 --- a/primitives/beefy/Cargo.toml +++ b/primitives/beefy/Cargo.toml @@ -4,6 +4,8 @@ version = "4.0.0-dev" authors = ["Parity Technologies "] edition = "2018" license = "Apache-2.0" +repository = "https://github.com/paritytech/substrate" +description = "Primitives for BEEFY protocol." [dependencies] codec = { version = "2.2.0", package = "parity-scale-codec", default-features = false, features = ["derive"] } From 470ec457af222370087301d6350ad0df79306b45 Mon Sep 17 00:00:00 2001 From: Benjamin Kampmann Date: Thu, 4 Nov 2021 11:12:27 +0100 Subject: [PATCH 03/19] fix wrong version reference --- client/executor/common/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/executor/common/Cargo.toml b/client/executor/common/Cargo.toml index 622baa6c0dcab..231dc1ae99431 100644 --- a/client/executor/common/Cargo.toml +++ b/client/executor/common/Cargo.toml @@ -22,7 +22,7 @@ sp-core = { version = "4.0.0-dev", path = "../../../primitives/core" } sc-allocator = { version = "4.0.0-dev", path = "../../allocator" } sp-wasm-interface = { version = "4.0.0-dev", path = "../../../primitives/wasm-interface" } sp-maybe-compressed-blob = { version = "4.0.0-dev", path = "../../../primitives/maybe-compressed-blob" } -sp-serializer = { version = "3.0.0", path = "../../../primitives/serializer" } +sp-serializer = { version = "4.0.0-dev", path = "../../../primitives/serializer" } thiserror = "1.0.21" environmental = "1.1.3" From e570b1ea7cbb7932b90f3ea169bcd5f93cb297cc Mon Sep 17 00:00:00 2001 From: Benjamin Kampmann Date: Thu, 4 Nov 2021 11:22:57 +0100 Subject: [PATCH 04/19] matching up versions --- Cargo.lock | 2 +- primitives/core/Cargo.toml | 2 +- primitives/serializer/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 39dedb31839dd..50f3888b3039d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9716,7 +9716,7 @@ dependencies = [ [[package]] name = "sp-serializer" -version = "3.0.0" +version = "4.0.0-dev" dependencies = [ "serde", "serde_json", diff --git a/primitives/core/Cargo.toml b/primitives/core/Cargo.toml index 148f2343ee2b7..205a29b28dcb3 100644 --- a/primitives/core/Cargo.toml +++ b/primitives/core/Cargo.toml @@ -72,7 +72,7 @@ ss58-registry = "1.0.0" sp-runtime-interface = { version = "4.0.0-dev", default-features = false, path = "../runtime-interface" } [dev-dependencies] -sp-serializer = { version = "3.0.0", path = "../serializer" } +sp-serializer = { version = "4.0.0-dev", path = "../serializer" } hex-literal = "0.3.3" rand = "0.7.2" criterion = "0.3.3" diff --git a/primitives/serializer/Cargo.toml b/primitives/serializer/Cargo.toml index cc438e9a1c148..4c3c6bdac7890 100644 --- a/primitives/serializer/Cargo.toml +++ b/primitives/serializer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sp-serializer" -version = "3.0.0" +version = "4.0.0-dev" authors = ["Parity Technologies "] edition = "2018" license = "Apache-2.0" From 411a12ae444a9695a8bfea4458a868438d870b06 Mon Sep 17 00:00:00 2001 From: Benjamin Kampmann Date: Thu, 4 Nov 2021 11:46:01 +0100 Subject: [PATCH 05/19] disable faulty cache --- .gitlab-ci.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 935a35bbacba2..946b9b6040ad9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -462,10 +462,6 @@ unleash-check: script: - cargo install cargo-unleash ${CARGO_UNLEASH_INSTALL_PARAMS} - cargo unleash de-dev-deps - # Reuse build artifacts when running checks (cuts down check time by 3x) - # TODO: Implement this optimization in cargo-unleash rather than here - - mkdir -p target/unleash - - export CARGO_TARGET_DIR=target/unleash - cargo unleash check ${CARGO_UNLEASH_PKG_DEF} # FIXME: this job must not fail, or unleash-to-crates-io will publish broken stuff allow_failure: true From 873caa0c59dbad5f8659e6e13929a2320991ecf4 Mon Sep 17 00:00:00 2001 From: Benjamin Kampmann Date: Thu, 4 Nov 2021 12:05:18 +0100 Subject: [PATCH 06/19] switching more versions to prerelease --- Cargo.lock | 4 ++-- client/cli/Cargo.toml | 2 +- client/executor/Cargo.toml | 2 +- client/service/test/Cargo.toml | 2 +- primitives/arithmetic/Cargo.toml | 2 +- primitives/core/Cargo.toml | 2 +- primitives/debug-derive/Cargo.toml | 2 +- primitives/panic-handler/Cargo.toml | 2 +- primitives/state-machine/Cargo.toml | 2 +- primitives/storage/Cargo.toml | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 50f3888b3039d..65ef4f4bb0bf6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9424,7 +9424,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" -version = "3.0.0" +version = "4.0.0-dev" dependencies = [ "proc-macro2", "quote", @@ -9585,7 +9585,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" -version = "3.0.0" +version = "4.0.0-dev" dependencies = [ "backtrace", "lazy_static", diff --git a/client/cli/Cargo.toml b/client/cli/Cargo.toml index 0cee37f25e797..1be0f998249f4 100644 --- a/client/cli/Cargo.toml +++ b/client/cli/Cargo.toml @@ -25,7 +25,7 @@ rand = "0.7.3" tiny-bip39 = "0.8.2" serde_json = "1.0.68" sc-keystore = { version = "4.0.0-dev", path = "../keystore" } -sp-panic-handler = { version = "3.0.0", path = "../../primitives/panic-handler" } +sp-panic-handler = { version = "4.0.0-dev", path = "../../primitives/panic-handler" } sc-client-api = { version = "4.0.0-dev", path = "../api" } sp-blockchain = { version = "4.0.0-dev", path = "../../primitives/blockchain" } sc-network = { version = "0.10.0-dev", path = "../network" } diff --git a/client/executor/Cargo.toml b/client/executor/Cargo.toml index bc55172bc33ef..0a3b2b1d7dbf2 100644 --- a/client/executor/Cargo.toml +++ b/client/executor/Cargo.toml @@ -20,7 +20,7 @@ sp-core = { version = "4.0.0-dev", path = "../../primitives/core" } sp-tasks = { version = "4.0.0-dev", path = "../../primitives/tasks" } sp-trie = { version = "4.0.0-dev", path = "../../primitives/trie" } sp-version = { version = "4.0.0-dev", path = "../../primitives/version" } -sp-panic-handler = { version = "3.0.0", path = "../../primitives/panic-handler" } +sp-panic-handler = { version = "4.0.0-dev", path = "../../primitives/panic-handler" } wasmi = "0.9.0" lazy_static = "1.4.0" sp-api = { version = "4.0.0-dev", path = "../../primitives/api" } diff --git a/client/service/test/Cargo.toml b/client/service/test/Cargo.toml index aeee4a5f90728..1fc036c96a7be 100644 --- a/client/service/test/Cargo.toml +++ b/client/service/test/Cargo.toml @@ -40,6 +40,6 @@ substrate-test-runtime-client = { version = "2.0.0", path = "../../../test-utils sc-client-api = { version = "4.0.0-dev", path = "../../api" } sc-block-builder = { version = "0.10.0-dev", path = "../../block-builder" } sc-executor = { version = "0.10.0-dev", path = "../../executor" } -sp-panic-handler = { version = "3.0.0", path = "../../../primitives/panic-handler" } +sp-panic-handler = { version = "4.0.0-dev", path = "../../../primitives/panic-handler" } parity-scale-codec = "2.3.1" sp-tracing = { version = "4.0.0-dev", path = "../../../primitives/tracing" } diff --git a/primitives/arithmetic/Cargo.toml b/primitives/arithmetic/Cargo.toml index 92b16b895e3b5..efcbec562420f 100644 --- a/primitives/arithmetic/Cargo.toml +++ b/primitives/arithmetic/Cargo.toml @@ -24,7 +24,7 @@ static_assertions = "1.1.0" num-traits = { version = "0.2.8", default-features = false } sp-std = { version = "4.0.0-dev", default-features = false, path = "../std" } serde = { version = "1.0.126", optional = true, features = ["derive"] } -sp-debug-derive = { version = "3.0.0", default-features = false, path = "../debug-derive" } +sp-debug-derive = { version = "4.0.0-dev", default-features = false, path = "../debug-derive" } [dev-dependencies] rand = "0.7.2" diff --git a/primitives/core/Cargo.toml b/primitives/core/Cargo.toml index 205a29b28dcb3..2df158952efa3 100644 --- a/primitives/core/Cargo.toml +++ b/primitives/core/Cargo.toml @@ -40,7 +40,7 @@ zeroize = { version = "1.4.2", default-features = false } secrecy = { version = "0.8.0", default-features = false } lazy_static = { version = "1.4.0", default-features = false, optional = true } parking_lot = { version = "0.11.1", optional = true } -sp-debug-derive = { version = "3.0.0", default-features = false, path = "../debug-derive" } +sp-debug-derive = { version = "4.0.0-dev", default-features = false, path = "../debug-derive" } sp-externalities = { version = "0.10.0-dev", optional = true, path = "../externalities" } sp-storage = { version = "4.0.0-dev", default-features = false, path = "../storage" } parity-util-mem = { version = "0.10.0", default-features = false, features = [ diff --git a/primitives/debug-derive/Cargo.toml b/primitives/debug-derive/Cargo.toml index 954d0f89663fe..822a7f881dd18 100644 --- a/primitives/debug-derive/Cargo.toml +++ b/primitives/debug-derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sp-debug-derive" -version = "3.0.0" +version = "4.0.0-dev" authors = ["Parity Technologies "] edition = "2018" license = "Apache-2.0" diff --git a/primitives/panic-handler/Cargo.toml b/primitives/panic-handler/Cargo.toml index 890cc277bd849..891c69404091a 100644 --- a/primitives/panic-handler/Cargo.toml +++ b/primitives/panic-handler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sp-panic-handler" -version = "3.0.0" +version = "4.0.0-dev" authors = ["Parity Technologies "] edition = "2018" license = "Apache-2.0" diff --git a/primitives/state-machine/Cargo.toml b/primitives/state-machine/Cargo.toml index bbe9728befd80..8862a3f602222 100644 --- a/primitives/state-machine/Cargo.toml +++ b/primitives/state-machine/Cargo.toml @@ -22,7 +22,7 @@ trie-db = { version = "0.22.6", default-features = false } trie-root = { version = "0.16.0", default-features = false } sp-trie = { version = "4.0.0-dev", path = "../trie", default-features = false } sp-core = { version = "4.0.0-dev", path = "../core", default-features = false } -sp-panic-handler = { version = "3.0.0", path = "../panic-handler", optional = true } +sp-panic-handler = { version = "4.0.0-dev", path = "../panic-handler", optional = true } codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false } num-traits = { version = "0.2.8", default-features = false } rand = { version = "0.7.2", optional = true } diff --git a/primitives/storage/Cargo.toml b/primitives/storage/Cargo.toml index c7d23fcf70103..e7fdf0f627ea7 100644 --- a/primitives/storage/Cargo.toml +++ b/primitives/storage/Cargo.toml @@ -18,7 +18,7 @@ sp-std = { version = "4.0.0-dev", default-features = false, path = "../std" } serde = { version = "1.0.126", optional = true, features = ["derive"] } impl-serde = { version = "0.3.1", optional = true } ref-cast = "1.0.0" -sp-debug-derive = { version = "3.0.0", default-features = false, path = "../debug-derive" } +sp-debug-derive = { version = "4.0.0-dev", default-features = false, path = "../debug-derive" } codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ["derive"] } [features] From c7a0f757dede32fb32b919471f62e04d61350193 Mon Sep 17 00:00:00 2001 From: Benjamin Kampmann Date: Thu, 4 Nov 2021 12:05:29 +0100 Subject: [PATCH 07/19] Revert "disable faulty cache" This reverts commit 411a12ae444a9695a8bfea4458a868438d870b06. --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 946b9b6040ad9..935a35bbacba2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -462,6 +462,10 @@ unleash-check: script: - cargo install cargo-unleash ${CARGO_UNLEASH_INSTALL_PARAMS} - cargo unleash de-dev-deps + # Reuse build artifacts when running checks (cuts down check time by 3x) + # TODO: Implement this optimization in cargo-unleash rather than here + - mkdir -p target/unleash + - export CARGO_TARGET_DIR=target/unleash - cargo unleash check ${CARGO_UNLEASH_PKG_DEF} # FIXME: this job must not fail, or unleash-to-crates-io will publish broken stuff allow_failure: true From b32173585662bdf1e3dcd3a4398e8530679bf27c Mon Sep 17 00:00:00 2001 From: Benjamin Kampmann Date: Fri, 5 Nov 2021 10:05:20 +0100 Subject: [PATCH 08/19] bump minor of sc-allocator to fix already-published-issue --- Cargo.lock | 2 +- client/allocator/Cargo.toml | 2 +- client/executor/common/Cargo.toml | 2 +- client/executor/wasmi/Cargo.toml | 2 +- client/executor/wasmtime/Cargo.toml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 65ef4f4bb0bf6..933ae8c61888b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7520,7 +7520,7 @@ dependencies = [ [[package]] name = "sc-allocator" -version = "4.0.0-dev" +version = "4.1.0-dev" dependencies = [ "log 0.4.14", "sp-core", diff --git a/client/allocator/Cargo.toml b/client/allocator/Cargo.toml index 9383b88f756cb..47d6e33a02065 100644 --- a/client/allocator/Cargo.toml +++ b/client/allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sc-allocator" -version = "4.0.0-dev" +version = "4.1.0-dev" authors = ["Parity Technologies "] edition = "2018" license = "Apache-2.0" diff --git a/client/executor/common/Cargo.toml b/client/executor/common/Cargo.toml index 231dc1ae99431..c432aa49c9a3a 100644 --- a/client/executor/common/Cargo.toml +++ b/client/executor/common/Cargo.toml @@ -19,7 +19,7 @@ pwasm-utils = "0.18.0" codec = { package = "parity-scale-codec", version = "2.0.0" } wasmi = "0.9.0" sp-core = { version = "4.0.0-dev", path = "../../../primitives/core" } -sc-allocator = { version = "4.0.0-dev", path = "../../allocator" } +sc-allocator = { version = "4.1.0-dev", path = "../../allocator" } sp-wasm-interface = { version = "4.0.0-dev", path = "../../../primitives/wasm-interface" } sp-maybe-compressed-blob = { version = "4.0.0-dev", path = "../../../primitives/maybe-compressed-blob" } sp-serializer = { version = "4.0.0-dev", path = "../../../primitives/serializer" } diff --git a/client/executor/wasmi/Cargo.toml b/client/executor/wasmi/Cargo.toml index 307ba908e23b6..9a14d48178174 100644 --- a/client/executor/wasmi/Cargo.toml +++ b/client/executor/wasmi/Cargo.toml @@ -18,7 +18,7 @@ log = "0.4.8" wasmi = "0.9.0" codec = { package = "parity-scale-codec", version = "2.0.0" } sc-executor-common = { version = "0.10.0-dev", path = "../common" } -sc-allocator = { version = "4.0.0-dev", path = "../../allocator" } +sc-allocator = { version = "4.1.0-dev", path = "../../allocator" } sp-wasm-interface = { version = "4.0.0-dev", path = "../../../primitives/wasm-interface" } sp-runtime-interface = { version = "4.0.0-dev", path = "../../../primitives/runtime-interface" } sp-core = { version = "4.0.0-dev", path = "../../../primitives/core" } diff --git a/client/executor/wasmtime/Cargo.toml b/client/executor/wasmtime/Cargo.toml index 7a877bd9578f5..a8f4f79e16a56 100644 --- a/client/executor/wasmtime/Cargo.toml +++ b/client/executor/wasmtime/Cargo.toml @@ -22,7 +22,7 @@ sc-executor-common = { version = "0.10.0-dev", path = "../common" } sp-wasm-interface = { version = "4.0.0-dev", path = "../../../primitives/wasm-interface" } sp-runtime-interface = { version = "4.0.0-dev", path = "../../../primitives/runtime-interface" } sp-core = { version = "4.0.0-dev", path = "../../../primitives/core" } -sc-allocator = { version = "4.0.0-dev", path = "../../allocator" } +sc-allocator = { version = "4.1.0-dev", path = "../../allocator" } wasmtime = { version = "0.30.0", default-features = false, features = [ "cache", "cranelift", From fbb1ee9f92735dbfe66a7ecaf5c4fc5a8df6ad7f Mon Sep 17 00:00:00 2001 From: Benjamin Kampmann Date: Fri, 5 Nov 2021 12:09:25 +0100 Subject: [PATCH 09/19] fixup another pre-released dependency problem --- Cargo.lock | 2 +- client/executor/Cargo.toml | 2 +- client/executor/common/Cargo.toml | 2 +- primitives/maybe-compressed-blob/Cargo.toml | 2 +- utils/wasm-builder/Cargo.toml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 933ae8c61888b..4564dddae002a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9525,7 +9525,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" -version = "4.0.0-dev" +version = "4.1.0-dev" dependencies = [ "zstd", ] diff --git a/client/executor/Cargo.toml b/client/executor/Cargo.toml index 0a3b2b1d7dbf2..ddfab610f460b 100644 --- a/client/executor/Cargo.toml +++ b/client/executor/Cargo.toml @@ -42,7 +42,7 @@ sc-runtime-test = { version = "2.0.0", path = "runtime-test" } substrate-test-runtime = { version = "2.0.0", path = "../../test-utils/runtime" } sp-state-machine = { version = "0.10.0-dev", path = "../../primitives/state-machine" } sp-runtime = { version = "4.0.0-dev", path = "../../primitives/runtime" } -sp-maybe-compressed-blob = { version = "4.0.0-dev", path = "../../primitives/maybe-compressed-blob" } +sp-maybe-compressed-blob = { version = "4.1.0-dev", path = "../../primitives/maybe-compressed-blob" } sc-tracing = { version = "4.0.0-dev", path = "../tracing" } tracing = "0.1.29" tracing-subscriber = "0.2.19" diff --git a/client/executor/common/Cargo.toml b/client/executor/common/Cargo.toml index c432aa49c9a3a..e72c8a317fb99 100644 --- a/client/executor/common/Cargo.toml +++ b/client/executor/common/Cargo.toml @@ -21,7 +21,7 @@ wasmi = "0.9.0" sp-core = { version = "4.0.0-dev", path = "../../../primitives/core" } sc-allocator = { version = "4.1.0-dev", path = "../../allocator" } sp-wasm-interface = { version = "4.0.0-dev", path = "../../../primitives/wasm-interface" } -sp-maybe-compressed-blob = { version = "4.0.0-dev", path = "../../../primitives/maybe-compressed-blob" } +sp-maybe-compressed-blob = { version = "4.1.0-dev", path = "../../../primitives/maybe-compressed-blob" } sp-serializer = { version = "4.0.0-dev", path = "../../../primitives/serializer" } thiserror = "1.0.21" environmental = "1.1.3" diff --git a/primitives/maybe-compressed-blob/Cargo.toml b/primitives/maybe-compressed-blob/Cargo.toml index cd124580ef19c..3db0497b759d8 100644 --- a/primitives/maybe-compressed-blob/Cargo.toml +++ b/primitives/maybe-compressed-blob/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sp-maybe-compressed-blob" -version = "4.0.0-dev" +version = "4.1.0-dev" authors = ["Parity Technologies "] edition = "2018" license = "Apache-2.0" diff --git a/utils/wasm-builder/Cargo.toml b/utils/wasm-builder/Cargo.toml index 92b1af753ef60..9328f4f1439d6 100644 --- a/utils/wasm-builder/Cargo.toml +++ b/utils/wasm-builder/Cargo.toml @@ -20,4 +20,4 @@ toml = "0.5.4" walkdir = "2.3.2" wasm-gc-api = "0.1.11" ansi_term = "0.12.1" -sp-maybe-compressed-blob = { version = "4.0.0-dev", path = "../../primitives/maybe-compressed-blob" } +sp-maybe-compressed-blob = { version = "4.1.0-dev", path = "../../primitives/maybe-compressed-blob" } From c2c187069c7e2f6da48beaabf21935db1a134f3e Mon Sep 17 00:00:00 2001 From: Benjamin Kampmann Date: Fri, 5 Nov 2021 18:00:52 +0100 Subject: [PATCH 10/19] temp switch to latest unleash --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6af4c706aba5c..a0b55f229b215 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -40,7 +40,7 @@ variables: &default-vars ARCH: "x86_64" CI_IMAGE: "paritytech/ci-linux:production" # FIXME set to release - CARGO_UNLEASH_INSTALL_PARAMS: "--version 1.0.0-alpha.12" + CARGO_UNLEASH_INSTALL_PARAMS: "--git https://github.com/paritytech/cargo-unleash" CARGO_UNLEASH_PKG_DEF: "--skip node node-* pallet-template pallet-example pallet-example-* subkey chain-spec-builder" VAULT_SERVER_URL: "https://vault.parity-mgmt-vault.parity.io" VAULT_AUTH_PATH: "gitlab-parity-io-jwt" From 31ed9e245a835e31ca37fb17553f1d01dacd1cdc Mon Sep 17 00:00:00 2001 From: Benjamin Kampmann Date: Mon, 8 Nov 2021 09:31:32 +0100 Subject: [PATCH 11/19] fixing dependency version and features --- Cargo.lock | 22 +++++++++++----------- client/offchain/Cargo.toml | 6 +++--- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e607ae346dbea..624253bb49a5c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2698,9 +2698,9 @@ dependencies = [ [[package]] name = "httparse" -version = "1.4.1" +version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3a87b616e37e93c22fb19bcd386f02f3af5ea98a25670ad0fce773de23c5e68" +checksum = "acd94fdbe1d4ff688b67b04eee2e17bd50995534a61539e45adfefb45e5e5503" [[package]] name = "httpdate" @@ -2744,9 +2744,9 @@ dependencies = [ [[package]] name = "hyper" -version = "0.14.11" +version = "0.14.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b61cf2d1aebcf6e6352c97b81dc2244ca29194be1b276f5d8ad5c6330fffb11" +checksum = "2b91bb1f221b6ea1f1e4371216b70f40748774c2fb5971b450c07773fb92d26b" dependencies = [ "bytes 1.0.1", "futures-channel", @@ -2773,7 +2773,7 @@ checksum = "5f9f7a97316d44c0af9b0301e65010573a853a9fc97046d7331d7f6bc0fd5a64" dependencies = [ "ct-logs", "futures-util", - "hyper 0.14.11", + "hyper 0.14.14", "log 0.4.14", "rustls", "rustls-native-certs", @@ -2789,7 +2789,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" dependencies = [ "bytes 1.0.1", - "hyper 0.14.11", + "hyper 0.14.14", "native-tls", "tokio", "tokio-native-tls", @@ -3002,7 +3002,7 @@ checksum = "d2b99d4207e2a04fb4581746903c2bb7eb376f88de9c699d0f3e10feeac0cd3a" dependencies = [ "derive_more", "futures 0.3.16", - "hyper 0.14.11", + "hyper 0.14.14", "hyper-tls", "jsonrpc-core", "jsonrpc-pubsub", @@ -3058,7 +3058,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e1dea6e07251d9ce6a552abfb5d7ad6bc290a4596c8dcc3d795fae2bbdc1f3ff" dependencies = [ "futures 0.3.16", - "hyper 0.14.11", + "hyper 0.14.14", "jsonrpc-core", "jsonrpc-server-utils", "log 0.4.14", @@ -3154,7 +3154,7 @@ dependencies = [ "beef", "futures-channel", "futures-util", - "hyper 0.14.11", + "hyper 0.14.14", "log 0.4.14", "serde", "serde_json", @@ -8291,7 +8291,7 @@ dependencies = [ "futures 0.3.16", "futures-timer 3.0.2", "hex", - "hyper 0.14.11", + "hyper 0.14.14", "hyper-rustls", "lazy_static", "log 0.4.14", @@ -10116,7 +10116,7 @@ dependencies = [ "async-std", "derive_more", "futures-util", - "hyper 0.14.11", + "hyper 0.14.14", "log 0.4.14", "prometheus", "tokio", diff --git a/client/offchain/Cargo.toml b/client/offchain/Cargo.toml index ee697b32e1e4b..c93eec85888dc 100644 --- a/client/offchain/Cargo.toml +++ b/client/offchain/Cargo.toml @@ -17,8 +17,8 @@ bytes = "1.0" codec = { package = "parity-scale-codec", version = "2.0.0", features = ["derive"] } hex = "0.4" fnv = "1.0.6" -futures = "0.3.9" -futures-timer = "3.0.1" +futures = "0.3.16" +futures-timer = "3.0.2" log = "0.4.8" num_cpus = "1.10" parking_lot = "0.11.1" @@ -31,7 +31,7 @@ sp-offchain = { version = "4.0.0-dev", path = "../../primitives/offchain" } sp-runtime = { version = "4.0.0-dev", path = "../../primitives/runtime" } sc-utils = { version = "4.0.0-dev", path = "../utils" } threadpool = "1.7" -hyper = "0.14.11" +hyper = { version = "0.14.14", features = ["stream"] } hyper-rustls = "0.22.1" once_cell = "1.8" From c75ae6870a0f365bc842367b8a0ef1980283b14b Mon Sep 17 00:00:00 2001 From: Benjamin Kampmann Date: Mon, 8 Nov 2021 10:43:42 +0100 Subject: [PATCH 12/19] prometheus endpoint has also been changed --- Cargo.lock | 2 +- client/api/Cargo.toml | 2 +- client/authority-discovery/Cargo.toml | 2 +- client/basic-authorship/Cargo.toml | 2 +- client/beefy/Cargo.toml | 2 +- client/consensus/aura/Cargo.toml | 2 +- client/consensus/babe/Cargo.toml | 2 +- client/consensus/common/Cargo.toml | 2 +- client/consensus/manual-seal/Cargo.toml | 2 +- client/consensus/pow/Cargo.toml | 2 +- client/finality-grandpa/Cargo.toml | 2 +- client/network-gossip/Cargo.toml | 2 +- client/network/Cargo.toml | 2 +- client/proposer-metrics/Cargo.toml | 2 +- client/rpc-servers/Cargo.toml | 2 +- client/service/Cargo.toml | 2 +- client/transaction-pool/Cargo.toml | 2 +- utils/prometheus/Cargo.toml | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 624253bb49a5c..dfe686f97eb4f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -10111,7 +10111,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" -version = "0.9.0" +version = "0.10.0-dev" dependencies = [ "async-std", "derive_more", diff --git a/client/api/Cargo.toml b/client/api/Cargo.toml index 7b2952552a3d0..431d6e2fb0157 100644 --- a/client/api/Cargo.toml +++ b/client/api/Cargo.toml @@ -36,7 +36,7 @@ sp-state-machine = { version = "0.10.0-dev", path = "../../primitives/state-mach sp-trie = { version = "4.0.0-dev", path = "../../primitives/trie" } sp-storage = { version = "4.0.0-dev", path = "../../primitives/storage" } sc-transaction-pool-api = { version = "4.0.0-dev", path = "../transaction-pool/api" } -prometheus-endpoint = { package = "substrate-prometheus-endpoint", version = "0.9.0", path = "../../utils/prometheus" } +prometheus-endpoint = { package = "substrate-prometheus-endpoint", version = "0.10.0-dev", path = "../../utils/prometheus" } [dev-dependencies] sp-test-primitives = { version = "2.0.0", path = "../../primitives/test-primitives" } diff --git a/client/authority-discovery/Cargo.toml b/client/authority-discovery/Cargo.toml index dc4b929756810..b1d9d4ebd3935 100644 --- a/client/authority-discovery/Cargo.toml +++ b/client/authority-discovery/Cargo.toml @@ -25,7 +25,7 @@ futures-timer = "3.0.1" ip_network = "0.4.0" libp2p = { version = "0.39.1", default-features = false, features = ["kad"] } log = "0.4.8" -prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus", version = "0.9.0" } +prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus", version = "0.10.0-dev" } prost = "0.8" rand = "0.7.2" sc-client-api = { version = "4.0.0-dev", path = "../api" } diff --git a/client/basic-authorship/Cargo.toml b/client/basic-authorship/Cargo.toml index 96ab698f36213..54c744396c8c3 100644 --- a/client/basic-authorship/Cargo.toml +++ b/client/basic-authorship/Cargo.toml @@ -17,7 +17,7 @@ codec = { package = "parity-scale-codec", version = "2.0.0" } futures = "0.3.9" futures-timer = "3.0.1" log = "0.4.8" -prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus", version = "0.9.0"} +prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus", version = "0.10.0-dev"} sp-api = { version = "4.0.0-dev", path = "../../primitives/api" } sp-runtime = { version = "4.0.0-dev", path = "../../primitives/runtime" } sp-core = { version = "4.0.0-dev", path = "../../primitives/core" } diff --git a/client/beefy/Cargo.toml b/client/beefy/Cargo.toml index 1333ece35fd56..96e5bc4ffbf31 100644 --- a/client/beefy/Cargo.toml +++ b/client/beefy/Cargo.toml @@ -16,7 +16,7 @@ thiserror = "1.0" wasm-timer = "0.2.5" codec = { version = "2.2.0", package = "parity-scale-codec", features = ["derive"] } -prometheus = { version = "0.9.0", package = "substrate-prometheus-endpoint", path = "../../utils/prometheus" } +prometheus = { version = "0.10.0-dev", package = "substrate-prometheus-endpoint", path = "../../utils/prometheus" } sp-api = { version = "4.0.0-dev", path = "../../primitives/api" } sp-application-crypto = { version = "4.0.0-dev", path = "../../primitives/application-crypto" } diff --git a/client/consensus/aura/Cargo.toml b/client/consensus/aura/Cargo.toml index 62d7b3d5327ad..152c40f78f9d4 100644 --- a/client/consensus/aura/Cargo.toml +++ b/client/consensus/aura/Cargo.toml @@ -33,7 +33,7 @@ sp-api = { version = "4.0.0-dev", path = "../../../primitives/api" } sp-runtime = { version = "4.0.0-dev", path = "../../../primitives/runtime" } sp-keystore = { version = "0.10.0-dev", path = "../../../primitives/keystore" } sc-telemetry = { version = "4.0.0-dev", path = "../../telemetry" } -prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus", version = "0.9.0" } +prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus", version = "0.10.0-dev" } async-trait = "0.1.50" # We enable it only for web-wasm check # See https://docs.rs/getrandom/0.2.1/getrandom/#webassembly-support diff --git a/client/consensus/babe/Cargo.toml b/client/consensus/babe/Cargo.toml index 8430ca39c9cb7..7945ecc4ec793 100644 --- a/client/consensus/babe/Cargo.toml +++ b/client/consensus/babe/Cargo.toml @@ -42,7 +42,7 @@ sp-consensus-vrf = { version = "0.10.0-dev", path = "../../../primitives/consens sc-consensus-slots = { version = "0.10.0-dev", path = "../slots" } sp-runtime = { version = "4.0.0-dev", path = "../../../primitives/runtime" } fork-tree = { version = "3.0.0", path = "../../../utils/fork-tree" } -prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus", version = "0.9.0" } +prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus", version = "0.10.0-dev" } futures = "0.3.9" parking_lot = "0.11.1" log = "0.4.8" diff --git a/client/consensus/common/Cargo.toml b/client/consensus/common/Cargo.toml index d63d124ed60e5..3f8380d3f81bc 100644 --- a/client/consensus/common/Cargo.toml +++ b/client/consensus/common/Cargo.toml @@ -28,7 +28,7 @@ sc-utils = { version = "4.0.0-dev", path = "../../utils" } sp-api = { version = "4.0.0-dev", path = "../../../primitives/api" } parking_lot = "0.11.1" serde = { version = "1.0", features = ["derive"] } -prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus", version = "0.9.0" } +prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus", version = "0.10.0-dev" } async-trait = "0.1.42" [dev-dependencies] diff --git a/client/consensus/manual-seal/Cargo.toml b/client/consensus/manual-seal/Cargo.toml index a662ebf01011d..a7679f53ea9e8 100644 --- a/client/consensus/manual-seal/Cargo.toml +++ b/client/consensus/manual-seal/Cargo.toml @@ -42,7 +42,7 @@ sp-api = { path = "../../../primitives/api", version = "4.0.0-dev" } sc-transaction-pool-api = { path = "../../../client/transaction-pool/api", version = "4.0.0-dev" } sp-timestamp = { path = "../../../primitives/timestamp", version = "4.0.0-dev" } -prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus", version = "0.9.0" } +prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus", version = "0.10.0-dev" } [dev-dependencies] tokio = { version = "1.10.0", features = ["rt-multi-thread", "macros"] } diff --git a/client/consensus/pow/Cargo.toml b/client/consensus/pow/Cargo.toml index bc7c01181e41b..841631fce7cc9 100644 --- a/client/consensus/pow/Cargo.toml +++ b/client/consensus/pow/Cargo.toml @@ -29,5 +29,5 @@ futures = "0.3.16" futures-timer = "3.0.1" parking_lot = "0.11.1" derive_more = "0.99.2" -prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus", version = "0.9.0"} +prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus", version = "0.10.0-dev"} async-trait = "0.1.50" diff --git a/client/finality-grandpa/Cargo.toml b/client/finality-grandpa/Cargo.toml index fd0b52cd1f70b..43511ea59f146 100644 --- a/client/finality-grandpa/Cargo.toml +++ b/client/finality-grandpa/Cargo.toml @@ -41,7 +41,7 @@ sp-blockchain = { version = "4.0.0-dev", path = "../../primitives/blockchain" } sc-network = { version = "0.10.0-dev", path = "../network" } sc-network-gossip = { version = "0.10.0-dev", path = "../network-gossip" } sp-finality-grandpa = { version = "4.0.0-dev", path = "../../primitives/finality-grandpa" } -prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus", version = "0.9.0" } +prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus", version = "0.10.0-dev" } sc-block-builder = { version = "0.10.0-dev", path = "../block-builder" } finality-grandpa = { version = "0.14.4", features = ["derive-codec"] } async-trait = "0.1.50" diff --git a/client/network-gossip/Cargo.toml b/client/network-gossip/Cargo.toml index 1f0b5c313294d..ff56853fa330e 100644 --- a/client/network-gossip/Cargo.toml +++ b/client/network-gossip/Cargo.toml @@ -20,7 +20,7 @@ futures-timer = "3.0.1" libp2p = { version = "0.39.1", default-features = false } log = "0.4.8" lru = "0.6.6" -prometheus-endpoint = { package = "substrate-prometheus-endpoint", version = "0.9.0", path = "../../utils/prometheus" } +prometheus-endpoint = { package = "substrate-prometheus-endpoint", version = "0.10.0-dev", path = "../../utils/prometheus" } sc-network = { version = "0.10.0-dev", path = "../network" } sp-runtime = { version = "4.0.0-dev", path = "../../primitives/runtime" } tracing = "0.1.29" diff --git a/client/network/Cargo.toml b/client/network/Cargo.toml index 7c2905d5fe03a..7a0427db594ee 100644 --- a/client/network/Cargo.toml +++ b/client/network/Cargo.toml @@ -40,7 +40,7 @@ lru = "0.6.6" log = "0.4.8" parking_lot = "0.11.1" pin-project = "1.0.8" -prometheus-endpoint = { package = "substrate-prometheus-endpoint", version = "0.9.0", path = "../../utils/prometheus" } +prometheus-endpoint = { package = "substrate-prometheus-endpoint", version = "0.10.0-dev", path = "../../utils/prometheus" } prost = "0.8" rand = "0.7.2" sc-block-builder = { version = "0.10.0-dev", path = "../block-builder" } diff --git a/client/proposer-metrics/Cargo.toml b/client/proposer-metrics/Cargo.toml index 93c4cce93ca65..bd523e2adf225 100644 --- a/client/proposer-metrics/Cargo.toml +++ b/client/proposer-metrics/Cargo.toml @@ -14,4 +14,4 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] log = "0.4.8" -prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus", version = "0.9.0"} +prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus", version = "0.10.0-dev"} diff --git a/client/rpc-servers/Cargo.toml b/client/rpc-servers/Cargo.toml index b3f408cc59806..f0ae6172d6d9e 100644 --- a/client/rpc-servers/Cargo.toml +++ b/client/rpc-servers/Cargo.toml @@ -17,7 +17,7 @@ futures = "0.3.16" jsonrpc-core = "18.0.0" pubsub = { package = "jsonrpc-pubsub", version = "18.0.0" } log = "0.4.8" -prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus", version = "0.9.0"} +prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus", version = "0.10.0-dev"} serde_json = "1.0.68" tokio = "1.10" http = { package = "jsonrpc-http-server", version = "18.0.0" } diff --git a/client/service/Cargo.toml b/client/service/Cargo.toml index 5c22c1e4fca1c..97b0f4e461c87 100644 --- a/client/service/Cargo.toml +++ b/client/service/Cargo.toml @@ -69,7 +69,7 @@ sp-block-builder = { version = "4.0.0-dev", path = "../../primitives/block-build sc-informant = { version = "0.10.0-dev", path = "../informant" } sc-telemetry = { version = "4.0.0-dev", path = "../telemetry" } sc-offchain = { version = "4.0.0-dev", path = "../offchain" } -prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus", version = "0.9.0" } +prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus", version = "0.10.0-dev" } sc-tracing = { version = "4.0.0-dev", path = "../tracing" } sp-tracing = { version = "4.0.0-dev", path = "../../primitives/tracing" } tracing = "0.1.29" diff --git a/client/transaction-pool/Cargo.toml b/client/transaction-pool/Cargo.toml index 6d05125002f2e..99f1f3788ec0e 100644 --- a/client/transaction-pool/Cargo.toml +++ b/client/transaction-pool/Cargo.toml @@ -20,7 +20,7 @@ intervalier = "0.4.0" log = "0.4.8" parity-util-mem = { version = "0.10.0", default-features = false, features = ["primitive-types"] } parking_lot = "0.11.1" -prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus", version = "0.9.0"} +prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus", version = "0.10.0-dev"} sc-client-api = { version = "4.0.0-dev", path = "../api" } sp-api = { version = "4.0.0-dev", path = "../../primitives/api" } sp-core = { version = "4.0.0-dev", path = "../../primitives/core" } diff --git a/utils/prometheus/Cargo.toml b/utils/prometheus/Cargo.toml index 78bd68ac9e3a5..2ad213479b44a 100644 --- a/utils/prometheus/Cargo.toml +++ b/utils/prometheus/Cargo.toml @@ -1,7 +1,7 @@ [package] description = "Endpoint to expose Prometheus metrics" name = "substrate-prometheus-endpoint" -version = "0.9.0" +version = "0.10.0-dev" license = "Apache-2.0" authors = ["Parity Technologies "] edition = "2021" From 9f544d9c7e306e0522de100cf99c155a1c4fed18 Mon Sep 17 00:00:00 2001 From: Benjamin Kampmann Date: Mon, 8 Nov 2021 11:28:13 +0100 Subject: [PATCH 13/19] fixing proposer metrics versioning --- Cargo.lock | 2 +- client/basic-authorship/Cargo.toml | 2 +- client/proposer-metrics/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6a86843156362..8757036cd0362 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8342,7 +8342,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" -version = "0.9.0" +version = "0.10.0-dev" dependencies = [ "log 0.4.14", "substrate-prometheus-endpoint", diff --git a/client/basic-authorship/Cargo.toml b/client/basic-authorship/Cargo.toml index 54c744396c8c3..4bfc3ca50c83f 100644 --- a/client/basic-authorship/Cargo.toml +++ b/client/basic-authorship/Cargo.toml @@ -28,7 +28,7 @@ sp-inherents = { version = "4.0.0-dev", path = "../../primitives/inherents" } sc-telemetry = { version = "4.0.0-dev", path = "../telemetry" } sc-transaction-pool-api = { version = "4.0.0-dev", path = "../../client/transaction-pool/api" } sc-block-builder = { version = "0.10.0-dev", path = "../block-builder" } -sc-proposer-metrics = { version = "0.9.0", path = "../proposer-metrics" } +sc-proposer-metrics = { version = "0.10.0-dev", path = "../proposer-metrics" } [dev-dependencies] sc-transaction-pool = { version = "4.0.0-dev", path = "../transaction-pool" } diff --git a/client/proposer-metrics/Cargo.toml b/client/proposer-metrics/Cargo.toml index bd523e2adf225..1a4b1fd4ce2c9 100644 --- a/client/proposer-metrics/Cargo.toml +++ b/client/proposer-metrics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sc-proposer-metrics" -version = "0.9.0" +version = "0.10.0-dev" authors = ["Parity Technologies "] edition = "2021" license = "GPL-3.0-or-later WITH Classpath-exception-2.0" From fd20d9d70cd57593b3feba87dee4a94eaeb1a463 Mon Sep 17 00:00:00 2001 From: Benjamin Kampmann Date: Mon, 8 Nov 2021 12:17:39 +0100 Subject: [PATCH 14/19] fixing hex feature for beefy --- frame/beefy-mmr/primitives/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frame/beefy-mmr/primitives/Cargo.toml b/frame/beefy-mmr/primitives/Cargo.toml index 6c744c67e060a..b54ac225e7818 100644 --- a/frame/beefy-mmr/primitives/Cargo.toml +++ b/frame/beefy-mmr/primitives/Cargo.toml @@ -18,7 +18,7 @@ hex = "0.4" hex-literal = "0.3" [features] -debug = ["hex", "log"] +debug = ["hex", "hex/std", "log"] default = ["std", "debug", "keccak"] keccak = ["tiny-keccak"] std = [] From 2c27bf732e74f1db99c54ad75953483375cb2ed3 Mon Sep 17 00:00:00 2001 From: Benjamin Kampmann Date: Mon, 8 Nov 2021 13:07:44 +0100 Subject: [PATCH 15/19] fix generate-bags feature selection --- utils/frame/generate-bags/Cargo.toml | 10 +++++----- utils/frame/generate-bags/node-runtime/Cargo.toml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/utils/frame/generate-bags/Cargo.toml b/utils/frame/generate-bags/Cargo.toml index 03382878710b7..225584b69069e 100644 --- a/utils/frame/generate-bags/Cargo.toml +++ b/utils/frame/generate-bags/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "generate-bags" -version = "3.0.0" +version = "4.0.0-dev" authors = ["Parity Technologies "] edition = "2021" license = "Apache-2.0" @@ -11,13 +11,13 @@ readme = "README.md" [dependencies] # FRAME -frame-support = { version = "4.0.0-dev", default-features = false, path = "../../../frame/support" } +frame-support = { version = "4.0.0-dev", path = "../../../frame/support" } frame-election-provider-support = { version = "4.0.0-dev", path = "../../../frame/election-provider-support", features = ["runtime-benchmarks"] } -frame-system = { version = "4.0.0-dev", default-features = false, path = "../../../frame/system" } -pallet-staking = { version = "4.0.0-dev", default-features = false, path = "../../../frame/staking" } +frame-system = { version = "4.0.0-dev", path = "../../../frame/system" } +pallet-staking = { version = "4.0.0-dev", path = "../../../frame/staking" } # primitives -sp-io = { version = "4.0.0-dev", default-features = false, path = "../../../primitives/io" } +sp-io = { version = "4.0.0-dev", path = "../../../primitives/io" } # third party chrono = { version = "0.4.19" } diff --git a/utils/frame/generate-bags/node-runtime/Cargo.toml b/utils/frame/generate-bags/node-runtime/Cargo.toml index 5029e049361c9..b0256722f466c 100644 --- a/utils/frame/generate-bags/node-runtime/Cargo.toml +++ b/utils/frame/generate-bags/node-runtime/Cargo.toml @@ -11,7 +11,7 @@ readme = "README.md" [dependencies] node-runtime = { version = "3.0.0-dev", path = "../../../../bin/node/runtime" } -generate-bags = { version = "3.0.0", path = "../" } +generate-bags = { version = "4.0.0-dev", path = "../" } # third-party structopt = "0.3.21" From 062f65562831b27c682cc58fef08cf88738549a3 Mon Sep 17 00:00:00 2001 From: Benjamin Kampmann Date: Mon, 8 Nov 2021 13:30:58 +0100 Subject: [PATCH 16/19] fixup Cargo.lock --- Cargo.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 8757036cd0362..8ce30462588c3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2400,7 +2400,7 @@ checksum = "8f5f3913fa0bfe7ee1fd8248b6b9f42a5af4b9d65ec2dd2c3c26132b950ecfc2" [[package]] name = "generate-bags" -version = "3.0.0" +version = "4.0.0-dev" dependencies = [ "chrono", "frame-election-provider-support", From 65f7f4168bd583604bc5bbedce68add30e88d12e Mon Sep 17 00:00:00 2001 From: Benjamin Kampmann Date: Mon, 8 Nov 2021 17:12:29 +0100 Subject: [PATCH 17/19] upgrade prometheus dependencies --- Cargo.lock | 18 ++++++++++++++++-- utils/prometheus/Cargo.toml | 6 +++--- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8ce30462588c3..7d6326ef6b790 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6810,6 +6810,20 @@ dependencies = [ "thiserror", ] +[[package]] +name = "prometheus" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7f64969ffd5dd8f39bd57a68ac53c163a095ed9d0fb707146da1b27025a3504" +dependencies = [ + "cfg-if 1.0.0", + "fnv", + "lazy_static", + "memchr", + "parking_lot 0.11.1", + "thiserror", +] + [[package]] name = "prost" version = "0.8.0" @@ -8687,7 +8701,7 @@ dependencies = [ "futures 0.3.16", "futures-timer 3.0.2", "lazy_static", - "prometheus", + "prometheus 0.12.0", ] [[package]] @@ -10116,7 +10130,7 @@ dependencies = [ "futures-util", "hyper 0.14.14", "log 0.4.14", - "prometheus", + "prometheus 0.13.0", "tokio", ] diff --git a/utils/prometheus/Cargo.toml b/utils/prometheus/Cargo.toml index 2ad213479b44a..390a1c733cbd7 100644 --- a/utils/prometheus/Cargo.toml +++ b/utils/prometheus/Cargo.toml @@ -14,13 +14,13 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] log = "0.4.8" -prometheus = { version = "0.12.0", default-features = false } +prometheus = { version = "0.13.0", default-features = false } futures-util = { version = "0.3.17", default-features = false, features = ["io"] } derive_more = "0.99" async-std = { version = "1.10.0", features = ["unstable"] } tokio = "1.10" -hyper = { version = "0.14.11", default-features = false, features = ["http1", "server", "tcp"] } +hyper = { version = "0.14.14", default-features = false, features = ["http1", "server", "tcp"] } [dev-dependencies] -hyper = { version = "0.14.11", features = ["client"] } +hyper = { version = "0.14.14", features = ["client"] } tokio = { version = "1.10", features = ["rt-multi-thread"] } From 35afbf4720dd0db45f0410525d28ca8bbc35c085 Mon Sep 17 00:00:00 2001 From: Benjamin Kampmann Date: Mon, 8 Nov 2021 17:19:13 +0100 Subject: [PATCH 18/19] missed one --- Cargo.lock | 18 ++---------------- client/utils/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7d6326ef6b790..9e4807cc8ca44 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6796,20 +6796,6 @@ dependencies = [ "unicode-xid", ] -[[package]] -name = "prometheus" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5986aa8d62380092d2f50f8b1cdba9cb9b6731ffd4b25b51fd126b6c3e05b99c" -dependencies = [ - "cfg-if 1.0.0", - "fnv", - "lazy_static", - "memchr", - "parking_lot 0.11.1", - "thiserror", -] - [[package]] name = "prometheus" version = "0.13.0" @@ -8701,7 +8687,7 @@ dependencies = [ "futures 0.3.16", "futures-timer 3.0.2", "lazy_static", - "prometheus 0.12.0", + "prometheus", ] [[package]] @@ -10130,7 +10116,7 @@ dependencies = [ "futures-util", "hyper 0.14.14", "log 0.4.14", - "prometheus 0.13.0", + "prometheus", "tokio", ] diff --git a/client/utils/Cargo.toml b/client/utils/Cargo.toml index 6d04fd4e9acdf..827164b702c6f 100644 --- a/client/utils/Cargo.toml +++ b/client/utils/Cargo.toml @@ -12,7 +12,7 @@ readme = "README.md" [dependencies] futures = "0.3.9" lazy_static = "1.4.0" -prometheus = { version = "0.12.0", default-features = false } +prometheus = { version = "0.13.0", default-features = false } futures-timer = "3.0.2" [features] From fb170e2378756c694a0449b30a494cfeca211669 Mon Sep 17 00:00:00 2001 From: Benjamin Kampmann Date: Wed, 10 Nov 2021 12:12:07 +0100 Subject: [PATCH 19/19] switch to latest release --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 48947446bad8d..39ce2a5242af8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -40,7 +40,7 @@ variables: &default-vars ARCH: "x86_64" CI_IMAGE: "paritytech/ci-linux:production" # FIXME set to release - CARGO_UNLEASH_INSTALL_PARAMS: "--git https://github.com/paritytech/cargo-unleash" + CARGO_UNLEASH_INSTALL_PARAMS: "--version 1.0.0-alpha.13" CARGO_UNLEASH_PKG_DEF: "--skip node node-* pallet-template pallet-example-* subkey chain-spec-builder" VAULT_SERVER_URL: "https://vault.parity-mgmt-vault.parity.io" VAULT_AUTH_PATH: "gitlab-parity-io-jwt"