diff options
author | Dimitry <dimitry@ethereum.org> | 2018-09-25 20:40:09 +0800 |
---|---|---|
committer | Dimitry <dimitry@ethereum.org> | 2018-09-25 20:40:09 +0800 |
commit | e77d3ba583810fd2a41248270fb36e08dfe5f38e (patch) | |
tree | 544a9c05636acd53d5ef4972610a6877ddee9f38 /src/GeneralStateTestsFiller/stSystemOperationsTest | |
parent | 3f5febc901913ef698f1b09dda8705babd729e4a (diff) | |
download | dexon-tests-e77d3ba583810fd2a41248270fb36e08dfe5f38e.tar dexon-tests-e77d3ba583810fd2a41248270fb36e08dfe5f38e.tar.gz dexon-tests-e77d3ba583810fd2a41248270fb36e08dfe5f38e.tar.bz2 dexon-tests-e77d3ba583810fd2a41248270fb36e08dfe5f38e.tar.lz dexon-tests-e77d3ba583810fd2a41248270fb36e08dfe5f38e.tar.xz dexon-tests-e77d3ba583810fd2a41248270fb36e08dfe5f38e.tar.zst dexon-tests-e77d3ba583810fd2a41248270fb36e08dfe5f38e.zip |
correct Constantinople expect section in state tests
Diffstat (limited to 'src/GeneralStateTestsFiller/stSystemOperationsTest')
13 files changed, 242 insertions, 14 deletions
diff --git a/src/GeneralStateTestsFiller/stSystemOperationsTest/ABAcalls0Filler.json b/src/GeneralStateTestsFiller/stSystemOperationsTest/ABAcalls0Filler.json index 903dbe9e7..a00e9eea1 100644 --- a/src/GeneralStateTestsFiller/stSystemOperationsTest/ABAcalls0Filler.json +++ b/src/GeneralStateTestsFiller/stSystemOperationsTest/ABAcalls0Filler.json @@ -15,7 +15,7 @@ "gas" : -1, "value" : -1 }, - "network" : [">=Frontier"], + "network" : ["<=Byzantium"], "result" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "storage" : { @@ -28,6 +28,26 @@ } } } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "storage" : { + "0x24" : "0x01" + } + }, + "945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "storage" : { + "0x26" : "0x02" + } + } + } } ], "pre" : { diff --git a/src/GeneralStateTestsFiller/stSystemOperationsTest/ABAcalls2Filler.json b/src/GeneralStateTestsFiller/stSystemOperationsTest/ABAcalls2Filler.json index 790a29187..62fb7fb1c 100644 --- a/src/GeneralStateTestsFiller/stSystemOperationsTest/ABAcalls2Filler.json +++ b/src/GeneralStateTestsFiller/stSystemOperationsTest/ABAcalls2Filler.json @@ -35,7 +35,7 @@ "gas" : -1, "value" : -1 }, - "network" : ["EIP150", ">=EIP158"], + "network" : ["EIP150", "Byzantium"], "result" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "storage" : { @@ -48,6 +48,26 @@ } } } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "storage" : { + "0x00" : "0xc2" + } + }, + "945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "storage" : { + "0x00" : "0xc2" + } + } + } } ], "pre" : { diff --git a/src/GeneralStateTestsFiller/stSystemOperationsTest/ABAcalls3Filler.json b/src/GeneralStateTestsFiller/stSystemOperationsTest/ABAcalls3Filler.json index 4f07774e0..84c207c4b 100644 --- a/src/GeneralStateTestsFiller/stSystemOperationsTest/ABAcalls3Filler.json +++ b/src/GeneralStateTestsFiller/stSystemOperationsTest/ABAcalls3Filler.json @@ -35,7 +35,7 @@ "gas" : -1, "value" : -1 }, - "network" : ["EIP150", ">=EIP158"], + "network" : ["EIP150", "Byzantium"], "result" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "storage" : { @@ -48,6 +48,26 @@ } } } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "storage" : { + "0x00" : "0x30" + } + }, + "945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "storage" : { + "0x00" : "0x30" + } + } + } } ], "pre" : { diff --git a/src/GeneralStateTestsFiller/stSystemOperationsTest/CallRecursiveBomb0Filler.json b/src/GeneralStateTestsFiller/stSystemOperationsTest/CallRecursiveBomb0Filler.json index 58571f641..fe1bf7aba 100644 --- a/src/GeneralStateTestsFiller/stSystemOperationsTest/CallRecursiveBomb0Filler.json +++ b/src/GeneralStateTestsFiller/stSystemOperationsTest/CallRecursiveBomb0Filler.json @@ -34,7 +34,7 @@ "gas" : -1, "value" : -1 }, - "network" : ["EIP150", ">=EIP158"], + "network" : ["EIP150", "Byzantium"], "result" : { "945304eb96065b2a98b57a48a06ae28d285a71b5" : { "storage" : { @@ -46,6 +46,25 @@ "nonce" : "1" } } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "storage" : { + "0x00" : "0x0172", + "0x01" : "0x01" + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + } + } } ], "pre" : { diff --git a/src/GeneralStateTestsFiller/stSystemOperationsTest/CallRecursiveBomb0_OOG_atMaxCallDepthFiller.json b/src/GeneralStateTestsFiller/stSystemOperationsTest/CallRecursiveBomb0_OOG_atMaxCallDepthFiller.json index 46e7248e3..4598672ae 100644 --- a/src/GeneralStateTestsFiller/stSystemOperationsTest/CallRecursiveBomb0_OOG_atMaxCallDepthFiller.json +++ b/src/GeneralStateTestsFiller/stSystemOperationsTest/CallRecursiveBomb0_OOG_atMaxCallDepthFiller.json @@ -31,7 +31,7 @@ "gas" : -1, "value" : -1 }, - "network" : ["EIP150", ">=EIP158"], + "network" : ["EIP150", "Byzantium"], "result" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "storage" : { @@ -40,6 +40,22 @@ } } } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "storage" : { + "0x00" : "0x02ed", + "0x01" : "0x01" + } + } + } } ], "pre" : { diff --git a/src/GeneralStateTestsFiller/stSystemOperationsTest/CallRecursiveBomb1Filler.json b/src/GeneralStateTestsFiller/stSystemOperationsTest/CallRecursiveBomb1Filler.json index c72aa8f3e..f2fb05a48 100644 --- a/src/GeneralStateTestsFiller/stSystemOperationsTest/CallRecursiveBomb1Filler.json +++ b/src/GeneralStateTestsFiller/stSystemOperationsTest/CallRecursiveBomb1Filler.json @@ -31,7 +31,7 @@ "gas" : -1, "value" : -1 }, - "network" : ["EIP150", ">=EIP158"], + "network" : ["EIP150", "Byzantium"], "result" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "storage" : { @@ -40,6 +40,22 @@ } } } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "storage" : { + "0x00" : "0xfc", + "0x01" : "0x01" + } + } + } } ], "pre" : { diff --git a/src/GeneralStateTestsFiller/stSystemOperationsTest/CallRecursiveBomb2Filler.json b/src/GeneralStateTestsFiller/stSystemOperationsTest/CallRecursiveBomb2Filler.json index b8784bbe5..c243aaf0f 100644 --- a/src/GeneralStateTestsFiller/stSystemOperationsTest/CallRecursiveBomb2Filler.json +++ b/src/GeneralStateTestsFiller/stSystemOperationsTest/CallRecursiveBomb2Filler.json @@ -31,7 +31,7 @@ "gas" : -1, "value" : -1 }, - "network" : ["EIP150", ">=EIP158"], + "network" : ["EIP150", "Byzantium"], "result" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "storage" : { @@ -40,6 +40,22 @@ } } } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "storage" : { + "0x00" : "0xfc", + "0x01" : "0x01" + } + } + } } ], "pre" : { diff --git a/src/GeneralStateTestsFiller/stSystemOperationsTest/CallRecursiveBomb3Filler.json b/src/GeneralStateTestsFiller/stSystemOperationsTest/CallRecursiveBomb3Filler.json index a9409ac58..e31b117e9 100644 --- a/src/GeneralStateTestsFiller/stSystemOperationsTest/CallRecursiveBomb3Filler.json +++ b/src/GeneralStateTestsFiller/stSystemOperationsTest/CallRecursiveBomb3Filler.json @@ -29,7 +29,7 @@ "gas" : -1, "value" : -1 }, - "network" : ["EIP150", ">=EIP158"], + "network" : ["EIP150", "Byzantium"], "result" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "storage" : { @@ -38,6 +38,22 @@ } } } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "storage" : { + "0x00" : "0x18", + "0x01" : "0x01" + } + } + } } ], "pre" : { diff --git a/src/GeneralStateTestsFiller/stSystemOperationsTest/CallRecursiveBombLog2Filler.json b/src/GeneralStateTestsFiller/stSystemOperationsTest/CallRecursiveBombLog2Filler.json index be8e6736d..6180f6d25 100644 --- a/src/GeneralStateTestsFiller/stSystemOperationsTest/CallRecursiveBombLog2Filler.json +++ b/src/GeneralStateTestsFiller/stSystemOperationsTest/CallRecursiveBombLog2Filler.json @@ -34,7 +34,7 @@ "gas" : -1, "value" : -1 }, - "network" : ["EIP150", ">=EIP158"], + "network" : ["EIP150", "Byzantium"], "result" : { "945304eb96065b2a98b57a48a06ae28d285a71b5" : { "storage" : { @@ -46,6 +46,25 @@ "nonce" : "1" } } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "storage" : { + "0x00" : "0x0140", + "0x01" : "0x01" + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + } + } } ], "pre" : { diff --git a/src/GeneralStateTestsFiller/stSystemOperationsTest/CallRecursiveBombLogFiller.json b/src/GeneralStateTestsFiller/stSystemOperationsTest/CallRecursiveBombLogFiller.json index cb52e2238..1f9c949b5 100644 --- a/src/GeneralStateTestsFiller/stSystemOperationsTest/CallRecursiveBombLogFiller.json +++ b/src/GeneralStateTestsFiller/stSystemOperationsTest/CallRecursiveBombLogFiller.json @@ -34,7 +34,7 @@ "gas" : -1, "value" : -1 }, - "network" : ["EIP150", ">=EIP158"], + "network" : ["EIP150", "Byzantium"], "result" : { "945304eb96065b2a98b57a48a06ae28d285a71b5" : { "storage" : { @@ -46,6 +46,25 @@ "nonce" : "1" } } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "storage" : { + "0x00" : "0x0140", + "0x01" : "0x01" + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + } + } } ], "pre" : { diff --git a/src/GeneralStateTestsFiller/stSystemOperationsTest/CallToNameRegistratorNotMuchMemory1Filler.json b/src/GeneralStateTestsFiller/stSystemOperationsTest/CallToNameRegistratorNotMuchMemory1Filler.json index 68ef1e41b..d228184b6 100644 --- a/src/GeneralStateTestsFiller/stSystemOperationsTest/CallToNameRegistratorNotMuchMemory1Filler.json +++ b/src/GeneralStateTestsFiller/stSystemOperationsTest/CallToNameRegistratorNotMuchMemory1Filler.json @@ -15,7 +15,7 @@ "gas" : -1, "value" : -1 }, - "network" : [">=Frontier"], + "network" : ["<=Byzantium"], "result" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "nonce" : "0", @@ -23,6 +23,22 @@ } } } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "nonce" : "0", + "storage" : { + "0x00" : "0x01" + } + } + } } ], "pre" : { @@ -53,7 +69,7 @@ "" ], "gasLimit" : [ - "300000" + "290000" ], "gasPrice" : "1", "nonce" : "0", diff --git a/src/GeneralStateTestsFiller/stSystemOperationsTest/CallToNameRegistratorZeorSizeMemExpansionFiller.json b/src/GeneralStateTestsFiller/stSystemOperationsTest/CallToNameRegistratorZeorSizeMemExpansionFiller.json index 32e2fb15b..a6ca22370 100644 --- a/src/GeneralStateTestsFiller/stSystemOperationsTest/CallToNameRegistratorZeorSizeMemExpansionFiller.json +++ b/src/GeneralStateTestsFiller/stSystemOperationsTest/CallToNameRegistratorZeorSizeMemExpansionFiller.json @@ -15,7 +15,7 @@ "gas" : -1, "value" : -1 }, - "network" : [">=Frontier"], + "network" : ["<=Byzantium"], "result" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "nonce" : "0", @@ -23,6 +23,22 @@ } } } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "nonce" : "0", + "storage" : { + "0x00" : "0x01" + } + } + } } ], "pre" : { diff --git a/src/GeneralStateTestsFiller/stSystemOperationsTest/callcodeToNameRegistratorZeroMemExpanionFiller.json b/src/GeneralStateTestsFiller/stSystemOperationsTest/callcodeToNameRegistratorZeroMemExpanionFiller.json index 4ab291aae..ae322ea72 100644 --- a/src/GeneralStateTestsFiller/stSystemOperationsTest/callcodeToNameRegistratorZeroMemExpanionFiller.json +++ b/src/GeneralStateTestsFiller/stSystemOperationsTest/callcodeToNameRegistratorZeroMemExpanionFiller.json @@ -15,13 +15,28 @@ "gas" : -1, "value" : -1 }, - "network" : [">=Frontier"], + "network" : ["<=Byzantium"], "result" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "storage" : { } } } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "storage" : { + "0x00" : "0x01" + } + } + } } ], "pre" : { |