aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--GeneralStateTests/stRevertTest/NashatyrevSuicideRevert.json85
-rw-r--r--src/GeneralStateTestsFiller/stMemoryStressTest/CREATE_Bounds2Filler.json4
2 files changed, 87 insertions, 2 deletions
diff --git a/GeneralStateTests/stRevertTest/NashatyrevSuicideRevert.json b/GeneralStateTests/stRevertTest/NashatyrevSuicideRevert.json
new file mode 100644
index 000000000..d6c1fe0b9
--- /dev/null
+++ b/GeneralStateTests/stRevertTest/NashatyrevSuicideRevert.json
@@ -0,0 +1,85 @@
+{
+ "NashatyrevSuicideRevert" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x02b8feb0",
+ "currentGasLimit" : "0x989680",
+ "currentNumber" : "0x28d138",
+ "currentTimestamp" : "0x01",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "EIP150" : [
+ {
+ "hash" : "dd821ab265cb0ac289d94a1c22540a9f1e1e96f59011a2e150618c38323a6c95",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ }
+ }
+ ],
+ "EIP158" : [
+ {
+ "hash" : "dd821ab265cb0ac289d94a1c22540a9f1e1e96f59011a2e150618c38323a6c95",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ }
+ }
+ ],
+ "Frontier" : [
+ {
+ "hash" : "0d347869d80f37b94370f30f18e3cb6e9521425c1587f150709ea7fdb889f6f1",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ }
+ }
+ ],
+ "Homestead" : [
+ {
+ "hash" : "0d347869d80f37b94370f30f18e3cb6e9521425c1587f150709ea7fdb889f6f1",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ }
+ }
+ ]
+ },
+ "pre" : {
+ "a000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x60606040526000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680639c3674fc14610049578063c040622614610058575b610000565b3461000057610056610067565b005b3461000057610065610147565b005b600060405160a680610200833901809050604051809103906000f080156100005790508073ffffffffffffffffffffffffffffffffffffffff1660405180807f6628290000000000000000000000000000000000000000000000000000000000815250600301905060405180910390207c010000000000000000000000000000000000000000000000000000000090046040518163ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018090506000604051808303816000876161da5a03f19250505050610000565b50565b3073ffffffffffffffffffffffffffffffffffffffff1660405180807f6261642829000000000000000000000000000000000000000000000000000000815250600501905060405180910390207c010000000000000000000000000000000000000000000000000000000090046040518163ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018090506000604051808303816000876161da5a03f192505050505b56006060604052346000575b608f806100176000396000f30060606040526000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806326121ff014603c575b6000565b3460005760466048565b005b3373ffffffffffffffffffffffffffffffffffffffff16ff5b5600a165627a7a723058203d1a897befde21eff26abc325fb3da2f526bbc99de1c5c857d1835f673744ebd0029a165627a7a72305820850a52b31ec4745b7af15ba3bffdb1ba17f5d9a00a5f263ee287a92b568f534c0029",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0xe8d4a51000",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0xc0406226"
+ ],
+ "gasLimit" : [
+ "500000"
+ ],
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "a000000000000000000000000000000000000000",
+ "value" : [
+ "0"
+ ]
+ }
+ }
+} \ No newline at end of file
diff --git a/src/GeneralStateTestsFiller/stMemoryStressTest/CREATE_Bounds2Filler.json b/src/GeneralStateTestsFiller/stMemoryStressTest/CREATE_Bounds2Filler.json
index 0d0654bfc..5866991cf 100644
--- a/src/GeneralStateTestsFiller/stMemoryStressTest/CREATE_Bounds2Filler.json
+++ b/src/GeneralStateTestsFiller/stMemoryStressTest/CREATE_Bounds2Filler.json
@@ -23,7 +23,7 @@
},
"13136008b64ff592819b2fa6d43f2835c452020e" : {
"balance" : "1",
- "code" : "",
+ "code" : "0x396000f3006000355415600957005b60",
"nonce" : "0",
"storage" : {
"0x01" : "0x01"
@@ -44,7 +44,7 @@
},
"13136008b64ff592819b2fa6d43f2835c452020e" : {
"balance" : "1",
- "code" : "",
+ "code" : "0x396000f3006000355415600957005b60",
"nonce" : "1",
"storage" : {
"0x01" : "0x01"