From 8cfc6c98d631308c4ad9b677c3b6ab254fadc6bd Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Tue, 18 Sep 2018 23:42:33 +0100 Subject: CREATE2 is part of Constantinople now Also add hasCreate2 to EVMVersion --- libsolidity/interface/EVMVersion.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libsolidity/interface/EVMVersion.h') 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). -- cgit v1.2.3