From 87a3959cfa8628eecfdc118d40867f29dd87e6a6 Mon Sep 17 00:00:00 2001 From: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Date: Sat, 6 Jan 2024 14:43:40 +0100 Subject: [PATCH] chore(deps): bump foundry-compilers (#6717) --- Cargo.lock | 8 ++++---- Cargo.toml | 5 ++--- crates/common/src/compile.rs | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e8d4b1148696d..90023b16f5121 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2635,9 +2635,9 @@ dependencies = [ [[package]] name = "foundry-block-explorers" -version = "0.1.2" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43408b384e5888fed99a5f25f86cef7e19dca10c750e948cbeb219f59847712f" +checksum = "aa44d981bf2493204dee4af1116ed9250656050d48b5569fa1e153fa4af75bdd" dependencies = [ "alloy-chains", "alloy-json-abi", @@ -2771,9 +2771,9 @@ dependencies = [ [[package]] name = "foundry-compilers" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "723188b46b06f9a9836a5c6e21a5cb97c12e7411c2104afffba06a6c2beee518" +checksum = "1c9f9741733af2e2ff11f5671d57ba421948ca26addf4086e1d1c849f19b73dc" dependencies = [ "alloy-json-abi", "alloy-primitives", diff --git a/Cargo.toml b/Cargo.toml index 55a6e42e0bc67..3cbe17fa2e13e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -123,8 +123,8 @@ foundry-evm-traces = { path = "crates/evm/traces" } foundry-macros = { path = "crates/macros" } foundry-test-utils = { path = "crates/test-utils" } -foundry-block-explorers = { version = "0.1.2", default-features = false } -foundry-compilers = { version = "0.1.2", default-features = false } +foundry-block-explorers = { version = "0.1.3", default-features = false } +foundry-compilers = { version = "0.1.4", default-features = false } ## revm # no default features to avoid c-kzg @@ -201,4 +201,3 @@ revm = { git = "https://github.com/bluealloy/revm", branch = "reth_freeze" } revm-interpreter = { git = "https://github.com/bluealloy/revm", branch = "reth_freeze" } revm-precompile = { git = "https://github.com/bluealloy/revm", branch = "reth_freeze" } revm-primitives = { git = "https://github.com/bluealloy/revm", branch = "reth_freeze" } - diff --git a/crates/common/src/compile.rs b/crates/common/src/compile.rs index eccf30d73786c..df3742dd84b80 100644 --- a/crates/common/src/compile.rs +++ b/crates/common/src/compile.rs @@ -139,7 +139,7 @@ impl ProjectCompiler { if !files.is_empty() { project.compile_files(files) } else if let Some(filter) = filter { - project.compile_sparse(Box::new(move |file: &_| filter.is_match(file))) + project.compile_sparse(filter) } else { project.compile() }