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 proof state #1875

Open
wants to merge 3 commits into
base: reduce_pk_size_2
Choose a base branch
from
Open

Refactor proof state #1875

wants to merge 3 commits into from

Conversation

vicsn
Copy link
Contributor

@vicsn vicsn commented Aug 8, 2023

Motivation

The round functions mutate prover/verifier state and keep passing it as they go along, see as a starting point
algorithms/src/snark/varuna/varuna.rs

This PR cleans that up by making round functions members of prover/verifier State. We also make verifier State a member of prover State.

Test Plan

This is just a refactor which should not impact any values or tests.

@vicsn vicsn mentioned this pull request Aug 8, 2023
@vicsn vicsn force-pushed the lineval branch 3 times, most recently from 9f88bc2 to b7a2383 Compare August 15, 2023 18:36
Base automatically changed from lineval to testnet3 August 25, 2023 01:44
@vicsn vicsn self-assigned this Aug 31, 2023
@vicsn vicsn changed the base branch from testnet3 to reduce_pk_size_2 September 6, 2023 16:42
@vicsn vicsn requested a review from ljedrz September 6, 2023 17:04
@vicsn vicsn marked this pull request as ready for review September 6, 2023 17:04
@vicsn vicsn force-pushed the reduce_pk_size_2 branch 3 times, most recently from 3b3ae6f to e3976b0 Compare September 18, 2023 05:10
Copy link
Contributor

@ljedrz ljedrz left a comment

Choose a reason for hiding this comment

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

LGTM

@vicsn vicsn mentioned this pull request Sep 28, 2023
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.

None yet

3 participants