-
Notifications
You must be signed in to change notification settings - Fork 71
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
fix: eth_getBlockByHash
is using invalid cache record
#3254
Conversation
Signed-off-by: nikolay <[email protected]>
Signed-off-by: nikolay <[email protected]>
Quality Gate passedIssues Measures |
eth_getBlockByHash
is using invalid cache key
eth_getBlockByHash
is using invalid cache keyeth_getBlockByHash
is using invalid cache record
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.
LG.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3254 +/- ##
==========================================
- Coverage 78.80% 77.84% -0.96%
==========================================
Files 48 66 +18
Lines 3595 4460 +865
Branches 836 1000 +164
==========================================
+ Hits 2833 3472 +639
- Misses 423 613 +190
- Partials 339 375 +36
Flags with carried forward coverage won't be shown. Click here to find out more.
|
* chore: fix mirror node client Signed-off-by: nikolay <[email protected]> * chore: remove .only Signed-off-by: nikolay <[email protected]> --------- Signed-off-by: nikolay <[email protected]>
* chore: fix mirror node client Signed-off-by: nikolay <[email protected]> * chore: remove .only Signed-off-by: nikolay <[email protected]> --------- Signed-off-by: nikolay <[email protected]> Signed-off-by: Logan Nguyen <[email protected]>
fix: `eth_getBlockByHash` is using invalid cache record (#3254) * chore: fix mirror node client * chore: remove .only --------- Signed-off-by: nikolay <[email protected]> Signed-off-by: Logan Nguyen <[email protected]> Co-authored-by: Nikolay Atanasow <[email protected]>
Description:
We are getting alerts on intermittent
eth_getTransactionReceipt
calls with a 500 response. Tracing through the logs we can see that thegetBlockByHash
call is missing a valid hash, right after the call to the mirror node on thecontracts/results
endpoint.Steps to reproduce:
eth_getTransactionReceipt
call with a 500 response.getBlockByHash
is missing a valid hash.Related issue(s):
Fixes #3250
Notes for reviewer:
Checklist