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 --- .../futureUncleTimestampDifficultyDrop2Filler.json | 3 +-- .../bcUncleHeaderValiditiy/uncleBloomNot0_2Filler.json | 3 +-- .../bcUncleTest/oneUncleGeneration2Filler.json | 16 +++++++++++++++- .../bcUncleTest/oneUncleGeneration3Filler.json | 16 +++++++++++++++- .../bcUncleTest/oneUncleGeneration5Filler.json | 16 +++++++++++++++- .../bcUncleTest/oneUncleGeneration6Filler.json | 2 +- .../bcUncleTest/uncleHeaderAtBlock2ByzantiumFiller.json | 3 +-- 7 files changed, 49 insertions(+), 10 deletions(-) (limited to 'src') diff --git a/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/futureUncleTimestampDifficultyDrop2Filler.json b/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/futureUncleTimestampDifficultyDrop2Filler.json index 9e9e49376..8136b378d 100644 --- a/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/futureUncleTimestampDifficultyDrop2Filler.json +++ b/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/futureUncleTimestampDifficultyDrop2Filler.json @@ -19,7 +19,7 @@ }, "expect" : [ { - "network" : ["Frontier", "Homestead", "EIP150", "EIP158", "Constantinople"], + "network" : ["Frontier", "Homestead", "EIP150", "EIP158"], "result" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "20" @@ -76,7 +76,6 @@ "expectExceptionHomestead" : "InvalidStateRoot", "expectExceptionEIP150" : "InvalidStateRoot", "expectExceptionEIP158" : "InvalidStateRoot", - "expectExceptionConstantinople" : "InvalidStateRoot", "blocknumber" : "3", "blockHeader" : { "stateRoot" : "aa4b1943360f5a0ea3b1a2a1d661de5b6d773eb371bd84b319837d96ffc7b630", diff --git a/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/uncleBloomNot0_2Filler.json b/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/uncleBloomNot0_2Filler.json index 0e7c2b566..208de19cc 100644 --- a/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/uncleBloomNot0_2Filler.json +++ b/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/uncleBloomNot0_2Filler.json @@ -19,7 +19,7 @@ }, "expect" : [ { - "network" : ["Frontier", "Homestead", "EIP150", "EIP158", "Constantinople"], + "network" : ["Frontier", "Homestead", "EIP150", "EIP158"], "result" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "20" @@ -76,7 +76,6 @@ "expectExceptionHomestead" : "InvalidStateRoot", "expectExceptionEIP150" : "InvalidStateRoot", "expectExceptionEIP158" : "InvalidStateRoot", - "expectExceptionConstantinople" : "InvalidStateRoot", "blocknumber" : "3", "blockHeader" : { "stateRoot" : "aa4b1943360f5a0ea3b1a2a1d661de5b6d773eb371bd84b319837d96ffc7b630", 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 v1.2.3