aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files/VMTests/vmPushDupSwapTest.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/files/VMTests/vmPushDupSwapTest.json')
-rw-r--r--tests/files/VMTests/vmPushDupSwapTest.json204
1 files changed, 177 insertions, 27 deletions
diff --git a/tests/files/VMTests/vmPushDupSwapTest.json b/tests/files/VMTests/vmPushDupSwapTest.json
index 873f95061..e9f89e230 100644
--- a/tests/files/VMTests/vmPushDupSwapTest.json
+++ b/tests/files/VMTests/vmPushDupSwapTest.json
@@ -21,6 +21,8 @@
"value" : "1000000000000000000"
},
"gas" : "9697",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -64,6 +66,8 @@
"value" : "1000000000000000000"
},
"gas" : "9688",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -107,6 +111,8 @@
"value" : "1000000000000000000"
},
"gas" : "9687",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -150,6 +156,8 @@
"value" : "1000000000000000000"
},
"gas" : "9686",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -193,6 +201,8 @@
"value" : "1000000000000000000"
},
"gas" : "9685",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -236,6 +246,8 @@
"value" : "1000000000000000000"
},
"gas" : "9684",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -279,6 +291,8 @@
"value" : "1000000000000000000"
},
"gas" : "9683",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -322,6 +336,8 @@
"value" : "1000000000000000000"
},
"gas" : "9682",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -365,6 +381,8 @@
"value" : "1000000000000000000"
},
"gas" : "9696",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -387,8 +405,6 @@
}
},
"dup2error" : {
- "callcreates" : [
- ],
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "256",
@@ -407,17 +423,6 @@
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : "1000000000000000000"
},
- "gas" : "0",
- "out" : "0x",
- "post" : {
- "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
- "balance" : "1000000000000000000",
- "code" : "0x7f10112233445566778899aabbccddeeff00112233445566778899aabbccddeeff81600355",
- "nonce" : "0",
- "storage" : {
- }
- }
- },
"pre" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"balance" : "1000000000000000000",
@@ -450,6 +455,8 @@
"value" : "1000000000000000000"
},
"gas" : "9695",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -493,6 +500,8 @@
"value" : "1000000000000000000"
},
"gas" : "9694",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -536,6 +545,8 @@
"value" : "1000000000000000000"
},
"gas" : "9693",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -579,6 +590,8 @@
"value" : "1000000000000000000"
},
"gas" : "9692",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -622,6 +635,8 @@
"value" : "1000000000000000000"
},
"gas" : "9691",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -665,6 +680,8 @@
"value" : "1000000000000000000"
},
"gas" : "9690",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -708,6 +725,8 @@
"value" : "1000000000000000000"
},
"gas" : "9689",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -751,6 +770,8 @@
"value" : "1000000000000000000"
},
"gas" : "9698",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -794,6 +815,8 @@
"value" : "1000000000000000000"
},
"gas" : "9698",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -837,6 +860,8 @@
"value" : "1000000000000000000"
},
"gas" : "9698",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -880,6 +905,8 @@
"value" : "1000000000000000000"
},
"gas" : "9698",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -923,6 +950,8 @@
"value" : "1000000000000000000"
},
"gas" : "9698",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -966,6 +995,8 @@
"value" : "1000000000000000000"
},
"gas" : "9698",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -1009,6 +1040,8 @@
"value" : "1000000000000000000"
},
"gas" : "9698",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -1052,6 +1085,8 @@
"value" : "1000000000000000000"
},
"gas" : "9698",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -1095,6 +1130,8 @@
"value" : "1000000000000000000"
},
"gas" : "9698",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -1138,6 +1175,8 @@
"value" : "1000000000000000000"
},
"gas" : "9698",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -1181,6 +1220,8 @@
"value" : "1000000000000000000"
},
"gas" : "9698",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -1224,6 +1265,8 @@
"value" : "1000000000000000000"
},
"gas" : "9999",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -1266,6 +1309,8 @@
"value" : "1000000000000000000"
},
"gas" : "9698",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -1309,6 +1354,8 @@
"value" : "1000000000000000000"
},
"gas" : "9698",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -1352,6 +1399,8 @@
"value" : "1000000000000000000"
},
"gas" : "9698",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -1395,6 +1444,8 @@
"value" : "1000000000000000000"
},
"gas" : "9698",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -1438,6 +1489,8 @@
"value" : "1000000000000000000"
},
"gas" : "9698",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -1481,6 +1534,8 @@
"value" : "1000000000000000000"
},
"gas" : "9698",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -1524,6 +1579,8 @@
"value" : "1000000000000000000"
},
"gas" : "9698",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -1567,6 +1624,8 @@
"value" : "1000000000000000000"
},
"gas" : "9698",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -1610,6 +1669,8 @@
"value" : "1000000000000000000"
},
"gas" : "9698",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -1653,6 +1714,8 @@
"value" : "1000000000000000000"
},
"gas" : "9698",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -1696,6 +1759,8 @@
"value" : "1000000000000000000"
},
"gas" : "9698",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -1739,6 +1804,8 @@
"value" : "1000000000000000000"
},
"gas" : "9698",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -1782,6 +1849,8 @@
"value" : "1000000000000000000"
},
"gas" : "9698",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -1825,6 +1894,8 @@
"value" : "1000000000000000000"
},
"gas" : "9698",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -1868,6 +1939,8 @@
"value" : "1000000000000000000"
},
"gas" : "9698",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -1889,7 +1962,7 @@
}
}
},
- "push32error" : {
+ "push32AndSuicide" : {
"callcreates" : [
],
"env" : {
@@ -1911,6 +1984,8 @@
"value" : "1000000000000000000"
},
"gas" : "9999",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"bbccddeeff00112233445566778899aabbccddee" : {
@@ -1931,6 +2006,50 @@
}
}
},
+ "push32FillUpInputWithZerosAtTheEnd" : {
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "256",
+ "currentGasLimit" : "1000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : "1",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x7fff10112233445566778899aabbccddeeff00112233445566778899aabbccdd",
+ "data" : "0x",
+ "gas" : "10000",
+ "gasPrice" : "100000000000000",
+ "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "1000000000000000000"
+ },
+ "gas" : "9999",
+ "logs" : {
+ },
+ "out" : "0x",
+ "post" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x7fff10112233445566778899aabbccddeeff00112233445566778899aabbccdd",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x7fff10112233445566778899aabbccddeeff00112233445566778899aabbccdd",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ },
"push4" : {
"callcreates" : [
],
@@ -1953,6 +2072,8 @@
"value" : "1000000000000000000"
},
"gas" : "9698",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -1996,6 +2117,8 @@
"value" : "1000000000000000000"
},
"gas" : "9698",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -2039,6 +2162,8 @@
"value" : "1000000000000000000"
},
"gas" : "9698",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -2082,6 +2207,8 @@
"value" : "1000000000000000000"
},
"gas" : "9698",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -2125,6 +2252,8 @@
"value" : "1000000000000000000"
},
"gas" : "9698",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -2168,6 +2297,8 @@
"value" : "1000000000000000000"
},
"gas" : "9698",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -2211,6 +2342,8 @@
"value" : "1000000000000000000"
},
"gas" : "9697",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -2254,6 +2387,8 @@
"value" : "1000000000000000000"
},
"gas" : "9688",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -2297,6 +2432,8 @@
"value" : "1000000000000000000"
},
"gas" : "9687",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -2340,6 +2477,8 @@
"value" : "1000000000000000000"
},
"gas" : "9686",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -2383,6 +2522,8 @@
"value" : "1000000000000000000"
},
"gas" : "9685",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -2426,6 +2567,8 @@
"value" : "1000000000000000000"
},
"gas" : "9684",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -2469,6 +2612,8 @@
"value" : "1000000000000000000"
},
"gas" : "9683",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -2512,6 +2657,8 @@
"value" : "1000000000000000000"
},
"gas" : "9682",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -2555,6 +2702,8 @@
"value" : "1000000000000000000"
},
"gas" : "9696",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -2577,8 +2726,6 @@
}
},
"swap2error" : {
- "callcreates" : [
- ],
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "256",
@@ -2597,17 +2744,6 @@
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : "1000000000000000000"
},
- "gas" : "0",
- "out" : "0x",
- "post" : {
- "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
- "balance" : "1000000000000000000",
- "code" : "0x7f10112233445566778899aabbccddeeff00112233445566778899aabbccddeeff60039155",
- "nonce" : "0",
- "storage" : {
- }
- }
- },
"pre" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"balance" : "1000000000000000000",
@@ -2640,6 +2776,8 @@
"value" : "1000000000000000000"
},
"gas" : "9695",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -2683,6 +2821,8 @@
"value" : "1000000000000000000"
},
"gas" : "9694",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -2726,6 +2866,8 @@
"value" : "1000000000000000000"
},
"gas" : "9693",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -2769,6 +2911,8 @@
"value" : "1000000000000000000"
},
"gas" : "9692",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -2812,6 +2956,8 @@
"value" : "1000000000000000000"
},
"gas" : "9691",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -2855,6 +3001,8 @@
"value" : "1000000000000000000"
},
"gas" : "9690",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -2898,6 +3046,8 @@
"value" : "1000000000000000000"
},
"gas" : "9689",
+ "logs" : {
+ },
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {