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

Restore digest computation and fix API inconsistency #242

Merged
merged 4 commits into from
Oct 27, 2023
Merged

Conversation

srinathsetty
Copy link
Collaborator

@srinathsetty srinathsetty commented Oct 27, 2023

Restores digest functionality prior to #238

Makes public interfaces of RecursiveSNARK and CompressedSNARK take references rather than copies (in the prior version, some methods took references whereas others took copies, which is confusing from an API usage perspective).

src/lib.rs Show resolved Hide resolved
src/lib.rs Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
@srinathsetty srinathsetty changed the title Fix dependencies and digest computation Restore digest computation and fix API inconsistency Oct 27, 2023
@srinathsetty
Copy link
Collaborator Author

@huitseeker, the latest commit removes passing z0_* to prove_step, which further simplifies things.

@srinathsetty srinathsetty merged commit e79498b into main Oct 27, 2023
2 checks passed
@srinathsetty srinathsetty deleted the crate_repair branch October 27, 2023 22:01
huitseeker added a commit to huitseeker/Nova that referenced this pull request Nov 3, 2023
* Digest simplifications (microsoft#238)

* remove unused digest computations

* avoid a verifier having to recompute a digest

* update crate version

Restore digest computation and fix API inconsistency (microsoft#242)

* Revert "Digest simplifications (microsoft#238)"

This reverts commit 71ecb66.

* upgrade neptune

* make the public interface uniform wrt refs vs. copies

* simplify prove_step

* refactor: Adapt supernova RecursiveSNARK to Nova API changes

- Updated `RecursiveSNARK` struct in `supernova/mod.rs` to include `z0_primary` and `z0_secondary` fields, simplifying method parameters.
- Refactored `prove_step` method in `RecursiveSNARK` struct to leverage the new instance variables, `z0_primary` and `z0_secondary`,
- Replaced all usages of `z0_primary` and `z0_secondary` in function calls with their respective instance variables.

---------

Co-authored-by: Srinath Setty <srinath@microsoft.com>
huitseeker pushed a commit to huitseeker/Nova that referenced this pull request Jan 11, 2024
…LKZG (microsoft#242)

* feat: Avoid computing final 'Pi' polynomial which is constant

* chore: Cleanup

* chore: Latest suggestions
huitseeker pushed a commit to argumentcomputer/Nova that referenced this pull request Jan 25, 2024
…LKZG (microsoft#242)

* feat: Avoid computing final 'Pi' polynomial which is constant

* chore: Cleanup

* chore: Latest suggestions
huitseeker pushed a commit to huitseeker/Nova that referenced this pull request Jan 26, 2024
…LKZG (microsoft#242)

* feat: Avoid computing final 'Pi' polynomial which is constant

* chore: Cleanup

* chore: Latest suggestions
huitseeker pushed a commit to argumentcomputer/Nova that referenced this pull request Jan 26, 2024
…LKZG (microsoft#242)

* feat: Avoid computing final 'Pi' polynomial which is constant

* chore: Cleanup

* chore: Latest suggestions
huitseeker pushed a commit to argumentcomputer/Nova that referenced this pull request Jan 26, 2024
…LKZG (microsoft#242)

* feat: Avoid computing final 'Pi' polynomial which is constant

* chore: Cleanup

* chore: Latest suggestions
huitseeker pushed a commit to argumentcomputer/Nova that referenced this pull request Jan 26, 2024
…LKZG (microsoft#242)

* feat: Avoid computing final 'Pi' polynomial which is constant

* chore: Cleanup

* chore: Latest suggestions
huitseeker pushed a commit to argumentcomputer/Nova that referenced this pull request Feb 21, 2024
…LKZG (microsoft#242)

* feat: Avoid computing final 'Pi' polynomial which is constant

* chore: Cleanup

* chore: Latest suggestions
huitseeker pushed a commit to argumentcomputer/Nova that referenced this pull request May 2, 2024
…LKZG (microsoft#242)

* feat: Avoid computing final 'Pi' polynomial which is constant

* chore: Cleanup

* chore: Latest suggestions
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