From 0de110ef433864c0e7c8a258dcc9706993b4934f Mon Sep 17 00:00:00 2001 From: Dimitry Date: Fri, 4 Aug 2017 16:45:59 +0300 Subject: blockhash test on Byzantine transition --- .../ByzantiumTransitionFiller.json | 23 ++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/BlockchainTestsFiller/TransitionTests/bcEIP158ToByzantium/ByzantiumTransitionFiller.json b/src/BlockchainTestsFiller/TransitionTests/bcEIP158ToByzantium/ByzantiumTransitionFiller.json index 013612594..61e0400f4 100644 --- a/src/BlockchainTestsFiller/TransitionTests/bcEIP158ToByzantium/ByzantiumTransitionFiller.json +++ b/src/BlockchainTestsFiller/TransitionTests/bcEIP158ToByzantium/ByzantiumTransitionFiller.json @@ -20,7 +20,10 @@ "network" : "EIP158ToByzantiumAt5", "expect" : { "1000000000000000000000000000000000000001" : { - "balance" : "2" + "balance" : "1" + }, + "1000000000000000000000000000000000000002" : { + "balance" : "1" } }, "pre" : { @@ -30,6 +33,18 @@ "nonce" : "0", "code" : "", "storage": {} + }, + "1000000000000000000000000000000000000001" : { + "balance" : "0", + "nonce" : "0", + "code" : "{ [[ 0 ]] (BLOCKHASH 0) [[ 1 ]] (BLOCKHASH 1) [[ 2 ]] (BLOCKHASH 2) [[ 3 ]] (BLOCKHASH 3) [[ 4 ]] (BLOCKHASH 4) [[ 5 ]] (BLOCKHASH 5) [[ 6 ]] (BLOCKHASH 6) [[ 7 ]] (BLOCKHASH 7) [[ 8 ]] (BLOCKHASH 8) [[ 9 ]] (BLOCKHASH 9) [[ 10 ]] (BLOCKHASH 10)}", + "storage": {} + }, + "1000000000000000000000000000000000000002" : { + "balance" : "0", + "nonce" : "0", + "code" : "{ [[ 0 ]] (BLOCKHASH 0) [[ 1 ]] (BLOCKHASH 1) [[ 2 ]] (BLOCKHASH 2) [[ 3 ]] (BLOCKHASH 3) [[ 4 ]] (BLOCKHASH 4) [[ 5 ]] (BLOCKHASH 5) [[ 6 ]] (BLOCKHASH 6) [[ 7 ]] (BLOCKHASH 7) [[ 8 ]] (BLOCKHASH 8) [[ 9 ]] (BLOCKHASH 9) [[ 10 ]] (BLOCKHASH 10)}", + "storage": {} } }, "blocks" : [ @@ -87,7 +102,7 @@ "transactions" : [ { "data" : "", - "gasLimit" : "60000", + "gasLimit" : "600000", "gasPrice" : "1", "nonce" : "0", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", @@ -107,11 +122,11 @@ "transactions" : [ { "data" : "", - "gasLimit" : "60000", + "gasLimit" : "600000", "gasPrice" : "1", "nonce" : "1", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "1000000000000000000000000000000000000001", + "to" : "1000000000000000000000000000000000000002", "value" : "1" } ], -- cgit v1.2.3