Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: changes made for Commonprefix patch #675

Merged
merged 4 commits into from
Sep 4, 2024
Merged

Conversation

alxiong
Copy link
Contributor

@alxiong alxiong commented Sep 3, 2024

This PR:

Include changes made during CommonPrefix audit on the plonk verifier.
Most changes center around SolidityTranscript, the trait Transcript is also changed, which should be breaking if downstream usage directly uses its API. For those that are only using SNARK, there shouldn't be any changes required or incompatibility.


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against correct branch (main)
  • Linked to GitHub issue with discussion and accepted design OR have an explanation in the PR that describes this work.
  • Wrote unit tests
  • Updated relevant documentation in the code
  • Added relevant changelog entries to the CHANGELOG.md of touched crates.
  • Re-reviewed Files changed in the GitHub PR explorer

* append G2 point from SRS to transcript

* use powers_of_h[1] instead of beta_h
* refactor transcript trait and impl

* align transcript with 32byte word size

* address comments
@alxiong alxiong marked this pull request as ready for review September 3, 2024 23:41
@alxiong alxiong requested a review from mrain as a code owner September 3, 2024 23:41
@alxiong
Copy link
Contributor Author

alxiong commented Sep 3, 2024

We will tag this as jf-plonk-v0.5.1 once merged.

Copy link
Contributor

@philippecamacho philippecamacho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alxiong alxiong merged commit 7e2eeef into main Sep 4, 2024
5 checks passed
@alxiong alxiong deleted the commonprefix-patch branch September 4, 2024 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants