Skip to content

feat: merge-train/avm#19901

Merged
AztecBot merged 16 commits into
nextfrom
merge-train/avm
Jan 26, 2026
Merged

feat: merge-train/avm#19901
AztecBot merged 16 commits into
nextfrom
merge-train/avm

Conversation

@AztecBot

@AztecBot AztecBot commented Jan 23, 2026

Copy link
Copy Markdown
Collaborator

BEGIN_COMMIT_OVERRIDE
fix: SLOAD fuzzing after configurable addr (#19895)
fix(avm): Make the TS simulator lazy read calldata / return data (#19843)
chore(avm): ECC pre-audit gadget fuzzing (#19739)
fix: Fuzzer sometimes creates to radix with num_limbs=0 (#19929)
fix: Enforce recipients of l2l1msgs having 20 bytes at most (#19898)
fix merge conflict
END_COMMIT_OVERRIDE

sirasistant and others added 3 commits January 23, 2026 17:32
SLOAD now requires the address of the state holder.
)

Resolves
https://linear.app/aztec-labs/issue/AVM-208/wrap-calldatareturndata-in-ts-simulator-in-a-lazy-reader-class

Adds an interface for lazily read calldata and returndata. Creates two
classes that implement the interface, an array backed one and a memory
backed one. Internal calls use the memory backed one and the top level
calldata uses the array backed one. In the memory one, memory is
accessed at read time, instead of at creation time like we did before.

This should fix the largest diff that we have right now between the TS
and CPP versions of the simulator, that is the lazy behavior of calldata
and returndata, unblocking the differential fuzzer.

@ludamad ludamad left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Auto-approved

@AztecBot AztecBot enabled auto-merge January 23, 2026 22:11
@AztecBot

Copy link
Copy Markdown
Collaborator Author

🤖 Auto-merge enabled after 4 hours of inactivity. This PR will be merged automatically once all checks pass.

After adding some cases to normalise/check for points at infinity in
#19462 & #19471, I found the gadget fuzzer coverage didn't reach a few
lines. This small fix ensures we set infinity in some mutations and we
_don't_ normalise in all cases (to check error handling).

(There is still, and always was, a normalised case where the scalar ==
0, so we handled the (0, 0) inf representation)
@AztecBot AztecBot added this pull request to the merge queue Jan 26, 2026
github-merge-queue Bot pushed a commit that referenced this pull request Jan 26, 2026
BEGIN_COMMIT_OVERRIDE
fix: SLOAD fuzzing after configurable addr (#19895)
fix(avm): Make the TS simulator lazy read calldata / return data
(#19843)
END_COMMIT_OVERRIDE
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jan 26, 2026
@fcarreiro fcarreiro enabled auto-merge January 26, 2026 13:11
@fcarreiro fcarreiro added this pull request to the merge queue Jan 26, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jan 26, 2026
@AztecBot

AztecBot commented Jan 26, 2026

Copy link
Copy Markdown
Collaborator Author

Flakey Tests

🤖 says: This CI run detected 1 tests that failed, but were tolerated due to a .test_patterns.yml entry.

\033FLAKED\033 (8;;http://ci.aztec-labs.com/163b8818953ed684�163b8818953ed6848;;�):  yarn-project/end-to-end/scripts/run_test.sh simple src/e2e_p2p/valid_epoch_pruned_slash.test.ts (397s) (code: 1) group:e2e-p2p-epoch-flakes (\033Aztec Bot\033: feat: merge-train/avm (#19901))

@AztecBot AztecBot enabled auto-merge January 26, 2026 17:23
@AztecBot

Copy link
Copy Markdown
Collaborator Author

🤖 Auto-merge enabled after 4 hours of inactivity. This PR will be merged automatically once all checks pass.

@AztecBot AztecBot added this pull request to the merge queue Jan 26, 2026
@AztecBot

Copy link
Copy Markdown
Collaborator Author

🤖 Auto-merge enabled after 4 hours of inactivity. This PR will be merged automatically once all checks pass.

1 similar comment
@AztecBot

Copy link
Copy Markdown
Collaborator Author

🤖 Auto-merge enabled after 4 hours of inactivity. This PR will be merged automatically once all checks pass.

Merged via the queue into next with commit fe3f335 Jan 26, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants