diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-09-19 06:42:33 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-09-26 08:58:10 +0800 |
commit | 8cfc6c98d631308c4ad9b677c3b6ab254fadc6bd (patch) | |
tree | df10ccb208ad08ca1ea043ef702e076888940f3a /libsolidity/interface | |
parent | 608f36d77b0dc6d908d89fe3a1b8e1626df8391c (diff) | |
download | dexon-solidity-8cfc6c98d631308c4ad9b677c3b6ab254fadc6bd.tar.gz dexon-solidity-8cfc6c98d631308c4ad9b677c3b6ab254fadc6bd.tar.zst dexon-solidity-8cfc6c98d631308c4ad9b677c3b6ab254fadc6bd.zip |
CREATE2 is part of Constantinople now
Also add hasCreate2 to EVMVersion
Diffstat (limited to 'libsolidity/interface')
-rw-r--r-- | libsolidity/interface/EVMVersion.h | 1 |
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). |