diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-10 18:04:21 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-10 18:04:21 +0800 |
commit | 4f1ef89cb21345f3273417ec989164670e880dee (patch) | |
tree | 817ac689826fc5ea5f2200e94c2e79f864b2479c /tests/files/VMTests/vmEnvironmentalInfoTest.json | |
parent | 1fb84d3c5f486ef0d42a21f3cd8416d6ef211604 (diff) | |
download | dexon-4f1ef89cb21345f3273417ec989164670e880dee.tar.gz dexon-4f1ef89cb21345f3273417ec989164670e880dee.tar.zst dexon-4f1ef89cb21345f3273417ec989164670e880dee.zip |
updated tests
Diffstat (limited to 'tests/files/VMTests/vmEnvironmentalInfoTest.json')
-rw-r--r-- | tests/files/VMTests/vmEnvironmentalInfoTest.json | 320 |
1 files changed, 270 insertions, 50 deletions
diff --git a/tests/files/VMTests/vmEnvironmentalInfoTest.json b/tests/files/VMTests/vmEnvironmentalInfoTest.json index b7d6ca7bb..37563707b 100644 --- a/tests/files/VMTests/vmEnvironmentalInfoTest.json +++ b/tests/files/VMTests/vmEnvironmentalInfoTest.json @@ -21,8 +21,8 @@ "value" : "1000000000000000000" }, "gas" : "99999999698", - "logs" : { - }, + "logs" : [ + ], "out" : "0x", "post" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { @@ -66,8 +66,8 @@ "value" : "1000000000000000000" }, "gas" : "99999999698", - "logs" : { - }, + "logs" : [ + ], "out" : "0x", "post" : { "cd1722f3947def4cf144679da39c4c32bdc35681" : { @@ -111,8 +111,8 @@ "value" : "1000000000000000000" }, "gas" : "99999999878", - "logs" : { - }, + "logs" : [ + ], "out" : "0x", "post" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { @@ -162,8 +162,8 @@ "value" : "1000000000000000000" }, "gas" : "99999999678", - "logs" : { - }, + "logs" : [ + ], "out" : "0x", "post" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { @@ -207,8 +207,8 @@ "value" : "1000000000000000000" }, "gas" : "99999999656", - "logs" : { - }, + "logs" : [ + ], "out" : "0x", "post" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { @@ -252,8 +252,8 @@ "value" : "1000000000000000000" }, "gas" : "99999999656", - "logs" : { - }, + "logs" : [ + ], "out" : "0x", "post" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { @@ -304,8 +304,8 @@ "value" : "1000000000000000000" }, "gas" : "99999999691", - "logs" : { - }, + "logs" : [ + ], "out" : "0x", "post" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { @@ -349,8 +349,8 @@ "value" : "1000000000000000000" }, "gas" : "99999999691", - "logs" : { - }, + "logs" : [ + ], "out" : "0x", "post" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { @@ -394,8 +394,8 @@ "value" : "1000000000000000000" }, "gas" : "99999999892", - "logs" : { - }, + "logs" : [ + ], "out" : "0x", "post" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { @@ -416,6 +416,94 @@ } } }, + "calldatacopy_DataIndexTooHigh" : { + "callcreates" : [ + ], + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "256", + "currentGasLimit" : "1000000", + "currentNumber" : "0", + "currentTimestamp" : "1", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "code" : "0x60ff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa600037600051600055", + "data" : "0x01234567890abcdef01234567890abcdef", + "gas" : "100000000000", + "gasPrice" : "1000000000", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000" + }, + "gas" : "99999999877", + "logs" : [ + ], + "out" : "0x", + "post" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000", + "code" : "0x60ff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa600037600051600055", + "nonce" : "0", + "storage" : { + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000", + "code" : "0x60ff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa600037600051600055", + "nonce" : "0", + "storage" : { + } + } + } + }, + "calldatacopy_DataIndexTooHigh2" : { + "callcreates" : [ + ], + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "256", + "currentGasLimit" : "1000000", + "currentNumber" : "0", + "currentTimestamp" : "1", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "code" : "0x60097ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa600037600051600055", + "data" : "0x01234567890abcdef01234567890abcdef", + "gas" : "100000000000", + "gasPrice" : "1000000000", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000" + }, + "gas" : "99999999891", + "logs" : [ + ], + "out" : "0x", + "post" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000", + "code" : "0x60097ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa600037600051600055", + "nonce" : "0", + "storage" : { + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000", + "code" : "0x60097ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa600037600051600055", + "nonce" : "0", + "storage" : { + } + } + } + }, "calldataload0" : { "callcreates" : [ ], @@ -438,8 +526,8 @@ "value" : "1000000000000000000" }, "gas" : "99999999697", - "logs" : { - }, + "logs" : [ + ], "out" : "0x", "post" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { @@ -483,8 +571,8 @@ "value" : "1000000000000000000" }, "gas" : "99999999697", - "logs" : { - }, + "logs" : [ + ], "out" : "0x", "post" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { @@ -528,8 +616,8 @@ "value" : "1000000000000000000" }, "gas" : "99999999697", - "logs" : { - }, + "logs" : [ + ], "out" : "0x", "post" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { @@ -551,6 +639,50 @@ } } }, + "calldataloadSizeTooHigh" : { + "callcreates" : [ + ], + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "256", + "currentGasLimit" : "1000000", + "currentNumber" : "0", + "currentTimestamp" : "1", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "code" : "0x7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa35600055", + "data" : "0x0123456789abcdef0000000000000000000000000000000000000000000000000024", + "gas" : "100000000000", + "gasPrice" : "1000000000", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000" + }, + "gas" : "99999999897", + "logs" : [ + ], + "out" : "0x", + "post" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000", + "code" : "0x7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa35600055", + "nonce" : "0", + "storage" : { + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000", + "code" : "0x7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa35600055", + "nonce" : "0", + "storage" : { + } + } + } + }, "calldatasize0" : { "callcreates" : [ ], @@ -573,8 +705,8 @@ "value" : "1000000000000000000" }, "gas" : "99999999698", - "logs" : { - }, + "logs" : [ + ], "out" : "0x", "post" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { @@ -618,8 +750,8 @@ "value" : "1000000000000000000" }, "gas" : "99999999698", - "logs" : { - }, + "logs" : [ + ], "out" : "0x", "post" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { @@ -663,8 +795,8 @@ "value" : "1000000000000000000" }, "gas" : "99999999698", - "logs" : { - }, + "logs" : [ + ], "out" : "0x", "post" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { @@ -708,8 +840,8 @@ "value" : "1000000000000000000" }, "gas" : "99999999698", - "logs" : { - }, + "logs" : [ + ], "out" : "0x", "post" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { @@ -753,8 +885,8 @@ "value" : "1000000000000000000" }, "gas" : "99999999698", - "logs" : { - }, + "logs" : [ + ], "out" : "0x", "post" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { @@ -798,8 +930,8 @@ "value" : "1000000000000000000" }, "gas" : "99999999691", - "logs" : { - }, + "logs" : [ + ], "out" : "0x", "post" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { @@ -843,8 +975,8 @@ "value" : "1000000000000000000" }, "gas" : "99999999691", - "logs" : { - }, + "logs" : [ + ], "out" : "0x", "post" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { @@ -866,6 +998,50 @@ } } }, + "codecopy_DataIndexTooHigh" : { + "callcreates" : [ + ], + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "256", + "currentGasLimit" : "1000000", + "currentNumber" : "0", + "currentTimestamp" : "1", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "code" : "0x60087ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa600039600051600055", + "data" : "0x01234567890abcdef01234567890abcdef", + "gas" : "100000000000", + "gasPrice" : "1000000000", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000" + }, + "gas" : "99999999891", + "logs" : [ + ], + "out" : "0x", + "post" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000", + "code" : "0x60087ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa600039600051600055", + "nonce" : "0", + "storage" : { + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000", + "code" : "0x60087ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa600039600051600055", + "nonce" : "0", + "storage" : { + } + } + } + }, "codesize" : { "callcreates" : [ ], @@ -888,8 +1064,8 @@ "value" : "1000000000000000000" }, "gas" : "99999999698", - "logs" : { - }, + "logs" : [ + ], "out" : "0x", "post" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { @@ -933,8 +1109,8 @@ "value" : "1000000000000000000" }, "gas" : "99999999689", - "logs" : { - }, + "logs" : [ + ], "out" : "0x", "post" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { @@ -970,6 +1146,50 @@ } } }, + "extcodecopy_DataIndexTooHigh" : { + "callcreates" : [ + ], + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "256", + "currentGasLimit" : "1000000", + "currentNumber" : "0", + "currentTimestamp" : "1", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "code" : "0x60087ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6000303c600051600055", + "data" : "0x01234567890abcdef01234567890abcdef", + "gas" : "100000000000", + "gasPrice" : "1000000000", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000" + }, + "gas" : "99999999890", + "logs" : [ + ], + "out" : "0x", + "post" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000", + "code" : "0x60087ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6000303c600051600055", + "nonce" : "0", + "storage" : { + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000", + "code" : "0x60087ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6000303c600051600055", + "nonce" : "0", + "storage" : { + } + } + } + }, "extcodesize0" : { "callcreates" : [ ], @@ -992,8 +1212,8 @@ "value" : "1000000000000000000" }, "gas" : "99999999695", - "logs" : { - }, + "logs" : [ + ], "out" : "0x", "post" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { @@ -1051,8 +1271,8 @@ "value" : "1000000000000000000" }, "gas" : "99999999697", - "logs" : { - }, + "logs" : [ + ], "out" : "0x", "post" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { @@ -1110,8 +1330,8 @@ "value" : "1000000000000000000" }, "gas" : "99999999698", - "logs" : { - }, + "logs" : [ + ], "out" : "0x", "post" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { @@ -1155,8 +1375,8 @@ "value" : "1000000000000000000" }, "gas" : "99999999698", - "logs" : { - }, + "logs" : [ + ], "out" : "0x", "post" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { |