From b4118faa3dc52b1bed4194ed644e857857203d42 Mon Sep 17 00:00:00 2001 From: Omar Abdulla Date: Tue, 2 Sep 2025 19:39:26 +0300 Subject: [PATCH] Update the run script --- Cargo.lock | 1 - crates/config/src/lib.rs | 2 +- crates/core/Cargo.toml | 1 - run_tests.sh | 4 ++-- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f08d512..b5d78e4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4531,7 +4531,6 @@ dependencies = [ "semver 1.0.26", "serde", "serde_json", - "temp-dir", "tokio", "tracing", "tracing-appender", diff --git a/crates/config/src/lib.rs b/crates/config/src/lib.rs index 3cdb09c..2490078 100644 --- a/crates/config/src/lib.rs +++ b/crates/config/src/lib.rs @@ -408,7 +408,7 @@ where #[derive(Clone, Debug, Parser, Serialize)] pub struct ConcurrencyConfiguration { /// Determines the amount of nodes that will be spawned for each chain. - #[clap(long = "concurrency.number-of-nodes")] + #[clap(long = "concurrency.number-of-nodes", default_value_t = 5)] pub number_of_nodes: usize, /// Determines the amount of tokio worker threads that will will be used. diff --git a/crates/core/Cargo.toml b/crates/core/Cargo.toml index 2eb6fdd..887b6a2 100644 --- a/crates/core/Cargo.toml +++ b/crates/core/Cargo.toml @@ -35,7 +35,6 @@ tracing-subscriber = { workspace = true } semver = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } -temp-dir = { workspace = true } [lints] workspace = true diff --git a/run_tests.sh b/run_tests.sh index e83f6d6..88f718a 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -89,13 +89,13 @@ echo "This may take a while..." echo "" # Run the tool -RUST_LOG="error" cargo run --release -- \ +RUST_LOG="error" cargo run --release -- execute-tests \ --corpus "$CORPUS_FILE" \ --working-directory "$WORKDIR" \ --concurrency.number-of-nodes 5 \ --kitchensink.path "$SUBSTRATE_NODE_BIN" \ --revive-dev-node.path "$REVIVE_DEV_NODE_BIN" \ - --eth_proxy.path "$ETH_RPC_BIN" \ + --eth-rpc.path "$ETH_RPC_BIN" \ > logs.log \ 2> output.log