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

feat: Implement Clone trait for various structs #364

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

huitseeker
Copy link
Contributor

@huitseeker huitseeker commented Mar 16, 2024

  • Added Clone trait derivation to enhance cloning capabilities within the codebase.
  • Improved duplication of CompressedSNARK and NIFS structures by integrating Clone trait.
  • Optimized SNARK computations and funcs handling by cloning CompressedSNARK structure.

This is motivated by a companion update to Lurk, where the compression mechanism requires returning a uniform type upon calling .compress() on a proof that can be recursive or compressed.

- Added `Clone` trait derivation to enhance cloning capabilities within the codebase.
- Improved duplication of `CompressedSNARK` and `NIFS` structures by integrating `Clone` trait.
- Optimized SNARK computations and funcs handling by cloning `CompressedSNARK` structure.

This is motivated by a companion update to Lurk, where the compression mechanism requires returning a uniform type upon calling `.compress()` on a proof that can be recursive or compressed.
@huitseeker huitseeker added this pull request to the merge queue Mar 19, 2024
Merged via the queue into argumentcomputer:dev with commit 09eb1eb Mar 19, 2024
10 checks passed
@huitseeker huitseeker deleted the cloneable_proofs branch March 19, 2024 06:59
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