Align dependencies with parity-bridges-common (#3937)

Working towards migrating the `parity-bridges-common` repo inside
`polkadot-sdk`. This PR upgrades some dependencies in order to align
them with the versions used in `parity-bridges-common`

Related to
https://github.com/paritytech/parity-bridges-common/issues/2538
This commit is contained in:
Serban Iorga
2024-04-02 16:41:01 +03:00
committed by GitHub
parent 7430f41350
commit 8e95a3e1aa
305 changed files with 466 additions and 434 deletions
@@ -10,7 +10,7 @@ description = "Collator-side subsystem that handles incoming candidate submissio
workspace = true
[dependencies]
futures = "0.3.21"
futures = "0.3.30"
gum = { package = "tracing-gum", path = "../gum" }
polkadot-erasure-coding = { path = "../../erasure-coding" }
polkadot-node-primitives = { path = "../primitives" }
@@ -10,7 +10,7 @@ description = "Approval Voting Subsystem of the Polkadot node"
workspace = true
[dependencies]
futures = "0.3.21"
futures = "0.3.30"
futures-timer = "3.0.2"
parity-scale-codec = { version = "3.6.1", default-features = false, features = ["bit-vec", "derive"] }
gum = { package = "tracing-gum", path = "../../gum" }
@@ -41,7 +41,7 @@ rand_chacha = { version = "0.3.1" }
rand = "0.8.5"
[dev-dependencies]
async-trait = "0.1.74"
async-trait = "0.1.79"
parking_lot = "0.12.1"
sp-keyring = { path = "../../../../substrate/primitives/keyring" }
sp-keystore = { path = "../../../../substrate/primitives/keystore" }
@@ -52,4 +52,4 @@ assert_matches = "1.4.0"
kvdb-memorydb = "0.13.0"
test-helpers = { package = "polkadot-primitives-test-helpers", path = "../../../primitives/test-helpers" }
log = { workspace = true, default-features = true }
env_logger = "0.9.0"
env_logger = "0.11"
+2 -2
View File
@@ -10,7 +10,7 @@ license.workspace = true
workspace = true
[dependencies]
futures = "0.3.21"
futures = "0.3.30"
futures-timer = "3.0.2"
kvdb = "0.13.0"
thiserror = { workspace = true }
@@ -29,7 +29,7 @@ polkadot-node-jaeger = { path = "../../jaeger" }
[dev-dependencies]
log = { workspace = true, default-features = true }
env_logger = "0.9.0"
env_logger = "0.11"
assert_matches = "1.4.0"
kvdb-memorydb = "0.13.0"
+2 -2
View File
@@ -10,7 +10,7 @@ description = "The Candidate Backing Subsystem. Tracks parachain candidates that
workspace = true
[dependencies]
futures = "0.3.21"
futures = "0.3.30"
sp-keystore = { path = "../../../../substrate/primitives/keystore" }
polkadot-primitives = { path = "../../../primitives" }
polkadot-node-primitives = { path = "../../primitives" }
@@ -30,7 +30,7 @@ sp-application-crypto = { path = "../../../../substrate/primitives/application-c
sp-keyring = { path = "../../../../substrate/primitives/keyring" }
sc-keystore = { path = "../../../../substrate/client/keystore" }
sp-tracing = { path = "../../../../substrate/primitives/tracing" }
futures = { version = "0.3.21", features = ["thread-pool"] }
futures = { version = "0.3.30", features = ["thread-pool"] }
assert_matches = "1.4.0"
rstest = "0.18.2"
polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" }
@@ -10,7 +10,7 @@ description = "Bitfield signing subsystem for the Polkadot node"
workspace = true
[dependencies]
futures = "0.3.21"
futures = "0.3.30"
gum = { package = "tracing-gum", path = "../../gum" }
polkadot-primitives = { path = "../../../primitives" }
polkadot-node-subsystem = { path = "../../subsystem" }
@@ -10,8 +10,8 @@ license.workspace = true
workspace = true
[dependencies]
async-trait = "0.1.74"
futures = "0.3.21"
async-trait = "0.1.79"
futures = "0.3.30"
futures-timer = "3.0.2"
gum = { package = "tracing-gum", path = "../../gum" }
@@ -31,7 +31,7 @@ polkadot-node-core-pvf = { path = "../pvf" }
[dev-dependencies]
sp-keyring = { path = "../../../../substrate/primitives/keyring" }
futures = { version = "0.3.21", features = ["thread-pool"] }
futures = { version = "0.3.30", features = ["thread-pool"] }
assert_matches = "1.4.0"
polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" }
sp-core = { path = "../../../../substrate/primitives/core" }
+2 -2
View File
@@ -10,7 +10,7 @@ description = "The Chain API subsystem provides access to chain related utility
workspace = true
[dependencies]
futures = "0.3.21"
futures = "0.3.30"
gum = { package = "tracing-gum", path = "../../gum" }
polkadot-node-metrics = { path = "../../metrics" }
polkadot-node-subsystem = { path = "../../subsystem" }
@@ -19,7 +19,7 @@ sc-client-api = { path = "../../../../substrate/client/api" }
sc-consensus-babe = { path = "../../../../substrate/client/consensus/babe" }
[dev-dependencies]
futures = { version = "0.3.21", features = ["thread-pool"] }
futures = { version = "0.3.30", features = ["thread-pool"] }
maplit = "1.0.2"
parity-scale-codec = "3.6.1"
polkadot-node-primitives = { path = "../../primitives" }
@@ -10,7 +10,7 @@ license.workspace = true
workspace = true
[dependencies]
futures = "0.3.21"
futures = "0.3.30"
futures-timer = "3"
gum = { package = "tracing-gum", path = "../../gum" }
polkadot-primitives = { path = "../../../primitives" }
@@ -10,7 +10,7 @@ license.workspace = true
workspace = true
[dependencies]
futures = "0.3.21"
futures = "0.3.30"
gum = { package = "tracing-gum", path = "../../gum" }
parity-scale-codec = "3.6.1"
kvdb = "0.13.0"
@@ -10,11 +10,11 @@ description = "Parachains inherent data provider for Polkadot node"
workspace = true
[dependencies]
futures = "0.3.21"
futures = "0.3.30"
futures-timer = "3.0.2"
gum = { package = "tracing-gum", path = "../../gum" }
thiserror = { workspace = true }
async-trait = "0.1.74"
async-trait = "0.1.79"
polkadot-node-subsystem = { path = "../../subsystem" }
polkadot-overseer = { path = "../../overseer" }
polkadot-primitives = { path = "../../../primitives" }
@@ -10,7 +10,7 @@ description = "The Prospective Parachains subsystem. Tracks and handles prospect
workspace = true
[dependencies]
futures = "0.3.19"
futures = "0.3.30"
gum = { package = "tracing-gum", path = "../../gum" }
parity-scale-codec = "3.6.4"
thiserror = { workspace = true }
+1 -1
View File
@@ -11,7 +11,7 @@ workspace = true
[dependencies]
bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] }
futures = "0.3.21"
futures = "0.3.30"
gum = { package = "tracing-gum", path = "../../gum" }
thiserror = { workspace = true }
polkadot-primitives = { path = "../../../primitives" }
+1 -1
View File
@@ -10,7 +10,7 @@ license.workspace = true
workspace = true
[dependencies]
futures = "0.3.21"
futures = "0.3.30"
thiserror = { workspace = true }
gum = { package = "tracing-gum", path = "../../gum" }
+1 -1
View File
@@ -14,7 +14,7 @@ always-assert = "0.1"
array-bytes = "6.1"
blake3 = "1.5"
cfg-if = "1.0"
futures = "0.3.21"
futures = "0.3.30"
futures-timer = "3.0.2"
gum = { package = "tracing-gum", path = "../../gum" }
is_executable = "1.0.1"
+1 -1
View File
@@ -12,7 +12,7 @@ workspace = true
[dependencies]
cfg-if = "1.0"
cpu-time = "1.0.0"
futures = "0.3.21"
futures = "0.3.30"
gum = { package = "tracing-gum", path = "../../../gum" }
libc = "0.2.152"
thiserror = { workspace = true }
+3 -3
View File
@@ -10,7 +10,7 @@ license.workspace = true
workspace = true
[dependencies]
futures = "0.3.21"
futures = "0.3.30"
gum = { package = "tracing-gum", path = "../../gum" }
schnellru = "0.2.1"
@@ -25,8 +25,8 @@ polkadot-node-subsystem-types = { path = "../../subsystem-types" }
sp-api = { path = "../../../../substrate/primitives/api" }
sp-core = { path = "../../../../substrate/primitives/core" }
sp-keyring = { path = "../../../../substrate/primitives/keyring" }
async-trait = "0.1.74"
futures = { version = "0.3.21", features = ["thread-pool"] }
async-trait = "0.1.79"
futures = { version = "0.3.30", features = ["thread-pool"] }
polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" }
polkadot-node-primitives = { path = "../../primitives" }
test-helpers = { package = "polkadot-primitives-test-helpers", path = "../../../primitives/test-helpers" }
+1 -1
View File
@@ -18,6 +18,6 @@ polkadot-node-primitives = { path = "../primitives" }
sc-network = { path = "../../../substrate/client/network" }
sp-core = { path = "../../../substrate/primitives/core" }
thiserror = { workspace = true }
tokio = "1.24.2"
tokio = "1.37"
log = { workspace = true, default-features = true }
parity-scale-codec = { version = "3.6.1", default-features = false }
+3 -3
View File
@@ -40,11 +40,11 @@ polkadot-node-primitives = { path = "../primitives" }
polkadot-primitives = { path = "../../primitives" }
color-eyre = { version = "0.6.1", default-features = false }
assert_matches = "1.5"
async-trait = "0.1.74"
async-trait = "0.1.79"
sp-keystore = { path = "../../../substrate/primitives/keystore" }
sp-core = { path = "../../../substrate/primitives/core" }
clap = { version = "4.5.3", features = ["derive"] }
futures = "0.3.21"
futures = "0.3.30"
futures-timer = "3.0.2"
gum = { package = "tracing-gum", path = "../gum" }
erasure = { package = "polkadot-erasure-coding", path = "../../erasure-coding" }
@@ -58,7 +58,7 @@ polkadot-node-core-pvf-prepare-worker = { path = "../core/pvf/prepare-worker" }
[dev-dependencies]
polkadot-node-subsystem-test-helpers = { path = "../subsystem-test-helpers" }
sp-core = { path = "../../../substrate/primitives/core" }
futures = { version = "0.3.21", features = ["thread-pool"] }
futures = { version = "0.3.30", features = ["thread-pool"] }
[build-dependencies]
substrate-build-script-utils = { path = "../../../substrate/utils/build-script-utils" }
+2 -2
View File
@@ -10,7 +10,7 @@ license.workspace = true
workspace = true
[dependencies]
futures = "0.3.21"
futures = "0.3.30"
futures-timer = "3.0.2"
gum = { package = "tracing-gum", path = "../gum" }
@@ -30,7 +30,7 @@ log = { workspace = true, default-features = true }
assert_cmd = "2.0.4"
tempfile = "3.2.0"
hyper = { version = "0.14.20", default-features = false, features = ["http1", "tcp"] }
tokio = "1.24.2"
tokio = "1.37"
polkadot-test-service = { path = "../test/service", features = ["runtime-metrics"] }
substrate-test-utils = { path = "../../../substrate/test-utils" }
sc-service = { path = "../../../substrate/client/service" }
@@ -20,7 +20,7 @@ polkadot-node-jaeger = { path = "../../jaeger" }
rand = "0.8"
itertools = "0.10.5"
futures = "0.3.21"
futures = "0.3.30"
futures-timer = "3.0.2"
gum = { package = "tracing-gum", path = "../../gum" }
bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] }
@@ -37,5 +37,5 @@ schnorrkel = { version = "0.11.4", default-features = false }
# rand_core should match schnorrkel
rand_core = "0.6.2"
rand_chacha = "0.3.1"
env_logger = "0.9.0"
env_logger = "0.11"
log = { workspace = true, default-features = true }
@@ -10,7 +10,7 @@ license.workspace = true
workspace = true
[dependencies]
futures = "0.3.21"
futures = "0.3.30"
gum = { package = "tracing-gum", path = "../../gum" }
parity-scale-codec = { version = "3.6.1", features = ["std"] }
polkadot-primitives = { path = "../../../primitives" }
@@ -10,13 +10,13 @@ license.workspace = true
workspace = true
[dependencies]
futures = "0.3.21"
tokio = "1.24.2"
futures = "0.3.30"
tokio = "1.37"
schnellru = "0.2.1"
rand = "0.8.5"
fatality = "0.0.6"
thiserror = { workspace = true }
async-trait = "0.1.74"
async-trait = "0.1.79"
gum = { package = "tracing-gum", path = "../../gum" }
polkadot-erasure-coding = { path = "../../../erasure-coding" }
@@ -30,7 +30,7 @@ sc-network = { path = "../../../../substrate/client/network" }
[dev-dependencies]
assert_matches = "1.4.0"
env_logger = "0.9.0"
env_logger = "0.11"
futures-timer = "3.0.2"
log = { workspace = true, default-features = true }
@@ -11,7 +11,7 @@ workspace = true
[dependencies]
always-assert = "0.1"
futures = "0.3.21"
futures = "0.3.30"
futures-timer = "3.0.2"
gum = { package = "tracing-gum", path = "../../gum" }
polkadot-primitives = { path = "../../../primitives" }
@@ -30,6 +30,6 @@ sp-keystore = { path = "../../../../substrate/primitives/keystore" }
sp-keyring = { path = "../../../../substrate/primitives/keyring" }
maplit = "1.0.2"
log = { workspace = true, default-features = true }
env_logger = "0.9.0"
env_logger = "0.11"
assert_matches = "1.4.0"
rand_chacha = "0.3.1"
+2 -2
View File
@@ -11,8 +11,8 @@ workspace = true
[dependencies]
always-assert = "0.1"
async-trait = "0.1.74"
futures = "0.3.21"
async-trait = "0.1.79"
futures = "0.3.30"
gum = { package = "tracing-gum", path = "../../gum" }
polkadot-primitives = { path = "../../../primitives" }
parity-scale-codec = { version = "3.6.1", default-features = false, features = ["derive"] }
@@ -11,7 +11,7 @@ workspace = true
[dependencies]
bitvec = { version = "1.0.1", default-features = false, features = ["alloc"] }
futures = "0.3.21"
futures = "0.3.30"
futures-timer = "3"
gum = { package = "tracing-gum", path = "../../gum" }
@@ -30,7 +30,7 @@ tokio-util = "0.7.1"
[dev-dependencies]
log = { workspace = true, default-features = true }
env_logger = "0.9.0"
env_logger = "0.11"
assert_matches = "1.4.0"
sp-core = { path = "../../../../substrate/primitives/core", features = ["std"] }
@@ -10,7 +10,7 @@ license.workspace = true
workspace = true
[dependencies]
futures = "0.3.21"
futures = "0.3.30"
futures-timer = "3.0.2"
gum = { package = "tracing-gum", path = "../../gum" }
derive_more = "0.99.17"
@@ -31,7 +31,7 @@ indexmap = "2.0.0"
[dev-dependencies]
async-channel = "1.8.0"
async-trait = "0.1.74"
async-trait = "0.1.79"
polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" }
sp-keyring = { path = "../../../../substrate/primitives/keyring" }
sp-tracing = { path = "../../../../substrate/primitives/tracing" }
@@ -22,7 +22,7 @@ polkadot-node-subsystem = { path = "../../subsystem" }
polkadot-node-subsystem-util = { path = "../../subsystem-util" }
polkadot-primitives = { path = "../../../primitives" }
futures = "0.3.21"
futures = "0.3.30"
futures-timer = "3.0.2"
rand = { version = "0.8.5", default-features = false }
rand_chacha = { version = "0.3.1", default-features = false }
@@ -37,7 +37,7 @@ sp-authority-discovery = { path = "../../../../substrate/primitives/authority-di
polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" }
assert_matches = "1.4.0"
async-trait = "0.1.74"
async-trait = "0.1.79"
parking_lot = "0.12.1"
lazy_static = "1.4.0"
quickcheck = "1.0.3"
+3 -3
View File
@@ -11,7 +11,7 @@ workspace = true
[dependencies]
async-channel = "1.8.0"
async-trait = "0.1.74"
async-trait = "0.1.79"
hex = "0.4.3"
polkadot-primitives = { path = "../../../primitives" }
polkadot-node-primitives = { path = "../../primitives" }
@@ -19,8 +19,8 @@ polkadot-node-jaeger = { path = "../../jaeger" }
parity-scale-codec = { version = "3.6.1", default-features = false, features = ["derive"] }
sc-network = { path = "../../../../substrate/client/network" }
sc-authority-discovery = { path = "../../../../substrate/client/authority-discovery" }
strum = { version = "0.24", features = ["derive"] }
futures = "0.3.21"
strum = { version = "0.26.2", features = ["derive"] }
futures = "0.3.30"
thiserror = { workspace = true }
fatality = "0.0.6"
rand = "0.8"
@@ -10,7 +10,7 @@ license.workspace = true
workspace = true
[dependencies]
futures = "0.3.21"
futures = "0.3.30"
futures-timer = "3.0.2"
gum = { package = "tracing-gum", path = "../../gum" }
polkadot-primitives = { path = "../../../primitives" }
+3 -3
View File
@@ -12,7 +12,7 @@ workspace = true
[dependencies]
client = { package = "sc-client-api", path = "../../../substrate/client/api" }
sp-api = { path = "../../../substrate/primitives/api" }
futures = "0.3.21"
futures = "0.3.30"
futures-timer = "3.0.2"
parking_lot = "0.12.1"
polkadot-node-network-protocol = { path = "../network/protocol" }
@@ -23,13 +23,13 @@ polkadot-primitives = { path = "../../primitives" }
orchestra = { version = "0.3.5", default-features = false, features = ["futures_channel"] }
gum = { package = "tracing-gum", path = "../gum" }
sp-core = { path = "../../../substrate/primitives/core" }
async-trait = "0.1.74"
async-trait = "0.1.79"
tikv-jemalloc-ctl = { version = "0.5.0", optional = true }
[dev-dependencies]
metered = { package = "prioritized-metered-channel", version = "0.6.1", default-features = false, features = ["futures_channel"] }
sp-core = { path = "../../../substrate/primitives/core" }
futures = { version = "0.3.21", features = ["thread-pool"] }
futures = { version = "0.3.30", features = ["thread-pool"] }
femme = "2.2.1"
assert_matches = "1.4.0"
test-helpers = { package = "polkadot-primitives-test-helpers", path = "../../primitives/test-helpers" }
+1 -1
View File
@@ -11,7 +11,7 @@ workspace = true
[dependencies]
bounded-vec = "0.7"
futures = "0.3.21"
futures = "0.3.30"
polkadot-primitives = { path = "../../primitives" }
parity-scale-codec = { version = "3.6.1", default-features = false, features = ["derive"] }
sp-core = { path = "../../../substrate/primitives/core" }
+3 -3
View File
@@ -77,8 +77,8 @@ frame-benchmarking-cli = { path = "../../../substrate/utils/frame/benchmarking-c
frame-benchmarking = { path = "../../../substrate/frame/benchmarking" }
# External Crates
async-trait = "0.1.74"
futures = "0.3.21"
async-trait = "0.1.79"
futures = "0.3.30"
hex-literal = "0.4.1"
is_executable = "1.0.1"
gum = { package = "tracing-gum", path = "../gum" }
@@ -148,7 +148,7 @@ xcm-fee-payment-runtime-api = { path = "../../xcm/xcm-fee-payment-runtime-api" }
polkadot-test-client = { path = "../test/client" }
polkadot-node-subsystem-test-helpers = { path = "../subsystem-test-helpers" }
test-helpers = { package = "polkadot-primitives-test-helpers", path = "../../primitives/test-helpers" }
env_logger = "0.9.0"
env_logger = "0.11"
assert_matches = "1.5.0"
serial_test = "2.0.0"
tempfile = "3.2"
+3 -3
View File
@@ -35,12 +35,12 @@ color-eyre = { version = "0.6.1", default-features = false }
polkadot-overseer = { path = "../overseer" }
colored = "2.0.4"
assert_matches = "1.5"
async-trait = "0.1.57"
async-trait = "0.1.79"
sp-keystore = { path = "../../../substrate/primitives/keystore" }
sc-keystore = { path = "../../../substrate/client/keystore" }
sp-core = { path = "../../../substrate/primitives/core" }
clap = { version = "4.5.3", features = ["derive"] }
futures = "0.3.21"
futures = "0.3.30"
futures-timer = "3.0.2"
bincode = "1.3.3"
sha1 = "0.10.6"
@@ -48,7 +48,7 @@ hex = "0.4.3"
gum = { package = "tracing-gum", path = "../gum" }
polkadot-erasure-coding = { package = "polkadot-erasure-coding", path = "../../erasure-coding" }
log = { workspace = true, default-features = true }
env_logger = "0.9.0"
env_logger = "0.11"
rand = "0.8.5"
# `rand` only supports uniform distribution, we need normal distribution for latency.
rand_distr = "0.4.3"
@@ -11,8 +11,8 @@ license.workspace = true
workspace = true
[dependencies]
async-trait = "0.1.74"
futures = "0.3.21"
async-trait = "0.1.79"
futures = "0.3.30"
parking_lot = "0.12.1"
polkadot-node-subsystem = { path = "../subsystem" }
polkadot-erasure-coding = { path = "../../erasure-coding" }
+2 -2
View File
@@ -11,7 +11,7 @@ workspace = true
[dependencies]
derive_more = "0.99.17"
futures = "0.3.21"
futures = "0.3.30"
polkadot-primitives = { path = "../../primitives" }
polkadot-node-primitives = { path = "../primitives" }
polkadot-node-network-protocol = { path = "../network/protocol" }
@@ -29,5 +29,5 @@ sc-transaction-pool-api = { path = "../../../substrate/client/transaction-pool/a
smallvec = "1.8.0"
substrate-prometheus-endpoint = { path = "../../../substrate/utils/prometheus" }
thiserror = { workspace = true }
async-trait = "0.1.74"
async-trait = "0.1.79"
bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] }
+4 -4
View File
@@ -10,8 +10,8 @@ license.workspace = true
workspace = true
[dependencies]
async-trait = "0.1.74"
futures = "0.3.21"
async-trait = "0.1.79"
futures = "0.3.30"
futures-channel = "0.3.23"
itertools = "0.10"
parity-scale-codec = { version = "3.6.1", default-features = false, features = ["derive"] }
@@ -44,8 +44,8 @@ parity-db = { version = "0.4.12" }
[dev-dependencies]
assert_matches = "1.4.0"
env_logger = "0.9.0"
futures = { version = "0.3.21", features = ["thread-pool"] }
env_logger = "0.11"
futures = { version = "0.3.30", features = ["thread-pool"] }
log = { workspace = true, default-features = true }
polkadot-node-subsystem-test-helpers = { path = "../subsystem-test-helpers" }
lazy_static = "1.4.0"
+1 -1
View File
@@ -38,7 +38,7 @@ frame-benchmarking = { path = "../../../../substrate/frame/benchmarking" }
[dev-dependencies]
sp-keyring = { path = "../../../../substrate/primitives/keyring" }
futures = "0.3.21"
futures = "0.3.30"
[features]
runtime-benchmarks = [
+3 -3
View File
@@ -10,13 +10,13 @@ license.workspace = true
workspace = true
[dependencies]
futures = "0.3.21"
futures = "0.3.30"
hex = "0.4.3"
gum = { package = "tracing-gum", path = "../../gum" }
rand = "0.8.5"
serde_json = { workspace = true, default-features = true }
tempfile = "3.2.0"
tokio = "1.24.2"
tokio = "1.37"
# Polkadot dependencies
polkadot-overseer = { path = "../../overseer" }
@@ -63,7 +63,7 @@ substrate-test-client = { path = "../../../../substrate/test-utils/client" }
[dev-dependencies]
pallet-balances = { path = "../../../../substrate/frame/balances", default-features = false }
substrate-test-utils = { path = "../../../../substrate/test-utils" }
tokio = { version = "1.24.2", features = ["macros"] }
tokio = { version = "1.37", features = ["macros"] }
[features]
runtime-metrics = ["polkadot-test-runtime/runtime-metrics"]