Skip to content

checking equality between mock and fundMe.getpriceFeed() #1325

Discussion options

You must be logged in to vote

@AwaisTahseencode Because the address that we passed to the contract constructor in the deploy script should be the same as the mock contract address. And we are only checking with mock-in unit tests because unit tests will run locally.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@AwaisTahseencode
Comment options

Answer selected by AwaisTahseencode
Comment options

You must be logged in to vote
2 replies
@AwaisTahseencode
Comment options

@krakxn
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants