aboutsummaryrefslogtreecommitdiffstats
path: root/src/BlockchainTestsFiller/bcUncleTest
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2017-09-08 04:46:48 +0800
committerYoichi Hirai <i@yoichihirai.com>2017-09-08 04:46:48 +0800
commit067657e089d32b8b0bfb3dad364120cb925ca33a (patch)
treea7e9c52881cf26c5d788340f4bdb91ab13fbbfdc /src/BlockchainTestsFiller/bcUncleTest
parent1e017445ded19f5a0ba48fe8dec2ad7fb31d6ddf (diff)
downloaddexon-tests-067657e089d32b8b0bfb3dad364120cb925ca33a.tar
dexon-tests-067657e089d32b8b0bfb3dad364120cb925ca33a.tar.gz
dexon-tests-067657e089d32b8b0bfb3dad364120cb925ca33a.tar.bz2
dexon-tests-067657e089d32b8b0bfb3dad364120cb925ca33a.tar.lz
dexon-tests-067657e089d32b8b0bfb3dad364120cb925ca33a.tar.xz
dexon-tests-067657e089d32b8b0bfb3dad364120cb925ca33a.tar.zst
dexon-tests-067657e089d32b8b0bfb3dad364120cb925ca33a.zip
Fill more tests
Diffstat (limited to 'src/BlockchainTestsFiller/bcUncleTest')
-rw-r--r--src/BlockchainTestsFiller/bcUncleTest/oneUncleGeneration2Filler.json16
-rw-r--r--src/BlockchainTestsFiller/bcUncleTest/oneUncleGeneration3Filler.json16
-rw-r--r--src/BlockchainTestsFiller/bcUncleTest/oneUncleGeneration5Filler.json16
-rw-r--r--src/BlockchainTestsFiller/bcUncleTest/oneUncleGeneration6Filler.json2
-rw-r--r--src/BlockchainTestsFiller/bcUncleTest/uncleHeaderAtBlock2ByzantiumFiller.json3
5 files changed, 47 insertions, 6 deletions
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"