From 2acddf8ec9c1040bbea0da2e76d0f2815420d3ac Mon Sep 17 00:00:00 2001 From: grandizzy Date: Fri, 19 Sep 2025 09:32:45 +0300 Subject: [PATCH 1/2] chore: cargo lock rayon for foundry-linking --- Cargo.lock | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.lock b/Cargo.lock index 4d7be593515cf..08ba5c93f4b84 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4865,6 +4865,7 @@ version = "1.3.6" dependencies = [ "alloy-primitives", "foundry-compilers", + "rayon", "semver 1.0.26", "thiserror 2.0.16", ] From b70c450e2e563e8c0cc49bd1659d9cc6b072a7f6 Mon Sep 17 00:00:00 2001 From: grandizzy Date: Fri, 19 Sep 2025 09:50:24 +0300 Subject: [PATCH 2/2] fix clippy --- crates/cast/src/cmd/wallet/vanity.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/cast/src/cmd/wallet/vanity.rs b/crates/cast/src/cmd/wallet/vanity.rs index a0a58c3cd7851..a12ebca9e0aa3 100644 --- a/crates/cast/src/cmd/wallet/vanity.rs +++ b/crates/cast/src/cmd/wallet/vanity.rs @@ -149,8 +149,8 @@ impl VanityArgs { "Successfully found vanity address in {:.3} seconds.{}{}\nAddress: {}\nPrivate Key: 0x{}", timer.elapsed().as_secs_f64(), if nonce.is_some() { "\nContract address: " } else { "" }, - if nonce.is_some() { - wallet.address().create(nonce.unwrap()).to_checksum(None) + if let Some(nonce) = nonce { + wallet.address().create(nonce).to_checksum(None) } else { String::new() },