Skip to content

@chainlink/contracts/src/v0.6/tests/MockV3Aggregator.sol showing file not found #295

Discussion options

You must be logged in to vote

I had the same issue since I put 0.6.0 as the added compiler version, whereas in the video it's 0.6.6. Make sure your hardhat.config.js looks like this:

const config = {
  solidity: {
    compilers: [{ version: '0.8.8' }, { version: '0.6.6' }],
  },
  // ...rest of the configs
}

Replies: 5 comments 5 replies

Comment options

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

@PatrickAlphaC
Comment options

Comment options

You must be logged in to vote
2 replies
@nikhil-b-more
Comment options

@mattjaf
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by PatrickAlphaC
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants