Skip to content

Conversation

@jackchuma
Copy link
Contributor

@jackchuma jackchuma commented Nov 11, 2025

Modifies MultisigScript to support DELEGATECALL operations to OPCM

@cb-heimdall
Copy link
Collaborator

cb-heimdall commented Nov 11, 2025

✅ Heimdall Review Status

Requirement Status More Info
Reviews 1/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 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

/// │ │ │ │ │ │ │ run() │
/// │ │ │ │ │ │ │─────────────────────────────>│
abstract contract MultisigScript is Script {
struct SafeTx {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Needed to add this to encapsulate inputs for one of the internal functions to avoid a stack too deep error

@jackchuma jackchuma marked this pull request as ready for review November 11, 2025 17:39
_executeTransaction({safe: safes[0], data: datas[0], value: value, signatures: signatures, broadcast: true});
(bytes[] memory datas, uint256 value,) = _transactionDatas({safes: safes});
(Vm.AccountAccess[] memory accesses, Simulation.Payload memory simPayload) = _executeTransaction({
safe: safes[0], to: multicallAddress, data: datas[0], value: value, signatures: signatures, broadcast: true
Copy link

Choose a reason for hiding this comment

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

Should this to: still be multicallAddress?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I believe so, yes. Only the final execute call should be directed to OPCM. The approval flow still uses multicall

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