From 36e862c989776ae2d259554e78b3782bd73b1d8e Mon Sep 17 00:00:00 2001 From: CJentzsch Date: Tue, 24 Feb 2015 22:48:19 +0100 Subject: add Pawels tests --- VMTests/vmEnvironmentalInfoTest.json | 49 ++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) (limited to 'VMTests/vmEnvironmentalInfoTest.json') diff --git a/VMTests/vmEnvironmentalInfoTest.json b/VMTests/vmEnvironmentalInfoTest.json index 95e0afb0a..370f33dca 100644 --- a/VMTests/vmEnvironmentalInfoTest.json +++ b/VMTests/vmEnvironmentalInfoTest.json @@ -1373,6 +1373,55 @@ } } }, + "env1" : { + "callcreates" : [ + { + "data" : "0x1111222233334444555566667777888899990000aaaabbbbccccddddeeeeffff", + "destination" : "", + "gasLimit" : "99999999852", + "value" : "0" + }, + { + "data" : "0x1111222233334444555566667777888899990000aaaabbbbccccddddeeeeffff", + "destination" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "gasLimit" : "3000", + "value" : "0" + } + ], + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "231883281", + "currentGasLimit" : "10000013", + "currentNumber" : "5211", + "currentTimestamp" : "42", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "code" : "0x583031333234363a608041424344455836600035602635601335387f1111222233334444555566667777888899990000aaaabbbbccccddddeeeeffff600052602060006000f06020600060206000600030610bb8f1600051611000525960200260002030ff60016002f3", + "data" : "0xdeadbeef", + "gas" : "100000000001", + "gasPrice" : "2015", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "10000000001111111" + }, + "gas" : "99999954399", + "logs" : [ + ], + "out" : "0x", + "post" : { + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "10000000000000033000", + "code" : "0x583031333234363a608041424344455836600035602635601335387f1111222233334444555566667777888899990000aaaabbbbccccddddeeeeffff600052602060006000f06020600060206000600030610bb8f1600051611000525960200260002030ff60016002f3", + "nonce" : "88", + "storage" : { + } + } + } + }, "extcodecopy0" : { "callcreates" : [ ], -- cgit