diff options
author | Adrian Sutton <adrian.sutton@consensys.net> | 2018-11-13 07:02:26 +0800 |
---|---|---|
committer | Adrian Sutton <adrian.sutton@consensys.net> | 2018-11-13 07:02:26 +0800 |
commit | d5e689823dee2c1f35ca381ba9e686f16a035328 (patch) | |
tree | def20c51c7e131195df0e43ede667a5e50f71acd /src | |
parent | 87352f2c2fb4522381d5d7e4bd10d9184314bade (diff) | |
download | dexon-tests-d5e689823dee2c1f35ca381ba9e686f16a035328.tar dexon-tests-d5e689823dee2c1f35ca381ba9e686f16a035328.tar.gz dexon-tests-d5e689823dee2c1f35ca381ba9e686f16a035328.tar.bz2 dexon-tests-d5e689823dee2c1f35ca381ba9e686f16a035328.tar.lz dexon-tests-d5e689823dee2c1f35ca381ba9e686f16a035328.tar.xz dexon-tests-d5e689823dee2c1f35ca381ba9e686f16a035328.tar.zst dexon-tests-d5e689823dee2c1f35ca381ba9e686f16a035328.zip |
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.
Diffstat (limited to 'src')
3 files changed, 7 insertions, 25 deletions
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": { |