From 5a692ba4f6097b34c7c1ae85b6e06748ae2e06c7 Mon Sep 17 00:00:00 2001 From: Gustav Simonsson Date: Mon, 1 Jun 2015 22:34:44 +0200 Subject: Update Ethereum JSON test files --- tests/files/StateTests/stBlockHashTest.json | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'tests/files/StateTests/stBlockHashTest.json') diff --git a/tests/files/StateTests/stBlockHashTest.json b/tests/files/StateTests/stBlockHashTest.json index dd018b65b..bc02e9002 100644 --- a/tests/files/StateTests/stBlockHashTest.json +++ b/tests/files/StateTests/stBlockHashTest.json @@ -142,21 +142,28 @@ "out" : "0x", "post" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "0x0de0b6b3a7640000", + "balance" : "0x0de0b6b3a764000a", "code" : "0x600040600055610101406001557fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff40600255", "nonce" : "0x00", "storage" : { } }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0f4240", + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x8cee", "code" : "0x", "nonce" : "0x00", "storage" : { } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x3a3218", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } } }, - "postStateRoot" : "06288380a8085485ac48f0b726c86f3e6253946ba969ed0d9e1a0f34d0133b81", + "postStateRoot" : "2a12af36bb359a981bcefc9256eb5fbed4acad1c27be59c2f726b547dfafec2a", "pre" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "0x0de0b6b3a7640000", @@ -166,7 +173,7 @@ } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0f4240", + "balance" : "0x3abf10", "code" : "0x", "nonce" : "0x00", "storage" : { -- cgit v1.2.3 From e885a2912b427866f683f00853a619e76df7a8ce Mon Sep 17 00:00:00 2001 From: Gustav Simonsson Date: Tue, 9 Jun 2015 15:39:24 +0200 Subject: Update Ethereum JSON test files --- tests/files/StateTests/stBlockHashTest.json | 62 +++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) (limited to 'tests/files/StateTests/stBlockHashTest.json') diff --git a/tests/files/StateTests/stBlockHashTest.json b/tests/files/StateTests/stBlockHashTest.json index bc02e9002..1eb7194c5 100644 --- a/tests/files/StateTests/stBlockHashTest.json +++ b/tests/files/StateTests/stBlockHashTest.json @@ -63,6 +63,68 @@ "value" : "0x0a" } }, + "blockhashDOS-sec71" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x0100", + "currentGasLimit" : "0x05f5e100", + "currentNumber" : "0x0101", + "currentTimestamp" : "0x01", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "logs" : [ + ], + "out" : "0x", + "post" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x61010043035b804050600556", + "nonce" : "0x00", + "storage" : { + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x0b71b0", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x3b8f5850", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } + }, + "postStateRoot" : "deaeedc934ff97651b5b893c572275be72fd13816372259a11adc8f96dcbec51", + "pre" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x61010043035b804050600556", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x3b9aca00", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : "", + "gasLimit" : "0x0b71b0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0x0a" + } + }, "blockhashInRange" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", -- cgit v1.2.3