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

Verifier tests #23

Merged
merged 8 commits into from
Jul 16, 2023
Merged

Verifier tests #23

merged 8 commits into from
Jul 16, 2023

Conversation

JDLBeckman
Copy link
Contributor

Description

Got the verifier tests to compile (not pass, but as I understood it that was out of scope). I tried to mess with anything outside of the verifier test.rs as little as possible.

A few places where I was guessing and suspect I might have made the wrong changes in other parts of the code:

  • Making key in ProverPermutationWidget/TransitionWidget into an Rc<RefCell<...>> instead of just Rc<...>. I think that this needs to be this way because the key is shared with Prover, which does need to modify it.
  • Making get_monomial_points take & self instead of &mut self. The original Barretenberg declaration is non-const, but the implementations all could have been const, and my intuition is that this function is just supposed to act like a getter and never actually modify the reference string, but maybe you have something planned for this Pippenger guy that contradicts that?

Added more documentation for cargo docs.
Added documentation and removed the use of `PhatomData` here as it seemed unnecessary.
fixed most borrow checker errors

lifetime annotations, verifier test compiles

cleaned up commented code

update unimplemented message

making it work on composer, assuming you squash this
@laudiacay laudiacay merged commit 201dbc5 into laudiacay:main Jul 16, 2023
0 of 9 checks passed
@laudiacay
Copy link
Owner

beautiful wonderful gorgeous thank you

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.

3 participants