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

Integrate KZG prover with verifier circuit #66

Merged
merged 15 commits into from
Nov 9, 2023
Merged

Conversation

gabrielbosio
Copy link
Collaborator

@gabrielbosio gabrielbosio commented Nov 1, 2023

  • Makes verifier circuit use foreign fields instead of native fields
  • Implements temporary foreign EC operations in o1js
  • Simplifies verifier circuit
  • Makes verifier circuit write gates array so that KZG prover can read it and generate the corresponding proof
  • Implements KZG prover
  • Adds KZG prover in integration test
  • Renames SRS test so that it's not considered as a testing fixture
    • The failing tests cover logic that is not integrated in the circuit. We are prioritizing integration over making these tests pass.

We should remove the SRS usage because it takes too long.
Foreign group addition works, but scaling doesn't.
See logs before keypair generation to check that.
These tests will be fixed when they use ForeignGroup instead of
Group. For now, we are prioritizing integration.
@gabrielbosio gabrielbosio marked this pull request as ready for review November 9, 2023 20:02
@gabrielbosio gabrielbosio changed the title Integrate KZG prover Integrate KZG prover with verifier circuit Nov 9, 2023
polling_service/run.sh Outdated Show resolved Hide resolved
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.

LGTM!

@pablodeymo pablodeymo merged commit e9b2e2c into main Nov 9, 2023
@pablodeymo pablodeymo deleted the integrate_prover branch November 9, 2023 20: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