feat: add --evm-path argument to test CLI

This commit is contained in:
adrian
2025-09-11 09:39:28 +02:00
committed by Adrian Benavides
parent 805447f82b
commit 894b169e6f
3 changed files with 26 additions and 4 deletions

View File

@@ -52,13 +52,12 @@ pub struct TestRunner {
impl TestRunner {
pub fn new(
substreams_path: PathBuf,
evm_path: PathBuf,
match_test: Option<String>,
tycho_logs: bool,
db_url: String,
vm_traces: bool,
) -> Self {
let repo_root = env::current_dir().expect("Failed to get current directory");
let evm_path = repo_root.join("evm");
let adapter_contract_builder =
AdapterContractBuilder::new(evm_path.to_string_lossy().to_string());
Self {