You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Incorrect Default EVM Version for Solidity Compiler 0.4.21-0.5.4 (#189)
The default EVM version for Solidity compilers ranging from 0.4.21 to
0.5.4 is incorrectly implemented. Specifically, although the
`Constantinople` hard fork had been introduced during this period, the
default EVM version remains as `Byzantium`. After version 0.5.5, the
default EVM version shifts to `Petersburg`.
That is, `Constantinople` is never used as the default EVM version for
Solidity compilers.
This can be confirmed by running `solc --help`, with the output
indicating the default EVM version as follows:
```bash
$ solc --help
solc, the Solidity commandline compiler.
...
Allowed options:
--help Show help message and exit.
--version Show version and exit.
--license Show licensing information and exit.
--evm-version version
Select desired EVM version. Either homestead,
tangerineWhistle, spuriousDragon, byzantium (default) or
constantinople.
...
$ solc --version
solc, the Solidity commandline interface
Version: 0.4.24+commit.e67f0147.Linux.g++
```
0 commit comments