-
Notifications
You must be signed in to change notification settings - Fork 623
feat!: change for_each iteration order in CapsuleArray, EphemeralArray, TransientArray #24021
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
Merged
mverzilli
merged 36 commits into
merge-train/fairies-v5
from
martin/f-729-fix-array-for-each
Jun 16, 2026
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
50d1bf9
feat: richer EphemeralArray and TransientArray APIs
mverzilli fe86aae
refactor: unify EphemeralArray and TransientArray over OracleArray
mverzilli f751057
refactor: share OracleArray test bodies across backends
mverzilli 0b346bf
feat: empty_at for transient arrays
mverzilli 0f9f79f
feat: store/load/delete for ephemeral arrays, symmetric array APIs
mverzilli c4857f9
refactor: generate per-backend OracleArray tests with a comptime macro
mverzilli 7413220
refactor: single parameterized oracle_array_tests macro
mverzilli d49fc3f
refactor: should_fail_ prefix for failing oracle array checks
mverzilli eb07d6c
Merge branch 'merge-train/fairies-v5' into martin/richer-ephemeral-an…
mverzilli 7845f7b
refactor(aztec-nr): rename oracle::ephemeral module to ephemeral_oracles
mverzilli b5948b0
refactor(aztec-nr): rename oracle::transient module to transient_oracles
mverzilli 62ad854
refactor(aztec-nr): rename OracleArray struct to UnconstrainedArray
mverzilli e8ad51f
refactor(aztec-nr): rename oracle_array module to unconstrained_array
mverzilli 91772da
docs(aztec-nr): reflow doc comments orphaned by the UnconstrainedArra…
mverzilli 15a7e00
refactor(aztec-nr): pluralize ArrayOracles, EphemeralOracles, Transie…
mverzilli aa90beb
docs(aztec-nr): restore ArrayOracles trait doc paragraph
mverzilli e174bce
properly document panics
mverzilli 950a4a2
empty does not need to clear
mverzilli c85569f
make find short-circuit
mverzilli 0ca93c6
remove read_as for now
mverzilli 5fac01b
move Serialize/Deserialize traits from UnconstrainedArray
mverzilli f7cbb01
refactor kv functions
mverzilli 1523392
commit missing file
mverzilli 788bd2f
refactor test helpers
mverzilli 51d06cb
another one
mverzilli 261face
tighten access
mverzilli 8e9e6ee
remove excess comments
mverzilli 6f881e0
Merge branch 'merge-train/fairies-v5' into martin/richer-ephemeral-an…
mverzilli 3275759
fix(aztec-nr): iterate for_each forward in UnconstrainedArray and Cap…
mverzilli 981a212
refactor(aztec-nr): use for_each to build log retrieval requests
mverzilli 025cdb8
remove unneeded comment
mverzilli 02a1080
Update migration_notes.md
mverzilli b2794c7
fix(aztec-nr): defer pending partial note removal until iteration is …
mverzilli 61030ca
refactor(aztec-nr): process partial note completion logs in a backwar…
mverzilli 84ea55b
Merge branch 'merge-train/fairies-v5' into martin/f-729-fix-array-for…
mverzilli e85a246
Merge branch 'merge-train/fairies-v5' into martin/f-729-fix-array-for…
mverzilli File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
regression test. changing the behavior of
for_eachcreated a subtle bug in partial note processing, since it was relying on aligning two CapsuleArray's and removing from one of them in-loop. the bug was thankfully caught by an e2e test, but this regression test makes it cheaper to reproduce and should help detect future issues earlier