Skip to content

Commit

Permalink
Clean up deployOldUpgradeableVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
kronosapiens committed Aug 30, 2024
1 parent d4d4f6b commit a5f8a33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions scripts/deployOldUpgradeableVersion.js
Original file line number Diff line number Diff line change
Expand Up @@ -398,12 +398,11 @@ async function deployViaTruffle(versionTag, cmdBase, interfaceName, implementati
async function deployViaHardhat(versionTag, cmdBase, interfaceName, implementationNames) {
console.log("Deploying upgradable version via hardhat...");
await exec(`cp ./scripts/setupOldUpgradeableVersionHardhat.js ./colonyNetwork-${versionTag}/scripts/setupOldUpgradeableVersionHardhat.js`);
await exec(`${cmdBase} && npx hardhat compile`);

const network = hre.__SOLIDITY_COVERAGE_RUNNING ? "coverage" : "development";

const res = await exec(
`cd colonyNetwork-${versionTag} ` +
`${cmdBase} ` +
`&& INTERFACE_NAME=${interfaceName} IMPLEMENTATION_NAMES=${implementationNames.join(
",",
)} npx hardhat run ./scripts/setupOldUpgradeableVersionHardhat.js ` +
Expand Down
2 changes: 1 addition & 1 deletion test/extensions/one-tx-payment.js
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ contract("One transaction payments", (accounts) => {
await colony.upgrade(14);
});

it.only("can call getDomain() without an error", async () => {
it("can call getDomain() without an error", async () => {
await colony.uninstallExtension(ONE_TX_PAYMENT);
await colony.installExtension(ONE_TX_PAYMENT, 6);
const oneTxPaymentAddress = await colonyNetwork.getExtensionInstallation(ONE_TX_PAYMENT, colony.address);
Expand Down

0 comments on commit a5f8a33

Please sign in to comment.