-
Notifications
You must be signed in to change notification settings - Fork 566
Problem: Some Web3 RPC Handlers could panic #702
Conversation
With this patch, the response of the tx mentioned in issue is:
|
Codecov Report
@@ Coverage Diff @@
## main #702 +/- ##
==========================================
- Coverage 57.36% 57.11% -0.25%
==========================================
Files 63 63
Lines 5505 5557 +52
==========================================
+ Hits 3158 3174 +16
- Misses 2180 2201 +21
- Partials 167 182 +15
|
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.
looks all right -- there are also a few direct calls in the RPC handlers themselves, e.g.: https://github.com/yihuang/ethermint/blob/invalid-tx/rpc/ethereum/namespaces/eth/api.go#L487
are those safe?
it seems not, the |
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.
ACK. Can you add a changelog entry?
Closes: evmos#701 Solution: - return error rather than panic when decoding invalid tx
done, also added validations into the |
Description
Closes: #701
Solution:
For contributor use:
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerFor admin use:
WIP
,R4R
,docs
, etc)