From e9cca0183315186e0757264ebe24e6cba297beed Mon Sep 17 00:00:00 2001 From: Michael Elliot Date: Wed, 24 Jan 2024 18:52:23 +0800 Subject: [PATCH] ci: download transcript and use in tests --- .github/workflows/build&test.yml | 3 +++ noir/tooling/noir_rs/src/lib.rs | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build&test.yml b/.github/workflows/build&test.yml index 97a849d88b7d..6bfdfce45acb 100644 --- a/.github/workflows/build&test.yml +++ b/.github/workflows/build&test.yml @@ -38,6 +38,9 @@ jobs: - name: Build working-directory: noir/tooling/noir_rs run: cargo build -vv + - name: Download SRS transcript + working-directory: noir/tooling/noir_rs + run: curl -LO https://aztec-ignition.s3.amazonaws.com/MAIN%20IGNITION/monomial/transcript00.dat - name: Run tests working-directory: noir/tooling/noir_rs run: cargo test -vv diff --git a/noir/tooling/noir_rs/src/lib.rs b/noir/tooling/noir_rs/src/lib.rs index 29b3fd9e916a..e0aa98f49380 100644 --- a/noir/tooling/noir_rs/src/lib.rs +++ b/noir/tooling/noir_rs/src/lib.rs @@ -123,7 +123,7 @@ mod tests { use std::time::Instant; use crate::{prove, prove_local_srs, prove_net_srs, verify}; - const SRS_PATH: &str = "/Users/michael/Dev/Swoir/transcript00.dat"; + const SRS_PATH: &str = "transcript00.dat"; #[test] #[serial]