mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-23 16:35:46 +00:00
*: 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:
@@ -17,13 +17,11 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
|
||||
hash-db = { version = "0.15.2", default-features = false }
|
||||
log = { version = "0.4.17", optional = true }
|
||||
num-traits = { version = "0.2.8", default-features = false }
|
||||
parking_lot = { version = "0.12.1", optional = true }
|
||||
rand = { version = "0.7.2", optional = true }
|
||||
rand = { version = "0.8.5", optional = true }
|
||||
smallvec = "1.8.0"
|
||||
thiserror = { version = "1.0.30", optional = true }
|
||||
tracing = { version = "0.1.29", optional = true }
|
||||
trie-root = { version = "0.17.0", default-features = false }
|
||||
sp-core = { version = "7.0.0", default-features = false, path = "../core" }
|
||||
sp-externalities = { version = "0.13.0", default-features = false, path = "../externalities" }
|
||||
sp-panic-handler = { version = "5.0.0", optional = true, path = "../panic-handler" }
|
||||
@@ -33,7 +31,7 @@ sp-trie = { version = "7.0.0", default-features = false, path = "../trie" }
|
||||
[dev-dependencies]
|
||||
array-bytes = "4.1"
|
||||
pretty_assertions = "1.2.1"
|
||||
rand = "0.7.2"
|
||||
rand = "0.8.5"
|
||||
sp-runtime = { version = "7.0.0", path = "../runtime" }
|
||||
trie-db = "0.24.0"
|
||||
assert_matches = "1.5"
|
||||
@@ -44,7 +42,6 @@ std = [
|
||||
"codec/std",
|
||||
"hash-db/std",
|
||||
"log",
|
||||
"num-traits/std",
|
||||
"parking_lot",
|
||||
"rand",
|
||||
"sp-core/std",
|
||||
@@ -54,5 +51,4 @@ std = [
|
||||
"sp-trie/std",
|
||||
"thiserror",
|
||||
"tracing",
|
||||
"trie-root/std",
|
||||
]
|
||||
|
||||
@@ -1845,7 +1845,7 @@ mod tests {
|
||||
use rand::{rngs::SmallRng, RngCore, SeedableRng};
|
||||
let mut storage: HashMap<Option<ChildInfo>, BTreeMap<StorageKey, StorageValue>> =
|
||||
Default::default();
|
||||
let mut seed = [0; 16];
|
||||
let mut seed = [0; 32];
|
||||
for i in 0..50u32 {
|
||||
let mut child_infos = Vec::new();
|
||||
let seed_partial = &mut seed[0..4];
|
||||
|
||||
Reference in New Issue
Block a user