Replies: 2 comments 9 replies
-
Hello @Deevyne99, On what chain are you running your process? |
Beta Was this translation helpful? Give feedback.
2 replies
-
Try replacing this code and see what the result will be :
|
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I have been having trying to compile my FundMe.sol in my Remix after importing AggregatorV3Interface I am trying to run the getPrice() but for some reasons unknown to me i keep getting this error message ``` call
[call]from: 0xAb8483F64d9C6d1EcF9b849Ae677dD3315835cb2to: FundMe.getPrice()data: 0x98d...5fdca
call to FundMe.getPrice errored: Error occurred: revert.
revert
The transaction has been reverted to the initial state.
Note: The called function should be payable if you send value and the value you send should be less than your current balance.
If the transaction failed for not having enough gas, try increasing the gas limit gently.``` Please what can be the cause of this bug and how do i fix it. Attached is a screenshoot of my code and the error.
Beta Was this translation helpful? Give feedback.
All reactions