-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
36 additions
and
14 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
Submodule barretenberg
added at
56c28f
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,9 @@ | ||
# Build barretenberg cpp | ||
# TODO: only build honk_gen - not everything | ||
echo "Downloading srs..." | ||
(cd ./barretenberg/barretenberg/cpp/srs_db && ./download_ignition.sh 3) | ||
(cd ./barretenberg/barretenberg/cpp && cmake --preset clang16) | ||
(cd ./barretenberg/barretenberg/cpp && cmake --preset clang16) | ||
(cd ./barretenberg/barretenberg/cpp && cmake --build --preset clang16 --target honk_solidity_proof_gen) | ||
|
||
|
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env bash | ||
BB_BASE="barretenberg/barretenberg" | ||
|
||
PLONK_FLAVOUR=${1:-"ultra"} | ||
CIRCUIT_FLAVOUR=${2:-"blake"} | ||
INPUTS=${3:-"1,2,3,4"} | ||
|
||
BIN="$BB_BASE/cpp/build/bin/solidity_proof_gen" | ||
|
||
INPUTS="$( sed 's/\\n//g' <<<"$INPUTS" )" | ||
|
||
SRS_PATH="$BB_BASE/cpp/srs_db/ignition" | ||
|
||
# If the plonk flavour is honk, then run the honk generator | ||
if [ "$PLONK_FLAVOUR" == "honk" ]; then | ||
BIN="$BB_BASE/cpp/build/bin/honk_solidity_proof_gen" | ||
fi | ||
|
||
$BIN $PLONK_FLAVOUR $CIRCUIT_FLAVOUR $SRS_PATH $INPUTS |
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