Price Feed Version Mismatch: Test Failing on Ethereum Mainnet but Passing on Sepolia Testnet #3071
tanishqjotwani
started this conversation in
General
Replies: 2 comments 4 replies
-
Hello @tanishqjotwani, Yeah, the version was updated to |
Beta Was this translation helpful? Give feedback.
2 replies
-
I replaced: assertEq(version, 4); with: assertTrue(version == 4 || version == 6, "Version must be 4 or 6"); It works and it will accept either 4 or 6 but Im not sure where these two version numbers come from. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm facing an issue with one of my tests while deploying and testing my FundMe contract. The test passes without any errors on the Sepolia testnet but fails on the Ethereum mainnet due to a mismatch in the expected price feed version.
Beta Was this translation helpful? Give feedback.
All reactions