From 52fbe2190ebf262df7bc8e243756321165385973 Mon Sep 17 00:00:00 2001 From: ashhanai Date: Mon, 22 Jul 2024 11:25:15 +0200 Subject: [PATCH] fix: timelock setup script --- script/PWNTimelock.s.sol | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/script/PWNTimelock.s.sol b/script/PWNTimelock.s.sol index 7ea2102..f43b793 100644 --- a/script/PWNTimelock.s.sol +++ b/script/PWNTimelock.s.sol @@ -167,10 +167,7 @@ forge script script/PWNTimelock.s.sol:Setup \ timelock.scheduleAndExecute( GnosisSafeLike(deployment.daoSafe), address(timelock), - abi.encodeWithSelector( - TimelockController.schedule.selector, - address(timelock), 0, abi.encodeWithSignature("updateDelay(uint256)", minDelay), 0, 0, 0 - ) + abi.encodeWithSignature("updateDelay(uint256)", minDelay) ); console2.log("Timelock min delay updated:", minDelay);