aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-03-13 01:11:08 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-03-13 01:13:19 +0800
commita59d6d2e5303e714a6e66a5d11bd6a9c2e904e4e (patch)
tree964e42073f50a378cd2a371f40bbd30a3430bb57 /libsolidity
parent15a0b97f61e76e4a5615f04c116688bf98367076 (diff)
downloaddexon-solidity-a59d6d2e5303e714a6e66a5d11bd6a9c2e904e4e.tar
dexon-solidity-a59d6d2e5303e714a6e66a5d11bd6a9c2e904e4e.tar.gz
dexon-solidity-a59d6d2e5303e714a6e66a5d11bd6a9c2e904e4e.tar.bz2
dexon-solidity-a59d6d2e5303e714a6e66a5d11bd6a9c2e904e4e.tar.lz
dexon-solidity-a59d6d2e5303e714a6e66a5d11bd6a9c2e904e4e.tar.xz
dexon-solidity-a59d6d2e5303e714a6e66a5d11bd6a9c2e904e4e.tar.zst
dexon-solidity-a59d6d2e5303e714a6e66a5d11bd6a9c2e904e4e.zip
Support constantinople in evm-version
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/interface/EVMVersion.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/interface/EVMVersion.h b/libsolidity/interface/EVMVersion.h
index 13c4ec94..b68e1f4e 100644
--- a/libsolidity/interface/EVMVersion.h
+++ b/libsolidity/interface/EVMVersion.h
@@ -49,7 +49,7 @@ public:
static boost::optional<EVMVersion> fromString(std::string const& _version)
{
- for (auto const& v: {homestead(), tangerineWhistle(), spuriousDragon(), byzantium()})
+ for (auto const& v: {homestead(), tangerineWhistle(), spuriousDragon(), byzantium(), constantinople()})
if (_version == v.name())
return v;
return {};