From 1c412f53642398b4b1cad4ca8f8cd02af011f6d6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 13 May 2026 01:09:30 +0000 Subject: [PATCH 1/2] chore(deps): bump rand from 0.9.4 to 0.10.1 Bumps [rand](https://github.com/rust-random/rand) from 0.9.4 to 0.10.1. - [Release notes](https://github.com/rust-random/rand/releases) - [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-random/rand/compare/0.9.4...0.10.1) --- updated-dependencies: - dependency-name: rand dependency-version: 0.10.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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" From fbd3af77019268ee327252078aa81e402cb9d85d Mon Sep 17 00:00:00 2001 From: zeroXbrock <2791467+zeroXbrock@users.noreply.github.com> Date: Thu, 14 May 2026 13:34:00 -0700 Subject: [PATCH 2/2] chore: update imports for rand v0.10 upgrade --- crates/cli/src/util/utils.rs | 2 +- crates/core/src/generator/seeder/rand_seed.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)]