From aeaa9aa7ded880858d116f8b2244580d8291d7cb Mon Sep 17 00:00:00 2001 From: Justin Brower Date: Tue, 26 Nov 2024 14:53:33 -0500 Subject: [PATCH] fix --- src/templates/MultisigBuilder.sol | 2 -- src/utils/EncGnosisSafe.sol | 13 +------------ src/utils/ZeusScript.sol | 2 -- 3 files changed, 1 insertion(+), 16 deletions(-) diff --git a/src/templates/MultisigBuilder.sol b/src/templates/MultisigBuilder.sol index 6dfec75..138febb 100644 --- a/src/templates/MultisigBuilder.sol +++ b/src/templates/MultisigBuilder.sol @@ -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(); } diff --git a/src/utils/EncGnosisSafe.sol b/src/utils/EncGnosisSafe.sol index 524e7c4..31107c5 100644 --- a/src/utils/EncGnosisSafe.sol +++ b/src/utils/EncGnosisSafe.sol @@ -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) ); } } diff --git a/src/utils/ZeusScript.sol b/src/utils/ZeusScript.sol index 2cdd2be..2974a6c 100644 --- a/src/utils/ZeusScript.sol +++ b/src/utils/ZeusScript.sol @@ -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) {