Skip to content

chore: use Call3Value for _buildCalls #139

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

Merged
merged 1 commit into from
Apr 22, 2025
Merged

chore: use Call3Value for _buildCalls #139

merged 1 commit into from
Apr 22, 2025

Conversation

xenoliss
Copy link
Contributor

Change _buildCalls to return an array of Call3Value, enabling ETH transfers (primarily for funding new facilitator ledgers).

Update the unit tests with the new expected "data to sign", which changed due to the use of aggregate3Value instead of aggregate3, and the addition of the value field in the Call3Value calls.

@xenoliss xenoliss requested a review from jackchuma April 22, 2025 16:35
@cb-heimdall
Copy link
Collaborator

cb-heimdall commented Apr 22, 2025

✅ Heimdall Review Status

Requirement Status More Info
Reviews 2/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@xenoliss xenoliss requested a review from mdehoog April 22, 2025 16:35
IMulticall3.Call3[] memory approvalCall = new IMulticall3.Call3[](1);
approvalCall[0] = _generateApproveCall(targetSafe, callToApprove);

datas[i - 1] = abi.encodeCall(IMulticall3.aggregate3, (approvalCall));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice cleanup

@xenoliss xenoliss merged commit 2d0adea into main Apr 22, 2025
2 checks passed
@xenoliss xenoliss deleted the bo/call3value branch April 22, 2025 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants