Skip to content

Lesson 7: Incompatible Solidity Version with LinkToken.sol #1614

Answered by cromewar
sephirothg asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @sephirothg
The reason is if you change those files you will have problems with version mismatch as LinkToken just exists on 0.4 but no on 0.6 as the error shown above, follow this instructions:

  1. Be sure you solidity versions are the exact same as on the repo (clone it and try to run it to see if it works separately).
  2. go to your home folder and delete the .brownie folder, and try again.
  3. change the vscode extension to hardhat-solidity

Does any of this suggestions work?

Replies: 1 comment 1 reply

Comment options

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

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