-
Notifications
You must be signed in to change notification settings - Fork 71
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
fix: gnark plonky2 verifier #234
Conversation
VerifierData variables.VerifierOnlyCircuitData | ||
|
||
// Circuit configuration that is not part of the circuit itself. | ||
CommonCircuitData types.CommonCircuitData `gnark:"-"` |
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.
Is 'CommonCircuitData` a constant now?
// The VerifierDigest is stored on-chain as a bytes32, so we need to pad it with 0s | ||
// to store it in the Solidity smart contract. | ||
// Note that we don't need to do any sort of truncation of the top bits because the | ||
// circuit digest already lives in the bn254 field because the WrappedCircuit config |
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.
nit: why is bn254 lowercase but next line it's capitalized
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.
nit: line breaks by sentence are unusual in this repo
either collapse to 100 cols or add another line between line breaks
e44fee9
to
d227b18
Compare
163a6b0
to
41bb8bd
Compare
No description provided.