Description
Description
The solc
v0.5.11 that has been distributed widely does not appear to be the same version that is defined on the solc-bin list.txt
The snap distribution and the docker image both appear to be running 0.5.11+commit.22be8592
, while the canonical version of 0.5.11
appears to be 0.5.11+commit.c082d0b4
The ReadTheDocs versions page also seems to be based on 22be8592
This discrepancy can become a problem because programmatic etherscan contract verification via the api relies on a compiler string matching one of the entries on the solc-bin/bin/list.txt
source. A contract compiled on the command line using one of the distributed binaries version output would not match a compatible version and fail verification.
I also noticed a similar discrepancy with v0.5.9
and a few earlier versions. v0.5.12 (7709ece9)
and v0.5.10 (5a6ea5b1)
match as expected.
Environment
- Compiler version: v0.5.11, v0.5.9, others
- Target EVM version (as per compiler settings): N/A
- Framework/IDE (e.g. Truffle or Remix): N/A
- EVM execution environment / backend / blockchain client: N/A
- Operating system: Linux/OSX
Steps to Reproduce
$ snap run solc --version
solc, the solidity compiler commandline interface
Version: 0.5.11+commit.22be8592.Linux.g++
$ docker run ethereum/solc:0.5.11 --version
solc, the solidity compiler commandline interface
Version: 0.5.11+commit.22be8592.Linux.g++
Compare with list.txt entry.