-
Notifications
You must be signed in to change notification settings - Fork 87
feat: improve eth_getBlockReceipts
validation
#4456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: nikolay <[email protected]>
Signed-off-by: nikolay <[email protected]>
Test Results 20 files + 2 265 suites +27 20m 22s ⏱️ - 5m 42s Results for commit 3c6187b. ± Comparison against base commit 2d3dc80. This pull request removes 1 and adds 42 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
Signed-off-by: nikolay <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Nice on point test case!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #4456 +/- ##
==========================================
+ Coverage 96.13% 96.23% +0.10%
==========================================
Files 121 121
Lines 19941 19943 +2
Branches 1743 1754 +11
==========================================
+ Hits 19170 19193 +23
+ Misses 751 728 -23
- Partials 20 22 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 7 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Description
The
eth_getBlockReceipts
method is not working as expected.On the mainnet,
0x511b8ee
block has 2 transactions.You can get info about those transactions correctly via
eth_getBlockByNumber
or viaeth_getTransactionReceipt
, but theeth_getBlockReceipts
has an empty response instead.This seems related to managing synthetic transactions.
I experience the same issue with a default local JSON-RPC relay, so this does not seem due to a specific Hashio configuration.
Steps to reproduce
Additional context
No response
Hedera network
No response
Version
v0.71.0
Operating system
None
Related issue(s)
Fixes #4423
Testing Guide
Changes from original design (optional)
N/A
Additional work needed (optional)
N/A
Checklist