Lesson 4 - VM error: revert #2260
-
So I've been facing the following error all day and I suspect it has something todo with the As you can see in the logs, I'm even sending 4 ETH (in the Javascript VM, so I own 100ETH) but it keeps throwing the error no matter what I try. I think the error is not coming from the require, because it should appear the All my contracts compile perfectly. In fact, I've copied the code from Patrick's repository and still doesn't work. The funny thing is that the Both functions are using the
The rest of the functions and getters are working without issues. Did something change regarding the chainlink implementation?
I can copypaste the whole code if you want, but I repeat, I'm using the exact same contracts as in Patrick's repository Can someone enlighten me on what is going on? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
@guilleigmu Are you funding in terms of WEI ? or in ETH, If you are funding in ETH you have to convert it into WEI that same amount. |
Beta Was this translation helpful? Give feedback.
@guilleigmu Are you funding in terms of WEI ? or in ETH, If you are funding in ETH you have to convert it into WEI that same amount.