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: make bridge tasks prettier and display more info for L2 to L1 #783
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Tomás Migone <tomas@edgeandnode.com>
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## dev #783 +/- ##
==========================================
+ Coverage 91.59% 92.60% +1.01%
==========================================
Files 42 47 +5
Lines 1999 2368 +369
Branches 361 432 +71
==========================================
+ Hits 1831 2193 +362
- Misses 168 175 +7
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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
Signed-off-by: Tomás Migone <tomas@edgeandnode.com>
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
Signed-off-by: Tomás Migone <tomas@edgeandnode.com>
tasks/bridge/deposits.ts
Outdated
@@ -37,6 +37,11 @@ task(TASK_BRIDGE_DEPOSITS, 'List deposits initiated on L1GraphTokenGateway') | |||
`Tracking 'DepositFinalized' events on L2GraphTokenGateway (${l2Gateway.address}) from block ${l2StartBlock} onwards`, | |||
) | |||
|
|||
const amount = await ( |
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.
did you add this additional query on purpose? if so, it might be better to store the result and use it for depositInitiatedEvents below?
But also, isn't it this redundant with what's printed on line 73?
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.
Fixed!
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.
(I left that small comment above but this still LGTM)
Signed-off-by: Tomás Migone <tomas@edgeandnode.com>
Signed-off-by: Tomás Migone <tomas@edgeandnode.com>
Changes
Signed-off-by: Tomás Migone tomas@edgeandnode.com