-
Notifications
You must be signed in to change notification settings - Fork 72
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
Prover: turns the plonk-in-wizard into a query #688
Prover: turns the plonk-in-wizard into a query #688
Conversation
prover/protocol/distributed/compiler/plonkinwizard/distribute.go
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had minor suggestions. But broadly LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general, looks good to me. However I think we have lost applications of PlonkOption
during refactor and they are not applied anymore? See the comment plonkinwizard/compile.go
.
And I think it is also a bit inconvenient that now the PlonkOption
fields are defined as []any
now. It seems due to trying to avoid import cycles as the options refer directly to the CompilationCtx and we cannot import it in dedicated/plonk
. But I think we could define Option
type in dedicated/plonk
and then use implict interfaces to set the options.
So for now not accepting yet as I'm not sure we haven't lost functionality. Could you confirm?
prover/protocol/distributed/compiler/plonkinwizard/distribute.go
Outdated
Show resolved
Hide resolved
Yeah we are not loosing functionality in this way. The tricky thing is that the Plonk options that we have today are options for the [PlonkCheck] function which was in I'll make a "second" option type in the query package to have a cleaner separation |
…ea-monorepo into prover/limitless-circuits-as-queries
Updated it. I also noticed some failed tests and I fixed them. I ended up removing the added constraints on the selector since this was 1) redundant and 2) not backward compatible. Instead of looking at the whole column, the query only looks at positions at the beginning of a Plonk instance. I think this is simpler |
…wizard on circuits with secret variables
fccd354
into
prover/limitless-top-level
As part of the limitless prover effort. We need to turn the plonk-in-wizard into a query. Doing so means that instead of directly declaring the Plonk columns in the wizard we instead create a query that we can subsequently compile after the splitting has occurred.
Checklist