aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller
diff options
context:
space:
mode:
Diffstat (limited to 'src/GeneralStateTestsFiller')
-rw-r--r--src/GeneralStateTestsFiller/stCodeCopyTest/ExtCodeCopyTestsFiller.json96
-rw-r--r--src/GeneralStateTestsFiller/stCreateTest/CreateCollisionToEmptyFiller.json195
-rw-r--r--src/GeneralStateTestsFiller/stCreateTest/TransactionCollisionToEmptyButCodeFiller.json86
-rw-r--r--src/GeneralStateTestsFiller/stCreateTest/TransactionCollisionToEmptyButNonceFiller.json84
-rw-r--r--src/GeneralStateTestsFiller/stCreateTest/TransactionCollisionToEmptyFiller.json84
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json90
-rw-r--r--src/GeneralStateTestsFiller/stRevertTest/RevertInDelegateCallFiller.json66
7 files changed, 699 insertions, 2 deletions
diff --git a/src/GeneralStateTestsFiller/stCodeCopyTest/ExtCodeCopyTestsFiller.json b/src/GeneralStateTestsFiller/stCodeCopyTest/ExtCodeCopyTestsFiller.json
new file mode 100644
index 000000000..2f360e476
--- /dev/null
+++ b/src/GeneralStateTestsFiller/stCodeCopyTest/ExtCodeCopyTestsFiller.json
@@ -0,0 +1,96 @@
+{
+ "ExtCodeCopyTests" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x020000",
+ "currentGasLimit" : "0x7fffffffffffffff",
+ "currentNumber" : "2675000",
+ "currentTimestamp" : "1000",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "expect" : [
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["ALL"],
+ "result" : {
+ "aaaf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "storage" : {
+ "0x02" : "0x00",
+ "0x03" : "0x00",
+ "0x04" : "0x00",
+ "0x05" : "0x11120000000000000000000000000000000000000000000000000000000000",
+ "0x06" : "0x11121314151617181920212223242526272829303132000000000000000000"
+ }
+ },
+ "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "shouldnotexist" : "1"
+ },
+ "cccf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0"
+ },
+ "dddf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "nonce" : "1"
+ }
+
+ }
+ }
+ ],
+ "pre" :
+ {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0xffffffffffffffffffffffffffffffff",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "aaaf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "7000",
+ "code" : "{ (EXTCODECOPY 0xbbbf5374fce5edbc8e2a8697c15331677e6ebf0b 1 10 2) [[2]] (MLOAD 0) (EXTCODECOPY 0xcccf5374fce5edbc8e2a8697c15331677e6ebf0b 1 10 2) [[3]] (MLOAD 0) (EXTCODECOPY 0xdddf5374fce5edbc8e2a8697c15331677e6ebf0b 1 10 2) [[4]] (MLOAD 0) (EXTCODECOPY 0xeeef5374fce5edbc8e2a8697c15331677e6ebf0b 1 10 2) [[5]] (MLOAD 0) (EXTCODECOPY 0xeeef5374fce5edbc8e2a8697c15331677e6ebf0b 1 10 200) [[6]] (MLOAD 0)}",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "cccf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "dddf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0",
+ "code" : "",
+ "nonce" : "1",
+ "storage" : {
+ }
+ },
+ "eeef5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0",
+ "code" : "0x1122334455667788991011121314151617181920212223242526272829303132",
+ "nonce" : "1",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ ""
+ ],
+ "gasLimit" : [
+ "400000"
+ ],
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "aaaf5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : [
+ "0"
+ ]
+ }
+ }
+}
diff --git a/src/GeneralStateTestsFiller/stCreateTest/CreateCollisionToEmptyFiller.json b/src/GeneralStateTestsFiller/stCreateTest/CreateCollisionToEmptyFiller.json
new file mode 100644
index 000000000..b50c1abde
--- /dev/null
+++ b/src/GeneralStateTestsFiller/stCreateTest/CreateCollisionToEmptyFiller.json
@@ -0,0 +1,195 @@
+{
+ "CreateCollisionToEmpty" : {
+ "_info" : {
+ "comment" : "data0 - create collision to empty, data1 - to empty but nonce, data2 - to contract with code"
+ },
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x020000",
+ "currentGasLimit" : "10000000",
+ "currentNumber" : "1",
+ "currentTimestamp" : "1000",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "expect" : [
+ {
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "network" : ["Frontier", "Homestead", "EIP150"],
+ "result" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "nonce" : "1"
+ },
+ "1000000000000000000000000000000000000000" : {
+ "nonce" : "1",
+ "storage" : {
+ "0x01" : "0x13136008b64ff592819b2fa6d43f2835c452020e"
+ }
+ },
+ "13136008b64ff592819b2fa6d43f2835c452020e" : {
+ "nonce" : "0",
+ "code" : "",
+ "storage" : {
+ "0x01" : "0x01"
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "network" : ["EIP158", "Byzantium"],
+ "result" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "nonce" : "1"
+ },
+ "1000000000000000000000000000000000000000" : {
+ "nonce" : "1",
+ "storage" : {
+ "0x01" : "0x13136008b64ff592819b2fa6d43f2835c452020e"
+ }
+ },
+ "13136008b64ff592819b2fa6d43f2835c452020e" : {
+ "nonce" : "1",
+ "code" : "",
+ "storage" : {
+ "0x01" : "0x01"
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ },
+ "network" : ["EIP158", "Byzantium"],
+ "result" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "nonce" : "1"
+ },
+ "2000000000000000000000000000000000000000" : {
+ "nonce" : "0",
+ "storage" : {
+ "0x01" : "0x00"
+ }
+ },
+ "0bf4c804e0579073baf54ec4ec37cd04f3455c65" : {
+ "nonce" : "2",
+ "code" : "",
+ "storage" : {
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : 2,
+ "gas" : 0,
+ "value" : 0
+ },
+ "network" : ["EIP158", "Byzantium"],
+ "result" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "nonce" : "1"
+ },
+ "3000000000000000000000000000000000000000" : {
+ "nonce" : "0",
+ "storage" : {
+ "0x01" : "0x00"
+ }
+ },
+ "4b86c4ed99b87f0f396bc0c76885453c343916ed" : {
+ "nonce" : "0",
+ "code" : "0x1122334455",
+ "storage" : {
+ }
+ }
+ }
+ }
+ ],
+ "pre" :
+ {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "1000000000000",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "1a00000000000000000000000000000000000000" : {
+ "balance" : "",
+ "code" : "{ (CALL 80000 (CALLDATALOAD 0) 0 0 0 0 0) }",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "1000000000000000000000000000000000000000" : {
+ "balance" : "",
+ "code" : "{ (MSTORE 0 0x6001600155) [[1]] (CREATE 0 27 5) }",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "2000000000000000000000000000000000000000" : {
+ "balance" : "",
+ "code" : "{ (MSTORE 0 0x6001600155) [[1]] (CREATE 0 27 5) }",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "3000000000000000000000000000000000000000" : {
+ "balance" : "",
+ "code" : "{ (MSTORE 0 0x6001600155) [[1]] (CREATE 0 27 5) }",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "0x13136008b64ff592819b2fa6d43f2835c452020e" : {
+ "balance" : "0",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "0x0bf4c804e0579073baf54ec4ec37cd04f3455c65" : {
+ "balance" : "0",
+ "code" : "",
+ "nonce" : "2",
+ "storage" : {
+ }
+ },
+ "0x4b86c4ed99b87f0f396bc0c76885453c343916ed" : {
+ "balance" : "0",
+ "code" : "0x1122334455",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0x0000000000000000000000001000000000000000000000000000000000000000",
+ "0x0000000000000000000000002000000000000000000000000000000000000000",
+ "0x0000000000000000000000003000000000000000000000000000000000000000"
+ ],
+ "gasLimit" : [
+ "600000", "54000"
+ ],
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x1a00000000000000000000000000000000000000",
+ "value" : [
+ "0", "1"
+ ]
+ }
+ }
+}
diff --git a/src/GeneralStateTestsFiller/stCreateTest/TransactionCollisionToEmptyButCodeFiller.json b/src/GeneralStateTestsFiller/stCreateTest/TransactionCollisionToEmptyButCodeFiller.json
new file mode 100644
index 000000000..4f4ad461e
--- /dev/null
+++ b/src/GeneralStateTestsFiller/stCreateTest/TransactionCollisionToEmptyButCodeFiller.json
@@ -0,0 +1,86 @@
+{
+ "TransactionCollisionToEmptyButCode" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x020000",
+ "currentGasLimit" : "10000000",
+ "currentNumber" : "1",
+ "currentTimestamp" : "1000",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "expect" : [
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : 0,
+ "value" : 0
+ },
+ "network" : ["Frontier", "Homestead", "EIP150"],
+ "result" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "nonce" : "1"
+ },
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "nonce" : "0",
+ "code" : "0x1122334455",
+ "storage" : {
+ "0x01" : "0x00"
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : 0,
+ "value" : 0
+ },
+ "network" : ["EIP158", "Byzantium"],
+ "result" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "nonce" : "1"
+ },
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "nonce" : "0",
+ "code" : "0x1122334455",
+ "storage" : {
+ "0x01" : "0x00"
+ }
+ }
+ }
+ }
+ ],
+ "pre" :
+ {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "1000000000000",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "balance" : "",
+ "code" : "0x1122334455",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0x6001600155"
+ ],
+ "gasLimit" : [
+ "600000", "54000"
+ ],
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "",
+ "value" : [
+ "0", "1"
+ ]
+ }
+ }
+}
diff --git a/src/GeneralStateTestsFiller/stCreateTest/TransactionCollisionToEmptyButNonceFiller.json b/src/GeneralStateTestsFiller/stCreateTest/TransactionCollisionToEmptyButNonceFiller.json
new file mode 100644
index 000000000..d33a8e361
--- /dev/null
+++ b/src/GeneralStateTestsFiller/stCreateTest/TransactionCollisionToEmptyButNonceFiller.json
@@ -0,0 +1,84 @@
+{
+ "TransactionCollisionToEmptyButNonce" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x020000",
+ "currentGasLimit" : "10000000",
+ "currentNumber" : "1",
+ "currentTimestamp" : "1000",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "expect" : [
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : 0,
+ "value" : 0
+ },
+ "network" : ["Frontier", "Homestead", "EIP150"],
+ "result" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "nonce" : "1"
+ },
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "nonce" : "1",
+ "storage" : {
+ "0x01" : "0x00"
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : 0,
+ "value" : 0
+ },
+ "network" : ["EIP158", "Byzantium"],
+ "result" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "nonce" : "1"
+ },
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "nonce" : "1",
+ "storage" : {
+ "0x01" : "0x00"
+ }
+ }
+ }
+ }
+ ],
+ "pre" :
+ {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "1000000000000",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "balance" : "",
+ "code" : "",
+ "nonce" : "1",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0x6001600155"
+ ],
+ "gasLimit" : [
+ "600000", "54000"
+ ],
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "",
+ "value" : [
+ "0", "1"
+ ]
+ }
+ }
+}
diff --git a/src/GeneralStateTestsFiller/stCreateTest/TransactionCollisionToEmptyFiller.json b/src/GeneralStateTestsFiller/stCreateTest/TransactionCollisionToEmptyFiller.json
new file mode 100644
index 000000000..e869b59d7
--- /dev/null
+++ b/src/GeneralStateTestsFiller/stCreateTest/TransactionCollisionToEmptyFiller.json
@@ -0,0 +1,84 @@
+{
+ "TransactionCollisionToEmpty" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x020000",
+ "currentGasLimit" : "10000000",
+ "currentNumber" : "1",
+ "currentTimestamp" : "1000",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "expect" : [
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : 0,
+ "value" : 0
+ },
+ "network" : ["Frontier", "Homestead", "EIP150"],
+ "result" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "nonce" : "1"
+ },
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "nonce" : "0",
+ "storage" : {
+ "0x01" : "0x01"
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : 0,
+ "value" : 0
+ },
+ "network" : ["EIP158", "Byzantium"],
+ "result" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "nonce" : "1"
+ },
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "nonce" : "1",
+ "storage" : {
+ "0x01" : "0x01"
+ }
+ }
+ }
+ }
+ ],
+ "pre" :
+ {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "1000000000000",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "balance" : "",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0x6001600155"
+ ],
+ "gasLimit" : [
+ "600000", "54000"
+ ],
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "",
+ "value" : [
+ "0", "1"
+ ]
+ }
+ }
+}
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json
index 9f32208e1..4c6fb07c1 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json
@@ -91,6 +91,86 @@
},
{
"indexes" : {
+ "data" : [31],
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["Byzantium"],
+ "result" : {
+ "1000000000000000000000000000000000000000" : {
+ "storage" : {
+ "0x01" : "0x01",
+ "0x02" : "0x0100000000000000000000000000000000"
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : [32],
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["Byzantium"],
+ "result" : {
+ "1000000000000000000000000000000000000000" : {
+ "storage" : {
+ "0x01" : "0x01",
+ "0x02" : "0x010000000000000000000000000000000000000000"
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : [33],
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["Byzantium"],
+ "result" : {
+ "1000000000000000000000000000000000000000" : {
+ "storage" : {
+ "0x01" : "0x01",
+ "0x02" : "0x010000000000000000000000000000000000000000000000000000"
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : [34],
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["Byzantium"],
+ "result" : {
+ "1000000000000000000000000000000000000000" : {
+ "storage" : {
+ "0x01" : "0x01",
+ "0x02" : "0x0100000000000000000000000000000000000000"
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : [35],
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["Byzantium"],
+ "result" : {
+ "1000000000000000000000000000000000000000" : {
+ "storage" : {
+ "0x01" : "0x01",
+ "0x02" : "0x010000000000000000000000000000"
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
"data" : [3,4],
"gas" : 0,
"value" : -1
@@ -199,7 +279,8 @@
"27 - 02 ** 03 % 06, but exp with 256 bytes of zero in front.",
"28 - base length 4TiB",
"29 - exp length 4TiB; returns 0 because mod is zero",
- "30 - base and mod have zero-length. exp's length is 2^255. Since mod is zero, the result should be zero."
+ "30 - base and mod have zero-length. exp's length is 2^255. Since mod is zero, the result should be zero.",
+ "31,32,33,34,35 - something that should result in 1."
],
"data" : [
"0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002003fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2efffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f",
@@ -232,7 +313,12 @@
"0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000010100000000000000000000000000000000000000000000000000000000000000020200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030006",
"0x00000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000",
"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000",
-"0x000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
+"0x000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+"0x000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010035ee4e488f45e64d2f07becd54646357381d32f30b74c299a8c25d5202c04938ef6c4764a04f10fc908b78c4486886000f6d290251a79681a83b950c7e5c37351",
+"0x0000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000cd935b43e42204fcbfb734a6e27735e8e90204fcc1fd2727bb040f9eecb",
+"0x0000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000060846813a8d2d451387340fa0597c6545ae63",
+"0x0000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000d000000000000000000000000000000000000000000000000000000000000000d02534f82b1013f20d9c7d18d62cd95674d2e013f20d9c7d18d62cd95674d2f",
+"0x0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000120785e45de3d6be050ba3c4d33ff0bb2d010ace3b1dfe9c49f4c7a8075102fa19a86c010ace3b1dfe9c49f4c7a8075102fa19a86d"
],
"gasLimit" : [
"100000000", "90000", "110000", "200000"
diff --git a/src/GeneralStateTestsFiller/stRevertTest/RevertInDelegateCallFiller.json b/src/GeneralStateTestsFiller/stRevertTest/RevertInDelegateCallFiller.json
new file mode 100644
index 000000000..04dd6dfc4
--- /dev/null
+++ b/src/GeneralStateTestsFiller/stRevertTest/RevertInDelegateCallFiller.json
@@ -0,0 +1,66 @@
+{
+ "RevertInDelegateCall" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x020000",
+ "currentGasLimit" : "1000000",
+ "currentNumber" : "1",
+ "currentTimestamp" : "1000",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "expect" : [
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : "ALL",
+ "result" : {
+ "1000000000000000000000000000000000000000" : {
+ "storage" : {
+ }
+ }
+ }
+ }
+ ],
+ "pre" : {
+ "1000000000000000000000000000000000000000" : {
+ "balance" : "1000",
+ "code" : "{ [[ 0 ]] (DELEGATECALL 50000 0x945304eb96065b2a98b57a48a06ae28d285a71b5 0 64 0 64 )}",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "945304eb96065b2a98b57a48a06ae28d285a71b5" : {
+ "balance" : "0",
+ "code" : "{ (REVERT 0 0) }",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "1000000",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ ""
+ ],
+ "gasLimit" : [
+ "105044"
+ ],
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "1000000000000000000000000000000000000000",
+ "value" : [
+ ""
+ ]
+ }
+ }
+}