Lesson: 7 || transactionReceipt doesn't have gasUsed & effectiveGasPrice|| #5708
Answered
by
MohammadRokib
MohammadRokib
asked this question in
Q&A
-
While implementing a test for the withdraw function. The Here is the github repo |
Beta Was this translation helpful? Give feedback.
Answered by
MohammadRokib
Jun 19, 2023
Replies: 1 comment
-
It was a typo. Forgot to add
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
MohammadRokib
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It was a typo. Forgot to add
await
beforetransactionResponse.wait(1)
const transactionReceipt = transactionResponse.wait(1)
-> Now, wrongconst transactionReceipt = await transactionResponse.wait(1)
-> Correct