diff --git a/Cargo.lock b/Cargo.lock index feb721e6092cf..9e2ec45dfcfab 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6248,7 +6248,7 @@ dependencies = [ "frame-system", "pallet-balances", "parity-scale-codec", - "rand_chacha 0.2.2", + "rand_chacha 0.3.0", "scale-info", "sp-core", "sp-io", @@ -6272,7 +6272,7 @@ dependencies = [ "pallet-staking-reward-curve", "pallet-timestamp", "parity-scale-codec", - "rand_chacha 0.2.2", + "rand_chacha 0.3.0", "scale-info", "serde", "sp-application-crypto", @@ -8064,7 +8064,7 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.11.2", "rand 0.7.3", - "rand_chacha 0.2.2", + "rand_chacha 0.3.0", "retain_mut", "sc-block-builder", "sc-client-api", @@ -9797,7 +9797,7 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.11.2", "rand 0.7.3", - "rand_chacha 0.2.2", + "rand_chacha 0.3.0", "schnorrkel", "serde", "sp-core", @@ -11152,7 +11152,7 @@ version = "1.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ee73e6e4924fe940354b8d4d98cad5231175d615cd855b758adc658c0aac6a0" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 0.1.10", "rand 0.8.4", "static_assertions", ] diff --git a/client/consensus/babe/Cargo.toml b/client/consensus/babe/Cargo.toml index 76ec6a25879f8..fb75c8dc97aac 100644 --- a/client/consensus/babe/Cargo.toml +++ b/client/consensus/babe/Cargo.toml @@ -60,5 +60,5 @@ sc-network = { version = "0.10.0-dev", path = "../../network" } sc-network-test = { version = "0.8.0", path = "../../network/test" } substrate-test-runtime-client = { version = "2.0.0", path = "../../../test-utils/runtime/client" } sc-block-builder = { version = "0.10.0-dev", path = "../../block-builder" } -rand_chacha = "0.2.2" +rand_chacha = "0.3.0" tempfile = "3.1.0" diff --git a/frame/society/Cargo.toml b/frame/society/Cargo.toml index 2787453d49d3e..68f30c1fb352a 100644 --- a/frame/society/Cargo.toml +++ b/frame/society/Cargo.toml @@ -19,7 +19,7 @@ sp-runtime = { version = "5.0.0", default-features = false, path = "../../primit sp-std = { version = "4.0.0", default-features = false, path = "../../primitives/std" } frame-support = { version = "4.0.0-dev", default-features = false, path = "../support" } frame-system = { version = "4.0.0-dev", default-features = false, path = "../system" } -rand_chacha = { version = "0.2", default-features = false } +rand_chacha = { version = "0.3", default-features = false } [dev-dependencies] sp-core = { version = "5.0.0", path = "../../primitives/core" } diff --git a/frame/staking/Cargo.toml b/frame/staking/Cargo.toml index 363ffe4428fb4..977df87ca20e2 100644 --- a/frame/staking/Cargo.toml +++ b/frame/staking/Cargo.toml @@ -34,7 +34,7 @@ log = { version = "0.4.14", default-features = false } # Optional imports for benchmarking frame-benchmarking = { version = "4.0.0-dev", default-features = false, path = "../benchmarking", optional = true } -rand_chacha = { version = "0.2", default-features = false, optional = true } +rand_chacha = { version = "0.3", default-features = false, optional = true } [dev-dependencies] sp-tracing = { version = "4.0.0", path = "../../primitives/tracing" } @@ -47,7 +47,7 @@ pallet-bags-list = { version = "4.0.0-dev", features = ["runtime-benchmarks"], p substrate-test-utils = { version = "4.0.0-dev", path = "../../test-utils" } frame-benchmarking = { version = "4.0.0-dev", path = "../benchmarking" } frame-election-provider-support = { version = "4.0.0-dev", path = "../election-provider-support" } -rand_chacha = { version = "0.2" } +rand_chacha = { version = "0.3" } [features] default = ["std"] diff --git a/primitives/keystore/Cargo.toml b/primitives/keystore/Cargo.toml index 26748d3227d6f..3b4105bd54c33 100644 --- a/primitives/keystore/Cargo.toml +++ b/primitives/keystore/Cargo.toml @@ -27,7 +27,7 @@ sp-externalities = { version = "0.11.0", path = "../externalities", default-feat [dev-dependencies] rand = "0.7.2" -rand_chacha = "0.2.2" +rand_chacha = "0.3.0" [features] default = ["std"]