aboutsummaryrefslogtreecommitdiffstats
path: root/VMTests
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2015-03-03 15:59:11 +0800
committerCJentzsch <jentzsch.software@gmail.com>2015-03-03 15:59:11 +0800
commit3188f771f692e36067d7393f4a6cda28b69f42aa (patch)
tree29c5e3db90191802d13ed92bf00f7792e79da2e6 /VMTests
parent202b69a9b2d55078766efed3af3b1b740aa3e5ea (diff)
downloaddexon-tests-3188f771f692e36067d7393f4a6cda28b69f42aa.tar
dexon-tests-3188f771f692e36067d7393f4a6cda28b69f42aa.tar.gz
dexon-tests-3188f771f692e36067d7393f4a6cda28b69f42aa.tar.bz2
dexon-tests-3188f771f692e36067d7393f4a6cda28b69f42aa.tar.lz
dexon-tests-3188f771f692e36067d7393f4a6cda28b69f42aa.tar.xz
dexon-tests-3188f771f692e36067d7393f4a6cda28b69f42aa.tar.zst
dexon-tests-3188f771f692e36067d7393f4a6cda28b69f42aa.zip
fix jumpdest requirements
Diffstat (limited to 'VMTests')
-rw-r--r--VMTests/vmIOandFlowOperationsTest.json150
1 files changed, 150 insertions, 0 deletions
diff --git a/VMTests/vmIOandFlowOperationsTest.json b/VMTests/vmIOandFlowOperationsTest.json
index 4127f0fe0..854e97859 100644
--- a/VMTests/vmIOandFlowOperationsTest.json
+++ b/VMTests/vmIOandFlowOperationsTest.json
@@ -1801,6 +1801,8 @@
}
},
"for_loop1" : {
+ "callcreates" : [
+ ],
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "256",
@@ -1819,6 +1821,19 @@
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : "1000000000000000000"
},
+ "gas" : "9153",
+ "logs" : [
+ ],
+ "out" : "0x",
+ "post" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x600a6080525b6000608051111560265760a0516080510160a0526001608051036080526005565b",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
"pre" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"balance" : "1000000000000000000",
@@ -1830,6 +1845,8 @@
}
},
"for_loop2" : {
+ "callcreates" : [
+ ],
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "256",
@@ -1848,6 +1865,19 @@
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : "1000000000000000000"
},
+ "gas" : "9153",
+ "logs" : [
+ ],
+ "out" : "0x",
+ "post" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x60006080525b600a608051101560265760a0516080510160a0526001608051016080526005565b",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
"pre" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"balance" : "1000000000000000000",
@@ -1917,6 +1947,8 @@
}
},
"indirect_jump1" : {
+ "callcreates" : [
+ ],
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "256",
@@ -1935,6 +1967,19 @@
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : "1000000000000000000"
},
+ "gas" : "9965",
+ "logs" : [
+ ],
+ "out" : "0x0000000000000000000000000000000000000000000000000000000000000001",
+ "post" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x600460030156005b6001600052596000f3",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
"pre" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"balance" : "1000000000000000000",
@@ -1946,6 +1991,8 @@
}
},
"indirect_jump2" : {
+ "callcreates" : [
+ ],
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "256",
@@ -1964,6 +2011,19 @@
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : "1000000000000000000"
},
+ "gas" : "9965",
+ "logs" : [
+ ],
+ "out" : "0x0000000000000000000000000000000000000000000000000000000000000002",
+ "post" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x600860060156005b6001600052005b6002600052596000f3",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
"pre" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"balance" : "1000000000000000000",
@@ -1975,6 +2035,8 @@
}
},
"indirect_jump3" : {
+ "callcreates" : [
+ ],
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "256",
@@ -1993,6 +2055,19 @@
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : "1000000000000000000"
},
+ "gas" : "9960",
+ "logs" : [
+ ],
+ "out" : "0x0000000000000000000000000000000000000000000000000000000000000001",
+ "post" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x6001600460050157005b6001600052596000f3",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
"pre" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"balance" : "1000000000000000000",
@@ -2309,6 +2384,8 @@
}
},
"jumpDynamicJumpSameDest" : {
+ "callcreates" : [
+ ],
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "256",
@@ -2327,6 +2404,19 @@
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : "1000000000000000000"
},
+ "gas" : "9964",
+ "logs" : [
+ ],
+ "out" : "0x0000000000000000000000000000000000000000000000000000000000000003",
+ "post" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x6002600401565b600360005260206000f3600656",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
"pre" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"balance" : "1000000000000000000",
@@ -2425,6 +2515,8 @@
}
},
"jumpdestBigList" : {
+ "callcreates" : [
+ ],
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "256",
@@ -2443,6 +2535,19 @@
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : "1000000000000000000"
},
+ "gas" : "99999905",
+ "logs" : [
+ ],
+ "out" : "0x",
+ "post" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x6009565b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
"pre" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"balance" : "1000000000000000000",
@@ -2599,6 +2704,8 @@
}
},
"jumpi_at_the_end" : {
+ "callcreates" : [
+ ],
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "256",
@@ -2617,6 +2724,19 @@
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : "1000000000000000000"
},
+ "gas" : "608",
+ "logs" : [
+ ],
+ "out" : "0x",
+ "post" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x600a6000525b6000516001900380600052600557",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
"pre" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"balance" : "1000000000000000000",
@@ -3385,6 +3505,8 @@
}
},
"return2" : {
+ "callcreates" : [
+ ],
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "256",
@@ -3403,6 +3525,19 @@
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : "1000000000000000000"
},
+ "gas" : "9935",
+ "logs" : [
+ ],
+ "out" : "0x0000000000000000000000000000000000000000000000000000000000000027",
+ "post" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x6001608052600060805111601b57600160005260206000f3602b565b602760005260206000f360026080525b",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
"pre" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"balance" : "1000000000000000000",
@@ -3618,6 +3753,8 @@
}
},
"when" : {
+ "callcreates" : [
+ ],
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "256",
@@ -3636,6 +3773,19 @@
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : "1000000000000000000"
},
+ "gas" : "9950",
+ "logs" : [
+ ],
+ "out" : "0x",
+ "post" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x600060011115600e57600d6080525b",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
"pre" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"balance" : "1000000000000000000",