Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions yarn-project/end-to-end/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,11 @@ function avm_check_circuit_cmds {

# 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"
# In that case, they might start timing out. Most e2e test txs are small and run check-circuit in
# a few seconds, but heavier txs (e.g. e2e_multiple_blobs) produce much larger circuits whose trace
# generation plus check can take well over 30s on the default 2 CPUs, so the timeout is set with
# ample headroom. The fast checks are unaffected by the larger timeout since they still exit early.
local prefix="$hash:ISOLATE=1:TIMEOUT=120s"

# Find all .bin files in the dump directory (handles nested dirs)
for input_file in "$default_avm_inputs_dump_dir"/*/*.bin "$default_avm_inputs_dump_dir"/*/*/*.bin; do
Expand Down
Loading