From 86b524caadbfe7e5bbf139f8d9f2473b531710b0 Mon Sep 17 00:00:00 2001 From: Yoichi Hirai Date: Mon, 21 Aug 2017 13:12:16 +0200 Subject: Fill in more tests --- .../bcUncleTest/uncleHeaderAtBlock2Filler.json | 5 +++-- .../bcUncleTest/uncleHeaderAtBlock2MetropolisFiller.json | 14 ++------------ 2 files changed, 5 insertions(+), 14 deletions(-) (limited to 'src/BlockchainTestsFiller/bcUncleTest') diff --git a/src/BlockchainTestsFiller/bcUncleTest/uncleHeaderAtBlock2Filler.json b/src/BlockchainTestsFiller/bcUncleTest/uncleHeaderAtBlock2Filler.json index 209cf7dc1..7fe1ec8b9 100644 --- a/src/BlockchainTestsFiller/bcUncleTest/uncleHeaderAtBlock2Filler.json +++ b/src/BlockchainTestsFiller/bcUncleTest/uncleHeaderAtBlock2Filler.json @@ -19,7 +19,7 @@ }, "expect" : [ { - "network" : ["Frontier", "Homestead", "EIP150", "EIP158", "Byzantium"], + "network" : ["Frontier", "Homestead", "EIP150", "EIP158"], "result" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "20" @@ -30,7 +30,7 @@ } }, { - "network" : ["Constantinople"], + "network" : ["Byzantium", "Constantinople"], "result" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "10" @@ -66,6 +66,7 @@ ] }, { + "expectExceptionByzantium" : "InvalidStateRoot", "expectExceptionConstantinople" : "InvalidStateRoot", "blockHeader" : { "stateRoot" : "6ff22555fde6fe93e5b412a8691287a5be5708246adfd0c599604849925fcc34", diff --git a/src/BlockchainTestsFiller/bcUncleTest/uncleHeaderAtBlock2MetropolisFiller.json b/src/BlockchainTestsFiller/bcUncleTest/uncleHeaderAtBlock2MetropolisFiller.json index 1246d6298..a712a4d8f 100644 --- a/src/BlockchainTestsFiller/bcUncleTest/uncleHeaderAtBlock2MetropolisFiller.json +++ b/src/BlockchainTestsFiller/bcUncleTest/uncleHeaderAtBlock2MetropolisFiller.json @@ -19,7 +19,7 @@ }, "expect" : [ { - "network" : ["Frontier", "Homestead", "EIP150", "EIP158", "Byzantium"], + "network" : ["Frontier", "Homestead", "EIP150", "EIP158", "Byzantium", "Constantinople"], "result" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "10" @@ -28,17 +28,6 @@ "nonce" : "1" } } - }, - { - "network" : ["Constantinople"], - "result" : { - "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "20" - }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "nonce" : "2" - } - } } ], "pre" : { @@ -71,6 +60,7 @@ "expectExceptionEIP150" : "InvalidStateRoot", "expectExceptionEIP158" : "InvalidStateRoot", "expectExceptionByzantium" : "InvalidStateRoot", + "expectExceptionConstantinople" : "InvalidStateRoot", "blockHeader" : { "stateRoot" : "187f42cfebad21c551446195f12bfae8e95b3005a18d9ad2668f9c1f729b2662", "updatePoW" : "1" -- cgit