upgrade a few dependencies (#7831)

* upgrade a few dependencies

* make it compile at the expense of duplicate deps

* fix web-wasm and a warning

* introduce activate-wasm-bindgen-features crate

* Revert "introduce activate-wasm-bindgen-features crate"

This reverts commit 5a6e41e683f8a4844c0a735dcd08caabb2313f11.

* add getrandom feature to sc-consensus-aura
This commit is contained in:
Andronik Ordian
2021-01-06 17:12:17 +01:00
committed by GitHub
parent a208da1d18
commit 2b48e09b24
58 changed files with 255 additions and 203 deletions
+3 -3
View File
@@ -24,9 +24,9 @@ futures = "0.3.1"
hash-db = { version = "0.15.2", default-features = false }
sp-blockchain = { version = "2.0.0", path = "../../primitives/blockchain" }
sp-inherents = { version = "2.0.0", default-features = false, path = "../../primitives/inherents" }
kvdb = "0.7.0"
kvdb = "0.8.0"
log = "0.4.8"
parking_lot = "0.10.0"
parking_lot = "0.11.1"
lazy_static = "1.4.0"
sp-database = { version = "2.0.0", path = "../../primitives/database" }
sp-core = { version = "2.0.0", default-features = false, path = "../../primitives/core" }
@@ -43,7 +43,7 @@ sp-transaction-pool = { version = "2.0.0", path = "../../primitives/transaction-
prometheus-endpoint = { package = "substrate-prometheus-endpoint", version = "0.8.0", path = "../../utils/prometheus" }
[dev-dependencies]
kvdb-memorydb = "0.7.0"
kvdb-memorydb = "0.8.0"
sp-test-primitives = { version = "2.0.0", path = "../../primitives/test-primitives" }
substrate-test-runtime = { version = "2.0.0", path = "../../test-utils/runtime" }
thiserror = "1.0.21"
+1 -1
View File
@@ -33,4 +33,4 @@ sc-proposer-metrics = { version = "0.8.0", path = "../proposer-metrics" }
[dev-dependencies]
sc-transaction-pool = { version = "2.0.0", path = "../transaction-pool" }
substrate-test-runtime-client = { version = "2.0.0", path = "../../test-utils/runtime/client" }
parking_lot = "0.10.0"
parking_lot = "0.11.1"
+1 -1
View File
@@ -14,7 +14,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
sc-chain-spec-derive = { version = "2.0.0", path = "./derive" }
impl-trait-for-tuples = "0.1.3"
impl-trait-for-tuples = "0.2.0"
sc-network = { version = "0.8.0", path = "../network" }
sp-core = { version = "2.0.0", path = "../../primitives/core" }
serde = { version = "1.0.101", features = ["derive"] }
+4 -1
View File
@@ -25,7 +25,7 @@ futures = "0.3.4"
futures-timer = "3.0.1"
sp-inherents = { version = "2.0.0", path = "../../../primitives/inherents" }
log = "0.4.8"
parking_lot = "0.10.0"
parking_lot = "0.11.1"
sp-core = { version = "2.0.0", path = "../../../primitives/core" }
sp-blockchain = { version = "2.0.0", path = "../../../primitives/blockchain" }
sp-io = { version = "2.0.0", path = "../../../primitives/io" }
@@ -37,6 +37,9 @@ sp-timestamp = { version = "2.0.0", path = "../../../primitives/timestamp" }
sp-keystore = { version = "0.8.0", path = "../../../primitives/keystore" }
sc-telemetry = { version = "2.0.0", path = "../../telemetry" }
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus", version = "0.8.0"}
# We enable it only for web-wasm check
# See https://docs.rs/getrandom/0.2.1/getrandom/#webassembly-support
getrandom = { version = "0.2", features = ["js"], optional = true }
[dev-dependencies]
sp-keyring = { version = "2.0.0", path = "../../../primitives/keyring" }
+1 -1
View File
@@ -44,7 +44,7 @@ fork-tree = { version = "2.0.0", path = "../../../utils/fork-tree" }
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus", version = "0.8.0"}
futures = "0.3.4"
futures-timer = "3.0.1"
parking_lot = "0.10.0"
parking_lot = "0.11.1"
log = "0.4.8"
schnorrkel = { version = "0.9.1", features = ["preaudit_deprecated"] }
rand = "0.7.2"
+1 -1
View File
@@ -14,7 +14,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "1.3.4", features = ["derive"] }
parking_lot = "0.10.0"
parking_lot = "0.11.1"
fork-tree = { version = "2.0.0", path = "../../../utils/fork-tree" }
sp-runtime = { path = "../../../primitives/runtime" , version = "2.0.0"}
sp-blockchain = { version = "2.0.0", path = "../../../primitives/blockchain" }
@@ -19,7 +19,7 @@ jsonrpc-core = "15.1.0"
jsonrpc-core-client = "15.1.0"
jsonrpc-derive = "15.1.0"
log = "0.4.8"
parking_lot = "0.10.0"
parking_lot = "0.11.1"
codec = { package = "parity-scale-codec", version = "1.3.1" }
serde = { version = "1.0", features=["derive"] }
assert_matches = "1.3.0"
+1 -1
View File
@@ -26,7 +26,7 @@ sp-consensus = { version = "0.8.0", path = "../../../primitives/consensus/common
log = "0.4.8"
futures = { version = "0.3.1", features = ["compat"] }
futures-timer = "3.0.1"
parking_lot = "0.10.0"
parking_lot = "0.11.1"
sp-timestamp = { version = "2.0.0", path = "../../../primitives/timestamp" }
derive_more = "0.99.2"
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus", version = "0.8.0"}
+1 -1
View File
@@ -30,7 +30,7 @@ sp-consensus = { version = "0.8.0", path = "../../../primitives/consensus/common
sp-inherents = { version = "2.0.0", path = "../../../primitives/inherents" }
futures = "0.3.4"
futures-timer = "3.0.1"
parking_lot = "0.10.0"
parking_lot = "0.11.1"
log = "0.4.11"
thiserror = "1.0.21"
+6 -6
View File
@@ -13,14 +13,14 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
parking_lot = "0.10.0"
parking_lot = "0.11.1"
log = "0.4.8"
kvdb = "0.7.0"
kvdb-rocksdb = { version = "0.9.1", optional = true }
kvdb-memorydb = "0.7.0"
kvdb = "0.8.0"
kvdb-rocksdb = { version = "0.10.0", optional = true }
kvdb-memorydb = "0.8.0"
linked-hash-map = "0.5.2"
hash-db = "0.15.2"
parity-util-mem = { version = "0.7.0", default-features = false, features = ["std"] }
parity-util-mem = { version = "0.8.0", default-features = false, features = ["std"] }
codec = { package = "parity-scale-codec", version = "1.3.4", features = ["derive"] }
blake2-rfc = "0.2.18"
@@ -43,7 +43,7 @@ sp-keyring = { version = "2.0.0", path = "../../primitives/keyring" }
sp-tracing = { version = "2.0.0", path = "../../primitives/tracing" }
substrate-test-runtime-client = { version = "2.0.0", path = "../../test-utils/runtime/client" }
quickcheck = "0.9"
kvdb-rocksdb = "0.9.1"
kvdb-rocksdb = "0.10.0"
tempfile = "3"
[features]
+1 -1
View File
@@ -33,7 +33,7 @@ sp-externalities = { version = "0.8.0", path = "../../primitives/externalities"
sc-executor-common = { version = "0.8.0", path = "common" }
sc-executor-wasmi = { version = "0.8.0", path = "wasmi" }
sc-executor-wasmtime = { version = "0.8.0", path = "wasmtime", optional = true }
parking_lot = "0.10.0"
parking_lot = "0.11.1"
log = "0.4.8"
libsecp256k1 = "0.3.4"
+1 -1
View File
@@ -20,7 +20,7 @@ fork-tree = { version = "2.0.0", path = "../../utils/fork-tree" }
futures = "0.3.4"
futures-timer = "3.0.1"
log = "0.4.8"
parking_lot = "0.10.0"
parking_lot = "0.11.1"
rand = "0.7.2"
parity-scale-codec = { version = "1.3.4", features = ["derive"] }
sp-application-crypto = { version = "2.0.0", path = "../../primitives/application-crypto" }
+1 -1
View File
@@ -16,7 +16,7 @@ targets = ["x86_64-unknown-linux-gnu"]
ansi_term = "0.12.1"
futures = "0.3.4"
log = "0.4.8"
parity-util-mem = { version = "0.7.0", default-features = false, features = ["primitive-types"] }
parity-util-mem = { version = "0.8.0", default-features = false, features = ["primitive-types"] }
sc-client-api = { version = "2.0.0", path = "../api" }
sc-network = { version = "0.8.0", path = "../network" }
sp-blockchain = { version = "2.0.0", path = "../../primitives/blockchain" }
+1 -1
View File
@@ -24,7 +24,7 @@ sp-core = { version = "2.0.0", path = "../../primitives/core" }
sp-keystore = { version = "0.8.0", path = "../../primitives/keystore" }
hex = "0.4.0"
merlin = { version = "2.0", default-features = false }
parking_lot = "0.10.0"
parking_lot = "0.11.1"
rand = "0.7.2"
serde_json = "1.0.41"
subtle = "2.1.1"
+1 -1
View File
@@ -11,7 +11,7 @@ documentation = "https://docs.rs/sc-light"
readme = "README.md"
[dependencies]
parking_lot = "0.10.0"
parking_lot = "0.11.1"
lazy_static = "1.4.0"
hash-db = "0.15.2"
sp-runtime = { version = "2.0.0", path = "../../primitives/runtime" }
+1 -1
View File
@@ -16,7 +16,7 @@ targets = ["x86_64-unknown-linux-gnu"]
async-std = "1.6.5"
sc-network = { version = "0.8.0", path = "../" }
log = "0.4.8"
parking_lot = "0.10.0"
parking_lot = "0.11.1"
futures = "0.3.4"
futures-timer = "3.0.1"
rand = "0.7.2"
+1 -1
View File
@@ -24,7 +24,7 @@ threadpool = "1.7"
num_cpus = "1.10"
sp-offchain = { version = "2.0.0", path = "../../primitives/offchain" }
codec = { package = "parity-scale-codec", version = "1.3.4", features = ["derive"] }
parking_lot = "0.10.0"
parking_lot = "0.11.1"
sp-core = { version = "2.0.0", path = "../../primitives/core" }
rand = "0.7.2"
sp-runtime = { version = "2.0.0", path = "../../primitives/runtime" }
+1 -1
View File
@@ -21,7 +21,7 @@ jsonrpc-core-client = "15.1.0"
jsonrpc-derive = "15.1.0"
jsonrpc-pubsub = "15.1.0"
log = "0.4.8"
parking_lot = "0.10.0"
parking_lot = "0.11.1"
sp-core = { version = "2.0.0", path = "../../primitives/core" }
sp-version = { version = "2.0.0", path = "../../primitives/version" }
sp-runtime = { path = "../../primitives/runtime" , version = "2.0.0"}
+1 -1
View File
@@ -39,7 +39,7 @@ sp-transaction-pool = { version = "2.0.0", path = "../../primitives/transaction-
sp-blockchain = { version = "2.0.0", path = "../../primitives/blockchain" }
sc-tracing = { version = "2.0.0", path = "../tracing" }
hash-db = { version = "0.15.2", default-features = false }
parking_lot = "0.10.0"
parking_lot = "0.11.1"
lazy_static = { version = "1.4.0", optional = true }
[dev-dependencies]
+2 -2
View File
@@ -30,7 +30,7 @@ futures = { version = "0.3.4", features = ["compat"] }
jsonrpc-pubsub = "15.1"
jsonrpc-core = "15.1"
rand = "0.7.3"
parking_lot = "0.10.0"
parking_lot = "0.11.1"
lazy_static = "1.4.0"
log = "0.4.11"
slog = { version = "2.5.2", features = ["nested-values"] }
@@ -78,7 +78,7 @@ sc-tracing = { version = "2.0.0", path = "../tracing" }
sp-tracing = { version = "2.0.0", path = "../../primitives/tracing" }
tracing = "0.1.22"
tracing-futures = { version = "0.2.4" }
parity-util-mem = { version = "0.7.0", default-features = false, features = ["primitive-types"] }
parity-util-mem = { version = "0.8.0", default-features = false, features = ["primitive-types"] }
[target.'cfg(not(target_os = "unknown"))'.dependencies]
tempfile = "3.1.0"
+1 -1
View File
@@ -18,7 +18,7 @@ tokio = "0.1.22"
futures01 = { package = "futures", version = "0.1.29" }
log = "0.4.8"
fdlimit = "0.2.1"
parking_lot = "0.10.0"
parking_lot = "0.11.1"
sc-light = { version = "2.0.0", path = "../../light" }
sp-blockchain = { version = "2.0.0", path = "../../../primitives/blockchain" }
sp-api = { version = "2.0.0", path = "../../../primitives/api" }
+2 -2
View File
@@ -14,10 +14,10 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
thiserror = "1.0.21"
parking_lot = "0.10.0"
parking_lot = "0.11.1"
log = "0.4.11"
sc-client-api = { version = "2.0.0", path = "../api" }
sp-core = { version = "2.0.0", path = "../../primitives/core" }
codec = { package = "parity-scale-codec", version = "1.3.4", features = ["derive"] }
parity-util-mem = { version = "0.7.0", default-features = false, features = ["primitive-types"] }
parity-util-mem = { version = "0.8.0", default-features = false, features = ["primitive-types"] }
parity-util-mem-derive = "0.1.0"
+1 -1
View File
@@ -15,7 +15,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
parking_lot = "0.10.0"
parking_lot = "0.11.1"
futures = "0.3.4"
futures-timer = "3.0.1"
wasm-timer = "0.2.5"
+1 -1
View File
@@ -19,7 +19,7 @@ erased-serde = "0.3.9"
lazy_static = "1.4.0"
log = { version = "0.4.8" }
once_cell = "1.4.1"
parking_lot = "0.10.0"
parking_lot = "0.11.1"
regex = "1.4.2"
rustc-hash = "1.1.0"
serde = "1.0.101"
+2 -2
View File
@@ -19,8 +19,8 @@ futures = { version = "0.3.1", features = ["compat"] }
futures-diagnose = "1.0"
intervalier = "0.4.0"
log = "0.4.8"
parity-util-mem = { version = "0.7.0", default-features = false, features = ["primitive-types"] }
parking_lot = "0.10.0"
parity-util-mem = { version = "0.8.0", default-features = false, features = ["primitive-types"] }
parking_lot = "0.11.1"
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus", version = "0.8.0"}
sc-client-api = { version = "2.0.0", path = "../api" }
sc-transaction-graph = { version = "2.0.0", path = "./graph" }
@@ -17,7 +17,7 @@ derive_more = "0.99.2"
thiserror = "1.0.21"
futures = "0.3.4"
log = "0.4.8"
parking_lot = "0.10.0"
parking_lot = "0.11.1"
serde = { version = "1.0.101", features = ["derive"] }
wasm-timer = "0.2"
sp-blockchain = { version = "2.0.0", path = "../../../primitives/blockchain" }
@@ -25,7 +25,7 @@ sp-utils = { version = "2.0.0", path = "../../../primitives/utils" }
sp-core = { version = "2.0.0", path = "../../../primitives/core" }
sp-runtime = { version = "2.0.0", path = "../../../primitives/runtime" }
sp-transaction-pool = { version = "2.0.0", path = "../../../primitives/transaction-pool" }
parity-util-mem = { version = "0.7.0", default-features = false, features = ["primitive-types"] }
parity-util-mem = { version = "0.8.0", default-features = false, features = ["primitive-types"] }
linked-hash-map = "0.5.2"
retain_mut = "0.1.1"