From e2711e969e305b6a4c3936ce487031c30f66eaa1 Mon Sep 17 00:00:00 2001 From: 0xtekgrinder <0xtekgrinder@protonmail.com> Date: Fri, 30 Aug 2024 13:22:14 +0200 Subject: [PATCH] fix: guardian and governor are in right scope in createChain script --- scripts/DeployChain.s.sol | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/DeployChain.s.sol b/scripts/DeployChain.s.sol index 63e806e..879f3cc 100644 --- a/scripts/DeployChain.s.sol +++ b/scripts/DeployChain.s.sol @@ -22,14 +22,14 @@ contract DeployChain is Script, CommonUtils { timelock = _chainToContract(chainId, ContractType.Timelock); } if (vm.envExists("GOVERNOR")) { - address governor = vm.envAddress("GOVERNOR"); + governor = vm.envAddress("GOVERNOR"); } else { - address governor = _chainToContract(chainId, ContractType.GovernorMultisig); + governor = _chainToContract(chainId, ContractType.GovernorMultisig); } if (vm.envExists("GUARDIAN")) { - address guardian = vm.envAddress("GUARDIAN"); + guardian = vm.envAddress("GUARDIAN"); } else { - address guardian = _chainToContract(chainId, ContractType.GuardianMultisig); + guardian = _chainToContract(chainId, ContractType.GuardianMultisig); } /** END complete */