Lesson 4: Transaction Fail #4687
-
I am on the Fund Me section of the tutorial. This is the point I am at. The contract is deployed on the Goerli testnet (in the tutorial it is the Rinkby testnet). When I go to fund the account, the transaction fails. I converted the price of ETH, atp in time the minimum — $50, is 0.03 ETH. I increased the amount I send up to 0.05, and the transaction still fails. I increased the gas limit, minimum is 3 million, I increased it up to 9 million, still fails. This is the error message I get "Gas estimation errored with the following message (see below). The transaction execution will likely fail. Do you want to force sending? import "./PriceConverter.sol"; contract FundMe {
}` Here is the price converter contract. import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol"; library PriceConverter {
}` |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
@rgperkins First of all make sure you are using the correct address for price feed. For goerli testnet the address is this |
Beta Was this translation helpful? Give feedback.
@rgperkins First of all make sure you are using the correct address for price feed. For goerli testnet the address is this
0xD4a33860578De61DBAbDc8BFdb98FD742fA7028e