-
Notifications
You must be signed in to change notification settings - Fork 563
Conversation
not sure how to get it picked up in CI. |
}) | ||
it('should revert', async () => { | ||
await revert.try_set(10) | ||
no = await revert.query() |
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.
This will just throw and end the execution. You should use the expectRevert
function which is defined above
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.
the test case actually success on ganache, only fail on ethermint.
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.
await revert.set(10)
this can success on ganache?
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.
okay I saw the code. Yeah it should be success.
Once the #278 is merged this will be automatically executed. |
Codecov Report
@@ Coverage Diff @@
## main #345 +/- ##
==========================================
+ Coverage 52.42% 52.59% +0.17%
==========================================
Files 46 46
Lines 4614 4620 +6
==========================================
+ Hits 2419 2430 +11
+ Misses 2093 2090 -3
+ Partials 102 100 -2
|
will open another PR to fix this issue directly, closing this one. |
* Problem: block number is not filled in eth logs Solution: - fill in both block hash and block number in json-rpc - remove the block hash in events, to save some space in tx_indexer * fix unit test * fix unit test * fill in tx hash to logs * fix block number * cleanup * remove tx log event
#338
Description
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)