Skip to content

Commit

Permalink
skip automatic verification on hardhat network
Browse files Browse the repository at this point in the history
  • Loading branch information
passabilities committed Oct 13, 2023
1 parent 9607408 commit ec56e5c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/plugin-hardhat/src/verify-proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ const verifiableContracts = {
};

export async function runVerify(hre: HardhatRuntimeEnvironment, address: string, constructorArguments: unknown[] = []) {
if (hre.network.name === HARDHAT_NETWORK_NAME) {
// Don't verify on hardhat network
return;
}
try {
await hre.run(TASK_VERIFY_VERIFY, {
address,
Expand Down

0 comments on commit ec56e5c

Please sign in to comment.