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

test: msm test and refactoring #254

Merged

Conversation

ashWhiteHat
Copy link
Contributor

Hi there

I added msm test.
In field, it has inverse except zero and that error can be handled by invert() method Option trait so I integrated it.

I would appreciate it if you could confirm.
Thank you.

src/provider/mod.rs Outdated Show resolved Hide resolved
@srinathsetty srinathsetty merged commit 713917c into microsoft:main Nov 9, 2023
6 checks passed
huitseeker added a commit to huitseeker/Nova that referenced this pull request Nov 10, 2023
* 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 (microsoft#254)

* test: msm test

* refactor: batch invert and error flag

* Apply suggestions from @huitseeker's code review

---------

Co-authored-by: ashWhiteHat <[email protected]>
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