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

Adapt type simplifications #1092

Merged
merged 10 commits into from
Feb 5, 2024

Conversation

huitseeker
Copy link
Contributor

This is the companion PR for lurk-lang/arecibo#297

Fixes #1089

@huitseeker huitseeker force-pushed the adapt_type_simplifications branch 2 times, most recently from 5cf723b to 666da71 Compare February 5, 2024 01:19
- Significant refactoring has been done across multiple files to include the `SecEng` trait and `RecursiveSNARKTrait`, replacing `C1LEM`, `E2`, `C2` as well as `GrumpkinEngine` and `VestaEngine`.
- Adjustments to various function arguments and returns to reflect the above changes, primarily noted in `public_parameters/mod.rs` and `proof/nova.rs`.
- The implementation of `NonUniformCircuit` has been updated to only work with `E1` and has `C1` and `C2` types added.
- removal of `MultiFrame` usage from `PublicParams` and simplification of type declarations.
- Replaced functions across files, mainly `public_params`, `supernova_circuit_params`, `supernova_aux_params`, and `supernova_public_params`, have been adjusted for syntax changes.
- Consolidated the use of `nova` related code with the use of `seceng` being changed to `Dual` in various contexts across multiple files.
- Simplified type declarations and trait bounds in `src/public_parameters/mod.rs` for improved readability
- Updated `TestConstraintSystem` initialization in `src/proof/nova.rs`
@huitseeker huitseeker force-pushed the adapt_type_simplifications branch from e6175db to b5d413d Compare February 5, 2024 01:30
@huitseeker huitseeker marked this pull request as ready for review February 5, 2024 01:30
@huitseeker huitseeker requested review from a team as code owners February 5, 2024 01:30
arthurpaulino
arthurpaulino previously approved these changes Feb 5, 2024
Copy link
Contributor

@arthurpaulino arthurpaulino left a comment

Choose a reason for hiding this comment

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

Thanks! 🔥

arthurpaulino
arthurpaulino previously approved these changes Feb 5, 2024
samuelburnham
samuelburnham previously approved these changes Feb 5, 2024
Copy link
Contributor

@samuelburnham samuelburnham left a comment

Choose a reason for hiding this comment

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

🚀

porcuquine
porcuquine previously approved these changes Feb 5, 2024
@huitseeker huitseeker force-pushed the adapt_type_simplifications branch from 2213700 to ecec5fc Compare February 5, 2024 20:09
arthurpaulino
arthurpaulino previously approved these changes Feb 5, 2024
porcuquine
porcuquine previously approved these changes Feb 5, 2024
@huitseeker huitseeker dismissed stale reviews from porcuquine and arthurpaulino via 442f271 February 5, 2024 21:00
@huitseeker huitseeker force-pushed the adapt_type_simplifications branch from ecec5fc to 442f271 Compare February 5, 2024 21:00
@huitseeker huitseeker enabled auto-merge February 5, 2024 21:00
@huitseeker huitseeker added this pull request to the merge queue Feb 5, 2024
Merged via the queue into lurk-lab:main with commit 222255f Feb 5, 2024
11 checks passed
@huitseeker huitseeker deleted the adapt_type_simplifications branch February 5, 2024 22:30
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.

Supernova params memory caching
4 participants