-
Notifications
You must be signed in to change notification settings - Fork 219
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: dynamic array indexing #886
Conversation
Looks like this PR is failing the 6_array test. Is it a bug or is it in need of another PR to acvm? |
Looks like we're using a feature which isn't stable in 1.66.0. |
We need an acvm release EDIT: in fact 6_array is failing verification, which may be linked to the may-be bb issue we have with verification... |
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.
LGTM
Description
Summary of changes
Enable dynamic, i.e non constant, index for accessing arrays.
Memory operations are put in the memory trace and we apply memory consistency constraints on the sorted trace.
This PR requires an ACIR update
Test additions / changes
The integration test 6_arrays has been updated.
Checklist
cargo fmt
with default settings.EDIT: I have de-activated the feature in the PR:
The reason is that it is a long standing PR for which the test case it failing verification. This is probably another issue.
Not having this code merged in master is starting to become annoying.
The dynamic arrays will be activated by simply un-commenting the 2 above changes once the issue with verification is solved.