Skip to content

chore(avm): ECC pre-audit gadget fuzzing#19739

Merged
MirandaWood merged 1 commit into
merge-train/avmfrom
mw/avm-ecc-pre-audit-fuzz
Jan 26, 2026
Merged

chore(avm): ECC pre-audit gadget fuzzing#19739
MirandaWood merged 1 commit into
merge-train/avmfrom
mw/avm-ecc-pre-audit-fuzz

Conversation

@MirandaWood

Copy link
Copy Markdown
Contributor

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)

@MirandaWood MirandaWood force-pushed the mw/avm-ecc-pre-audit-docs branch 2 times, most recently from 0f7955c to df90fb4 Compare January 23, 2026 09:44
@MirandaWood MirandaWood force-pushed the mw/avm-ecc-pre-audit-fuzz branch from 7fcefca to 07c424b Compare January 23, 2026 09:57
Base automatically changed from mw/avm-ecc-pre-audit-docs to merge-train/avm January 23, 2026 11:10
@MirandaWood MirandaWood marked this pull request as ready for review January 23, 2026 14:19
@MirandaWood MirandaWood force-pushed the mw/avm-ecc-pre-audit-fuzz branch from 07c424b to 541ba16 Compare January 23, 2026 14:25
@AztecBot

Copy link
Copy Markdown
Collaborator

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/e2d161cdf7c7dbb6�e2d161cdf7c7dbb68;;�):  yarn-project/end-to-end/scripts/run_test.sh simple src/e2e_p2p/valid_epoch_pruned_slash.test.ts (396s) (code: 1) group:e2e-p2p-epoch-flakes (\033MirandaWood\033: fix: increase inf case fuzzer coverage for ecc gadget)

@MirandaWood MirandaWood merged commit b28972b into merge-train/avm Jan 26, 2026
8 checks passed
@MirandaWood MirandaWood deleted the mw/avm-ecc-pre-audit-fuzz branch January 26, 2026 10:33
@AztecBot AztecBot mentioned this pull request 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)
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants