aboutsummaryrefslogtreecommitdiffstats
path: root/src/BlockchainTestsFiller/bcUncleTest
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2017-08-21 19:12:16 +0800
committerYoichi Hirai <i@yoichihirai.com>2017-08-22 19:07:44 +0800
commit86b524caadbfe7e5bbf139f8d9f2473b531710b0 (patch)
treeada77ceec002aa59d839f70767814d20097fcc45 /src/BlockchainTestsFiller/bcUncleTest
parent6685d4215a48e946b319e9de0b437728d52bd529 (diff)
downloaddexon-tests-86b524caadbfe7e5bbf139f8d9f2473b531710b0.tar.gz
dexon-tests-86b524caadbfe7e5bbf139f8d9f2473b531710b0.tar.zst
dexon-tests-86b524caadbfe7e5bbf139f8d9f2473b531710b0.zip
Fill in more tests
Diffstat (limited to 'src/BlockchainTestsFiller/bcUncleTest')
-rw-r--r--src/BlockchainTestsFiller/bcUncleTest/uncleHeaderAtBlock2Filler.json5
-rw-r--r--src/BlockchainTestsFiller/bcUncleTest/uncleHeaderAtBlock2MetropolisFiller.json14
2 files changed, 5 insertions, 14 deletions
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"