Skip to content

fix(abi): decode constructor arrays before scalar types - #198

Draft
decofe wants to merge 1 commit into
centaur/report-block-receipt-outcomes-1788594747from
centaur/fix-constructor-array-args-1788596523
Draft

decofe wants to merge 1 commit into
centaur/report-block-receipt-outcomes-1788594747from
centaur/fix-constructor-array-args-1788596523

Conversation

@decofe

@decofe decofe commented Sep 5, 2026

Copy link
Copy Markdown
Member

Decode dynamic constructor arrays before matching scalar type prefixes so bytes[], integer arrays, and nested arrays reach their element decoders instead of failing as scalar literals.

The regression test fails on the parent commit and now passes for bytes, signed/unsigned integers, fixed bytes, addresses, nested arrays and empty arrays; all 45 core tests, nightly fmt/clippy, and generation of the 18-precompile smoke fixture pass.

Stacked on #197 for the ongoing benchmark study; this diff changes only constructor array decoding and its test.

Prompted by: @shekhirin

Co-authored-by: Derek Cofausper <256792747+decofe@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants