Replies: 1 comment 2 replies
-
Hello @AyuK03 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I coded as told in the course for the fund_me contract and even used the exact same wei amount in the value input during deployment. But I'm still getting the Gas estimation failed message though the value I put was way higher than the minimum amount put in require func.
I typed :
require(getConversionRate(msg.value)>= minimumUSD, "You need to spend more ETH !");
For the value in deployment funcn :
100000000000000000 Wei
Its showing ;
`Gas estimation errored with the following message (see below). The transaction execution will likely fail. Do you want to force sending?
err: insufficient funds for gas * price + value: address 0x664163eB7CC5c24c503122479960d7f70b963bA9 have 95294835567893581 want 100000000000000000 (supplied gas 15010499)
Kindly help me through
`
Beta Was this translation helpful? Give feedback.
All reactions