From 28c431829431ada4ab850929fe8c911b053f1e05 Mon Sep 17 00:00:00 2001 From: Nisheeth Barthwal Date: Sun, 22 Dec 2024 21:31:30 +0100 Subject: [PATCH] fix test --- crates/forge/tests/it/test_helpers.rs | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/crates/forge/tests/it/test_helpers.rs b/crates/forge/tests/it/test_helpers.rs index 3446b8ec1..5ed3ed85b 100644 --- a/crates/forge/tests/it/test_helpers.rs +++ b/crates/forge/tests/it/test_helpers.rs @@ -3,7 +3,7 @@ use alloy_chains::NamedChain; use alloy_primitives::U256; use forge::{ - executors::strategy::new_evm_strategy, revm::primitives::SpecId, MultiContractRunner, + executors::strategy::ExecutorStrategy, revm::primitives::SpecId, MultiContractRunner, MultiContractRunnerBuilder, TestOptions, TestOptionsBuilder, }; use foundry_cli::utils; @@ -384,7 +384,7 @@ impl ForgeTestData { None, opts.local_evm_env(), opts, - new_evm_strategy(), + ExecutorStrategy::new_evm(), ) .unwrap() } @@ -401,7 +401,14 @@ impl ForgeTestData { self.base_runner() .with_fork(fork) - .build(self.project.root(), self.output.clone(), None, env, opts, new_evm_strategy()) + .build( + self.project.root(), + self.output.clone(), + None, + env, + opts, + ExecutorStrategy::new_evm(), + ) .unwrap() } }