Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Make Solidity version configurable #228

Open
esocode opened this issue Dec 19, 2018 · 1 comment
Open

Make Solidity version configurable #228

esocode opened this issue Dec 19, 2018 · 1 comment

Comments

@esocode
Copy link

esocode commented Dec 19, 2018

It seems that a "default" version of Solidity is hardcoded to 0.4.25 in the plugin, at least I could not find a way to configure it. After switching files to Solidity 0.5.1 I get a warning "Solidity version does not match the default version (^0.4.25)". It would be nice if it would be possible to at least suppress this warning or maybe even remove it altogether.

Unfortunately the Solidity 0.5.x compilers seem not to be backwards compatible. Therefore to support multiple Solidity versions it would also be necessary to be able to configure different solc binaries for certain versions.

@flantony
Copy link
Collaborator

Thank you @esocode for reporting this issue.

Currently there is the option to configure your own compiler binaries via:
Window -> Preference -> Solidity -> Compiler -> Path to solc

So at least you can use whatever binary you want, BUT
since Solidity seams not to plan for backward compatibility, we are considering to drop 0.4.x support after switching to 0.5.1 (soon). The warning will change to something like "Minimal supported version is 0.5.0" .

However I guess we should somehow ensure that the version of the compiler the user provides is checked.

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

No branches or pull requests

2 participants