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

Refactor traits that allows implementing different engines for the same curve cycle #263

Merged
merged 11 commits into from
Nov 17, 2023

Conversation

srinathsetty
Copy link
Collaborator

Anchors code around Engine trait rather than Group trait so one can build different implementations of the Engine trait for the same curve cycle.

Building on #259, allows customizing Group trait to the particulars of a commitment/evaluation argument.

src/lib.rs Outdated Show resolved Hide resolved
@srinathsetty srinathsetty merged commit 3c76b52 into main Nov 17, 2023
6 checks passed
@srinathsetty srinathsetty deleted the traits5 branch November 17, 2023 02:11
huitseeker pushed a commit to huitseeker/Nova that referenced this pull request Nov 22, 2023
…me curve cycle (microsoft#263)

* rename Group to Engine

* port tests

* checkpoint

* checkpoint

* compiles

* update benchmarks and tests to use Engine

* rename GroupExt to DlogGroup

* move get_curve_params to Group and rename

* fix doc test; cargo fmt

* inline single trait requirements; fix comments

* cut comment
huitseeker pushed a commit to huitseeker/Nova that referenced this pull request Nov 22, 2023
…me curve cycle (microsoft#263)

* rename Group to Engine

* port tests

* checkpoint

* checkpoint

* compiles

* update benchmarks and tests to use Engine

* rename GroupExt to DlogGroup

* move get_curve_params to Group and rename

* fix doc test; cargo fmt

* inline single trait requirements; fix comments

* cut comment
huitseeker pushed a commit to huitseeker/Nova that referenced this pull request Nov 22, 2023
…me curve cycle (microsoft#263)

* rename Group to Engine

* port tests

* checkpoint

* checkpoint

* compiles

* update benchmarks and tests to use Engine

* rename GroupExt to DlogGroup

* move get_curve_params to Group and rename

* fix doc test; cargo fmt

* inline single trait requirements; fix comments

* cut comment
huitseeker pushed a commit to huitseeker/Nova that referenced this pull request Nov 22, 2023
…me curve cycle (microsoft#263)

* rename Group to Engine

* port tests

* checkpoint

* checkpoint

* compiles

* update benchmarks and tests to use Engine

* rename GroupExt to DlogGroup

* move get_curve_params to Group and rename

* fix doc test; cargo fmt

* inline single trait requirements; fix comments

* cut comment
huitseeker added a commit to huitseeker/Nova that referenced this pull request Nov 27, 2023
* refactor: Refactor `PublicParams` initialization (`new`) to use `setup` method

- Updated the function interface for generating `PublicParams` across several files, replacing the `new` method with `setup`.
- The method name change impacts the `benches/recursive-snark-supernova.rs`, `src/supernova/test.rs`, and `src/supernova/mod.rs` files.

* Refactor traits that allows implementing different engines for the same curve cycle (microsoft#263)

* rename Group to Engine

* port tests

* checkpoint

* checkpoint

* compiles

* update benchmarks and tests to use Engine

* rename GroupExt to DlogGroup

* move get_curve_params to Group and rename

* fix doc test; cargo fmt

* inline single trait requirements; fix comments

* cut comment

---------

Co-authored-by: Srinath Setty <[email protected]>
huitseeker pushed a commit to huitseeker/Nova that referenced this pull request Jan 24, 2024
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.

1 participant