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

r1cs replaced with gr1cs #378

Draft
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

alireza-shirzad
Copy link

Description

This is a major refactor for migrating to GR1CS infrastructure


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 (master)
  • 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 a relevant changelog entry to the Pending section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer

Copy link
Member

@Pratyush Pratyush left a comment

Choose a reason for hiding this comment

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

Some changes

relations/src/gr1cs/constraint_system.rs Outdated Show resolved Hide resolved
relations/src/gr1cs/constraint_system.rs Outdated Show resolved Hide resolved
)?;
}
self.enforce_constraint(R1CS_PREDICATE_LABEL, vec![a, b, c])
// if self.should_construct_matrices() {
Copy link
Member

Choose a reason for hiding this comment

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

todo fix tracing

relations/src/gr1cs/constraint_system.rs Outdated Show resolved Hide resolved
relations/src/gr1cs/constraint_system.rs Outdated Show resolved Hide resolved
relations/src/gr1cs/constraint_system.rs Outdated Show resolved Hide resolved
relations/src/gr1cs/constraint_system.rs Outdated Show resolved Hide resolved
relations/src/gr1cs/local_predicate/mod.rs Outdated Show resolved Hide resolved
Comment on lines 23 to 25
where
PolynomialConstraint<F>: Evaluatable<F>,
LookupConstraint<F>: Evaluatable<F>,
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
where
PolynomialConstraint<F>: Evaluatable<F>,
LookupConstraint<F>: Evaluatable<F>,

relations/src/gr1cs/local_predicate/mod.rs Outdated Show resolved Hide resolved
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