Lesson 6 error: TypeError: simpleStorage.deployed is not a function #6219
Answered
by
eik-1
SquilliamX
asked this question in
Q&A
-
Hi guys, I am confused as to why my code is throwing an error when it doesn't for Patrick, can anyone explain this to me and how to fix it please? I am using sepolia instead of Rinkeby, but I don't think that is the problem here. error:
deploy.js:
hardhat.config.js:
|
Beta Was this translation helpful? Give feedback.
Answered by
eik-1
Oct 15, 2023
Replies: 1 comment 3 replies
-
Yes unfortunately the .deployed() function has been deprecated. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
SquilliamX
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes unfortunately the .deployed() function has been deprecated.
Instead use simpleStorage.waitForDeployment()