@gooddollar/goodprotocol 1.0.3-beta.2 → 1.0.3-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddollar/goodprotocol",
3
- "version": "1.0.3-beta.2",
3
+ "version": "1.0.3-beta.3",
4
4
  "description": "GoodDollar Protocol",
5
5
  "scripts": {
6
6
  "build": "scripts/build.sh deploy",
@@ -948,7 +948,7 @@ export const main = async (
948
948
  !isMainnet && (await performUpgradeFuse(release));
949
949
  console.log("upgraded contracts", { totalGas });
950
950
  }
951
- if (!isTest && !isCoverage) {
951
+ if (isMainnet && !isTest && !isCoverage) {
952
952
  await verifyContracts(release);
953
953
  }
954
954
 
@@ -956,7 +956,7 @@ export const main = async (
956
956
  return release;
957
957
  // await proveNewRep();
958
958
  };
959
- if (network.name !== "hardhat") {
959
+ if (network.name !== "hardhat" && process.argv[1].includes("upgradeToV2.ts")) {
960
960
  main(name, false)
961
961
  .catch(e => {
962
962
  console.log(e);