Replies: 3 comments 1 reply
-
in the await run("verify:verify"), { and you have some issues, here console.log("Verifying contract...");
try {
await run("verify:verify", {
address: contractAddress,
constructorArguments: args,
});
} catch (e) {
if (e.message.toLowerCase().includes("already verified")) {
console.log("Already Verified!");
} else {
console.log(e);
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
This error indicates that your address is probably undefined. While you haven't specified your ethers.js and hardhat version, it appears that the line
is likely causing the issue by returning 'undefined'. |
Beta Was this translation helpful? Give feedback.
0 replies
-
after running the script type the following command:
worked for me! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an error like i showed in the screenshot. I tried to fix it but couldn't. Can someone help me?
Beta Was this translation helpful? Give feedback.
All reactions