-
Notifications
You must be signed in to change notification settings - Fork 238
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
[sdk-core] new Operation types and ETH value forwarding #2042
Conversation
Changelog ReminderReminder to update the CHANGELOG.md for any of the modified packages in this PR.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #2042 +/- ##
==========================================
+ Coverage 88.09% 88.19% +0.10%
==========================================
Files 109 109
Lines 6793 6851 +58
Branches 978 985 +7
==========================================
+ Hits 5984 6042 +58
Misses 807 807
Partials 2 2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
const values = operationStructArray | ||
.filter((x) => x.value?.gt(BigNumber.from(0))) | ||
.map((x) => x.value); | ||
|
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.
A possible situation to protect against would be that the operation with the ETH value would be the first payable call in the set of operations.
XKCD Comic RelifLink: https://xkcd.com/2042 |
TODO: bump version & changelog