feat(jsonrpc): jsonrpc set error resolver#6369
Merged
kuny0707 merged 10 commits intotronprotocol:release_v4.8.1from Aug 15, 2025
Merged
feat(jsonrpc): jsonrpc set error resolver#6369kuny0707 merged 10 commits intotronprotocol:release_v4.8.1from
kuny0707 merged 10 commits intotronprotocol:release_v4.8.1from
Conversation
common/src/main/java/org/tron/core/exception/JsonRpcInternalException.java
Show resolved
Hide resolved
Contributor
Author
|
Like |
317787106
reviewed
Jul 3, 2025
common/src/main/java/org/tron/core/exception/jsonrpc/JsonRpcException.java
Show resolved
Hide resolved
317787106
approved these changes
Jul 3, 2025
bladehan1
approved these changes
Jul 9, 2025
barbatos2011
approved these changes
Jul 9, 2025
kuny0707
approved these changes
Jul 11, 2025
lvs0075
approved these changes
Aug 13, 2025
…nrpc_setTronErrorResolver
warku123
pushed a commit
to warku123/java-tron
that referenced
this pull request
Feb 6, 2026
* JsonRpc:setTronErrorResolver * fix: add resData.length check while throw JsonRpcInternalException * add data field in TronException * feat(api): rename JsonRpcErrorResolver, add unit test * feat(api): add note and test * feat(api): add JsonRpcException.java * feat(api): remove logs and unnecessary test case * feat(api): enhance estimateGas error handling to include data field * refactor: optimize JsonRpcErrorResolver error data resolution
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Support setting of data field when jsonrpc return error, from #6330
Why are these changes required?
This PR has been tested by:
Follow up
Extra details