From 4038202e9a06aadd2dfa642148408c40bb5b14a6 Mon Sep 17 00:00:00 2001 From: Alex Gherghisan Date: Thu, 2 May 2024 09:15:33 +0000 Subject: [PATCH] fix: increase default number of proving agents --- yarn-project/end-to-end/Earthfile | 2 ++ yarn-project/prover-client/src/config.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/yarn-project/end-to-end/Earthfile b/yarn-project/end-to-end/Earthfile index 3a9c18ff04b..49dbde955ce 100644 --- a/yarn-project/end-to-end/Earthfile +++ b/yarn-project/end-to-end/Earthfile @@ -6,9 +6,11 @@ E2E_COMPOSE_TEST: ARG compose_file=./scripts/docker-compose.yml ARG debug="aztec:*" ARG EARTHLY_TARGET_NAME + ARG prover_agents=10 LOCALLY ENV TEST=$test ENV DEBUG=$debug + ENV PROVER_AGENTS=$prover_agents LET project_name=$(echo $test | sed 's/\./_/g') IF docker compose > /dev/null 2>&1 LET CMD="docker compose" diff --git a/yarn-project/prover-client/src/config.ts b/yarn-project/prover-client/src/config.ts index 07911a9790c..0b8f7cce6ea 100644 --- a/yarn-project/prover-client/src/config.ts +++ b/yarn-project/prover-client/src/config.ts @@ -29,7 +29,7 @@ export function getProverEnvVars(): ProverConfig { ACVM_BINARY_PATH = '', BB_WORKING_DIRECTORY = tmpdir(), BB_BINARY_PATH = '', - PROVER_AGENTS = '10', + PROVER_AGENTS = '1', PROVER_REAL_PROOFS = '', } = process.env;