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

Rust implementation/binding of final exponentiation witness #135

Closed

Conversation

raugfer
Copy link
Collaborator

@raugfer raugfer commented Aug 1, 2024

Pull Request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Build-related changes
  • Documentation content changes
  • Testing
  • Other (please describe):

What is the current behavior?

Currently the final exponentiation check is performed in Python

Issue Number: #133

What is the new behavior?

The new implementation uses Rust and PyO3. Also merges current hades_permutation implementation in Rust. Everything is now packed into garaga_rs package/crate.

Does this introduce a breaking change?

  • Yes
  • No

@raugfer raugfer changed the base branch from main to contracts August 1, 2024 20:17
@raugfer raugfer marked this pull request as ready for review August 7, 2024 12:24
@raugfer raugfer requested a review from feltroidprime as a code owner August 7, 2024 12:24
@feltroidprime feltroidprime changed the base branch from contracts to main August 7, 2024 13:38
@feltroidprime feltroidprime changed the base branch from main to contracts August 7, 2024 13:38
Copy link
Collaborator

@feltroidprime feltroidprime left a comment

Choose a reason for hiding this comment

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

Nice work!!
Please check if we can remove sha2 dependency + try to rebase with main branch so that we can merge to main directly. Thx

tools/garaga_rs/Cargo.toml Outdated Show resolved Hide resolved
@raugfer
Copy link
Collaborator Author

raugfer commented Aug 7, 2024

Instead of performing a rebase of the branch to main, I have instead created a new PR which was easier:

#141

@raugfer raugfer closed this Aug 7, 2024
@raugfer raugfer deleted the final_exp_witness branch August 7, 2024 21:06
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