-
Notifications
You must be signed in to change notification settings - Fork 143
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: invalid query error handling #13900
Conversation
Signed-off-by: Kim Rader <kim.rader@swirldslabs.com>
Node: Unit Test Results 1 562 files 1 562 suites 1h 52m 7s ⏱️ Results for commit d7f60ad. ♻️ This comment has been updated with latest results. |
Node: HAPI Test (Restart) Results3 tests 3 ✅ 6m 21s ⏱️ Results for commit d7f60ad. ♻️ This comment has been updated with latest results. |
Node: HAPI Test (Token) Results 20 files 20 suites 5m 54s ⏱️ Results for commit d7f60ad. ♻️ This comment has been updated with latest results. |
Node: HAPI Test (Node Death Reconnect) Results3 tests 3 ✅ 5m 55s ⏱️ Results for commit d7f60ad. ♻️ This comment has been updated with latest results. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #13900 +/- ##
=============================================
+ Coverage 67.58% 67.71% +0.12%
- Complexity 36486 36687 +201
=============================================
Files 3732 3762 +30
Lines 149767 149852 +85
Branches 15571 15571
=============================================
+ Hits 101223 101469 +246
+ Misses 44179 44043 -136
+ Partials 4365 4340 -25 ☔ View full report in Codecov by Sentry. |
Node: HAPI Test (Crypto) Results 24 files 24 suites 12m 15s ⏱️ Results for commit d7f60ad. ♻️ This comment has been updated with latest results. |
Node: HAPI Test (Misc) Results 51 files 51 suites 23m 2s ⏱️ Results for commit d7f60ad. ♻️ This comment has been updated with latest results. |
Node: HAPI Test (Time Consuming) Results19 tests 19 ✅ 23m 15s ⏱️ Results for commit d7f60ad. ♻️ This comment has been updated with latest results. |
Node: HAPI Test (Smart Contract) Results 72 files 72 suites 22m 38s ⏱️ Results for commit d7f60ad. ♻️ 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.
We should discuss the solution. If we cannot parse the query, we should not send an arbitrary response type (TransactionGetReceiptResponse
).
hedera-node/hedera-app/src/main/java/com/hedera/node/app/workflows/query/QueryWorkflowImpl.java
Outdated
Show resolved
Hide resolved
hedera-node/hedera-app/src/main/java/com/hedera/node/app/workflows/query/QueryWorkflowImpl.java
Outdated
Show resolved
Hide resolved
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 - thanks @kimbor
hedera-node/hedera-app/src/main/java/com/hedera/node/app/grpc/impl/MethodBase.java
Show resolved
Hide resolved
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
* develop: chore: Extract key verification from HandleContext (#13937) feat: invalid query error handling (#13900) chore: add hapi test framework for dynamic address book transactions (#13874) docs: Add comment to explain `recId` and `v` fields of `EthTxData` (#13991) chore: refactor to use `ThrottleUsageSnapshot` (#13969) build: split publish of 'platform' and 'services' / do not publish blocknode (#14015) chore: 13980 remove get node info (#13982) feat: Reduce services-hedera's usage of PlatformContext (#13652) chore: Extract entity num generation from HandleContext (#13933) test: 013376- Add end to end tests for crypto create max auto associations (#13545) chore: Upgrade Netty to Latest Stable Release Version 4.1.110 (#13833) docs: Added design doc for Util Service (#13958) # Conflicts: # hedera-node/hedera-app/src/main/java/com/hedera/node/app/workflows/handle/flow/DispatchHandleContext.java
Signed-off-by: Kim Rader <kim.rader@swirldslabs.com>
Description:
Improve error handling when a query contains an invalid parameter.
Related issue(s):
Fixes #13795