aboutsummaryrefslogtreecommitdiffstats
path: root/src
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
parent6685d4215a48e946b319e9de0b437728d52bd529 (diff)
downloaddexon-tests-86b524caadbfe7e5bbf139f8d9f2473b531710b0.tar
dexon-tests-86b524caadbfe7e5bbf139f8d9f2473b531710b0.tar.gz
dexon-tests-86b524caadbfe7e5bbf139f8d9f2473b531710b0.tar.bz2
dexon-tests-86b524caadbfe7e5bbf139f8d9f2473b531710b0.tar.lz
dexon-tests-86b524caadbfe7e5bbf139f8d9f2473b531710b0.tar.xz
dexon-tests-86b524caadbfe7e5bbf139f8d9f2473b531710b0.tar.zst
dexon-tests-86b524caadbfe7e5bbf139f8d9f2473b531710b0.zip
Fill in more tests
Diffstat (limited to 'src')
-rw-r--r--src/BlockchainTestsFiller/bcUncleHeaderValiditiy/futureUncleTimestamp2Filler.json5
-rw-r--r--src/BlockchainTestsFiller/bcUncleHeaderValiditiy/futureUncleTimestamp3Filler.json14
-rw-r--r--src/BlockchainTestsFiller/bcUncleHeaderValiditiy/futureUncleTimestampDifficultyDrop2Filler.json14
-rw-r--r--src/BlockchainTestsFiller/bcUncleHeaderValiditiy/futureUncleTimestampDifficultyDropFiller.json5
-rw-r--r--src/BlockchainTestsFiller/bcUncleHeaderValiditiy/uncleBloomNot0Filler.json5
-rw-r--r--src/BlockchainTestsFiller/bcUncleHeaderValiditiy/uncleBloomNot0_2Filler.json14
-rw-r--r--src/BlockchainTestsFiller/bcUncleTest/uncleHeaderAtBlock2Filler.json5
-rw-r--r--src/BlockchainTestsFiller/bcUncleTest/uncleHeaderAtBlock2MetropolisFiller.json14
8 files changed, 20 insertions, 56 deletions
diff --git a/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/futureUncleTimestamp2Filler.json b/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/futureUncleTimestamp2Filler.json
index 411345396..b64e162c5 100644
--- a/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/futureUncleTimestamp2Filler.json
+++ b/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/futureUncleTimestamp2Filler.json
@@ -19,7 +19,7 @@
},
"expect" : [
{
- "network" : ["Frontier", "Homestead", "EIP150", "EIP158", "Byzantium"],
+ "network" : ["Frontier", "Homestead", "EIP150", "EIP158"],
"result" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "30"
@@ -30,7 +30,7 @@
}
},
{
- "network" : ["Constantinople"],
+ "network" : ["Byzantium", "Constantinople"],
"result" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "20"
@@ -81,6 +81,7 @@
]
},
{
+ "expectExceptionByzantium" : "InvalidStateRoot",
"expectExceptionConstantinople" : "InvalidStateRoot",
"blockHeader" : {
"stateRoot" : "77f96f4c766c10cd0207e2672b1b747c741ed75bc94e7be7abacb71cdca3c8fb",
diff --git a/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/futureUncleTimestamp3Filler.json b/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/futureUncleTimestamp3Filler.json
index 5eebd9a93..b6e153f54 100644
--- a/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/futureUncleTimestamp3Filler.json
+++ b/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/futureUncleTimestamp3Filler.json
@@ -19,7 +19,7 @@
},
"expect" : [
{
- "network" : ["Frontier", "Homestead", "EIP150", "EIP158", "Byzantium"],
+ "network" : ["Frontier", "Homestead", "EIP150", "EIP158", "Byzantium", "Constantinople"],
"result" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "20"
@@ -28,17 +28,6 @@
"nonce" : "2"
}
}
- },
- {
- "network" : ["Constantinople"],
- "result" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "balance" : "30"
- },
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "nonce" : "3"
- }
- }
}
],
"pre" : {
@@ -86,6 +75,7 @@
"expectExceptionEIP150" : "InvalidStateRoot",
"expectExceptionEIP158" : "InvalidStateRoot",
"expectExceptionByzantium" : "InvalidStateRoot",
+ "expectExceptionConstantinople" : "InvalidStateRoot",
"blockHeader" : {
"stateRoot" : "3e9110dccee270e36e254d8e3b67cb18c12a9a0aa24065e24372a85856195c70",
"updatePoW" : "1"
diff --git a/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/futureUncleTimestampDifficultyDrop2Filler.json b/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/futureUncleTimestampDifficultyDrop2Filler.json
index 62d397613..539e45946 100644
--- a/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/futureUncleTimestampDifficultyDrop2Filler.json
+++ b/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/futureUncleTimestampDifficultyDrop2Filler.json
@@ -19,7 +19,7 @@
},
"expect" : [
{
- "network" : ["Frontier", "Homestead", "EIP150", "EIP158", "Byzantium"],
+ "network" : ["Frontier", "Homestead", "EIP150", "EIP158", "Byzantium", "Constantinople"],
"result" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "20"
@@ -28,17 +28,6 @@
"nonce" : "2"
}
}
- },
- {
- "network" : ["Constantinople"],
- "result" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "balance" : "30"
- },
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "nonce" : "3"
- }
- }
}
],
"pre" : {
@@ -88,6 +77,7 @@
"expectExceptionEIP150" : "InvalidStateRoot",
"expectExceptionEIP158" : "InvalidStateRoot",
"expectExceptionByzantium" : "InvalidStateRoot",
+ "expectExceptionConstantinople" : "InvalidStateRoot",
"blocknumber" : "3",
"blockHeader" : {
"stateRoot" : "3e9110dccee270e36e254d8e3b67cb18c12a9a0aa24065e24372a85856195c70",
diff --git a/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/futureUncleTimestampDifficultyDropFiller.json b/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/futureUncleTimestampDifficultyDropFiller.json
index 1c7d51c1c..c8fd70c8d 100644
--- a/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/futureUncleTimestampDifficultyDropFiller.json
+++ b/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/futureUncleTimestampDifficultyDropFiller.json
@@ -19,7 +19,7 @@
},
"expect" : [
{
- "network" : ["Frontier", "Homestead", "EIP150", "EIP158", "Byzantium"],
+ "network" : ["Frontier", "Homestead", "EIP150", "EIP158"],
"result" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "30"
@@ -30,7 +30,7 @@
}
},
{
- "network" : ["Constantinople"],
+ "network" : ["Constantinople", "Byzantium"],
"result" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "20"
@@ -83,6 +83,7 @@
]
},
{
+ "expectExceptionByzantium" : "InvalidStateRoot",
"expectExceptionConstantinople" : "InvalidStateRoot",
"blocknumber" : "3",
"blockHeader" : {
diff --git a/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/uncleBloomNot0Filler.json b/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/uncleBloomNot0Filler.json
index 60cf741a2..824b23ecd 100644
--- a/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/uncleBloomNot0Filler.json
+++ b/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/uncleBloomNot0Filler.json
@@ -19,7 +19,7 @@
},
"expect" : [
{
- "network" : ["Frontier", "Homestead", "EIP150", "EIP158", "Byzantium"],
+ "network" : ["Frontier", "Homestead", "EIP150", "EIP158"],
"result" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "30"
@@ -30,7 +30,7 @@
}
},
{
- "network" : ["Constantinople"],
+ "network" : ["Byzantium", "Constantinople"],
"result" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "20"
@@ -83,6 +83,7 @@
]
},
{
+ "expectExceptionByzantium" : "InvalidStateRoot",
"expectExceptionConstantinople" : "InvalidStateRoot",
"blocknumber" : "3",
"blockHeader" : {
diff --git a/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/uncleBloomNot0_2Filler.json b/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/uncleBloomNot0_2Filler.json
index 3e99ab96d..3d5908c7b 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", "Byzantium"],
+ "network" : ["Frontier", "Homestead", "EIP150", "EIP158", "Byzantium", "Constantinople"],
"result" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "20"
@@ -28,17 +28,6 @@
"nonce" : "2"
}
}
- },
- {
- "network" : ["Constantinople"],
- "result" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "balance" : "30"
- },
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "nonce" : "3"
- }
- }
}
],
"pre" : {
@@ -88,6 +77,7 @@
"expectExceptionEIP150" : "InvalidStateRoot",
"expectExceptionEIP158" : "InvalidStateRoot",
"expectExceptionByzantium" : "InvalidStateRoot",
+ "expectExceptionConstantinople" : "InvalidStateRoot",
"blocknumber" : "3",
"blockHeader" : {
"stateRoot" : "3e9110dccee270e36e254d8e3b67cb18c12a9a0aa24065e24372a85856195c70",
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"