Cyfrin / foundry-smart-contract-lottery-cu

47 stars 38 forks source link

my vs code solidity compiler version is not able to update or change #8

Closed harpreettrader closed 7 months ago

harpreettrader commented 1 year ago
pragma solidity ^0.8.13; 

shows red line when is write this code and give me the error like

Source file requires different compiler version (current compiler is 0.5.11+commit.c082d0b4.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version

Ritik-Agarwal50 commented 1 year ago

Can You push your code into Github So I can have look into it.

PatrickAlphaC commented 7 months ago

This is likely an issue with your VSCode extension. Try to uninstall all your solidity extensions and reinstall. Likely the hardhat one is having an issue.