-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into lx/automate-verify-…
…honk-proof-input-gen
- Loading branch information
Showing
123 changed files
with
10,487 additions
and
652 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 |
---|---|---|
@@ -1 +1 @@ | ||
090501dfaf7c569b1aa944856bf68ad663572ae4 | ||
1958a7932642e2fa556a903a3186b142a70e3e48 |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,48 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
|
||
# Run from within barretenberg/acir_tests | ||
|
||
# Optional argument that can be passed to rebuild.sh | ||
optional_arg=${1:-} | ||
# Initialize variables for flags | ||
REBUILD_NARGO_FLAG="" | ||
PROGRAMS="" | ||
|
||
# Clean and rebuild noir then compile the test programs | ||
# Parse the arguments | ||
while [[ "$#" -gt 0 ]]; do | ||
case $1 in | ||
--rebuild-nargo) | ||
REBUILD_NARGO_FLAG="--rebuild-nargo" | ||
;; | ||
--programs) | ||
shift | ||
PROGRAMS="$@" | ||
break # Exit loop after collecting all programs | ||
;; | ||
*) | ||
echo "Unknown option: $1" | ||
exit 1 | ||
;; | ||
esac | ||
shift | ||
done | ||
|
||
# Clean and rebuild noir, then compile the test programs if --rebuild-nargo flag is set | ||
cd ../../noir/noir-repo | ||
cargo clean | ||
noirup -p . | ||
cd test_programs | ||
|
||
# Check if the optional argument exists and pass it to rebuild.sh | ||
if [ -n "$optional_arg" ]; then | ||
./rebuild.sh "$optional_arg" | ||
if [[ -n "$REBUILD_NARGO_FLAG" ]]; then | ||
cargo clean | ||
noirup -p . | ||
fi | ||
|
||
# Rebuild test programs with rebuild.sh | ||
cd test_programs | ||
if [[ -n "$PROGRAMS" ]]; then | ||
./rebuild.sh $PROGRAMS | ||
else | ||
./rebuild.sh | ||
fi | ||
|
||
# Remove and repopulate the test artifacts in bberg | ||
cd ../../../barretenberg/acir_tests | ||
rm -rf acir_tests | ||
./clone_test_vectors.sh | ||
./clone_test_vectors.sh |
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
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
2 changes: 1 addition & 1 deletion
2
barretenberg/cpp/src/barretenberg/commitment_schemes_recursion/CMakeLists.txt
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 |
---|---|---|
@@ -1 +1 @@ | ||
barretenberg_module(commitment_schemes_recursion commitment_schemes stdlib_primitives) | ||
barretenberg_module(commitment_schemes_recursion commitment_schemes stdlib_poseidon2) |
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
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
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
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
Oops, something went wrong.