From 936a8c0e3b4a051d83051b091b34ae13c28a76a5 Mon Sep 17 00:00:00 2001 From: CJentzsch Date: Wed, 4 Feb 2015 16:21:06 +0100 Subject: [PATCH] python fail --- StateTests/stSystemOperationsTest.json | 76 +++++++++++++++++++++ VMTests/RandomTests/201502041616PYTHON.json | 52 ++++++++++++++ VMTests/RandomTests/201502041617PYTHON.json | 52 ++++++++++++++ 3 files changed, 180 insertions(+) create mode 100644 VMTests/RandomTests/201502041616PYTHON.json create mode 100644 VMTests/RandomTests/201502041617PYTHON.json diff --git a/StateTests/stSystemOperationsTest.json b/StateTests/stSystemOperationsTest.json index d519d375d..53149d0e3 100644 --- a/StateTests/stSystemOperationsTest.json +++ b/StateTests/stSystemOperationsTest.json @@ -7213,5 +7213,81 @@ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", "value" : "100000" } + }, + "testVMtest" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "115792089237316195423570985008687907853269984665640564039457584007913129639935", + "currentGasLimit" : "1000000", + "currentNumber" : "300", + "currentTimestamp" : "2", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "logs" : [ + ], + "out" : "0x", + "post" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000090628", + "code" : "0x424443444243434383f0155af055", + "nonce" : "2", + "storage" : { + "0xebcce5f60530275ee9318ce1eff9e4bfee810172" : "0x02" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "1030", + "code" : "0x", + "nonce" : "0", + "storage" : { + } + }, + "945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "balance" : "2", + "code" : "0x", + "nonce" : "0", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "999999999999898970", + "code" : "0x", + "nonce" : "1", + "storage" : { + } + }, + "ebcce5f60530275ee9318ce1eff9e4bfee810172" : { + "balance" : "9370", + "code" : "0x", + "nonce" : "0", + "storage" : { + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000", + "code" : "0x424443444243434383f0155af055", + "nonce" : "0", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000000000", + "code" : "0x", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : "", + "gasLimit" : "10000", + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "value" : "100000" + } } } \ No newline at end of file diff --git a/VMTests/RandomTests/201502041616PYTHON.json b/VMTests/RandomTests/201502041616PYTHON.json new file mode 100644 index 000000000..b5c82bbf6 --- /dev/null +++ b/VMTests/RandomTests/201502041616PYTHON.json @@ -0,0 +1,52 @@ +{ + "randomVMtest" : { + "callcreates" : [ + { + "data" : "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "destination" : "", + "gasLimit" : "9879", + "value" : "64" + } + ], + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "115792089237316195423570985008687907853269984665640564039457584007913129639935", + "currentGasLimit" : "1000000", + "currentNumber" : "300", + "currentTimestamp" : "2", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "code" : "0x434140454545434050070bf0", + "data" : "0x", + "gas" : "10000", + "gasPrice" : "100000000000000", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000" + }, + "gas" : "9879", + "logs" : [ + ], + "out" : "0x", + "post" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "999999999999999936", + "code" : "0x434140454545434050070bf0", + "nonce" : "1", + "storage" : { + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000", + "code" : "0x434140454545434050070bf0", + "nonce" : "0", + "storage" : { + } + } + } + } +} diff --git a/VMTests/RandomTests/201502041617PYTHON.json b/VMTests/RandomTests/201502041617PYTHON.json new file mode 100644 index 000000000..85427411b --- /dev/null +++ b/VMTests/RandomTests/201502041617PYTHON.json @@ -0,0 +1,52 @@ +{ + "randomVMtest" : { + "callcreates" : [ + { + "data" : "0x", + "destination" : "", + "gasLimit" : "9891", + "value" : "300" + } + ], + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "115792089237316195423570985008687907853269984665640564039457584007913129639935", + "currentGasLimit" : "1000000", + "currentNumber" : "300", + "currentTimestamp" : "2", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "code" : "0x444442434245404091f073533855", + "data" : "0x", + "gas" : "10000", + "gasPrice" : "100000000000000", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000" + }, + "gas" : "9890", + "logs" : [ + ], + "out" : "0x", + "post" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "999999999999999700", + "code" : "0x444442434245404091f073533855", + "nonce" : "1", + "storage" : { + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000", + "code" : "0x444442434245404091f073533855", + "nonce" : "0", + "storage" : { + } + } + } + } +}