fix(eth): serialize empty lists as [] instead of null#7214
fix(eth): serialize empty lists as [] instead of null#7214sudo-shashank wants to merge 15 commits into
[] instead of null#7214Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
Walkthrough
ChangesETH empty-list serialization fix
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Comment |
Codecov Report❌ Patch coverage is
Additional details and impacted files
... and 10 files with indirect coverage changes Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
|
API compare tests failed in |
filtering these methods until lotus fix them |
Summary of changes
Changes introduced in this pull request:
NotNullVecinstead ofVecfor empty lists so they are never null.Reference issue to close (if applicable)
Closes #7205
Other information and links
Change checklist
Outside contributions
Summary by CodeRabbit
Summary
Bug Fixes
eth_accounts,eth_getBlockReceipts*, andtrace_*to always return non-null arrays ([]for empty results) instead ofnull.accessListbehavior: typed transactions now serialize emptyaccessListas[], while legacy transactions omitaccessList.Documentation
accessListrequirements.