From 067657e089d32b8b0bfb3dad364120cb925ca33a Mon Sep 17 00:00:00 2001 From: Yoichi Hirai Date: Thu, 7 Sep 2017 22:46:48 +0200 Subject: Fill more tests --- .../bcUncleTest/oneUncleGeneration2Filler.json | 16 +++++++++++++++- .../bcUncleTest/oneUncleGeneration3Filler.json | 16 +++++++++++++++- .../bcUncleTest/oneUncleGeneration5Filler.json | 16 +++++++++++++++- .../bcUncleTest/oneUncleGeneration6Filler.json | 2 +- .../bcUncleTest/uncleHeaderAtBlock2ByzantiumFiller.json | 3 +-- 5 files changed, 47 insertions(+), 6 deletions(-) (limited to 'src/BlockchainTestsFiller/bcUncleTest') diff --git a/src/BlockchainTestsFiller/bcUncleTest/oneUncleGeneration2Filler.json b/src/BlockchainTestsFiller/bcUncleTest/oneUncleGeneration2Filler.json index e52774868..78fc8bc9a 100644 --- a/src/BlockchainTestsFiller/bcUncleTest/oneUncleGeneration2Filler.json +++ b/src/BlockchainTestsFiller/bcUncleTest/oneUncleGeneration2Filler.json @@ -19,7 +19,7 @@ }, "expect" : [ { - "network" : ["ALL"], + "network" : ["Frontier", "Homestead", "EIP150", "EIP158"], "result" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "40" @@ -31,6 +31,20 @@ "balance" : "3750000000000000000" } } + }, + { + "network" : ["Byzantium", "Constantinople"], + "result" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "40" + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "4" + }, + "bcde5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "2250000000000000000" + } + } } ], "pre" : { diff --git a/src/BlockchainTestsFiller/bcUncleTest/oneUncleGeneration3Filler.json b/src/BlockchainTestsFiller/bcUncleTest/oneUncleGeneration3Filler.json index 22df1847f..5270d463a 100644 --- a/src/BlockchainTestsFiller/bcUncleTest/oneUncleGeneration3Filler.json +++ b/src/BlockchainTestsFiller/bcUncleTest/oneUncleGeneration3Filler.json @@ -19,7 +19,7 @@ }, "expect" : [ { - "network" : ["ALL"], + "network" : ["Homestead", "Frontier", "EIP150", "EIP158"], "result" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "50" @@ -31,6 +31,20 @@ "balance" : "3125000000000000000" } } + }, + { + "network" : ["Byzantium", "Constantinople"], + "result" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "50" + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "5" + }, + "bcde5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1875000000000000000" + } + } } ], "pre" : { diff --git a/src/BlockchainTestsFiller/bcUncleTest/oneUncleGeneration5Filler.json b/src/BlockchainTestsFiller/bcUncleTest/oneUncleGeneration5Filler.json index 9ef80682f..a8531701a 100644 --- a/src/BlockchainTestsFiller/bcUncleTest/oneUncleGeneration5Filler.json +++ b/src/BlockchainTestsFiller/bcUncleTest/oneUncleGeneration5Filler.json @@ -19,7 +19,7 @@ }, "expect" : [ { - "network" : ["ALL"], + "network" : ["Frontier", "Homestead", "EIP150", "EIP158"], "result" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "70" @@ -31,6 +31,20 @@ "balance" : "1875000000000000000" } } + }, + { + "network" : ["Byzantium", "Constantinople"], + "result" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "70" + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "7" + }, + "bcde5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1125000000000000000" + } + } } ], "pre" : { diff --git a/src/BlockchainTestsFiller/bcUncleTest/oneUncleGeneration6Filler.json b/src/BlockchainTestsFiller/bcUncleTest/oneUncleGeneration6Filler.json index c2adb4705..f93ea5ace 100644 --- a/src/BlockchainTestsFiller/bcUncleTest/oneUncleGeneration6Filler.json +++ b/src/BlockchainTestsFiller/bcUncleTest/oneUncleGeneration6Filler.json @@ -19,7 +19,7 @@ }, "expect" : [ { - "network" : ["ALL"], + "network" : ["Frontier", "Homestead", "EIP150", "EIP158"], "result" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "80" diff --git a/src/BlockchainTestsFiller/bcUncleTest/uncleHeaderAtBlock2ByzantiumFiller.json b/src/BlockchainTestsFiller/bcUncleTest/uncleHeaderAtBlock2ByzantiumFiller.json index 30f094e7b..bab8d8506 100644 --- a/src/BlockchainTestsFiller/bcUncleTest/uncleHeaderAtBlock2ByzantiumFiller.json +++ b/src/BlockchainTestsFiller/bcUncleTest/uncleHeaderAtBlock2ByzantiumFiller.json @@ -19,7 +19,7 @@ }, "expect" : [ { - "network" : ["Frontier", "Homestead", "EIP150", "EIP158", "Constantinople"], + "network" : ["Frontier", "Homestead", "EIP150", "EIP158"], "result" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "10" @@ -59,7 +59,6 @@ "expectExceptionHomestead" : "InvalidStateRoot", "expectExceptionEIP150" : "InvalidStateRoot", "expectExceptionEIP158" : "InvalidStateRoot", - "expectExceptionConstantinople" : "InvalidStateRoot", "blockHeader" : { "stateRoot" : "e1aff725a27c18dbb8d70c2d0e049511dabba2f595c20f7c67ad4026d6275f88", "updatePoW" : "1" -- cgit