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

feat(Polynomial Commitments): Abstract PCS interface and Add Zeromorph PCS #775

Open
wants to merge 23 commits into
base: main
Choose a base branch
from

Conversation

PatStiles
Copy link
Collaborator

@PatStiles PatStiles commented Jan 23, 2024

Add Zeromorph PCS

Description

Refactors IsCommitmentScheme to be more generic and accepting of different PCS schemes.

Type of change

Please delete options that are not relevant.

  • New feature
  • Bug fix
  • Optimization

Checklist

  • Linked to Github Issue
  • Unit tests added

@PatStiles PatStiles requested a review from a team as a code owner January 23, 2024 00:46
@PatStiles PatStiles marked this pull request as draft January 23, 2024 00:46
@PatStiles PatStiles changed the title feat(Polynomial Commitments): Add Zeromorph PCS feat(Polynomial Commitments): Abstract PCS interface and Add Zeromorph PCS Jan 27, 2024
@PatStiles PatStiles marked this pull request as ready for review January 27, 2024 23:43
let g1 = P::G1Point::neutral_element().operate_with_self(g1_scalar.representative());
rng.fill_bytes(&mut bytes);
let g2_scalar = FieldElement::<P::BaseField>::from_bytes_be(&bytes).unwrap();
let g2 = P::G2Point::neutral_element().operate_with_self(g2_scalar.representative());
Copy link
Contributor

Choose a reason for hiding this comment

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

This operation returns the neutral_element(). Shouldn't this be generator()?

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