Skip to content

Commit

Permalink
Remove coverage network from hardhat upgrade script
Browse files Browse the repository at this point in the history
  • Loading branch information
kronosapiens committed Sep 4, 2024
1 parent a5f8a33 commit e4703a8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/deployOldUpgradeableVersion.js
Original file line number Diff line number Diff line change
Expand Up @@ -399,14 +399,13 @@ async function deployViaHardhat(versionTag, cmdBase, interfaceName, implementati
console.log("Deploying upgradable version via hardhat...");
await exec(`cp ./scripts/setupOldUpgradeableVersionHardhat.js ./colonyNetwork-${versionTag}/scripts/setupOldUpgradeableVersionHardhat.js`);

const network = hre.__SOLIDITY_COVERAGE_RUNNING ? "coverage" : "development";
// Hardhat coverage runs on port 8545, so we don't need to pass a network here.

const res = await exec(
`${cmdBase} ` +
`&& INTERFACE_NAME=${interfaceName} IMPLEMENTATION_NAMES=${implementationNames.join(
",",
)} npx hardhat run ./scripts/setupOldUpgradeableVersionHardhat.js ` +
`--network ${network}`,
)} npx hardhat run ./scripts/setupOldUpgradeableVersionHardhat.js`,
{ maxBuffer: 1024 * 5000 },
);

Expand Down

0 comments on commit e4703a8

Please sign in to comment.