-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to compile Faucet.sol in remix? #1138
Comments
I think you should change your solidity version to the updated one. [ pragma solidity ^0.8.7; ] and check whether is going to fix the error. |
use compiler 0.6.0 and
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I compile Faucet.sol in remix, but got following error. It seems version error. Does anyone know how to fix it?
ParserError: Source file requires different compiler version (current compiler is 0.8.7+commit.e28d00a7.Emscripten.clang) - note that nightly builds are considered to be strictly less than the released version --> xx.sol:4:1: | 4 | pragma solidity ^0.6.4; | ^^^^^^^^^^^^^^^^^^^^^^^
The text was updated successfully, but these errors were encountered: