Skip to content

chore: meaningful error for unexpected input size in encoder#22534

Closed
ledwards2225 wants to merge 1 commit intonextfrom
lde/input-size-error
Closed

chore: meaningful error for unexpected input size in encoder#22534
ledwards2225 wants to merge 1 commit intonextfrom
lde/input-size-error

Conversation

@ledwards2225
Copy link
Copy Markdown
Contributor

Previously the ArgumentEncoder silently truncated oversized fixed-length array arguments by iterating only up to the ABI-declared length. External reported that a 519-field noir-rollup proof passed to a [Field; 500] was silently truncated. PR adds a length check in the case 'array'. Adds a unit test to avoid regression.

@ledwards2225 ledwards2225 marked this pull request as ready for review April 14, 2026 18:08
@ledwards2225
Copy link
Copy Markdown
Contributor Author

Superseded by #22529

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.

1 participant