forked from privacy-scaling-explorations/zkevm-circuits
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add inner-prove and chunk-prove to testool (privacy-scaling-exp…
…lorations#921) * Add inner-prove and chunk-prove to testool. * Make build successfully with feature `inner-prove` and `chunk-prove`. * Generate pk/vk by coinbase address. * Clear import. * Fix wrong cfg for mock-prove. * Fix chunk-prove bug. * Fix * Update coinbase in inner-prove.
- Loading branch information
1 parent
95f8276
commit 25c5810
Showing
10 changed files
with
232 additions
and
33 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.PHONY: download-setup | ||
|
||
# Could be called as `make download-setup -e degree=DEGREE params_dir=PARAMS_DIR`. | ||
# As default `degree=26` and `params_dir=./test_params`. | ||
download-setup: | ||
sh download_setup.sh ${degree} ${params_dir} |
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,15 @@ | ||
set -x | ||
set -e | ||
|
||
# Set degree to env AGG_DEGREE, first input or default value 26. | ||
degree="${AGG_DEGREE:-${1:-26}}" | ||
|
||
# Set the output dir to second input or default as `./test_params`. | ||
params_dir="${2:-"./test_params"}" | ||
mkdir -p "$params_dir" | ||
|
||
output_file="$params_dir"/params"${degree}" | ||
rm -f "$output_file" | ||
|
||
# degree 1 - 26 | ||
axel -ac https://circuit-release.s3.us-west-2.amazonaws.com/setup/params"$degree" -o "$output_file" |
Oops, something went wrong.