From 2b6da2f5f21b60ebca44a5866888b00f736f92b2 Mon Sep 17 00:00:00 2001 From: romanman Date: Thu, 3 Jul 2014 17:45:04 +0100 Subject: [PATCH 1/2] Update vmtests.json arith testcase updated --- vmtests.json | 105 +-------------------------------------------------- 1 file changed, 2 insertions(+), 103 deletions(-) diff --git a/vmtests.json b/vmtests.json index e7e4f19826e8..d3618b90e87e 100644 --- a/vmtests.json +++ b/vmtests.json @@ -1,106 +1,5 @@ { - "arith" : { - "callcreates" : [ - { - "data" : [ - ], - "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681", - "gasLimit" : 9792, - "value" : 74 - } - ], - "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "256", - "currentGasLimit" : "1000000", - "currentNumber" : "0", - "currentTimestamp" : 1, - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" - }, - "exec" : { - "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", - "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", - "code" : [ - 96, - 0, - 96, - 0, - 96, - 0, - 96, - 0, - 96, - 74, - 51, - 96, - 200, - 92, - 3, - 241 - ], - "data" : [ - ], - "gas" : 10000, - "gasPrice" : 100000000000000, - "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", - "value" : 1000000000000000000 - }, - "gas" : 9971, - "out" : [ - ], - "post" : { - "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { - "balance" : 999999999999999926, - "code" : [ - 96, - 0, - 96, - 0, - 96, - 0, - 96, - 0, - 96, - 74, - 51, - 96, - 200, - 92, - 3, - 241 - ], - "nonce" : 0, - "storage" : { - } - } - }, - "pre" : { - "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { - "balance" : 1000000000000000000, - "code" : [ - 96, - 0, - 96, - 0, - 96, - 0, - 96, - 0, - 96, - 74, - 51, - 96, - 200, - 92, - 3, - 241 - ], - "nonce" : 0, - "storage" : { - } - } - } - }, + "arith" : {"callcreates":[{"data":[],"destination":"cd1722f3947def4cf144679da39c4c32bdc35681","gasLimit":200,"value":74}],"env":{"currentCoinbase":"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba","currentDifficulty":"256","currentGasLimit":"1000000","currentNumber":"0","currentTimestamp":1,"previousHash":"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"},"exec":{"address":"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6","caller":"cd1722f3947def4cf144679da39c4c32bdc35681","code":["0x6000600060006000604a3360c8f1"],"data":[],"gas":10000,"gasPrice":100000000000000,"origin":"cd1722f3947def4cf144679da39c4c32bdc35681","value":1000000000000000000},"gas":9773,"out":[],"post":{"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6":{"balance":999999999999999926,"code":[],"nonce":0,"storage":{}}},"pre":{"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6":{"balance":1000000000000000000,"code":[],"nonce":0,"storage":{}}}}, "boolean" : { "callcreates" : [ { @@ -974,4 +873,4 @@ } } } -} \ No newline at end of file +} From 5e0123fbe1573dcf8157995f3ef2f7ce625235a4 Mon Sep 17 00:00:00 2001 From: romanman Date: Fri, 4 Jul 2014 10:23:04 +0100 Subject: [PATCH 2/2] Update vmtests.json --- vmtests.json | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/vmtests.json b/vmtests.json index d3618b90e87e..3404f2ab805f 100644 --- a/vmtests.json +++ b/vmtests.json @@ -1,5 +1,29 @@ { - "arith" : {"callcreates":[{"data":[],"destination":"cd1722f3947def4cf144679da39c4c32bdc35681","gasLimit":200,"value":74}],"env":{"currentCoinbase":"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba","currentDifficulty":"256","currentGasLimit":"1000000","currentNumber":"0","currentTimestamp":1,"previousHash":"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"},"exec":{"address":"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6","caller":"cd1722f3947def4cf144679da39c4c32bdc35681","code":["0x6000600060006000604a3360c8f1"],"data":[],"gas":10000,"gasPrice":100000000000000,"origin":"cd1722f3947def4cf144679da39c4c32bdc35681","value":1000000000000000000},"gas":9773,"out":[],"post":{"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6":{"balance":999999999999999926,"code":[],"nonce":0,"storage":{}}},"pre":{"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6":{"balance":1000000000000000000,"code":[],"nonce":0,"storage":{}}}}, + "arith" : { + "callcreates":[ {"data":[],"destination":"cd1722f3947def4cf144679da39c4c32bdc35681","gasLimit":200,"value":74}], + "env" : {"currentCoinbase":"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty":"256", + "currentGasLimit":"1000000", + "currentNumber":"0", + "currentTimestamp":1, + "previousHash":"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "exec" : { "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "caller":"cd1722f3947def4cf144679da39c4c32bdc35681", + "code":["0x6000600060006000604a3360c8f1"], + "data":[], + "gas":10000, + "gasPrice":100000000000000, + "origin":"cd1722f3947def4cf144679da39c4c32bdc35681", + "value":1000000000000000000 + }, + "gas":9773, + "out":[], + "post":{ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6": + {"balance":999999999999999926,"code":[],"nonce":0,"storage":{}}}, + "pre":{"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6": + {"balance":1000000000000000000,"code":[],"nonce":0,"storage":{}}}}, + "boolean" : { "callcreates" : [ {