Replies: 1 comment
-
|
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
Uh oh!
There was an error while loading. Please reload this page.
-
In the course, Patrick multiplied gasUsed with effectiveGasPrice but when we do same with him using .mul() function, it returns .mul() is not a function and I think it is a because of we are using newer version of dependencies but as he said in course, we can use a * b or a + b too instead using these functions. Okay, but how we can multiply gasUsed to effectiveGasPrice if transactionReceipt doesn't include it ? I have multiplied gasUsed to gasPrice instead effectiveGasPrice... but i have no idea is it right or not.
FundMe.test.js: https://gist.github.com/abdulazizkhf123/5b53aff1b59c52ed6af00d74f8d9d3d7
Beta Was this translation helpful? Give feedback.
All reactions