Lesson 7: Incompatible Solidity Version with LinkToken.sol #1614
-
Computer: M1 Macbook I'm having the same issue with the one in #472 The LinkToken.sol given in the tutorial directory is in
Therefore, I have attempted to use the v0.6 version of LinkToken provided here and added additional dependencies in Still, brownie cannot compile and given the following errors:
Please help as I've been stuck here for a few days and no helpful solution has came up across the web. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello @sephirothg
Does any of this suggestions work? |
Beta Was this translation helpful? Give feedback.
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:
.brownie
folder, and try again.hardhat-solidity
Does any of this suggestions work?