New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat (metamask): add swap decoder #7092
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #7092 +/- ##
===========================================
+ Coverage 71.67% 71.75% +0.08%
===========================================
Files 1217 1218 +1
Lines 105449 105422 -27
Branches 12261 12266 +5
===========================================
+ Hits 75578 75646 +68
+ Misses 28142 28047 -95
Partials 1729 1729
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
6807ada
to
67b49cf
Compare
60456bc
to
f1bf1be
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.
Looking better. Some more comments.
|
||
for event in context.decoded_events: | ||
# Edit the full amount in the swap's receive event | ||
if ( |
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.
Why did you resolve this? You are still iterating all events to find an event you have already found. The in_event
right?
Signed-off-by: OjusWiZard <ojuswimail@gmail.com>
f1bf1be
to
976aa8c
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.
LGTM
rotki/test-caching/tree/feat/metamask was successfully merged |
Closes #7022
Add a Metamask decoder to decode the swaps done through Metamask on Ethereum, Polygon, Arbitrum, and Optimism.