From d5e689823dee2c1f35ca381ba9e686f16a035328 Mon Sep 17 00:00:00 2001 From: Adrian Sutton Date: Tue, 13 Nov 2018 09:02:26 +1000 Subject: Use '>=Constantinople' instead of '>Byzantium' to be a bit more readable that this feature is new in Constantinople. Remove <=Byzantium cases that are only checking that EXTCODEHASH is not supported. --- .../extCodeHashDynamicArgumentFiller.json | 10 +++++----- .../stExtCodeHash/extCodeHashSelfFiller.json | 20 +------------------- .../stExtCodeHash/extCodeHashSelfInInitFiller.json | 2 +- 3 files changed, 7 insertions(+), 25 deletions(-) (limited to 'src') diff --git a/src/GeneralStateTestsFiller/stExtCodeHash/extCodeHashDynamicArgumentFiller.json b/src/GeneralStateTestsFiller/stExtCodeHash/extCodeHashDynamicArgumentFiller.json index adb71f04a..8c1c7948e 100644 --- a/src/GeneralStateTestsFiller/stExtCodeHash/extCodeHashDynamicArgumentFiller.json +++ b/src/GeneralStateTestsFiller/stExtCodeHash/extCodeHashDynamicArgumentFiller.json @@ -19,7 +19,7 @@ "value": 0 }, "network": [ - ">Byzantium" + ">=Constantinople" ], "result": { "deadbeef00000000000000000000000000000000": { @@ -38,7 +38,7 @@ "value": 0 }, "network": [ - ">Byzantium" + ">=Constantinople" ], "result": { "deadbeef00000000000000000000000000000000": { @@ -57,7 +57,7 @@ "value": 0 }, "network": [ - ">Byzantium" + ">=Constantinople" ], "result": { "deadbeef00000000000000000000000000000000": { @@ -76,7 +76,7 @@ "value": 0 }, "network": [ - ">Byzantium" + ">=Constantinople" ], "result": { "deadbeef00000000000000000000000000000000": { @@ -95,7 +95,7 @@ "value": 0 }, "network": [ - ">Byzantium" + ">=Constantinople" ], "result": { "deadbeef00000000000000000000000000000000": { diff --git a/src/GeneralStateTestsFiller/stExtCodeHash/extCodeHashSelfFiller.json b/src/GeneralStateTestsFiller/stExtCodeHash/extCodeHashSelfFiller.json index ba3433521..a35198174 100644 --- a/src/GeneralStateTestsFiller/stExtCodeHash/extCodeHashSelfFiller.json +++ b/src/GeneralStateTestsFiller/stExtCodeHash/extCodeHashSelfFiller.json @@ -19,7 +19,7 @@ "value": -1 }, "network": [ - ">Byzantium" + ">=Constantinople" ], "result": { "deadbeef00000000000000000000000000000000": { @@ -30,24 +30,6 @@ } } } - }, - { - "indexes": { - "data": -1, - "gas": -1, - "value": -1 - }, - "network": [ - "<=Byzantium" - ], - "result": { - "deadbeef00000000000000000000000000000000": { - "balance": "1000000000000000000", - "storage": { - "0x00": "0xdeadbeef" - } - } - } } ], "pre": { diff --git a/src/GeneralStateTestsFiller/stExtCodeHash/extCodeHashSelfInInitFiller.json b/src/GeneralStateTestsFiller/stExtCodeHash/extCodeHashSelfInInitFiller.json index 45c5debd3..5d7b9cb89 100644 --- a/src/GeneralStateTestsFiller/stExtCodeHash/extCodeHashSelfInInitFiller.json +++ b/src/GeneralStateTestsFiller/stExtCodeHash/extCodeHashSelfInInitFiller.json @@ -19,7 +19,7 @@ "value": -1 }, "network": [ - ">Byzantium" + ">=Constantinople" ], "result": { "deadbeef00000000000000000000000000000000": { -- cgit v1.2.3