-
Notifications
You must be signed in to change notification settings - Fork 3
Add merkle verify gate #85
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
Conversation
91be193 to
39905dc
Compare
I think we should keep default policy to disable ALL non-primitive operations. |
|
As discussed with @hratoanina and @LindaGuiga — we’re not supporting packing yet. So I added a, for now disabled, packing option to Merkle gates. |
Could you please explain why packing is disabled for now? |
The problem with fully packing everything (so for example, when creating a proof structure), is that the challenger sometimes needs to observe both base field and extension field elements, without adding any padding in between. So for example, if you have to observe |
I think the correct and most efficient way to solve it is to change Plonky3 prover to only observe extension field elements. We can add a TODO for now. |
sai-deng
left a 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.
@4l0n50 I pushed a rename commit and another commit with several fixes. Please review and merge the PR as soon as possible to unblock others.
My fixes include:
Adding root indices to the AIR tables.
Fixing missing or incorrect constraints in AIR tables.
Correcting the logic for hashing extra siblings.
4l0n50
left a 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.
I'm ok with your changes. Thanks for you help!
Closes #73.