From e6fd52ea1ac84fc6835239b09f0f6a020b0c3742 Mon Sep 17 00:00:00 2001 From: danielntmd Date: Wed, 11 Feb 2026 08:29:49 +0000 Subject: [PATCH] chore: Should fix proving benchmarks by reducing committee lag This should fix the timeouts on the test. We reduce the lag by 1 epoch or about ~40 minutes and bump up the timeout by 30 minutes. Since we run the test for a full epoch, we add the buffer in case of worst case hitting epoch boundary. - includes updates to .env files that reference the old lag variable - bump up benchmark timeout by 30 minutes --- .github/workflows/nightly-spartan-bench.yml | 4 ++-- spartan/environments/five-tps-long-epoch.env | 3 ++- spartan/environments/five-tps-short-epoch.env | 3 ++- spartan/environments/prove-n-tps-fake.env | 3 ++- spartan/environments/prove-n-tps-real.env | 3 ++- spartan/environments/ten-tps-long-epoch.env | 3 ++- spartan/environments/ten-tps-short-epoch.env | 3 ++- 7 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/nightly-spartan-bench.yml b/.github/workflows/nightly-spartan-bench.yml index c5501376da29..e331be8f8ec5 100644 --- a/.github/workflows/nightly-spartan-bench.yml +++ b/.github/workflows/nightly-spartan-bench.yml @@ -152,7 +152,7 @@ jobs: fi - name: Run proving benchmarks - timeout-minutes: 150 + timeout-minutes: 180 env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} @@ -162,7 +162,7 @@ jobs: GCP_PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }} SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} RUN_ID: ${{ github.run_id }} - AWS_SHUTDOWN_TIME: 150 + AWS_SHUTDOWN_TIME: 180 NO_SPOT: 1 run: | ./.github/ci3.sh network-proving-bench prove-n-tps-fake prove-n-tps-fake "aztecprotocol/aztec:${{ steps.nightly-tag.outputs.nightly_tag }}" diff --git a/spartan/environments/five-tps-long-epoch.env b/spartan/environments/five-tps-long-epoch.env index d72481da0000..84bd8ee6e591 100644 --- a/spartan/environments/five-tps-long-epoch.env +++ b/spartan/environments/five-tps-long-epoch.env @@ -19,7 +19,8 @@ REDEPLOY_ROLLUP_CONTRACTS=true VERIFY_CONTRACTS=false DESTROY_AZTEC_INFRA=true -AZTEC_LAG_IN_EPOCHS=1 +AZTEC_LAG_IN_EPOCHS_FOR_VALIDATOR_SET=1 +AZTEC_LAG_IN_EPOCHS_FOR_RANDAO=1 OTEL_COLLECTOR_ENDPOINT=REPLACE_WITH_GCP_SECRET diff --git a/spartan/environments/five-tps-short-epoch.env b/spartan/environments/five-tps-short-epoch.env index 7051151d52ef..56141ee724c4 100644 --- a/spartan/environments/five-tps-short-epoch.env +++ b/spartan/environments/five-tps-short-epoch.env @@ -19,7 +19,8 @@ REDEPLOY_ROLLUP_CONTRACTS=true VERIFY_CONTRACTS=false DESTROY_AZTEC_INFRA=true -AZTEC_LAG_IN_EPOCHS=1 +AZTEC_LAG_IN_EPOCHS_FOR_VALIDATOR_SET=1 +AZTEC_LAG_IN_EPOCHS_FOR_RANDAO=1 OTEL_COLLECTOR_ENDPOINT=REPLACE_WITH_GCP_SECRET diff --git a/spartan/environments/prove-n-tps-fake.env b/spartan/environments/prove-n-tps-fake.env index 7b228b2db601..bed763852285 100644 --- a/spartan/environments/prove-n-tps-fake.env +++ b/spartan/environments/prove-n-tps-fake.env @@ -5,7 +5,8 @@ GCP_REGION=us-west1-a AZTEC_EPOCH_DURATION=32 AZTEC_SLOT_DURATION=72 AZTEC_PROOF_SUBMISSION_EPOCHS=1 -AZTEC_LAG_IN_EPOCHS=1 +AZTEC_LAG_IN_EPOCHS_FOR_VALIDATOR_SET=1 +AZTEC_LAG_IN_EPOCHS_FOR_RANDAO=1 CREATE_ETH_DEVNET=true DESTROY_NAMESPACE=true diff --git a/spartan/environments/prove-n-tps-real.env b/spartan/environments/prove-n-tps-real.env index 407409f9cd34..9b8989671922 100644 --- a/spartan/environments/prove-n-tps-real.env +++ b/spartan/environments/prove-n-tps-real.env @@ -5,7 +5,8 @@ GCP_REGION=us-west1-a AZTEC_EPOCH_DURATION=32 AZTEC_SLOT_DURATION=72 AZTEC_PROOF_SUBMISSION_EPOCHS=1 -AZTEC_LAG_IN_EPOCHS=1 +AZTEC_LAG_IN_EPOCHS_FOR_VALIDATOR_SET=1 +AZTEC_LAG_IN_EPOCHS_FOR_RANDAO=1 CREATE_ETH_DEVNET=true DESTROY_NAMESPACE=true diff --git a/spartan/environments/ten-tps-long-epoch.env b/spartan/environments/ten-tps-long-epoch.env index aba4e34ce816..39ea3d75e197 100644 --- a/spartan/environments/ten-tps-long-epoch.env +++ b/spartan/environments/ten-tps-long-epoch.env @@ -19,7 +19,8 @@ REDEPLOY_ROLLUP_CONTRACTS=true VERIFY_CONTRACTS=false DESTROY_AZTEC_INFRA=true -AZTEC_LAG_IN_EPOCHS=1 +AZTEC_LAG_IN_EPOCHS_FOR_VALIDATOR_SET=1 +AZTEC_LAG_IN_EPOCHS_FOR_RANDAO=1 OTEL_COLLECTOR_ENDPOINT=REPLACE_WITH_GCP_SECRET diff --git a/spartan/environments/ten-tps-short-epoch.env b/spartan/environments/ten-tps-short-epoch.env index bef68af7972e..35868695e0f6 100644 --- a/spartan/environments/ten-tps-short-epoch.env +++ b/spartan/environments/ten-tps-short-epoch.env @@ -19,7 +19,8 @@ REDEPLOY_ROLLUP_CONTRACTS=true VERIFY_CONTRACTS=false DESTROY_AZTEC_INFRA=true -AZTEC_LAG_IN_EPOCHS=1 +AZTEC_LAG_IN_EPOCHS_FOR_VALIDATOR_SET=1 +AZTEC_LAG_IN_EPOCHS_FOR_RANDAO=1 OTEL_COLLECTOR_ENDPOINT=REPLACE_WITH_GCP_SECRET