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

The range of pragma versions it currently supports? #24

Open
enderphan94 opened this issue Jun 1, 2021 · 3 comments
Open

The range of pragma versions it currently supports? #24

enderphan94 opened this issue Jun 1, 2021 · 3 comments

Comments

@enderphan94
Copy link

So the tool just supports those contracts that have pragma versions <= 0.5.12?

My contract is running with 0.6.12. But got this error:

ParserError: Source file requires different compiler version (current compiler is 0.5.12+commit.7709ece9.Linux.g++ - note that nightly builds are considered to be strictly less than the released version

@nucks
Copy link
Contributor

nucks commented Sep 5, 2021

@enderphan94 it says here that it supports pragma versions 0.5.* and 0.6.*.

@nucks
Copy link
Contributor

nucks commented Sep 5, 2021

@enderphan94 The way to resolve the error would be to change the Solidity version referenced in the Dockerfile. You'll see a variable called ARG SOLC=0.5.12 that you need to change to reference your version of Solidity. i.e., ARG SOLC=0.6.12. After rebuilding with that change, the problem should be resolved.

@nucks
Copy link
Contributor

nucks commented Sep 5, 2021

#28 Created a PR to make this more clear in the README.

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

2 participants