-
This is the error i am getting while deploying the contract :Failed to compile: The Solidity version pragma statement in these files doesn't match any of the configured compilers in your config. Change the pragma or configure additional compiler versions in your hardhat config.
To learn more, run the command again with --verbose Read about compiler configuration at https://hardhat.org/config HardhatError: HH606: The project cannot be compiled, see reasons below. The Solidity version pragma statement in these files doesn't match any of the configured compilers in your config. Change the pragma or configure additional compiler versions in your hardhat config.
To learn more, run the command again with --verbose Read about compiler configuration at https://hardhat.org/config
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
@damesh13 try changing all of your pragma statements to pragma solidity 0.8.24; |
Beta Was this translation helpful? Give feedback.
Have you put your contract file in a
contracts
folder? also try to clear your browser cache and refresh the Remix page.