lesson 6 : TypeError: Cannot read properties of undefined (reading 'wait') #6268
prabeshdulal
started this conversation in
General
Replies: 1 comment
-
I'm pretty sure you are using incorrect version of ethers. Please downgrade your ethers to match course version, so ethers v5 instead of v6. Just remove |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
if (network.config.chainId === 11155111 && process.env.ETHERSCAN_API_KEY) {
console.log("Waiting for block confirmations...")
await simpleStorage.deployTransaction.wait(6)
await verify(simpleStorage.address, [])
}
Beta Was this translation helpful? Give feedback.
All reactions