Skip to content

Commit

Permalink
Merge branch 'gov' of https://github.com/open-dollar/od-contracts int…
Browse files Browse the repository at this point in the history
…o gov
  • Loading branch information
cupOJoseph committed Feb 1, 2024
2 parents f999724 + e6dbc3d commit ce2ec00
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
ARB_MAINNET_RPC=
ARB_MAINNET_PK=0x
ARB_MAINNET_DEPLOYER_PK=0x
ARB_MAINNET_DEPLOYER_ADDR=0x

ARB_SEPOLIA_RPC=
ARB_SEPOLIA_PK=0x
ARB_SEPOLIA_DEPLOYER_PK=0x
ARB_SEPOLIA_DEPLOYER_ADDR=0x

ARB_ETHERSCAN_API_KEY=

Expand Down
4 changes: 2 additions & 2 deletions script/postdeployment/SetupOracleRelayer.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {SepoliaDeployment} from '@script/SepoliaDeployment.s.sol';
* vm.startBroadcast(vm.envUint('ARB_MAINNET_DEPLOYER_PK'));
* oracleRelayer.modifyParameters('systemCoinOracle', abi.encode(MAINNET_SYSTEM_COIN_ORACLE));
* oracleRelayer.addAuthorization(MAINNET_TIMELOCK_CONTROLLER);
* oracleRelayer.removeAuthorization(vm.envAddress('ARB_MAINNET_DEPLOYER_PC'));
* oracleRelayer.removeAuthorization(vm.envAddress('ARB_MAINNET_DEPLOYER_ADDR'));
* vm.stopBroadcast();
* }
* }
Expand All @@ -36,7 +36,7 @@ contract SetupOracleRelayerSepolia is SepoliaDeployment, Script {
vm.startBroadcast(vm.envUint('ARB_SEPOLIA_DEPLOYER_PK'));
oracleRelayer.modifyParameters('systemCoinOracle', abi.encode(SEPOLIA_SYSTEM_COIN_ORACLE));
oracleRelayer.addAuthorization(SEPOLIA_TIMELOCK_CONTROLLER);
oracleRelayer.removeAuthorization(vm.envAddress('ARB_SEPOLIA_DEPLOYER_PC'));
oracleRelayer.removeAuthorization(vm.envAddress('ARB_SEPOLIA_DEPLOYER_ADDR'));
vm.stopBroadcast();
}
}
Expand Down
4 changes: 2 additions & 2 deletions script/predeployment/DeployGovernance.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ contract DeployGovernanceMainnet is Script {
function run() public {
vm.startBroadcast(vm.envUint('ARB_MAINNET_DEPLOYER_PK'));

address deployer = vm.envAddress('ARB_MAINNET_DEPLOYER_PC');
address deployer = vm.envAddress('ARB_MAINNET_DEPLOYER_ADDR');

// empty address array for Proposers and Executors (ODGovernor will assume these roles)
address[] memory members = new address[](0);
Expand Down Expand Up @@ -56,7 +56,7 @@ contract DeployGovernanceSepolia is Script {
function run() public {
vm.startBroadcast(vm.envUint('ARB_SEPOLIA_DEPLOYER_PK'));

address deployer = vm.envAddress('ARB_SEPOLIA_DEPLOYER_PC');
address deployer = vm.envAddress('ARB_SEPOLIA_DEPLOYER_ADDR');

// empty address array for Proposers and Executors (ODGovernor will assume these roles)
address[] memory members = new address[](0);
Expand Down

0 comments on commit ce2ec00

Please sign in to comment.