Skip to content

Conversation

@andrewmilson
Copy link
Collaborator

No description provided.

@andrewmilson andrewmilson force-pushed the 11-03-remove_verifierstate_from_state_manager branch from b3514d8 to 6029e4b Compare November 3, 2025 19:18
@andrewmilson andrewmilson force-pushed the 11-03-remove_proofs_and_commitments_from_state_manager branch from 4e0aa10 to 2bd93f2 Compare November 3, 2025 19:18
@andrewmilson andrewmilson force-pushed the 11-03-remove_verifierstate_from_state_manager branch from 6029e4b to 41a33d1 Compare November 3, 2025 19:58
@0xAndoroid 0xAndoroid self-requested a review November 3, 2025 21:02
@andrewmilson andrewmilson force-pushed the 11-03-remove_verifierstate_from_state_manager branch from 41a33d1 to ec73528 Compare November 3, 2025 21:13
@andrewmilson andrewmilson force-pushed the 11-03-remove_proofs_and_commitments_from_state_manager branch from 2bd93f2 to 4311823 Compare November 3, 2025 21:13
@andrewmilson andrewmilson changed the base branch from 11-03-remove_proofs_and_commitments_from_state_manager to graphite-base/1066 November 3, 2025 21:32
@andrewmilson andrewmilson force-pushed the 11-03-remove_verifierstate_from_state_manager branch from ec73528 to 23e20c3 Compare November 3, 2025 21:36
@andrewmilson andrewmilson changed the base branch from graphite-base/1066 to main November 3, 2025 21:36
@andrewmilson andrewmilson force-pushed the 11-03-remove_verifierstate_from_state_manager branch 2 times, most recently from 00d50a2 to 2caff3b Compare November 4, 2025 18:54
Copy link
Collaborator

@0xAndoroid 0xAndoroid left a comment

Choose a reason for hiding this comment

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

Everything else looks good, except for the jolt_dag refcator.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I strongly prefer current way of dag construction. I don't think that this refactor to the dag adds any clarity, while making the code a lot more verbose. I would like to keep the stageX_instances initialization.

Copy link
Collaborator

Choose a reason for hiding this comment

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

My 2 cents here is that I like having the different stage methods for organization
If we end up going with my proposed JoltProverBackend trait, we'll end up having the stages explicit at the whole-DAG level, rather than implementing SumcheckStagesProver for each component. So we'd end up somewhere in-between the current state and the changes in this PR.

@andrewmilson are you planning to reintroduce the stage methods with the JoltProverBackend trait, or are you proposing that we toss them out entirely?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Plan is still to introduce stage methods on JoltProverBackend trait. I just want to slightly modify them so we don't pass state_manager and instead store state on the prover struct (I think this will make different backend state management much easier for us). The goal of this stack is to decouple everything in our codebase from state manager (which I think is good in itself for various reasons - testing for instance) which will help make this change and the prover/verifier split possible. Does that sound ok?

Copy link
Collaborator

Choose a reason for hiding this comment

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

ok, that sounds good to me

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I moved each stage to its own function.
Let me know what you guys think.

Copy link
Collaborator

Choose a reason for hiding this comment

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

looks good to me, let's add the symmetric prover functions for each stage in #1071

@andrewmilson andrewmilson force-pushed the 11-03-remove_verifierstate_from_state_manager branch from 5c2aa34 to e1d453f Compare November 6, 2025 13:56
@andrewmilson andrewmilson force-pushed the 11-03-remove_verifierstate_from_state_manager branch 2 times, most recently from 809952e to 714a108 Compare November 6, 2025 15:19
@andrewmilson andrewmilson force-pushed the 11-03-remove_verifierstate_from_state_manager branch from 714a108 to a66654b Compare November 6, 2025 15:35
Copy link
Collaborator

@0xAndoroid 0xAndoroid left a comment

Choose a reason for hiding this comment

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

looks good to me

@0xAndoroid 0xAndoroid merged commit afd0821 into main Nov 6, 2025
13 checks passed
@0xAndoroid 0xAndoroid deleted the 11-03-remove_verifierstate_from_state_manager branch November 6, 2025 20:51
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.

4 participants