Skip to content

Commit

Permalink
skip bpnori deployments for live networks
Browse files Browse the repository at this point in the history
  • Loading branch information
amiecorso committed Apr 16, 2024
1 parent 2f2d910 commit 49de37d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deploy/deploy-bridged-polygon-nori.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ import {

export const deploy: DeployFunction = async (environment) => {
const hre = environment as unknown as CustomHardHatRuntimeEnvironment;
if (['mainnet', 'polygon', 'amoy'].includes(hre.network.name)) {
hre.trace('Skipping BridgedPolygonNORI deployment on live network');
return;
}
Logger.setLogLevel(Logger.levels.DEBUG);
hre.trace(`deploy-bridged-polygon-nori`);
const childChainManagerProxyAddress =
Expand Down

0 comments on commit 49de37d

Please sign in to comment.