Skip to content

Commit

Permalink
removed compilation after verification
Browse files Browse the repository at this point in the history
  • Loading branch information
Arvolear committed Dec 20, 2022
1 parent 2e4844d commit 6bc9594
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dlsl/hardhat-migrate",
"version": "1.3.0",
"version": "1.3.1",
"description": "This package facilitates automatic deployment and verification of Solidity Smart Contracts",
"scripts": {
"install": "npx husky install",
Expand Down
2 changes: 1 addition & 1 deletion publish/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dlsl/hardhat-migrate",
"version": "1.3.0",
"version": "1.3.1",
"description": "This package facilitates automatic deployment and verification of Solidity Smart Contracts",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
Expand Down
10 changes: 0 additions & 10 deletions src/verifier/verifier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,6 @@ export class Verifier {
} else if (counter < this.attempts - 1) {
console.log(`Attempt #${counter + 1}\n`);
console.log(`Verification failed\n${e.message}\n`);

await this.hre.run("compile", {
quiet: true,
force: true,
});
console.log();
} else {
throw new NomicLabsHardhatPluginError(pluginName, e.message);
}
Expand All @@ -59,9 +53,5 @@ export class Verifier {
contract: fileName + ":" + contractName,
noCompile: true,
});

await this.hre.run("compile", {
quiet: true,
});
}
}

0 comments on commit 6bc9594

Please sign in to comment.