From a0008c3508058e904453c7f15ea2f6c7d53e4cd7 Mon Sep 17 00:00:00 2001 From: CJentzsch Date: Sat, 10 Jan 2015 23:51:54 +0100 Subject: [PATCH] correct CREATE with zero sized init code --- StateTests/stSystemOperationsTest.json | 48 +++++++++++++++++++------- 1 file changed, 36 insertions(+), 12 deletions(-) diff --git a/StateTests/stSystemOperationsTest.json b/StateTests/stSystemOperationsTest.json index 4989c10f94..d519d375d1 100644 --- a/StateTests/stSystemOperationsTest.json +++ b/StateTests/stSystemOperationsTest.json @@ -6384,25 +6384,33 @@ "out" : "0x", "post" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "1000000000000100000", + "balance" : "1000000000000099977", "code" : "0x7c601080600c6000396000f3006000355415600957005b60203560003555600052600060036017f0600055", - "nonce" : "0", + "nonce" : "1", "storage" : { + "0x" : "0xd2571607e241ecf590ed94b12d87c94babe36db6" } }, "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "10000", + "balance" : "908", "code" : "0x", "nonce" : "0", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "999999999999890000", + "balance" : "999999999999899092", "code" : "0x", "nonce" : "1", "storage" : { } + }, + "d2571607e241ecf590ed94b12d87c94babe36db6" : { + "balance" : "23", + "code" : "0x", + "nonce" : "0", + "storage" : { + } } }, "pre" : { @@ -6445,25 +6453,33 @@ "out" : "0x", "post" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "1000000000000100000", + "balance" : "1000000000000099977", "code" : "0x7c601080600c6000396000f3006000355415600957005b6020356000355560005260007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6017f0600055", - "nonce" : "0", + "nonce" : "1", "storage" : { + "0x" : "0xd2571607e241ecf590ed94b12d87c94babe36db6" } }, "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "10000", + "balance" : "908", "code" : "0x", "nonce" : "0", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "999999999999890000", + "balance" : "999999999999899092", "code" : "0x", "nonce" : "1", "storage" : { } + }, + "d2571607e241ecf590ed94b12d87c94babe36db6" : { + "balance" : "23", + "code" : "0x", + "nonce" : "0", + "storage" : { + } } }, "pre" : { @@ -6506,25 +6522,33 @@ "out" : "0x", "post" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "1000000000000100000", + "balance" : "1000000000000099977", "code" : "0x7c601080600c6000396000f3006000355415600957005b60203560003555600052600060006017f0600055", - "nonce" : "0", + "nonce" : "1", "storage" : { + "0x" : "0xd2571607e241ecf590ed94b12d87c94babe36db6" } }, "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "10000", + "balance" : "908", "code" : "0x", "nonce" : "0", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "999999999999890000", + "balance" : "999999999999899092", "code" : "0x", "nonce" : "1", "storage" : { } + }, + "d2571607e241ecf590ed94b12d87c94babe36db6" : { + "balance" : "23", + "code" : "0x", + "nonce" : "0", + "storage" : { + } } }, "pre" : {