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: conditional encoding of batch to blob * chore: add worked example * fix: construction of blob field elements * fix: use actual vs cooked len in appropriate assertions * use batch instead of blob (no encoding) and load seqexconf correct * refactor get_blob_data_bytes to avoid inconsistency * get blob from BatchProvingTask | related changes * lower num advices (but only used for tests) * b64 serde * refactor(prover): move params out of prover/verifier * clean * remove redundant function 'degrees' * add sanity check (decoded blob == batch bytes) * test: decode_blob * make some methods public to work with scroll-prover --------- Co-authored-by: Zhang Zhuo <mycinbrin@gmail.com>
- Loading branch information
1 parent
1e16062
commit 41f0c6d
Showing
41 changed files
with
941 additions
and
401 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 |
---|---|---|
|
@@ -4,8 +4,7 @@ | |
.vscode | ||
.idea | ||
*.log | ||
*.json | ||
*.sh | ||
*.txt | ||
*.srs | ||
tmp | ||
tmp |
Large diffs are not rendered by default.
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,34 @@ | ||
Romeo and Juliet | ||
Excerpt from Act 2, Scene 2 | ||
|
||
JULIET | ||
O Romeo, Romeo! wherefore art thou Romeo? | ||
Deny thy father and refuse thy name; | ||
Or, if thou wilt not, be but sworn my love, | ||
And I'll no longer be a Capulet. | ||
|
||
ROMEO | ||
[Aside] Shall I hear more, or shall I speak at this? | ||
|
||
JULIET | ||
'Tis but thy name that is my enemy; | ||
Thou art thyself, though not a Montague. | ||
What's Montague? it is nor hand, nor foot, | ||
Nor arm, nor face, nor any other part | ||
Belonging to a man. O, be some other name! | ||
What's in a name? that which we call a rose | ||
By any other name would smell as sweet; | ||
So Romeo would, were he not Romeo call'd, | ||
Retain that dear perfection which he owes | ||
Without that title. Romeo, doff thy name, | ||
And for that name which is no part of thee | ||
Take all myself. | ||
|
||
ROMEO | ||
I take thee at thy word: | ||
Call me but love, and I'll be new baptized; | ||
Henceforth I never will be Romeo. | ||
|
||
JULIET | ||
What man art thou that thus bescreen'd in night | ||
So stumblest on my counsel? |
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.