EthUsdPriceFeed problem #992
Answered
by
cromewar
Krishduttm
asked this question in
Q&A
-
In lesson 7 when we test - ` def test_get_entranceFee():
why is the 'entrance_fee' value coming as 25 * 10^15, and not the current price? Which should be around (50/3000) = 0.016 = 16 * 10^15? |
Beta Was this translation helpful? Give feedback.
Answered by
cromewar
Feb 9, 2022
Replies: 1 comment 2 replies
-
Hello @Krishduttm |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
cromewar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @Krishduttm
This is because we setup manually the ranges of prices to $50 and is not getting the actual price, we are suppose at first the price is $2000, but don't worry about this just continue the lesson and eventually you'll get the correct price values using chainlink.