diff --git a/script/Abstract.Deploy.Single.s.sol b/script/Abstract.Deploy.Single.s.sol index 4633c9bf4..df12f6e1b 100644 --- a/script/Abstract.Deploy.Single.s.sol +++ b/script/Abstract.Deploy.Single.s.sol @@ -789,7 +789,7 @@ abstract contract AbstractDeploySingle is Script { bytes32 emergencyAdminRole = srbac.EMERGENCY_ADMIN_ROLE(); if (grantProtocolAdmin) srbac.grantRole(protocolAdminRole, PROTOCOL_ADMINS[trueIndex]); - + srbac.grantRole(emergencyAdminRole, EMERGENCY_ADMIN); //srbac.revokeRole(emergencyAdminRole, ownerAddress); @@ -1171,15 +1171,7 @@ abstract contract AbstractDeploySingle is Script { } } - function _readContract( - string memory name, - uint64 chainId, - string memory contractName - ) - internal - view - returns (address) - { + function _readContract(string memory name, uint64 chainId, string memory contractName) internal returns (address) { string memory json; string memory root = vm.projectRoot(); json = diff --git a/test/utils/MainnetBaseSetup.sol b/test/utils/MainnetBaseSetup.sol index 21bf881d6..78b833ff6 100644 --- a/test/utils/MainnetBaseSetup.sol +++ b/test/utils/MainnetBaseSetup.sol @@ -536,15 +536,7 @@ abstract contract MainnetBaseSetup is DSTest, StdInvariant, Test { priceFeeds[GNOSIS][ARBI] = 0xa767f745331D267c7751297D982b050c93985627; } - function _readContract( - string memory name, - uint64 chainId, - string memory contractName - ) - internal - view - returns (address) - { + function _readContract(string memory name, uint64 chainId, string memory contractName) internal returns (address) { string memory json; string memory root = vm.projectRoot(); json = string(abi.encodePacked(root, folderToRead, vm.toString(uint256(chainId)), "/", name, "-latest.json"));