Lesson 7 - Failing testPriceFeedVersionIsAccurate #253
Closed
SquilliamX
started this conversation in
General
Replies: 3 comments 4 replies
-
Hey @smartchainwiz, are you testing this on local chain, or any testnet? |
Beta Was this translation helpful? Give feedback.
3 replies
-
Check question #231 . I went through the same issue. |
Beta Was this translation helpful? Give feedback.
1 reply
-
for everyone reading this disscussion, the problem was my chain.id was missing a "1". Happy coding :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My testPriceFeedVersionIsAccurate function is failing when I compile tests. This is my error message:
Here is my code:
I have watched back lesson 7 many times and i can not seem to pinpoint the problem. My testOwnerIsMsgSender and testMinimumDollarIsFive function tests are working correctly.
Can someone help me figure out what the issue is and why the address returned is 0x0000...000??
Here is FundMe.sol -
here is PriceConverter.sol
here is FundMetest.t.sol
here is deployfundme.s.sol-
here is helperconfig.s.sol
Beta Was this translation helpful? Give feedback.
All reactions