Pragma Statement Warning on New Hardhat Installation #5201
Replies: 1 comment
|
Closing this discussion since it has been submitted as an issue. See Issue #5202 for more details. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I have completed a new installation of Hardhat.
In the hardhat.config.js file, I have this code:
module.exports = { solidity: "0.8.24", };While in the default Lock.sol contract I have this pragma statement:
pragma solidity ^0.8.24;However, I am getting the following warning on my pragma statement:
"Source file requires different compiler version (current compiler is 0.8.19+commit.7dd6d404.Emscripten.clang) - note that nightly builds are considered to be strictly less than the released version(5333)"
All reactions