aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files/vmtests/vmtests.json
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-10-19 05:31:10 +0800
committerobscuren <geffobscura@gmail.com>2014-10-19 05:31:10 +0800
commit33ca8d7b8f3d4db4b01890e39fa806766fbe8f84 (patch)
tree13fddb14b28e5cf5fe89a16721f22a1eeb850658 /tests/files/vmtests/vmtests.json
parent3ad1daa70d09e0fc32347029b98166a51e9078c4 (diff)
downloaddexon-33ca8d7b8f3d4db4b01890e39fa806766fbe8f84.tar.gz
dexon-33ca8d7b8f3d4db4b01890e39fa806766fbe8f84.tar.zst
dexon-33ca8d7b8f3d4db4b01890e39fa806766fbe8f84.zip
moved
Diffstat (limited to 'tests/files/vmtests/vmtests.json')
-rw-r--r--tests/files/vmtests/vmtests.json206
1 files changed, 206 insertions, 0 deletions
diff --git a/tests/files/vmtests/vmtests.json b/tests/files/vmtests/vmtests.json
new file mode 100644
index 000000000..a8803992e
--- /dev/null
+++ b/tests/files/vmtests/vmtests.json
@@ -0,0 +1,206 @@
+{
+ "arith" : {
+ "callcreates" : [
+ {
+ "data" : "0x",
+ "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "gasLimit" : "9770",
+ "value" : "74"
+ }
+ ],
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "256",
+ "currentGasLimit" : "1000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : "1",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x600060006000600060026002600803036002600306600260020460046004600402026002600201010101013360c85c03f1",
+ "data" : "0x",
+ "gas" : "10000",
+ "gasPrice" : "100000000000000",
+ "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "1000000000000000000"
+ },
+ "gas" : "9949",
+ "out" : "0x",
+ "post" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "999999999999999926",
+ "code" : "0x600060006000600060026002600803036002600306600260020460046004600402026002600201010101013360c85c03f1",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x600060006000600060026002600803036002600306600260020460046004600402026002600201010101013360c85c03f1",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ },
+ "boolean" : {
+ "callcreates" : [
+ {
+ "data" : "0x",
+ "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "gasLimit" : "9786",
+ "value" : "2"
+ },
+ {
+ "data" : "0x",
+ "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "gasLimit" : "9731",
+ "value" : "12"
+ },
+ {
+ "data" : "0x",
+ "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "gasLimit" : "9694",
+ "value" : "13"
+ },
+ {
+ "data" : "0x",
+ "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "gasLimit" : "9657",
+ "value" : "14"
+ }
+ ],
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "256",
+ "currentGasLimit" : "1000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : "1",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60016001100f601b59600060006000600060023360c85c03f1505d60006001100f603659600060006000600060033360c85c03f1505d60016000100f605159600060006000600060043360c85c03f1505d60006000100f606c59600060006000600060053360c85c03f1505d60016001110f6087596000600060006000600c3360c85c03f1505d60006001110f60a2596000600060006000600d3360c85c03f1505d60016000110f60bd596000600060006000600e3360c85c03f1505d60006000110f60d8596000600060006000600f3360c85c03f1505d",
+ "data" : "0x",
+ "gas" : "10000",
+ "gasPrice" : "100000000000000",
+ "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "1000000000000000000"
+ },
+ "gas" : "9828",
+ "out" : "0x",
+ "post" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "999999999999999959",
+ "code" : "0x60016001100f601b59600060006000600060023360c85c03f1505d60006001100f603659600060006000600060033360c85c03f1505d60016000100f605159600060006000600060043360c85c03f1505d60006000100f606c59600060006000600060053360c85c03f1505d60016001110f6087596000600060006000600c3360c85c03f1505d60006001110f60a2596000600060006000600d3360c85c03f1505d60016000110f60bd596000600060006000600e3360c85c03f1505d60006000110f60d8596000600060006000600f3360c85c03f1505d",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x60016001100f601b59600060006000600060023360c85c03f1505d60006001100f603659600060006000600060033360c85c03f1505d60016000100f605159600060006000600060043360c85c03f1505d60006000100f606c59600060006000600060053360c85c03f1505d60016001110f6087596000600060006000600c3360c85c03f1505d60006001110f60a2596000600060006000600d3360c85c03f1505d60016000110f60bd596000600060006000600e3360c85c03f1505d60006000110f60d8596000600060006000600f3360c85c03f1505d",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ },
+ "mktx" : {
+ "callcreates" : [
+ {
+ "data" : "0x",
+ "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "gasLimit" : "9792",
+ "value" : "500000000000000000"
+ }
+ ],
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "256",
+ "currentGasLimit" : "1000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : "1",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60006000600060006706f05b59d3b200003360c85c03f1",
+ "data" : "0x",
+ "gas" : "10000",
+ "gasPrice" : "100000000000000",
+ "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "1000000000000000000"
+ },
+ "gas" : "9971",
+ "out" : "0x",
+ "post" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "500000000000000000",
+ "code" : "0x60006000600060006706f05b59d3b200003360c85c03f1",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x60006000600060006706f05b59d3b200003360c85c03f1",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ },
+ "suicide" : {
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "256",
+ "currentGasLimit" : "1000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : "1",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x33ff",
+ "data" : "0x",
+ "gas" : "10000",
+ "gasPrice" : "100000000000000",
+ "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "1000000000000000000"
+ },
+ "gas" : "9999",
+ "out" : "0x",
+ "post" : {
+ "cd1722f3947def4cf144679da39c4c32bdc35681" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x33ff",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ }
+} \ No newline at end of file