Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrower95 committed Nov 26, 2024
1 parent ab29233 commit aeaa9aa
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 16 deletions.
2 changes: 0 additions & 2 deletions src/templates/MultisigBuilder.sol
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ abstract contract MultisigBuilder is ZeusScript {
function execute() public {
address multisigContext = getMultisigContext();
vm.startPrank(multisigContext, multisigContext);
console.log("- establishing multisig spoof");
console.log(multisigContext);
_runAsMultisig();
vm.stopPrank();
}
Expand Down
13 changes: 1 addition & 12 deletions src/utils/EncGnosisSafe.sol
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,7 @@ library EncGnosisSafe {

return abi.encodeCall(
ISafe.execTransaction,
(
to,
value,
data,
uint8(op),
SAFE_TX_GAS,
BASE_GAS,
GAS_PRICE,
GAS_TOKEN,
REFUND_RECEIVER,
sig
)
(to, value, data, uint8(op), SAFE_TX_GAS, BASE_GAS, GAS_PRICE, GAS_TOKEN, REFUND_RECEIVER, sig)
);
}
}
2 changes: 0 additions & 2 deletions src/utils/ZeusScript.sol
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ abstract contract ZeusScript is Script, Test {
function zSetMultisigContext(address addr) public {
require(vm.envBool("ZEUS_TEST"), "can only use zMockMultisig() during a test.");
zUpdate(multisigContext, addr);
console.log("zeus test - updated multisig context");
console.log(addr);
}

function getMultisigContext() public view returns (address) {
Expand Down

0 comments on commit aeaa9aa

Please sign in to comment.