-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: prove then verify flow for honk (#5957)
Closes AztecProtocol/barretenberg#932. Adds the prove then verify flow for Ultra and GoblinUltra Honk.
- Loading branch information
1 parent
b43b84f
commit 099346e
Showing
8 changed files
with
365 additions
and
4 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
12 changes: 12 additions & 0 deletions
12
barretenberg/acir_tests/flows/prove_then_verify_goblin_ultra_honk.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/sh | ||
set -eu | ||
|
||
VFLAG=${VERBOSE:+-v} | ||
BFLAG="-b ./target/acir.gz" | ||
FLAGS="-c $CRS_PATH $VFLAG" | ||
|
||
# Test we can perform the proof/verify flow. | ||
# This ensures we test independent pk construction through real/garbage witness data paths. | ||
$BIN prove_goblin_ultra_honk -o proof $FLAGS $BFLAG | ||
$BIN write_vk_goblin_ultra_honk -o vk $FLAGS $BFLAG | ||
$BIN verify_goblin_ultra_honk -k vk -p proof $FLAGS |
12 changes: 12 additions & 0 deletions
12
barretenberg/acir_tests/flows/prove_then_verify_ultra_honk.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/sh | ||
set -eu | ||
|
||
VFLAG=${VERBOSE:+-v} | ||
BFLAG="-b ./target/acir.gz" | ||
FLAGS="-c $CRS_PATH $VFLAG" | ||
|
||
# Test we can perform the proof/verify flow. | ||
# This ensures we test independent pk construction through real/garbage witness data paths. | ||
$BIN prove_ultra_honk -o proof $FLAGS $BFLAG | ||
$BIN write_vk_ultra_honk -o vk $FLAGS $BFLAG | ||
$BIN verify_ultra_honk -k vk -p proof $FLAGS |
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.