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

Simplify divisor interpolation and commitment in EVM final verification #122

Merged
merged 27 commits into from
Jan 29, 2024

Conversation

xqft
Copy link
Contributor

@xqft xqft commented Jan 24, 2024

No description provided.

@xqft xqft marked this pull request as ready for review January 24, 2024 20:58
pablodeymo
pablodeymo previously approved these changes Jan 24, 2024
Copy link
Contributor

@pablodeymo pablodeymo left a comment

Choose a reason for hiding this comment

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

👍

Base automatically changed from eth_verifier_urs_deser to main January 25, 2024 18:27
@pablodeymo pablodeymo dismissed their stale review January 25, 2024 18:27

The base branch was changed.

xqft and others added 2 commits January 26, 2024 14:55
* G2 Point deserialization support for the EVM verifier (#120)

* Up anvil's block gas limit

* Fixed verify script

* Negate quotient commitment

* Fix trusted setup length

* Added Fq2 sqrt operation (an others necessary)

* Fix fq2 sqrt typo

* Added comments to the fq2 sqrt algorithm

* Added fq2 sqrt test

* Fix FQ1EulerCriterion

* Fix FQ2Sqrt test

* Add import

* Added G2 decompression function

* Formatting

* Added test

* Fixed G2Deserialize

* Changed values order of deser test

* Remove else case

* Fixed deserializatio function

* Added messagepack g2 deserialization functions

* Update eth_verifier/lib/bn254/BN256G2.sol

Co-authored-by: Pablo Deymonnaz <[email protected]>

* Update eth_verifier/lib/bn254/BN256G2.sol

Co-authored-by: Pablo Deymonnaz <[email protected]>

* Update eth_verifier/script/Verify.s.sol

Co-authored-by: Pablo Deymonnaz <[email protected]>

* Fix flag mask in G2 ppint deser

---------

Co-authored-by: Pablo Deymonnaz <[email protected]>

* Escape char

* WIP debugging URS deserialization

* Fix urs test

* Fix G2 deserialize y sign

* Fixed final verification with some corners cut

* Add comment and return verify result

* Remove evaluation point require

* Update eth_verifier/src/Verifier.sol

* Update eth_verifier/src/Verifier.sol

* Delete unused file

* Re-enable verify test

* Refactor tests

---------

Co-authored-by: Pablo Deymonnaz <[email protected]>
pablodeymo
pablodeymo previously approved these changes Jan 29, 2024
@xqft xqft merged commit d3ea5b6 into main Jan 29, 2024
5 checks passed
@xqft xqft deleted the eth_verifier_simplify_divisor branch January 29, 2024 17:56
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