Skip to content
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

Open
wudapeng268 opened this issue Jul 5, 2022 · 2 comments
Open

How to compile Faucet.sol in remix? #1138

wudapeng268 opened this issue Jul 5, 2022 · 2 comments

Comments

@wudapeng268
Copy link

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; | ^^^^^^^^^^^^^^^^^^^^^^^

@dicethedev
Copy link

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.

@abdurahman-harouat
Copy link

abdurahman-harouat commented Jul 31, 2022

use compiler 0.6.0 and

pragma solidity 0.6.0;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants