aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller/stSolidityTest/CallInfiniteLoopFiller.json
diff options
context:
space:
mode:
authorDimitry <winsvega@mail.ru>2016-12-09 22:17:42 +0800
committerDimitry <winsvega@mail.ru>2016-12-09 22:17:42 +0800
commitd350f5c96a1fb253d2a271c96d2051eb311737f4 (patch)
treeda87715fd38b26e408f6a0dd78777c9368de0db6 /src/GeneralStateTestsFiller/stSolidityTest/CallInfiniteLoopFiller.json
parentdf97106322e39ced3007bb3fee6b96003c791b5a (diff)
downloaddexon-tests-d350f5c96a1fb253d2a271c96d2051eb311737f4.tar.gz
dexon-tests-d350f5c96a1fb253d2a271c96d2051eb311737f4.tar.zst
dexon-tests-d350f5c96a1fb253d2a271c96d2051eb311737f4.zip
upgrade eip158 to general tests
Diffstat (limited to 'src/GeneralStateTestsFiller/stSolidityTest/CallInfiniteLoopFiller.json')
-rw-r--r--src/GeneralStateTestsFiller/stSolidityTest/CallInfiniteLoopFiller.json22
1 files changed, 19 insertions, 3 deletions
diff --git a/src/GeneralStateTestsFiller/stSolidityTest/CallInfiniteLoopFiller.json b/src/GeneralStateTestsFiller/stSolidityTest/CallInfiniteLoopFiller.json
index 4e8986919..17292996c 100644
--- a/src/GeneralStateTestsFiller/stSolidityTest/CallInfiniteLoopFiller.json
+++ b/src/GeneralStateTestsFiller/stSolidityTest/CallInfiniteLoopFiller.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : "Frontier",
+ "network" : ["ALL"],
"result" : {
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"balance" : "300000"
@@ -25,8 +25,24 @@
],
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "//" : "}",
"balance" : "100000",
+ "//" : "contract recursiveMethods ",
+ "//" : "{ ",
+ "//" : " function testInfiniteLoop() ",
+ "//" : " { ",
+ "//" : " while(true){} ",
+ "//" : " } ",
+ "//" : " ",
+ "//" : " function testRecursiveMethods() ",
+ "//" : " { ",
+ "//" : " testRecursiveMethods2(); ",
+ "//" : " } ",
+ "//" : " ",
+ "//" : " function testRecursiveMethods2() ",
+ "//" : " { ",
+ "//" : " testRecursiveMethods(); ",
+ "//" : " } ",
+ "//" : "}",
"code" : "0x60003560e060020a90048063296df0df1460295780634893d88a146035578063981a316514604157005b602f604d565b60006000f35b603b6062565b60006000f35b6047605a565b60006000f35b5b600115605857604e565b565b60606062565b565b6068605a565b56",
"nonce" : "0",
"storage" : {
@@ -56,4 +72,4 @@
]
}
}
-} \ No newline at end of file
+}