diff --git a/yarn-project/end-to-end/bootstrap.sh b/yarn-project/end-to-end/bootstrap.sh index cdcc63da983d..35c074593169 100755 --- a/yarn-project/end-to-end/bootstrap.sh +++ b/yarn-project/end-to-end/bootstrap.sh @@ -253,11 +253,9 @@ function avm_check_circuit_cmds { # Commands run from repo root via parallelize, so use path from top local dump_dir_from_top="yarn-project/end-to-end/$default_avm_inputs_dump_dir" - # Specify timeout and resources - # WARNING: theoretically, transactions could need more CPU and MEM than we allocate by default. - # In that case, they might start timing out. For now, all of the e2e test txs seem to be relatively - # small and the AVM can run check-circuit with limited resources. - local prefix="$hash:ISOLATE=1:TIMEOUT=30s" + # Specify timeout and resources. Some dumped inputs produce large AVM traces, so give each + # check-circuit run enough CPU quota and wall time while keeping 16-way parallelism within CI capacity. + local prefix="$hash:ISOLATE=1:CPUS=4:MEM=8g:TIMEOUT=60s" # Find all .bin files in the dump directory (handles nested dirs, e.g. the 3-segment # single-node/block-building/block_building dump path needs the 4-level glob).