-
Notifications
You must be signed in to change notification settings - Fork 562
treat all vm errors the same as reverted #276
Conversation
Codecov Report
@@ Coverage Diff @@
## main #276 +/- ##
=======================================
Coverage 47.60% 47.60%
=======================================
Files 45 45
Lines 3151 3132 -19
=======================================
- Hits 1500 1491 -9
+ Misses 1576 1566 -10
Partials 75 75
|
d3ae2b9
to
aa31409
Compare
It seems not trivial to test this in unit tests, I have to build smart contract tx that fails? |
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
i'll add smart contract test using etherjs |
There's Opcode test in the coming PR #273 so it's good to go |
might need to solve conflict after |
rebased. |
a299047
to
dbcc720
Compare
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.
Generally looks good. I'd just suggest adding extra comments both on the code and on top of the functions so that we can provide the most context possible
31d19c8
to
d6ffac5
Compare
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 good, can you add a Changelog entry too? @thomas-nguy should also review this and give his ACK
changelog added now. |
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
Closes: #274
Description
ApplyMessage
, also moved gas refund logic intoApplyMessage
, to make it more reusable inEthCall
.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)