Done auto select price feed based on network & verify on testnet
This commit is contained in:
+3
-2
@@ -5,7 +5,7 @@ const { exit } = require("process");
|
||||
// async main
|
||||
async function main() {
|
||||
if (false) {
|
||||
await runVerifyOnly("0xF90F7edF515001CD4293255bfaF7D17ffa415e91");
|
||||
await runVerifyOnly("0x3a827C119e1D746bb3C7bcbbf95c55246C8CcBdd");
|
||||
}
|
||||
|
||||
const simpleStorageFactory =
|
||||
@@ -78,7 +78,8 @@ async function runVerifyOnly(address) {
|
||||
console.log("Currently on Sepolia Testnet");
|
||||
if (ETHERSCAN_API_KEY_VERIFY !== undefined) {
|
||||
console.log("Verifying contract...");
|
||||
await verify(address, []);
|
||||
let tmp = await verify(address, []);
|
||||
console.log(tmp);
|
||||
console.log("Verification complete");
|
||||
} else {
|
||||
console.log("ETHERSCAN_API_KEY is undefined");
|
||||
|
||||
Reference in New Issue
Block a user