Skip to content

Someone Help Please: TypeError: Cannot read properties of undefined (reading 'wait') #6206

Answered by emdevelopa
emdevelopa asked this question in Q&A
Discussion options

You must be logged in to vote

(etherjs V6)
Fixed, changing
This
const deploymentReciept = await deployContract.deployTransaction.wait(1);
To

const deploymentReceipt = await contract.deploymentTransaction().wait(1);

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by emdevelopa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant