-
Notifications
You must be signed in to change notification settings - Fork 305
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
Enforce zero right-padded arrays in accumulated data of native private kernel circuit #2612
Labels
C-protocol-circuits
Component: Protocol circuits (kernel & rollup)
Comments
jeanmon
added
the
C-protocol-circuits
Component: Protocol circuits (kernel & rollup)
label
Oct 2, 2023
4 tasks
jeanmon
added a commit
that referenced
this issue
Oct 2, 2023
…it of arrays in accumulated data (#2614) Resolves #2612 - Aded validation check for arrays in accumulated data of inner and ordering private kernel circuit on the following previous_kernel.public_inputs.end members: - read_requests - new_commitments - new_nullifiers - nullified_commitments - private_call_stack - public_call_stack - new_l2_to_l1_msgs - Corresponding unit tests added on native private kernel circuits # Checklist: Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge. - [x] If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag. - [x] I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code. - [x] Every change is related to the PR description. - [x] I have [linked](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) this pull request to relevant issues (if any exist).
Maddiaa0
pushed a commit
that referenced
this issue
Oct 6, 2023
…it of arrays in accumulated data (#2614) Resolves #2612 - Aded validation check for arrays in accumulated data of inner and ordering private kernel circuit on the following previous_kernel.public_inputs.end members: - read_requests - new_commitments - new_nullifiers - nullified_commitments - private_call_stack - public_call_stack - new_l2_to_l1_msgs - Corresponding unit tests added on native private kernel circuits # Checklist: Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge. - [x] If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag. - [x] I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code. - [x] Every change is related to the PR description. - [x] I have [linked](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) this pull request to relevant issues (if any exist).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This essentially consists in applying the validation introduced in #1090 for arrays in previous_kernel.public_inputs.end
The text was updated successfully, but these errors were encountered: