-
Notifications
You must be signed in to change notification settings - Fork 529
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
Unify/simplify pickles variable names #16376
base: compatible
Are you sure you want to change the base?
Conversation
!ci-build-me |
2611c47
to
37a4f1b
Compare
!ci-build-me |
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 left one comment about an old spelling mistake. I don't think there will be any serialization issues because these wire types don't have a json ppx derived. I'm going to run the nightly in case, but I will approve if that passes.
(** The challenge used for combining polynomials *) | ||
; bulletproof_challenges : 'bulletproof_challenges | ||
(** The challenges from the inner-product argument that was partially verified. *) | ||
; b : 'fq | ||
(** b = challenge_poly plonk.zeta + r * challenge_poly (domain_generrator * plonk.zeta) | ||
(** b = challenge_poly plonk.zeta + evalscale * challenge_poly (domain_generrator * plonk.zeta) |
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.
domain_generator, might as well fix it while we are here
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.
Thanks for the review! Should it be generator
?
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.
yes!
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.
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.
Oh no sry i mean that the typo domain_generrator
in the comment should be domain_generator
instead. I wanted to remove the extra "r"
!ci-nightly-me |
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.
This PR is a no-op except for potential serialization backwards compatibility, which I will look into.
This is my main concern. I think we have to be careful about whether / how the JSON serialisation for o1js etc. may change too, if that's used.
That said, this is great. I've wanted to make this change for years!
!ci-nightly-me |
This PR renames certain pickles variables for uniformity. For justification see o1-labs/proof-systems#2811
Concretely:
xi
(also known aspolyscale
andu
) becomespolyscale
r
(also known asevalscale
andv
and randomness) becomesevalscale
This PR is a no-op except for potential serialization backwards compatibility, which I will look into.