Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
stevieraykatz committed Sep 29, 2023
1 parent 92985ee commit a55cd22
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions utils/verify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,24 @@ export async function verify<T extends ContractFactory>(

logger.out(`Verifying ${contractName} at: ${address}...`);

let promises:Promise<any>[] = [];
if(includeTenderly) {
promises.push(hre.tenderly.verify({
address: address,
name: contractName,
}));
let promises: Promise<any>[] = [];
if (includeTenderly) {
promises.push(
hre.tenderly.verify({
address: address,
name: contractName,
})
);
}
promises.push(hre.run("verify:verify", {
address,
constructorArguments,
contractName,
}));
promises.push(
hre.run("verify:verify", {
address,
constructorArguments,
contractName,
})
);

await Promise.allSettled(promises);

} catch (error) {
logger.out(error, logger.Level.Warn);
}
Expand Down

0 comments on commit a55cd22

Please sign in to comment.