This repository has been archived by the owner on Apr 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 562
Emit eth tx hash in ante handler to support query failed transactions #1062
Merged
Conversation
This file contains 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
yihuang
commented
Apr 22, 2022
Codecov Report
@@ Coverage Diff @@
## main #1062 +/- ##
==========================================
+ Coverage 59.52% 60.64% +1.11%
==========================================
Files 85 86 +1
Lines 7015 7085 +70
==========================================
+ Hits 4176 4297 +121
+ Misses 2622 2568 -54
- Partials 217 220 +3
|
|
yihuang
force-pushed
the
emit-tx-hash
branch
6 times, most recently
from
May 16, 2022 12:01
6e03d89
to
9bdac6b
Compare
yihuang
force-pushed
the
emit-tx-hash
branch
3 times, most recently
from
May 23, 2022 09:46
b8710f7
to
00c3bf7
Compare
yihuang
commented
May 23, 2022
yihuang
force-pushed
the
emit-tx-hash
branch
2 times, most recently
from
May 23, 2022 16:40
8191230
to
b6e92ed
Compare
yihuang
requested review from
fedekunze,
khoslaventures and
jolube
as code owners
May 23, 2022 16:41
fedekunze
reviewed
May 23, 2022
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 approach LGTM. Left some suggestions and comments
yihuang
commented
May 23, 2022
yihuang
commented
May 23, 2022
This was referenced May 24, 2022
WIP: evmos#1045 Solution: - emit eth tx hash in ante handler - modify rpc to use it fix ante handler support failed tx in receipt add unit tests need to patch cosmos-sdk to work update cosmos-sdk to v0.45.x release branch fix failed status fix unit tests add unit test cases cleanup dead code Apply suggestions from code review Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com> fix lint fix review suggestions fix build fix gas used of failed tx add back the redundant events
I've done all the tests on my side:
|
13 tasks
fedekunze
suggested changes
May 30, 2022
fedekunze
approved these changes
May 31, 2022
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, minor suggestions 👍
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
…nto emit-tx-hash
yihuang
commented
May 31, 2022
fedekunze
approved these changes
May 31, 2022
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.
much better 👍 thanks for the descriptions @yihuang
yihuang
added a commit
to yihuang/ethermint
that referenced
this pull request
Jun 6, 2022
…ry failed transactions (evmos#1062) * Emit eth tx hash in ante handler to support query failed transactions WIP: evmos#1045 Solution: - emit eth tx hash in ante handler - modify rpc to use it fix ante handler support failed tx in receipt add unit tests need to patch cosmos-sdk to work update cosmos-sdk to v0.45.x release branch fix failed status fix unit tests add unit test cases cleanup dead code Apply suggestions from code review Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com> fix lint fix review suggestions fix build fix gas used of failed tx add back the redundant events * fix get tx by index * add unit tests for events * Update rpc/types/events.go Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com> * update comments * refactoring * Update rpc/namespaces/ethereum/eth/api.go * fix lint * Apply suggestions from code review Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
12 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Description
WIP: #1045
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)