forked from privacy-scaling-explorations/zkevm-circuits
-
Notifications
You must be signed in to change notification settings - Fork 390
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add row usages to chunk proof, and refactor prover codes (#1314)
* change keccak degree for agg circuit * fix agg keccak rows * fix config * disable some agg tests * avoid to regen WitnessBlock when chunk proof can be loaded * add type ChunkProvingTask and BatchProvingTask * fix * clean deps * try * Revert "try" This reverts commit c671eef. * Revert "clean deps" This reverts commit 7993665. * get_step_reported_error return err instead of panic * add row usage to chunk proof * use BatchProvingTask * done * rename ChunkHash to ChunkInfo as golang side * more on renaming ChunkHash to ChunkInfo as golang side * fmt * fmt * update comments * lint * make ChunkProvingTask.chunk_info optional * upgrade workspace Cargo.toml version to v0.11.0 * add ChunkProvingTask::from(Vec<BlockTrace>) * simplify codes about proof and add some comments * super circuit prover can return snark
- Loading branch information
Showing
30 changed files
with
359 additions
and
282 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
wrap_comments = false |
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
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,6 +1,6 @@ | ||
mod prover; | ||
mod verifier; | ||
|
||
pub use self::prover::Prover; | ||
pub use self::prover::{check_chunk_hashes, Prover}; | ||
pub use aggregator::{BatchHash, MAX_AGG_SNARKS}; | ||
pub use verifier::Verifier; |
Oops, something went wrong.