aboutsummaryrefslogtreecommitdiffstats
path: root/src
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
parent1e017445ded19f5a0ba48fe8dec2ad7fb31d6ddf (diff)
downloadtangerine-tests-067657e089d32b8b0bfb3dad364120cb925ca33a.tar
tangerine-tests-067657e089d32b8b0bfb3dad364120cb925ca33a.tar.gz
tangerine-tests-067657e089d32b8b0bfb3dad364120cb925ca33a.tar.bz2
tangerine-tests-067657e089d32b8b0bfb3dad364120cb925ca33a.tar.lz
tangerine-tests-067657e089d32b8b0bfb3dad364120cb925ca33a.tar.xz
tangerine-tests-067657e089d32b8b0bfb3dad364120cb925ca33a.tar.zst
tangerine-tests-067657e089d32b8b0bfb3dad364120cb925ca33a.zip
Fill more tests
Diffstat (limited to 'src')
-rw-r--r--src/BlockchainTestsFiller/bcUncleHeaderValiditiy/futureUncleTimestampDifficultyDrop2Filler.json3
-rw-r--r--src/BlockchainTestsFiller/bcUncleHeaderValiditiy/uncleBloomNot0_2Filler.json3
-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
7 files changed, 49 insertions, 10 deletions
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"