Skip to content

Support tuple arrays in ABI coder#387

Merged
l5yth merged 1 commit intomainfrom
l5y-update-abi-module-for-tuple-support
Oct 31, 2025
Merged

Support tuple arrays in ABI coder#387
l5yth merged 1 commit intomainfrom
l5y-update-abi-module-for-tuple-support

Conversation

@l5yth
Copy link
Collaborator

@l5yth l5yth commented Oct 31, 2025

Summary

  • refactor the ABI encoder to centralize array handling so tuple elements and nested tuple arrays are encoded correctly
  • add encoder specs that exercise dynamic, static, and nested tuple array scenarios along with cardinality validation
  • extend decoder specs to cover decoding of tuple arrays with static and dynamic members

@l5yth l5yth added the codex Codex is a durable, decentralised data storage protocol label Oct 31, 2025 — with ChatGPT Codex Connector
@codecov
Copy link

codecov bot commented Oct 31, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.70%. Comparing base (1fa2465) to head (d455366).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #387      +/-   ##
==========================================
- Coverage   99.71%   99.70%   -0.02%     
==========================================
  Files          89       89              
  Lines        6316     6369      +53     
==========================================
+ Hits         6298     6350      +52     
- Misses         18       19       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@l5yth l5yth merged commit 7f2ea76 into main Oct 31, 2025
8 checks passed
@l5yth l5yth deleted the l5y-update-abi-module-for-tuple-support branch October 31, 2025 13:18
ShiningRay added a commit to ShiningRay/eth.rb that referenced this pull request Dec 24, 2025
* commit 'ab969176faf033eb0a6387b875ee3aa677c4bacf':
  build(deps): bump JamesIves/github-pages-deploy-action (q9f#395)
  build(deps): bump actions/checkout from 5 to 6 (q9f#394)
  add JSONRPC error code to Client::RpcError (q9f#392)
  Update README.md (q9f#393)
  build(deps): bump github/codeql-action from 3 to 4 (q9f#390)
  client/ws: fix client origin headers for ws requests (q9f#391)
  Rename websocket client to Ws and expand websocket tests (q9f#389)
  Add WebSocket transport to client (q9f#388)
  Support tuple arrays in ABI coder (q9f#387)
  Format EIP-4844 transaction constant (q9f#386)
  Fix ABI tuple handling for ethers test cases (q9f#385)
  Increase blob throughput limits (q9f#363)
  feat: use httpx for http requests (q9f#377) (q9f#382)
  fix: transform hash keys to strings in encoder for component type compatibility (q9f#378)
  fix: improve error handling for missing keys in component encoding (q9f#376)
  build(deps): bump actions/checkout from 4 to 5 (q9f#379)

# Conflicts:
#	eth.gemspec
#	lib/eth/client/http.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

codex Codex is a durable, decentralised data storage protocol

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant