Someone Help Please: TypeError: Cannot read properties of undefined (reading 'wait') #6206
Answered
by
emdevelopa
emdevelopa
asked this question in
Q&A
-
TypeError: Cannot read properties of undefined (reading 'wait') the error is referring to this line of code in my workspace const deploymentReciept = await deployContract.deployTransaction.wait(1); |
Beta Was this translation helpful? Give feedback.
Answered by
emdevelopa
Oct 11, 2023
Replies: 1 comment
-
(etherjs V6) const deploymentReceipt = await contract.deploymentTransaction().wait(1); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
emdevelopa
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(etherjs V6)
Fixed, changing
This
const deploymentReciept = await deployContract.deployTransaction.wait(1);
To