diff --git a/Cargo.lock b/Cargo.lock index f971b073..b24d8095 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2125,7 +2125,7 @@ dependencies = [ "op-alloy-network", "prometheus", "quote", - "rand 0.9.4", + "rand 0.10.1", "regex", "serde", "serde_json", @@ -2159,7 +2159,7 @@ dependencies = [ "contender_testfile", "futures", "prometheus", - "rand 0.9.4", + "rand 0.10.1", "serde", "serde_json", "thiserror 2.0.18", diff --git a/Cargo.toml b/Cargo.toml index c78566e3..eabf4acf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,7 +35,7 @@ tokio-util = "0.7" alloy = { version = "=2.0.4", default-features = false } alloy-signer = { version = "=2.0.4", features = ["wallet"] } serde = "1.0.209" -rand = "0.9.2" +rand = "0.10.1" tracing = "0.1.41" tracing-subscriber = { version = "0.3" } prometheus = "0.14" diff --git a/crates/cli/src/util/utils.rs b/crates/cli/src/util/utils.rs index 0e420877..2a87b522 100644 --- a/crates/cli/src/util/utils.rs +++ b/crates/cli/src/util/utils.rs @@ -21,7 +21,7 @@ use contender_core::{ use contender_engine_provider::DEFAULT_BLOCK_TIME; use contender_testfile::TestConfig; use nu_ansi_term::{AnsiGenericString, Style as ANSIStyle}; -use rand::Rng; +use rand::RngExt; use std::path::{Path, PathBuf}; use std::{str::FromStr, sync::Arc, time::Duration}; use tokio::sync::Semaphore; diff --git a/crates/core/src/generator/seeder/rand_seed.rs b/crates/core/src/generator/seeder/rand_seed.rs index a16c51e8..677008d5 100644 --- a/crates/core/src/generator/seeder/rand_seed.rs +++ b/crates/core/src/generator/seeder/rand_seed.rs @@ -1,6 +1,6 @@ use super::{SeedValue, Seeder}; use alloy::primitives::{keccak256, U256}; -use rand::Rng; +use rand::RngExt; /// Default seed generator, using a random 32-byte seed. #[derive(Debug, Clone)]