-
Notifications
You must be signed in to change notification settings - Fork 24
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
feat: Customizable static verifier public values handler #1226
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@nyunyunyunyu please review |
kk |
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.
Can we have a test case?
@@ -127,8 +127,7 @@ impl Halo2WrapperProvingKey { | |||
); | |||
assert_eq!( | |||
self.pinning.metadata.num_pvs[0], | |||
// 12 is the number of public values for the accumulator | |||
snark_to_verify.instances[0].len() + 12 | |||
snark_to_verify.instances[0].len() + 12, |
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.
why delete this comment?
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.
sorry, i had added and removed something and the comment went with it. will restore the comment
yes, will add one |
This comment has been minimized.
This comment has been minimized.
Commit: 846d202 |
@nyunyunyunyu added test that shows how it's used (same pattern in the other repo PR): https://github.com/openvm-org/openvm/pull/1226/files#diff-e8080e6de56d5f572a1f800ab4ebba8d622c988ae8e5bce485c5067ca5528bfaR267 |
Adds a way to optionally customize the static verifier's public values handler