From 3ebd71a2a7fcd043945140c9bf9d07b938138fda Mon Sep 17 00:00:00 2001 From: ethyla <36268899+ethyla@users.noreply.github.com> Date: Thu, 19 Dec 2024 11:37:37 +0100 Subject: [PATCH] fix: naming --- scripts/deployers/rm-slashingManager/generatePayload.s.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/deployers/rm-slashingManager/generatePayload.s.sol b/scripts/deployers/rm-slashingManager/generatePayload.s.sol index 38eaee84..5b6e2a04 100644 --- a/scripts/deployers/rm-slashingManager/generatePayload.s.sol +++ b/scripts/deployers/rm-slashingManager/generatePayload.s.sol @@ -16,7 +16,7 @@ contract DeployFix is Script { address governance = 0x6e7a5820baD6cebA8Ef5ea69c0C92EbbDAc9CE48; - address gSafeAddress = 0xCaf0aa768A3AE1297DF20072419Db8Bb8b5C8cEf; + address timelock = 0xCaf0aa768A3AE1297DF20072419Db8Bb8b5C8cEf; function run() public { console.log("Generating payload \n"); @@ -33,7 +33,7 @@ contract DeployFix is Script { assert(registry.getSlashingManagerAddress() == 0x01F645DcD6C796F6BC6C982159B32fAaaebdC96A); assert(registry.contractMap(SLASHING_MANAGER) == 0x01F645DcD6C796F6BC6C982159B32fAaaebdC96A); - vm.prank(gSafeAddress); + vm.prank(timelock); (bool success, /* bytes memory res */ ) = governance.call(payloadRegistry); assert(success); assert(registry.getSlashingManagerAddress() == address(0x00));