*: update rand to v0.8.5 (#12962)

* *: update rand to v0.8.5

* *: remove useless deps from Cargo.toml

* fix pallet-session-benchmarking

* fix pallet-election-provider-support test

* remove useless rand from dev-dependencies
This commit is contained in:
Qinxuan Chen
2022-12-19 14:38:51 +08:00
committed by GitHub
parent 9a5f47962f
commit 40c04cf11d
55 changed files with 77 additions and 254 deletions
@@ -19,20 +19,15 @@ clap = { version = "4.0.9", features = ["derive"] }
codec = { package = "parity-scale-codec", version = "3.0.0" }
comfy-table = { version = "6.0.0", default-features = false }
handlebars = "4.2.2"
hash-db = "0.15.2"
Inflector = "0.11.4"
itertools = "0.10.3"
kvdb = "0.13.0"
lazy_static = "1.4.0"
linked-hash-map = "0.5.4"
log = "0.4.17"
memory-db = "0.31.0"
rand = { version = "0.8.4", features = ["small_rng"] }
rand_pcg = "0.3.1"
serde = "1.0.136"
serde_json = "1.0.85"
serde_nanos = "0.1.2"
tempfile = "3.2.0"
thiserror = "1.0.30"
thousands = "0.2.0"
frame-benchmarking = { version = "4.0.0-dev", path = "../../../frame/benchmarking" }
@@ -15,9 +15,6 @@ frame-election-provider-support = { version = "4.0.0-dev", path = "../../../fram
frame-system = { version = "4.0.0-dev", path = "../../../frame/system" }
pallet-staking = { version = "4.0.0-dev", path = "../../../frame/staking" }
# primitives
sp-io = { version = "7.0.0", path = "../../../primitives/io" }
# third party
chrono = { version = "0.4.19" }
git2 = { version = "0.14.2", default-features = false }
@@ -13,15 +13,12 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.0.0" }
env_logger = "0.9"
log = "0.4.17"
serde = "1.0.136"
serde_json = "1.0"
frame-support = { version = "4.0.0-dev", optional = true, path = "../../../frame/support" }
sp-core = { version = "7.0.0", path = "../../../primitives/core" }
sp-io = { version = "7.0.0", path = "../../../primitives/io" }
sp-runtime = { version = "7.0.0", path = "../../../primitives/runtime" }
sp-version = { version = "5.0.0", path = "../../../primitives/version" }
tokio = { version = "1.22.0", features = ["macros", "rt-multi-thread"] }
substrate-rpc-client = { path = "../rpc/client" }
futures = "0.3"
@@ -18,8 +18,6 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features =
serde = { version = "1", features = ["derive"] }
log = { version = "0.4.17", default-features = false }
sp-std = { path = "../../../../primitives/std" }
sp-io = { path = "../../../../primitives/io" }
sp-core = { path = "../../../../primitives/core" }
sp-state-machine = { path = "../../../../primitives/state-machine" }
sp-trie = { path = "../../../../primitives/trie" }
@@ -16,7 +16,6 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.0.0" }
futures = "0.3.21"
jsonrpsee = { version = "0.16.2", features = ["jsonrpsee-types"] }
serde = "1"
frame-support = { version = "4.0.0-dev", path = "../../../../frame/support" }
@@ -13,13 +13,11 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
serde_json = "1"
codec = { package = "parity-scale-codec", version = "3.0.0" }
jsonrpsee = { version = "0.16.2", features = ["client-core", "server", "macros"] }
futures = "0.3.21"
log = "0.4.17"
frame-system-rpc-runtime-api = { version = "4.0.0-dev", path = "../../../../frame/system/rpc/runtime-api" }
sc-client-api = { version = "4.0.0-dev", path = "../../../../client/api" }
sc-rpc-api = { version = "0.10.0-dev", path = "../../../../client/rpc-api" }
sc-transaction-pool-api = { version = "4.0.0-dev", path = "../../../../client/transaction-pool/api" }
sp-api = { version = "4.0.0-dev", path = "../../../../primitives/api" }
@@ -13,7 +13,6 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
remote-externalities = { version = "0.10.0-dev", path = "../../remote-externalities", package = "frame-remote-externalities" }
sc-chain-spec = { version = "4.0.0-dev", path = "../../../../client/chain-spec" }
sc-cli = { version = "0.10.0-dev", path = "../../../../client/cli" }
sc-executor = { version = "0.10.0-dev", path = "../../../../client/executor" }
sc-service = { version = "0.10.0-dev", default-features = false, path = "../../../../client/service" }