aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files/StateTests/stInitCodeTest.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/files/StateTests/stInitCodeTest.json')
-rw-r--r--tests/files/StateTests/stInitCodeTest.json76
1 files changed, 65 insertions, 11 deletions
diff --git a/tests/files/StateTests/stInitCodeTest.json b/tests/files/StateTests/stInitCodeTest.json
index 67aa42853..1c4670cef 100644
--- a/tests/files/StateTests/stInitCodeTest.json
+++ b/tests/files/StateTests/stInitCodeTest.json
@@ -588,7 +588,7 @@
}
},
"transaction" : {
- "data" : "0x600a80600c6000396000f200600160008035811a8100",
+ "data" : "0x600a80600c6000396000f300600160008035811a8100",
"gasLimit" : "599",
"gasPrice" : "1",
"nonce" : "0",
@@ -642,7 +642,7 @@
}
},
"transaction" : {
- "data" : "0x600a80600c6000396000f200600160008035811a8100",
+ "data" : "0x600a80600c6000396000f300600160008035811a8100",
"gasLimit" : "590",
"gasPrice" : "3",
"nonce" : "0",
@@ -651,6 +651,60 @@
"value" : "1"
}
},
+ "StackUnderFlowContractCreation" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "45678256",
+ "currentGasLimit" : "1000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : 1,
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "logs" : [
+ ],
+ "out" : "0x",
+ "post" : {
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "1000",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "balance" : "0",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "9000",
+ "code" : "0x",
+ "nonce" : "1",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "10000",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : "0x6000f1",
+ "gasLimit" : "1000",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "",
+ "value" : "0"
+ }
+ },
"TransactionContractCreation" : {
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
@@ -696,7 +750,7 @@
}
},
"transaction" : {
- "data" : "0x600a80600c6000396000f200600160008035811a8100",
+ "data" : "0x600a80600c6000396000f300600160008035811a8100",
"gasLimit" : "599",
"gasPrice" : "1",
"nonce" : "0",
@@ -716,10 +770,10 @@
},
"logs" : [
],
- "out" : "0x",
+ "out" : "0xff600160008035811a81",
"post" : {
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "1000",
+ "balance" : "653",
"code" : "0x",
"nonce" : "0",
"storage" : {
@@ -727,13 +781,13 @@
},
"6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
"balance" : "1",
- "code" : "0x",
+ "code" : "0xff600160008035811a81",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "8999",
+ "balance" : "9346",
"code" : "0x",
"nonce" : "1",
"storage" : {
@@ -750,7 +804,7 @@
}
},
"transaction" : {
- "data" : "0x600a80600c6000396000f200ff600160008035811a81",
+ "data" : "0x600a80600c6000396000f300ff600160008035811a81",
"gasLimit" : "1000",
"gasPrice" : "1",
"nonce" : "0",
@@ -804,7 +858,7 @@
}
},
"transaction" : {
- "data" : "0x600a80600c600039600000f20000600160008035811a81",
+ "data" : "0x600a80600c600039600000f30000600160008035811a81",
"gasLimit" : "1000",
"gasPrice" : "1",
"nonce" : "0",
@@ -858,7 +912,7 @@
}
},
"transaction" : {
- "data" : "0x600a80600c6000396000fff2ffff600160008035811a81",
+ "data" : "0x600a80600c6000396000fff3ffff600160008035811a81",
"gasLimit" : "1000",
"gasPrice" : "1",
"nonce" : "0",
@@ -867,4 +921,4 @@
"value" : "1"
}
}
-} \ No newline at end of file
+}