-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from bbresearcher/main
Submission to suggest a fix for issue : Add on-the-fly proof generation #26
- Loading branch information
Showing
4 changed files
with
103 additions
and
2 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
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,14 @@ | ||
#!/bin/bash | ||
if [ "$#" -ne 1 ] | ||
then | ||
echo "Usage: ./createFile.sh [TESTNAME_STRING]" | ||
exit 1 | ||
fi | ||
if [ ! -d "/tmp/$1" ]; then | ||
mkdir /tmp/$1 | ||
fi | ||
|
||
cp ./circuits/Nargo.toml /tmp/$1/Nargo.toml | ||
cp ./circuits/Verifier.toml /tmp/$1/Verifier.toml | ||
cp -r ./circuits/src /tmp/$1/src | ||
echo "" > /tmp/$1/Prover.toml && echo "File created" |
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,7 @@ | ||
#!/bin/bash | ||
if [ "$#" -ne 1 ] | ||
then | ||
echo "Usage: ./prove.sh [TESTNAME_STRING]" | ||
exit 1 | ||
fi | ||
cd /tmp/$1 && nargo prove d && echo "Proof Generated" |
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