Skip to content

fix: include fixed-size arrays in ABI schema paths#292

Open
Maroutis wants to merge 1 commit intomainfrom
fix/fixed-array-abi-schema-paths
Open

fix: include fixed-size arrays in ABI schema paths#292
Maroutis wants to merge 1 commit intomainfrom
fix/fixed-array-abi-schema-paths

Conversation

@Maroutis
Copy link
Copy Markdown
Collaborator

Summary

  • count fixed-size array dimensions when deriving ABI schema paths
  • keep tuple recursion aligned with the full array depth so indexed fixed-array fields validate correctly
  • add regression coverage for fixed-size scalar arrays and tuple arrays

Test plan

  • python3 -m pytest tests/model/paths/test_path_schemas.py -o addopts=''

Supersedes #287 with a branch that lives directly on LedgerHQ/python-erc7730, so normal upstream CI can run.

Made with Cursor

Count fixed-size array dimensions when deriving ABI schema paths so display-field validation can match indexed fixed-array references like `_route.[0]`. Add regressions for fixed-size scalar arrays and tuple arrays to keep dynamic-array behavior unchanged.

Made-with: Cursor
@Maroutis Maroutis requested a review from a team as a code owner March 27, 2026 10:19
@Maroutis Maroutis enabled auto-merge (squash) March 27, 2026 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant