diff --git a/.github/workflows/contracts.yml b/.github/workflows/contracts.yml index 8cd2de2131..deae282456 100644 --- a/.github/workflows/contracts.yml +++ b/.github/workflows/contracts.yml @@ -18,6 +18,7 @@ concurrency: env: RUST_LOG: info,libp2p=off + AZTEC_SRS_PATH: "$HOME/.local/share/espresso-sequencer/data/aztec20/kzg10-aztec20-srs-65544.bin" jobs: contracts: @@ -79,11 +80,9 @@ jobs: if: ${{ github.event_name == 'pull_request' }} run: | export FOUNDRY_PROFILE=quick - export AZTEC_SRS_PATH="$PWD/data/aztec20/kzg10-aztec20-srs-65544.bin" nix develop --accept-flake-config -c forge test -vvv - name: Run tests (full version for main) if: ${{ github.event_name != 'pull_request' }} run: | - export AZTEC_SRS_PATH="$PWD/data/aztec20/kzg10-aztec20-srs-65544.bin" nix develop --accept-flake-config -c forge test -vvv diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d149a39917..6d2302d715 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,6 +20,7 @@ concurrency: env: RUSTFLAGS: '--cfg async_executor_impl="async-std" --cfg async_channel_impl="async-std"' RUST_LOG: info,libp2p=off,node=error + AZTEC_SRS_PATH: "$HOME/.local/share/espresso-sequencer/data/aztec20/kzg10-aztec20-srs-65544.bin" jobs: test: @@ -52,7 +53,6 @@ jobs: run: | export RUSTFLAGS="$RUSTFLAGS --cfg hotshot_example" export PATH="$PWD/target/release:$PATH" - export AZTEC_SRS_PATH="$PWD/data/aztec20/kzg10-aztec20-srs-65544.bin" ./scripts/download_srs_aztec.sh cargo build --bin diff-test --release cargo test --release --workspace --all-features --no-run diff --git a/justfile b/justfile index 45b20b96ba..d25716661f 100644 --- a/justfile +++ b/justfile @@ -95,7 +95,7 @@ code-coverage: # Download Aztec's SRS for production download-srs: @echo "Check existence or download SRS for production" - @AZTEC_SRS_PATH="$PWD/data/aztec20/kzg10-aztec20-srs-1048584.bin" ./scripts/download_srs_aztec.sh + @./scripts/download_srs_aztec.sh # Download Aztec's SRS for test (smaller degree usually) dev-download-srs: