Consider extcodehash as part of Constantinople

This commit is contained in:
Alex Beregszaszi
2019-02-26 12:40:31 +00:00
parent 5fc8e29fff
commit cb7b053a4a
4 changed files with 13 additions and 17 deletions
+1
View File
@@ -74,6 +74,7 @@ public:
bool hasStaticCall() const { return *this >= byzantium(); }
bool hasBitwiseShifting() const { return *this >= constantinople(); }
bool hasCreate2() const { return *this >= constantinople(); }
bool hasExtCodeHash() 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).