-
Notifications
You must be signed in to change notification settings - Fork 1
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: use verifying key directly from guest builder #363
Conversation
Codecov ReportAttention: Patch coverage is
@@ Coverage Diff @@
## main #363 +/- ##
==========================================
- Coverage 56.04% 56.04% -0.01%
==========================================
Files 250 250
Lines 26495 26489 -6
==========================================
- Hits 14850 14846 -4
+ Misses 11645 11643 -2
|
Co-authored-by: Rajil Bajracharya <[email protected]>
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'm a little confused this approach. This bakes in the rollup vk into the binary right? I can see the strength with this approach in that it makes it so that it's impossible to use the wrong vk. But to me it would make more sense to have the datatool instead be in charge of building all the proofs. It makes it harder to misuse, as we could bake in the --release
args instead of hoping the user reads the readme.
Can you elaborate on how the proof structure is able to use the correct consensus settings if we're not constructing it until we run the program? Do we check the proofs on this from the outside? I never had a good doc explaining the proof structure.
Yes, this approach does indeed bake the rollup vk into the Currently, the rollup parameters are passed to ZkVM as an input. Ideally, it might make sense to have |
That's interesting, the latter comment about having multiple layers to the rollup params it kinda lines up with some thoughts I had earlier where we have some inner params type for each component that gets constructed early and used when building the proofs, then we can package it together into a "holistic" params that includes all the components and vks and whatnot. I'm not sure how having a
I think this is fine and maybe an ideal way to do it, if it means it lets us shift things upwards in the stack. |
@delbonis it works for now, but deriving We can make the tx filter rules as a public params (for now). |
That feels pretty crappy but it doesn't matter at this stage. |
Let's do whatever we have to to get this over the line. |
Description
Before merging this PR, please run it locally to verify that it works as expected. While it runs successfully on my machine with everything set up, I want to double-check to ensure consistency across different environments.
Type of Change
Checklist
Related Issues