-
Notifications
You must be signed in to change notification settings - Fork 73
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
feat: remove transactions with status INVALID_ACCOUNT_ID
from block-specific routes
#3177
feat: remove transactions with status INVALID_ACCOUNT_ID
from block-specific routes
#3177
Conversation
Signed-off-by: nikolay <[email protected]>
🚨 Memory Leak Detected 🚨A potential memory leak has been detected in the test titled Details📊 Memory Leak Detection Report 📊 GC Type: MarkSweepCompact Heap Statistics (before vs after executing the test):
Heap Space Statistics (before vs after executing the test):
RecommendationsPlease investigate the memory allocations in this test, focusing on objects that are not being properly deallocated. |
Test Results 17 files - 3 229 suites - 42 28m 51s ⏱️ - 11m 43s Results for commit a41beb1. ± Comparison against base commit 7fea98c. This pull request removes 1 test.
♻️ This comment has been updated with latest results. |
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.
Nice work! A few suggestions:
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.
Looking good.
I provided a log suggestion and a test suggestion that should be addressed.
Thanks
Signed-off-by: nikolay <[email protected]>
…_account_id-from-block-routes
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 just 1 small request and a qq
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
…_account_id-from-block-routes # Conflicts: # docs/configuration.md
Signed-off-by: nikolay <[email protected]>
…_account_id-from-block-routes # Conflicts: # docs/configuration.md
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
Signed-off-by: nikolay <[email protected]>
a41beb1
Quality Gate passedIssues Measures |
…-specific routes (#3177) * chore: add excluded transaction statuses array Signed-off-by: nikolay <[email protected]> * chore: resolve comments Signed-off-by: nikolay <[email protected]> * chore: resolve comments Signed-off-by: nikolay <[email protected]> * chore: resolve comments Signed-off-by: nikolay <[email protected]> * chore: pull main Signed-off-by: nikolay <[email protected]> * chore: alphabet order Signed-off-by: nikolay <[email protected]> --------- Signed-off-by: nikolay <[email protected]> Signed-off-by: Eric Badiere <[email protected]>
…UNT_ID` from block… (#3217) feat: remove transactions with status `INVALID_ACCOUNT_ID` from block-specific routes (#3177) * chore: add excluded transaction statuses array * chore: resolve comments * chore: resolve comments * chore: resolve comments * chore: pull main * chore: alphabet order --------- Signed-off-by: nikolay <[email protected]> Signed-off-by: Eric Badiere <[email protected]> Co-authored-by: Nikolay Atanasow <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3177 +/- ##
==========================================
- Coverage 83.35% 82.80% -0.56%
==========================================
Files 66 69 +3
Lines 4290 4477 +187
Branches 837 883 +46
==========================================
+ Hits 3576 3707 +131
- Misses 473 501 +28
- Partials 241 269 +28
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Description:
Currently, there are transactions that hadn't entered the evm (reverted due to hedera-specific validations) but are included in a generated record file, also they are imported in the mirror node db. These transactions must be excluded from the response to block-related routes.
Solutions:
We should hook in here https://github.com/hashgraph/hedera-json-rpc-relay/pull/3158/files#diff-dd8c7990f7764960d05dcb4c1b5ae7eee48b425b1b83d6dcc7e7ccc442330ef0R2303 and add a type for
INVALID_ACCOUNT_ID
as well.These checks must be defined as an environment variable (as an array) and we could be able easily to add/remove transaction statuses.
Related issue(s):
Fixes #3171
Notes for reviewer:
Checklist