-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Cleanup gen_inner_proof_files.sh script. (#3242)
Not sure I understand why this was so overengineered. Looks like we just mindlessly copied what run_acir_tests did, which allows different flows for executing different test flows (as i hoped the README made clear). Hopefully this can serve as an example of what should have been.
- Loading branch information
1 parent
a062026
commit ee57e00
Showing
7 changed files
with
39 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
set -eu | ||
|
||
# Pull down the test vectors from the noir repo, if we don't have the folder already. | ||
if [ ! -d acir_tests ]; then | ||
if [ -n "${TEST_SRC:-}" ]; then | ||
cp -R $TEST_SRC acir_tests | ||
else | ||
rm -rf noir | ||
git clone -b $BRANCH --filter=blob:none --no-checkout https://github.com/noir-lang/noir.git | ||
cd noir | ||
git sparse-checkout init --cone | ||
git sparse-checkout set tooling/nargo_cli/tests/acir_artifacts | ||
git checkout | ||
cd .. | ||
mv noir/tooling/nargo_cli/tests/acir_artifacts acir_tests | ||
rm -rf noir | ||
fi | ||
fi |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters