Skip to content

fix: stale detector#23504

Merged
IlyasRidhuan merged 1 commit into
merge-train/avmfrom
ir/fix_detectors
May 22, 2026
Merged

fix: stale detector#23504
IlyasRidhuan merged 1 commit into
merge-train/avmfrom
ir/fix_detectors

Conversation

@IlyasRidhuan

Copy link
Copy Markdown
Contributor

Updating the detector code as part of the azip-8 pr so we don't have to use toNoirStruct

The detector still checked for the pre-AZIP-8 shape (raw `*_m` points),
so it silently returned false for every modern contract ABI and the
TS codegen fell back to the inlined struct literal instead of the
typed `PublicKeys` parameter. Rename the three field checks to the
`_hash` variants and update the one call site that was matching the
old fallback shape to pass the `PublicKeys` instance directly (the
encoder routes class instances through `encodeToNoir`).
@IlyasRidhuan IlyasRidhuan requested a review from jeanmon May 22, 2026 13:17
@IlyasRidhuan IlyasRidhuan changed the base branch from next to merge-train/avm May 22, 2026 13:17
@IlyasRidhuan IlyasRidhuan merged commit ec5249d into merge-train/avm May 22, 2026
25 checks passed
@IlyasRidhuan IlyasRidhuan deleted the ir/fix_detectors branch May 22, 2026 14:56
@AztecBot AztecBot mentioned this pull request May 22, 2026
danielntmd pushed a commit to danielntmd/aztec-packages that referenced this pull request Jun 4, 2026
BEGIN_COMMIT_OVERRIDE
fix: stale detector (AztecProtocol#23504)
test(avm): add schnorr verify to bulk test (AztecProtocol#23467)
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.

2 participants