-
Notifications
You must be signed in to change notification settings - Fork 35
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
More Nova forward ports #113
Conversation
- Implement marking of `NovaError` enum as non-exhaustive in `errors.rs`. - Introduce a new error case `InvalidCommitmentKeyLength` in `NovaError` enum that checks the length of the provided commitment key. - Improve code readability by renaming `generators_hint` variable to `ck_hint` in the `commitment_key` function.
* test: msm test * refactor: batch invert and error flag * Apply suggestions from @huitseeker's code review
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small typo, but otherwise looks good!
|
||
// check if the (relaxed) R1CS instances have two public outputs | ||
if self.l_u_secondary.X.len() != 2 | ||
let is_instance_has_two_outpus = self.l_u_secondary.X.len() != 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let is_instance_has_two_outpus = self.l_u_secondary.X.len() != 2 | |
let is_instance_has_two_outputs = self.l_u_secondary.X.len() != 2 |
nit: typo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* feat: Refactor error handling and variable naming - Implement marking of `NovaError` enum as non-exhaustive in `errors.rs`. - Introduce a new error case `InvalidCommitmentKeyLength` in `NovaError` enum that checks the length of the provided commitment key. - Improve code readability by renaming `generators_hint` variable to `ck_hint` in the `commitment_key` function. * test: msm test and refactoring (argumentcomputer#254) * test: msm test * refactor: batch invert and error flag * Apply suggestions from @huitseeker's code review --------- Co-authored-by: ashWhiteHat <[email protected]>
Ports: