-
Notifications
You must be signed in to change notification settings - Fork 242
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
[ETHEREUM-CONTRACTS] payable macro forwarder #2025
Conversation
Changelog ReminderReminder to update the CHANGELOG.md for any of the modified packages in this PR.
|
packages/ethereum-contracts/contracts/interfaces/utils/IUserDefinedMacro.sol
Show resolved
Hide resolved
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #2025 +/- ##
=======================================
Coverage 88.37% 88.37%
=======================================
Files 111 111
Lines 7001 7003 +2
Branches 964 963 -1
=======================================
+ Hits 6187 6189 +2
Misses 812 812
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. |
XKCD Comic RelifLink: https://xkcd.com/2025 |
Since batch calls are payable, making the MacroForwarder payable allows the building of macros forwarding ETH.
This PR includes a test case with a new example macro offering more than one operation (create/update/delete flow), using the convention of paramsX view functions for convenient parameter encoding.