aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/interface/EVMVersion.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-09-26 20:53:44 +0800
committerGitHub <noreply@github.com>2018-09-26 20:53:44 +0800
commit46f630c5a67965acb31dead1ac19373e58097ea2 (patch)
treee51ad9bbd33b6b5c961396aa79dbee097540768f /libsolidity/interface/EVMVersion.h
parent83d89e43b167492f0b32f58a6782e8a16e5f5407 (diff)
parent8cfc6c98d631308c4ad9b677c3b6ab254fadc6bd (diff)
downloaddexon-solidity-46f630c5a67965acb31dead1ac19373e58097ea2.tar
dexon-solidity-46f630c5a67965acb31dead1ac19373e58097ea2.tar.gz
dexon-solidity-46f630c5a67965acb31dead1ac19373e58097ea2.tar.bz2
dexon-solidity-46f630c5a67965acb31dead1ac19373e58097ea2.tar.lz
dexon-solidity-46f630c5a67965acb31dead1ac19373e58097ea2.tar.xz
dexon-solidity-46f630c5a67965acb31dead1ac19373e58097ea2.tar.zst
dexon-solidity-46f630c5a67965acb31dead1ac19373e58097ea2.zip
Merge pull request #5092 from ethereum/create2-evmversion
CREATE2 is part of Constantinople now
Diffstat (limited to 'libsolidity/interface/EVMVersion.h')
-rw-r--r--libsolidity/interface/EVMVersion.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsolidity/interface/EVMVersion.h b/libsolidity/interface/EVMVersion.h
index b68e1f4e..657727ac 100644
--- a/libsolidity/interface/EVMVersion.h
+++ b/libsolidity/interface/EVMVersion.h
@@ -75,6 +75,7 @@ public:
bool supportsReturndata() const { return *this >= byzantium(); }
bool hasStaticCall() const { return *this >= byzantium(); }
bool hasBitwiseShifting() const { return *this >= constantinople(); }
+ bool hasCreate2() const { return *this >= constantinople(); }
/// Whether we have to retain the costs for the call opcode itself (false),
/// or whether we can just forward easily all remaining gas (true).