Skip to content

Commit

Permalink
🔨 change script again
Browse files Browse the repository at this point in the history
  • Loading branch information
thurendous committed Oct 5, 2023
1 parent 4c1d1ae commit 8352744
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/DeployContracts.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ contract DeployContracts is Script {
function run() external returns (ProxyFactory, Distributor, HelperConfig) {
// set up config
HelperConfig config = new HelperConfig();
if (block.chainid == 43114) {
if (block.chainid == 43114 || block.chainid == 43113) {
// get the addresses of the tokens to whitelist
(,jpycv2Address, usdcAddress,, deployerKey) =
config.activeNetworkConfig();
Expand Down Expand Up @@ -69,7 +69,7 @@ contract DeployContracts is Script {

// do this when it is in local test
// TODO: now the prod cases only include testnet and mainnet of avalanche
if (block.chainid != 43114 || block.chainid != 43113) {
if (block.chainid != 43114 && block.chainid != 43113) {
// console.log("Deploying contracts...sender: ", msg.sender);
proxyFactory.transferOwnership(factoryAdmin);
}
Expand Down

0 comments on commit 8352744

Please sign in to comment.