Intend to reactivate cargo-unleash check (#10167)

* 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.

* adding missing cargo.toml metadata for BEEFY crates

* fix wrong version reference

* matching up versions

* disable faulty cache

* switching more versions to prerelease

* Revert "disable faulty cache"

This reverts commit 411a12ae444a9695a8bfea4458a868438d870b06.

* bump minor of sc-allocator to fix already-published-issue

* fixup another pre-released dependency problem

* temp switch to latest unleash

* fixing dependency version and features

* prometheus endpoint has also been changed

* fixing proposer metrics versioning

* fixing hex feature for beefy

* fix generate-bags feature selection

* fixup Cargo.lock

* upgrade prometheus dependencies

* missed one

* switch to latest release
This commit is contained in:
Benjamin Kampmann
2021-11-10 17:30:24 +01:00
committed by GitHub
parent 169f8caf7d
commit 2168a6d0c9
44 changed files with 97 additions and 89 deletions
+13 -15
View File
@@ -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: "--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"
@@ -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
@@ -872,9 +872,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}
+21 -21
View File
@@ -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",
@@ -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",
@@ -3012,7 +3012,7 @@ checksum = "d2b99d4207e2a04fb4581746903c2bb7eb376f88de9c699d0f3e10feeac0cd3a"
dependencies = [
"derive_more",
"futures 0.3.16",
"hyper 0.14.11",
"hyper 0.14.14",
"hyper-tls",
"jsonrpc-core",
"jsonrpc-pubsub",
@@ -3068,7 +3068,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",
@@ -3164,7 +3164,7 @@ dependencies = [
"beef",
"futures-channel",
"futures-util",
"hyper 0.14.11",
"hyper 0.14.14",
"log 0.4.14",
"serde",
"serde_json",
@@ -6815,9 +6815,9 @@ dependencies = [
[[package]]
name = "prometheus"
version = "0.12.0"
version = "0.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5986aa8d62380092d2f50f8b1cdba9cb9b6731ffd4b25b51fd126b6c3e05b99c"
checksum = "b7f64969ffd5dd8f39bd57a68ac53c163a095ed9d0fb707146da1b27025a3504"
dependencies = [
"cfg-if 1.0.0",
"fnv",
@@ -7584,7 +7584,7 @@ dependencies = [
[[package]]
name = "sc-allocator"
version = "4.0.0-dev"
version = "4.1.0-dev"
dependencies = [
"log 0.4.14",
"sp-core",
@@ -8355,7 +8355,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",
@@ -8397,7 +8397,7 @@ dependencies = [
[[package]]
name = "sc-proposer-metrics"
version = "0.9.0"
version = "0.10.0-dev"
dependencies = [
"log 0.4.14",
"substrate-prometheus-endpoint",
@@ -9496,7 +9496,7 @@ dependencies = [
[[package]]
name = "sp-debug-derive"
version = "3.0.0"
version = "4.0.0-dev"
dependencies = [
"proc-macro2",
"quote",
@@ -9597,7 +9597,7 @@ dependencies = [
[[package]]
name = "sp-maybe-compressed-blob"
version = "4.0.0-dev"
version = "4.1.0-dev"
dependencies = [
"zstd",
]
@@ -9657,7 +9657,7 @@ dependencies = [
[[package]]
name = "sp-panic-handler"
version = "3.0.0"
version = "4.0.0-dev"
dependencies = [
"backtrace",
"lazy_static",
@@ -9788,7 +9788,7 @@ dependencies = [
[[package]]
name = "sp-serializer"
version = "3.0.0"
version = "4.0.0-dev"
dependencies = [
"serde",
"serde_json",
@@ -10171,12 +10171,12 @@ dependencies = [
[[package]]
name = "substrate-prometheus-endpoint"
version = "0.9.0"
version = "0.10.0-dev"
dependencies = [
"async-std",
"derive_more",
"futures-util",
"hyper 0.14.11",
"hyper 0.14.14",
"log 0.4.14",
"prometheus",
"tokio",
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "sc-allocator"
version = "4.0.0-dev"
version = "4.1.0-dev"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
license = "Apache-2.0"
+1 -1
View File
@@ -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" }
@@ -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" }
+2 -2
View File
@@ -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" }
@@ -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" }
+3 -1
View File
@@ -4,6 +4,8 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
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"
@@ -14,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" }
+2
View File
@@ -4,6 +4,8 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
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"
+1 -1
View File
@@ -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" }
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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"
+1 -1
View File
@@ -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]
@@ -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"] }
+1 -1
View File
@@ -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"
+2 -2
View File
@@ -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.1"
lazy_static = "1.4.0"
sp-api = { version = "4.0.0-dev", path = "../../primitives/api" }
@@ -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"
+3 -3
View File
@@ -19,10 +19,10 @@ pwasm-utils = "0.18.0"
codec = { package = "parity-scale-codec", version = "2.0.0" }
wasmi = "0.9.1"
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 = "3.0.0", path = "../../../primitives/serializer" }
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"
+1 -1
View File
@@ -18,7 +18,7 @@ log = "0.4.8"
wasmi = "0.9.1"
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" }
@@ -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.31.0", default-features = false, features = [
"cache",
"cranelift",
+1 -1
View File
@@ -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"
+1 -1
View File
@@ -20,7 +20,7 @@ futures-timer = "3.0.1"
libp2p = { version = "0.39.1", default-features = false }
log = "0.4.8"
lru = "0.7.0"
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"
+1 -1
View File
@@ -40,7 +40,7 @@ lru = "0.7.0"
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" }
+3 -3
View File
@@ -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"
+2 -2
View File
@@ -1,6 +1,6 @@
[package]
name = "sc-proposer-metrics"
version = "0.9.0"
version = "0.10.0-dev"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
@@ -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"}
+1 -1
View File
@@ -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" }
+1 -1
View File
@@ -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"
+1 -1
View File
@@ -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" }
+1 -1
View File
@@ -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" }
+1 -1
View File
@@ -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]
+1
View File
@@ -5,6 +5,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
license = "Apache-2.0"
description = "BEEFY + MMR runtime utilities"
repository = "https://github.com/paritytech/substrate"
[dependencies]
hex = { version = "0.4", optional = true }
@@ -4,6 +4,7 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/paritytech/substrate"
description = "A no-std/Substrate compatible library to construct binary merkle tree."
[dependencies]
@@ -17,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 = []
+2
View File
@@ -4,6 +4,8 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
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"] }
+1 -1
View File
@@ -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"
+2
View File
@@ -4,6 +4,8 @@ version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
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"] }
+2 -2
View File
@@ -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 = [
@@ -72,7 +72,7 @@ ss58-registry = { version = "1.5.0", default-features = false }
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"
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "sp-debug-derive"
version = "3.0.0"
version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
license = "Apache-2.0"
@@ -1,6 +1,6 @@
[package]
name = "sp-maybe-compressed-blob"
version = "4.0.0-dev"
version = "4.1.0-dev"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
license = "Apache-2.0"
@@ -1,6 +1,6 @@
[package]
name = "sp-panic-handler"
version = "3.0.0"
version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
license = "Apache-2.0"
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "sp-serializer"
version = "3.0.0"
version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
license = "Apache-2.0"
@@ -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 }
+1 -1
View File
@@ -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]
@@ -1,6 +1,6 @@
[package]
name = "generate-bags"
version = "3.0.0"
version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"]
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" }
@@ -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"
+4 -4
View File
@@ -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 <admin@parity.io>"]
edition = "2021"
@@ -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"] }
+1 -1
View File
@@ -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" }