Lift dependencies to the workspace (Part 1) (#2070)

Changes (partial https://github.com/paritytech/polkadot-sdk/issues/994):
- Set log to `0.4.20` everywhere
- Lift `log` to the workspace

Starting with a simpler one after seeing
https://github.com/paritytech/polkadot-sdk/pull/2065 from @jsdw.
This sets the `default-features` to `false` in the root and then
overwrites that in each create to its original value. This is necessary
since otherwise the `default` features are additive and its impossible
to disable them in the crate again once they are enabled in the
workspace.

I am using a tool to do this, so its mostly a test to see that it works
as expected.

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
Oliver Tale-Yazdi
2024-02-12 12:19:20 +01:00
committed by GitHub
parent 8362a6810d
commit e80c24733f
200 changed files with 200 additions and 199 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ workspace = true
[dependencies]
array-bytes = "6.1"
clap = { version = "4.4.18", features = ["derive"] }
log = "0.4.17"
log = { workspace = true, default-features = true }
node-primitives = { path = "../primitives" }
node-testing = { path = "../testing" }
kitchensink-runtime = { path = "../runtime" }
+1 -1
View File
@@ -46,7 +46,7 @@ codec = { package = "parity-scale-codec", version = "3.6.1" }
serde = { version = "1.0.195", features = ["derive"] }
jsonrpsee = { version = "0.20.3", features = ["server"] }
futures = "0.3.21"
log = "0.4.17"
log = { workspace = true, default-features = true }
rand = "0.8"
# primitives
+1 -1
View File
@@ -25,7 +25,7 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive", "serde"] }
static_assertions = "1.1.0"
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
serde_json = { version = "1.0.111", default-features = false, features = ["alloc", "arbitrary_precision"] }
# pallet-asset-conversion: turn on "num-traits" feature
+1 -1
View File
@@ -19,7 +19,7 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "3.6.1" }
fs_extra = "1"
futures = "0.3.21"
log = "0.4.17"
log = { workspace = true, default-features = true }
tempfile = "3.1.0"
frame-system = { path = "../../../frame/system" }
node-cli = { package = "staging-node-cli", path = "../cli" }
@@ -24,7 +24,7 @@ crate-type = ["rlib"]
[dependencies]
clap = { version = "4.4.18", features = ["derive"] }
log = "0.4.17"
log = { workspace = true, default-features = true }
sc-chain-spec = { path = "../../../client/chain-spec" }
serde_json = "1.0.111"
sp-tracing = { path = "../../../primitives/tracing" }
+1 -1
View File
@@ -17,7 +17,7 @@ workspace = true
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
log = "0.4.17"
log = { workspace = true, default-features = true }
thiserror = "1.0.48"
sp-core = { path = "../../primitives/core" }
sp-wasm-interface = { path = "../../primitives/wasm-interface" }
+1 -1
View File
@@ -22,7 +22,7 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
] }
fnv = "1.0.6"
futures = "0.3.21"
log = "0.4.17"
log = { workspace = true, default-features = true }
parking_lot = "0.12.1"
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus" }
sc-executor = { path = "../executor" }
@@ -29,7 +29,7 @@ multihash = { version = "0.18.1", default-features = false, features = [
"sha2",
"std",
] }
log = "0.4.17"
log = { workspace = true, default-features = true }
prost = "0.12"
rand = "0.8.5"
thiserror = "1.0"
+1 -1
View File
@@ -19,7 +19,7 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "3.6.1" }
futures = "0.3.21"
futures-timer = "3.0.1"
log = "0.4.17"
log = { workspace = true, default-features = true }
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus" }
sc-block-builder = { path = "../block-builder" }
sc-proposer-metrics = { path = "../proposer-metrics" }
+1 -1
View File
@@ -32,7 +32,7 @@ sp-crypto-hashing = { path = "../../primitives/crypto/hashing" }
sp-genesis-builder = { path = "../../primitives/genesis-builder" }
sp-runtime = { path = "../../primitives/runtime" }
sp-state-machine = { path = "../../primitives/state-machine" }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
array-bytes = { version = "6.1" }
docify = "0.2.7"
+1 -1
View File
@@ -23,7 +23,7 @@ fdlimit = "0.3.0"
futures = "0.3.21"
itertools = "0.10.3"
libp2p-identity = { version = "0.1.3", features = ["ed25519", "peerid"] }
log = "0.4.17"
log = { workspace = true, default-features = true }
names = { version = "0.14.0", default-features = false }
parity-scale-codec = "3.6.1"
rand = "0.8.5"
+1 -1
View File
@@ -19,7 +19,7 @@ targets = ["x86_64-unknown-linux-gnu"]
async-trait = "0.1.74"
codec = { package = "parity-scale-codec", version = "3.6.1" }
futures = "0.3.21"
log = "0.4.17"
log = { workspace = true, default-features = true }
thiserror = "1.0"
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus" }
sc-block-builder = { path = "../../block-builder" }
+1 -1
View File
@@ -20,7 +20,7 @@ targets = ["x86_64-unknown-linux-gnu"]
async-trait = "0.1.74"
codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive"] }
futures = "0.3.21"
log = "0.4.17"
log = { workspace = true, default-features = true }
num-bigint = "0.4.3"
num-rational = "0.4.1"
num-traits = "0.2.17"
+1 -1
View File
@@ -18,7 +18,7 @@ async-trait = "0.1.74"
codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive"] }
fnv = "1.0.6"
futures = "0.3"
log = "0.4"
log = { workspace = true, default-features = true }
parking_lot = "0.12.1"
thiserror = "1.0"
wasm-timer = "0.2.5"
@@ -15,7 +15,7 @@ workspace = true
codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive"] }
futures = "0.3.21"
jsonrpsee = { version = "0.20.3", features = ["client-core", "macros", "server"] }
log = "0.4"
log = { workspace = true, default-features = true }
parking_lot = "0.12.1"
serde = { version = "1.0.195", features = ["derive"] }
thiserror = "1.0"
+1 -1
View File
@@ -20,7 +20,7 @@ async-trait = "0.1.74"
futures = { version = "0.3.21", features = ["thread-pool"] }
futures-timer = "3.0.1"
libp2p-identity = { version = "0.1.3", features = ["ed25519", "peerid"] }
log = "0.4.17"
log = { workspace = true, default-features = true }
mockall = "0.11.3"
parking_lot = "0.12.1"
serde = { version = "1.0", features = ["derive"] }
@@ -24,7 +24,7 @@ dyn-clone = "1.0"
finality-grandpa = { version = "0.16.2", features = ["derive-codec"] }
futures = "0.3.21"
futures-timer = "3.0.1"
log = "0.4.17"
log = { workspace = true, default-features = true }
parity-scale-codec = { version = "3.6.1", features = ["derive"] }
parking_lot = "0.12.1"
rand = "0.8.5"
@@ -16,7 +16,7 @@ workspace = true
finality-grandpa = { version = "0.16.2", features = ["derive-codec"] }
futures = "0.3.16"
jsonrpsee = { version = "0.20.3", features = ["client-core", "macros", "server"] }
log = "0.4.8"
log = { workspace = true, default-features = true }
parity-scale-codec = { version = "3.6.1", features = ["derive"] }
serde = { version = "1.0.195", features = ["derive"] }
thiserror = "1.0"
@@ -22,7 +22,7 @@ async-trait = "0.1.74"
codec = { package = "parity-scale-codec", version = "3.6.1" }
futures = "0.3.21"
futures-timer = "3.0.1"
log = "0.4.17"
log = { workspace = true, default-features = true }
serde = { version = "1.0", features = ["derive"] }
thiserror = "1.0"
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus" }
+1 -1
View File
@@ -20,7 +20,7 @@ async-trait = "0.1.74"
codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive"] }
futures = "0.3.21"
futures-timer = "3.0.1"
log = "0.4.17"
log = { workspace = true, default-features = true }
parking_lot = "0.12.1"
thiserror = "1.0"
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus" }
+1 -1
View File
@@ -21,7 +21,7 @@ async-trait = "0.1.74"
codec = { package = "parity-scale-codec", version = "3.6.1" }
futures = "0.3.21"
futures-timer = "3.0.1"
log = "0.4.17"
log = { workspace = true, default-features = true }
sc-client-api = { path = "../../api" }
sc-consensus = { path = "../common" }
sc-telemetry = { path = "../../telemetry" }
+1 -1
View File
@@ -24,7 +24,7 @@ kvdb = "0.13.0"
kvdb-memorydb = "0.13.0"
kvdb-rocksdb = { version = "0.19.0", optional = true }
linked-hash-map = "0.5.4"
log = "0.4.17"
log = { workspace = true, default-features = true }
parity-db = "0.4.12"
parking_lot = "0.12.1"
sc-client-api = { path = "../api" }
@@ -16,7 +16,7 @@ workspace = true
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
log = "0.4.17"
log = { workspace = true, default-features = true }
cfg-if = "1.0"
libc = "0.2.152"
parking_lot = "0.12.1"
+1 -1
View File
@@ -19,7 +19,7 @@ targets = ["x86_64-unknown-linux-gnu"]
ansi_term = "0.12.1"
futures = "0.3.21"
futures-timer = "3.0.1"
log = "0.4.17"
log = { workspace = true, default-features = true }
sc-client-api = { path = "../api" }
sc-network-common = { path = "../network/common" }
sc-network-sync = { path = "../network/sync" }
@@ -16,7 +16,7 @@ workspace = true
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1" }
futures = "0.3"
log = "0.4"
log = { workspace = true, default-features = true }
sp-api = { path = "../../primitives/api" }
sp-blockchain = { path = "../../primitives/blockchain" }
sc-client-api = { path = "../api" }
+1 -1
View File
@@ -24,7 +24,7 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
futures = "0.3.25"
futures-timer = "3.0.2"
libp2p-identity = { version = "0.1.3", features = ["peerid"] }
log = "0.4.17"
log = { workspace = true, default-features = true }
mixnet = "0.7.0"
multiaddr = "0.17.1"
parking_lot = "0.12.1"
+1 -1
View File
@@ -21,7 +21,7 @@ ahash = "0.8.2"
futures = "0.3.21"
futures-timer = "3.0.1"
libp2p = "0.51.4"
log = "0.4.17"
log = { workspace = true, default-features = true }
schnellru = "0.2.1"
tracing = "0.1.29"
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus" }
+1 -1
View File
@@ -30,7 +30,7 @@ futures-timer = "3.0.2"
ip_network = "0.4.1"
libp2p = { version = "0.51.4", features = ["dns", "identify", "kad", "macros", "mdns", "noise", "ping", "request-response", "tcp", "tokio", "websocket", "yamux"] }
linked_hash_set = "0.1.3"
log = "0.4.17"
log = { workspace = true, default-features = true }
mockall = "0.11.3"
parking_lot = "0.12.1"
partial_sort = "0.2.0"
+1 -1
View File
@@ -23,7 +23,7 @@ async-channel = "1.8.0"
cid = "0.9.0"
futures = "0.3.21"
libp2p-identity = { version = "0.1.3", features = ["peerid"] }
log = "0.4.17"
log = { workspace = true, default-features = true }
prost = "0.12"
thiserror = "1.0"
unsigned-varint = { version = "0.7.1", features = ["asynchronous_codec", "futures"] }
+1 -1
View File
@@ -26,7 +26,7 @@ codec = { package = "parity-scale-codec", version = "3.6.1", features = [
] }
futures = "0.3.21"
libp2p-identity = { version = "0.1.3", features = ["peerid"] }
log = "0.4.16"
log = { workspace = true, default-features = true }
prost = "0.12"
sp-blockchain = { path = "../../../primitives/blockchain" }
sc-client-api = { path = "../../api" }
@@ -21,7 +21,7 @@ async-channel = "1.8.0"
codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive"] }
futures = "0.3.21"
libp2p = "0.51.4"
log = "0.4.17"
log = { workspace = true, default-features = true }
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus" }
sc-network-common = { path = "../common" }
sc-network-sync = { path = "../sync" }
+1 -1
View File
@@ -26,7 +26,7 @@ codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive
futures = "0.3.21"
futures-timer = "3.0.2"
libp2p = "0.51.4"
log = "0.4.17"
log = { workspace = true, default-features = true }
mockall = "0.11.3"
prost = "0.12"
schnellru = "0.2.1"
+1 -1
View File
@@ -21,7 +21,7 @@ async-trait = "0.1.74"
futures = "0.3.21"
futures-timer = "3.0.1"
libp2p = "0.51.4"
log = "0.4.17"
log = { workspace = true, default-features = true }
parking_lot = "0.12.1"
rand = "0.8.5"
sc-block-builder = { path = "../../block-builder" }
@@ -20,7 +20,7 @@ array-bytes = "6.1"
codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive"] }
futures = "0.3.21"
libp2p = "0.51.4"
log = "0.4.17"
log = { workspace = true, default-features = true }
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus" }
sc-network = { path = ".." }
sc-network-common = { path = "../common" }
+1 -1
View File
@@ -42,7 +42,7 @@ sp-offchain = { path = "../../primitives/offchain" }
sp-runtime = { path = "../../primitives/runtime" }
sp-keystore = { path = "../../primitives/keystore" }
sp-externalities = { path = "../../primitives/externalities" }
log = "0.4.17"
log = { workspace = true, default-features = true }
[dev-dependencies]
lazy_static = "1.4.0"
+1 -1
View File
@@ -16,5 +16,5 @@ workspace = true
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
log = "0.4.17"
log = { workspace = true, default-features = true }
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus" }
+1 -1
View File
@@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
jsonrpsee = { version = "0.20.3", features = ["server"] }
log = "0.4.17"
log = { workspace = true, default-features = true }
serde_json = "1.0.111"
tokio = { version = "1.22.0", features = ["parking_lot"] }
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus" }
+1 -1
View File
@@ -39,7 +39,7 @@ parking_lot = "0.12.1"
tokio-stream = { version = "0.1.14", features = ["sync"] }
tokio = { version = "1.22.0", features = ["sync"] }
array-bytes = "6.1"
log = "0.4.17"
log = { workspace = true, default-features = true }
futures-util = { version = "0.3.30", default-features = false }
[dev-dependencies]
+1 -1
View File
@@ -19,7 +19,7 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "3.6.1" }
futures = "0.3.21"
jsonrpsee = { version = "0.20.3", features = ["server"] }
log = "0.4.17"
log = { workspace = true, default-features = true }
parking_lot = "0.12.1"
serde_json = "1.0.111"
sc-block-builder = { path = "../block-builder" }
+1 -1
View File
@@ -33,7 +33,7 @@ thiserror = "1.0.48"
futures = "0.3.21"
rand = "0.8.5"
parking_lot = "0.12.1"
log = "0.4.17"
log = { workspace = true, default-features = true }
futures-timer = "3.0.1"
exit-future = "0.2.0"
pin-project = "1.0.12"
+1 -1
View File
@@ -19,7 +19,7 @@ async-channel = "1.8.0"
array-bytes = "6.1"
fdlimit = "0.3.0"
futures = "0.3.21"
log = "0.4.17"
log = { workspace = true, default-features = true }
parity-scale-codec = "3.6.1"
parking_lot = "0.12.1"
tempfile = "3.1.0"
+1 -1
View File
@@ -17,6 +17,6 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive"] }
log = "0.4.17"
log = { workspace = true, default-features = true }
parking_lot = "0.12.1"
sp-core = { path = "../../primitives/core" }
+1 -1
View File
@@ -16,7 +16,7 @@ workspace = true
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
log = "0.4.17"
log = { workspace = true, default-features = true }
parking_lot = "0.12.1"
parity-db = "0.4.12"
tokio = { version = "1.22.0", features = ["time"] }
+1 -1
View File
@@ -13,7 +13,7 @@ workspace = true
[dependencies]
clap = { version = "4.4.18", features = ["derive", "string"] }
log = "0.4.17"
log = { workspace = true, default-features = true }
fs4 = "0.7.0"
sp-core = { path = "../../primitives/core" }
tokio = { version = "1.22.0", features = ["time"] }
+1 -1
View File
@@ -19,7 +19,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
futures = "0.3.19"
libc = "0.2"
log = "0.4.17"
log = { workspace = true, default-features = true }
rand = "0.8.5"
rand_pcg = "0.3.1"
derive_more = "0.99"
+1 -1
View File
@@ -20,7 +20,7 @@ targets = ["x86_64-unknown-linux-gnu"]
chrono = "0.4.31"
futures = "0.3.21"
libp2p = { version = "0.51.4", features = ["dns", "tcp", "tokio", "wasm-ext", "websocket"] }
log = "0.4.17"
log = { workspace = true, default-features = true }
parking_lot = "0.12.1"
pin-project = "1.0.12"
sc-utils = { path = "../utils" }
+1 -1
View File
@@ -22,7 +22,7 @@ chrono = "0.4.31"
codec = { package = "parity-scale-codec", version = "3.6.1" }
lazy_static = "1.4.0"
libc = "0.2.152"
log = { version = "0.4.17" }
log = { workspace = true, default-features = true }
parking_lot = "0.12.1"
regex = "1.6.0"
rustc-hash = "1.1.0"
+1 -1
View File
@@ -21,7 +21,7 @@ codec = { package = "parity-scale-codec", version = "3.6.1" }
futures = "0.3.21"
futures-timer = "3.0.2"
linked-hash-map = "0.5.4"
log = "0.4.17"
log = { workspace = true, default-features = true }
parking_lot = "0.12.1"
serde = { version = "1.0.195", features = ["derive"] }
thiserror = "1.0.48"
@@ -15,7 +15,7 @@ workspace = true
async-trait = "0.1.74"
codec = { package = "parity-scale-codec", version = "3.6.1" }
futures = "0.3.21"
log = "0.4.17"
log = { workspace = true, default-features = true }
serde = { version = "1.0.195", features = ["derive"] }
thiserror = "1.0.48"
sp-blockchain = { path = "../../../primitives/blockchain" }
+1 -1
View File
@@ -17,7 +17,7 @@ async-channel = "1.8.0"
futures = "0.3.21"
futures-timer = "3.0.2"
lazy_static = "1.4.0"
log = "0.4"
log = { workspace = true, default-features = true }
parking_lot = "0.12.1"
prometheus = { version = "0.13.0", default-features = false }
sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false }
+1 -1
View File
@@ -49,7 +49,7 @@ frame-system-rpc-runtime-api = { default-features = false, path = "../frame/syst
docify = "0.2.7"
simple-mermaid = { git = "https://github.com/kianenigma/simple-mermaid.git", rev = "e48b187bcfd5cc75111acd9d241f1bd36604344b", optional = true }
log = { version = "0.4.20", default-features = false }
log = { workspace = true }
[dev-dependencies]
pallet-examples = { path = "./examples" }
+1 -1
View File
@@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
array-bytes = { version = "6.1", optional = true }
log = { version = "0.4.14", default-features = false }
log = { workspace = true }
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
+1 -1
View File
@@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
sp-std = { path = "../../primitives/std", default-features = false }
# Needed for various traits. In our case, `OnFinalize`.
+1 -1
View File
@@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive", "max-encoded-len"] }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
+1 -1
View File
@@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive", "serde"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
+1 -1
View File
@@ -33,7 +33,7 @@ frame-system = { path = "../system", default-features = false }
frame-election-provider-support = { path = "../election-provider-support", default-features = false }
# third party
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
docify = "0.2.7"
aquamarine = { version = "0.5.0" }
@@ -34,4 +34,4 @@ sp-std = { path = "../../../primitives/std" }
remote-externalities = { package = "frame-remote-externalities", path = "../../../utils/frame/remote-externalities" }
# others
log = "0.4.17"
log = { workspace = true, default-features = true }
+1 -1
View File
@@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive", "max-encoded-len"] }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
+1 -1
View File
@@ -14,7 +14,7 @@ workspace = true
[dependencies]
array-bytes = { version = "6.1", optional = true }
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
serde = { version = "1.0.195", optional = true }
binary-merkle-tree = { path = "../../utils/binary-merkle-tree", default-features = false }
+1 -1
View File
@@ -13,7 +13,7 @@ workspace = true
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive", "serde"] }
serde = { version = "1.0.195", optional = true }
frame-support = { path = "../support", default-features = false }
+1 -1
View File
@@ -18,7 +18,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
linregress = { version = "0.5.1", optional = true }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
paste = "1.0"
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
serde = { version = "1.0.195", optional = true }
+1 -1
View File
@@ -19,7 +19,7 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = [
"derive",
] }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
+1 -1
View File
@@ -19,7 +19,7 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = [
"derive",
] }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
+1 -1
View File
@@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
+1 -1
View File
@@ -24,7 +24,7 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
"max-encoded-len",
] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
log = { version = "0.4", default-features = false }
log = { workspace = true }
serde = { version = "1", optional = true, features = ["derive"] }
smallvec = { version = "1", default-features = false, features = [
"const_generics",
+1 -1
View File
@@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
log = { version = "0.4.16", default-features = false }
log = { workspace = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
+1 -1
View File
@@ -28,7 +28,7 @@ sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
[dev-dependencies]
pallet-balances = { path = "../balances" }
@@ -21,7 +21,7 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
scale-info = { version = "2.10.0", default-features = false, features = [
"derive",
] }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
@@ -19,7 +19,7 @@ targets = ["x86_64-unknown-linux-gnu"]
parking_lot = "0.12.1"
codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive"] }
scale-info = { version = "2.10.0", features = ["derive"] }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
sp-runtime = { path = "../../../primitives/runtime" }
sp-io = { path = "../../../primitives/io" }
@@ -19,7 +19,7 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = [
"derive",
] }
log = { version = "0.4.14", default-features = false }
log = { workspace = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
+1 -1
View File
@@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../../benchmarking", default-features = false, optional = true }
frame-support = { path = "../../support", default-features = false }
@@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-support = { path = "../../support", default-features = false }
frame-system = { path = "../../system", default-features = false }
+1 -1
View File
@@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-support = { path = "../../support", default-features = false }
frame-system = { path = "../../system", default-features = false }
@@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-support = { path = "../../support", default-features = false, features = ["experimental"] }
@@ -18,7 +18,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
lite-json = { version = "0.2.0", default-features = false }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-support = { path = "../../support", default-features = false }
frame-system = { path = "../../system", default-features = false }
+1 -1
View File
@@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-support = { path = "../../support", default-features = false }
+1 -1
View File
@@ -15,7 +15,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-support = { path = "../../support", default-features = false }
+1 -1
View File
@@ -19,7 +19,7 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = [
"derive",
] }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
+1 -1
View File
@@ -16,7 +16,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-support = { path = "../support", default-features = false }
+1 -1
View File
@@ -19,7 +19,7 @@ targets = ["x86_64-unknown-linux-gnu"]
blake2 = { version = "0.10.4", default-features = false }
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
log = { version = "0.4.14", default-features = false }
log = { workspace = true }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
+1 -1
View File
@@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive", "serde"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
+1 -1
View File
@@ -18,7 +18,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive", "max-encoded-len"] }
enumflags2 = { version = "0.7.7" }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
+1 -1
View File
@@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive", "serde"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
+1 -1
View File
@@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive", "serde"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
@@ -16,7 +16,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
+1 -1
View File
@@ -15,7 +15,7 @@ workspace = true
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
serde = { version = "1.0.195", optional = true, features = ["derive"] }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
environmental = { version = "1.1.4", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false }
+1 -1
View File
@@ -20,7 +20,7 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
frame-benchmarking = { default-features = false, optional = true, path = "../benchmarking" }
frame-support = { default-features = false, path = "../support" }
frame-system = { default-features = false, path = "../system" }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
serde = { version = "1.0.195", default-features = false, features = ["derive"] }
sp-application-crypto = { default-features = false, path = "../../primitives/application-crypto" }
+1 -1
View File
@@ -26,7 +26,7 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
# third party
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
[dev-dependencies]
pallet-balances = { path = "../balances" }
@@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
+1 -1
View File
@@ -18,7 +18,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
enumflags2 = { version = "0.7.7" }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
@@ -16,7 +16,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
+1 -1
View File
@@ -31,7 +31,7 @@ sp-std = { path = "../../primitives/std", default-features = false }
sp-staking = { path = "../../primitives/staking", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
log = { version = "0.4.0", default-features = false }
log = { workspace = true }
# Optional: use for testing and/or fuzzing
pallet-balances = { path = "../balances", optional = true }
@@ -29,7 +29,7 @@ sp-io = { path = "../../../primitives/io" }
sp-tracing = { path = "../../../primitives/tracing" }
rand = { version = "0.8.5", features = ["small_rng"] }
log = "0.4.17"
log = { workspace = true, default-features = true }
[[bin]]
name = "call"
@@ -37,4 +37,4 @@ pallet-staking-reward-curve = { path = "../../staking/reward-curve" }
pallet-nomination-pools = { path = ".." }
sp-tracing = { path = "../../../primitives/tracing" }
log = { version = "0.4.0" }
log = { workspace = true, default-features = true }
+1 -1
View File
@@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
serde = { version = "1.0.195", optional = true }
frame-support = { path = "../support", default-features = false }
@@ -32,7 +32,7 @@ pallet-staking = { path = "../../staking", default-features = false }
sp-runtime = { path = "../../../primitives/runtime", default-features = false }
sp-staking = { path = "../../../primitives/staking", default-features = false }
sp-std = { path = "../../../primitives/std", default-features = false }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
[dev-dependencies]
pallet-staking-reward-curve = { path = "../../staking/reward-curve" }
+1 -1
View File
@@ -21,7 +21,7 @@ sp-core = { path = "../../primitives/core", default-features = false, optional =
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
[dev-dependencies]
pallet-balances = { path = "../balances" }
+1 -1
View File
@@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
log = { version = "0.4.16", default-features = false }
log = { workspace = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
+1 -1
View File
@@ -29,7 +29,7 @@ frame-system = { path = "../system", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
log = { version = "0.4.17", default-features = false }
log = { workspace = true }
[dev-dependencies]
assert_matches = { version = "1.5" }
+1 -1
View File
@@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
log = { version = "0.4.16", default-features = false }
log = { workspace = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }

Some files were not shown because too many files have changed in this diff Show More