Skip to content

version error in lesson 7 #301

Discussion options

You must be logged in to vote

Hi @6Hexa , I ran into the same issue. To fix it I installed solhint plugin for hard hat
[https://hardhat.org/plugins/nomiclabs-hardhat-solhint]

Then edit the versions in there solhint.json.

I also removed the ^ from all contracts which was throwing an error and matched the pragma version to the installed versions.

Hope this helps!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nikhil-b-more
Comment options

Answer selected by nikhil-b-more
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