aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/GeneralStateTestsFiller/stMemoryStressTest/CREATE_Bounds2Filler.json24
-rw-r--r--src/GeneralStateTestsFiller/stRevertTest/NashatyrevSuicideRevertFiller.json64
2 files changed, 87 insertions, 1 deletions
diff --git a/src/GeneralStateTestsFiller/stMemoryStressTest/CREATE_Bounds2Filler.json b/src/GeneralStateTestsFiller/stMemoryStressTest/CREATE_Bounds2Filler.json
index bf489ca63..0d0654bfc 100644
--- a/src/GeneralStateTestsFiller/stMemoryStressTest/CREATE_Bounds2Filler.json
+++ b/src/GeneralStateTestsFiller/stMemoryStressTest/CREATE_Bounds2Filler.json
@@ -16,7 +16,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["ALL"],
+ "network" : ["Frontier", "Homestead", "EIP150"],
"result" : {
"1000000000000000000000000000000000000000" : {
"balance" : "99"
@@ -26,6 +26,28 @@
"code" : "",
"nonce" : "0",
"storage" : {
+ "0x01" : "0x01"
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["EIP158"],
+ "result" : {
+ "1000000000000000000000000000000000000000" : {
+ "balance" : "99"
+ },
+ "13136008b64ff592819b2fa6d43f2835c452020e" : {
+ "balance" : "1",
+ "code" : "",
+ "nonce" : "1",
+ "storage" : {
+ "0x01" : "0x01"
}
}
}
diff --git a/src/GeneralStateTestsFiller/stRevertTest/NashatyrevSuicideRevertFiller.json b/src/GeneralStateTestsFiller/stRevertTest/NashatyrevSuicideRevertFiller.json
new file mode 100644
index 000000000..3f5b2b089
--- /dev/null
+++ b/src/GeneralStateTestsFiller/stRevertTest/NashatyrevSuicideRevertFiller.json
@@ -0,0 +1,64 @@
+{
+ "NashatyrevSuicideRevert" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "45678256",
+ "currentGasLimit" : "10000000",
+ "currentNumber" : "2675000",
+ "currentTimestamp" : "1",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "expect" : [
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["ALL"],
+ "result" : {
+ "a000000000000000000000000000000000000000" : {
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "nonce" : "0x01"
+ }
+ }
+ }
+ ],
+ "pre" :
+ {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "1000000000000",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "a000000000000000000000000000000000000000" : {
+ "balance" : "0",
+ "code" : "0x60606040526000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680639c3674fc14610049578063c040622614610058575b610000565b3461000057610056610067565b005b3461000057610065610147565b005b600060405160a680610200833901809050604051809103906000f080156100005790508073ffffffffffffffffffffffffffffffffffffffff1660405180807f6628290000000000000000000000000000000000000000000000000000000000815250600301905060405180910390207c010000000000000000000000000000000000000000000000000000000090046040518163ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018090506000604051808303816000876161da5a03f19250505050610000565b50565b3073ffffffffffffffffffffffffffffffffffffffff1660405180807f6261642829000000000000000000000000000000000000000000000000000000815250600501905060405180910390207c010000000000000000000000000000000000000000000000000000000090046040518163ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018090506000604051808303816000876161da5a03f192505050505b56006060604052346000575b608f806100176000396000f30060606040526000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806326121ff014603c575b6000565b3460005760466048565b005b3373ffffffffffffffffffffffffffffffffffffffff16ff5b5600a165627a7a723058203d1a897befde21eff26abc325fb3da2f526bbc99de1c5c857d1835f673744ebd0029a165627a7a72305820850a52b31ec4745b7af15ba3bffdb1ba17f5d9a00a5f263ee287a92b568f534c0029",
+ "nonce" : "",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0xc0406226"
+ ],
+ "gasLimit" : [
+ "500000"
+ ],
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "a000000000000000000000000000000000000000",
+ "value" : [
+ "0"
+ ]
+ }
+ }
+}