From 09015bc76e6d8e3141904010d8e5848a14b55708 Mon Sep 17 00:00:00 2001 From: Santiago Palladino Date: Wed, 26 Feb 2025 16:03:53 -0300 Subject: [PATCH] chore: Run prover test with fake proofs when requested The env var FAKE_PROOFS was not forwarded to the docker container in the `run_test` e2e script, which caused the prover full test to always run with real proofs enabled. This commit also removes it from the skip patterns. --- .test_skip_patterns | 3 --- yarn-project/end-to-end/scripts/run_test.sh | 1 + yarn-project/end-to-end/src/e2e_prover/full.test.ts | 2 ++ 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.test_skip_patterns b/.test_skip_patterns index ac51f54e583e..96031b4925e0 100644 --- a/.test_skip_patterns +++ b/.test_skip_patterns @@ -66,9 +66,6 @@ simple e2e_p2p/reex simple e2e_p2p/slashing simple e2e_p2p/upgrade_governance_proposer -# Started failing with some AVM proof error... -e2e_prover/full fake - # FAIL ./flakey_e2e_inclusion_proofs_contract.test.ts # ● e2e_inclusion_proofs_contract › contract inclusion › proves public deployment of a contract # diff --git a/yarn-project/end-to-end/scripts/run_test.sh b/yarn-project/end-to-end/scripts/run_test.sh index 91986d475f4e..8218bb53615c 100755 --- a/yarn-project/end-to-end/scripts/run_test.sh +++ b/yarn-project/end-to-end/scripts/run_test.sh @@ -31,6 +31,7 @@ case "$type" in --mount type=tmpfs,target=/tmp,tmpfs-size=1g \ --mount type=tmpfs,target=/tmp-jest,tmpfs-size=512m \ -e JEST_CACHE_DIR=/tmp-jest \ + -e FAKE_PROOFS \ --workdir /root/aztec-packages/yarn-project/end-to-end \ aztecprotocol/build:3.0 ./scripts/test_simple.sh $TEST ;; diff --git a/yarn-project/end-to-end/src/e2e_prover/full.test.ts b/yarn-project/end-to-end/src/e2e_prover/full.test.ts index c8de124a7f2e..5fae056c4304 100644 --- a/yarn-project/end-to-end/src/e2e_prover/full.test.ts +++ b/yarn-project/end-to-end/src/e2e_prover/full.test.ts @@ -29,6 +29,8 @@ describe('full_prover', () => { let feeJuicePortal: GetContractReturnType>; beforeAll(async () => { + t.logger.warn(`Running suite with ${realProofs ? 'real' : 'fake'} proofs`); + await t.applyBaseSnapshots(); await t.applyMintSnapshot(); await t.setup();