Cyfrin / foundry-smart-contract-lottery-cu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

harpreettrader opened this issue · comments

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

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

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.