Lesson-4 Unable to send fund to contract via metamask - Failed transaction - out of gas #243
-
Hi guys, I am having issues sending funds on the contract. I am having error message-"Transaction failed". The etherscan details is showing ouf of gas as per screenshot attached. If have also tried to increase the gas limit on metamask as advised but it does not work. Please see sreenshot below. Here is my code import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol"; error NotOwner(); contract FundMe {
} Can someone help ,please? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 13 replies
-
Please do these 2 things and see if it gets fixed:
|
Beta Was this translation helpful? Give feedback.
-
Please check with this price 40000000000000000. And make sure you are on Rinkeby and injected web3 is selected in the deploy and run transactions tab. One more thing, it looks like you have not moved the AggregatorV3Interface import to the PriceConverter library. Please make sure it, because otherwise, you will not get the correct results. |
Beta Was this translation helpful? Give feedback.
@Leonardll
Please check with this price 40000000000000000. And make sure you are on Rinkeby and injected web3 is selected in the deploy and run transactions tab.
One more thing, it looks like you have not moved the AggregatorV3Interface import to the PriceConverter library. Please make sure it, because otherwise, you will not get the correct results.