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 --- .../futureUncleTimestamp2Filler.json | 5 +++-- .../futureUncleTimestamp3Filler.json | 14 ++------------ .../futureUncleTimestampDifficultyDrop2Filler.json | 14 ++------------ .../futureUncleTimestampDifficultyDropFiller.json | 5 +++-- .../bcUncleHeaderValiditiy/uncleBloomNot0Filler.json | 5 +++-- .../bcUncleHeaderValiditiy/uncleBloomNot0_2Filler.json | 14 ++------------ .../bcUncleTest/uncleHeaderAtBlock2Filler.json | 5 +++-- .../bcUncleTest/uncleHeaderAtBlock2MetropolisFiller.json | 14 ++------------ 8 files changed, 20 insertions(+), 56 deletions(-) (limited to 'src') 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" -- cgit v1.2.3 From e453ac69de8cc76c358085071bde6d36f723646c Mon Sep 17 00:00:00 2001 From: Yoichi Hirai Date: Tue, 22 Aug 2017 13:07:23 +0200 Subject: Fill more tests on eip649 branch --- .../randomStatetest70BCFiller.json | 26 ---------------------- .../randomStatetest99BCFiller.json | 4 ++-- 2 files changed, 2 insertions(+), 28 deletions(-) (limited to 'src') diff --git a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest70BCFiller.json b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest70BCFiller.json index 9762f196c..89dcae187 100644 --- a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest70BCFiller.json +++ b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest70BCFiller.json @@ -51,32 +51,6 @@ } } } - }, - { - "network" : ["Byzantium"], - "result" : { - "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "0x0de0b6b3a76586a0", - "code" : "0x43424044454245343af399e4a4734555", - "nonce" : "0x00", - "storage" : { - } - }, - "0x945304eb96065b2a98b57a48a06ae28d285a71b5" : { - "balance" : "5000000000000050393", - "code" : "0x6000355415600957005b60203560003555", - "nonce" : "0x00", - "storage" : { - } - }, - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "999999999999849653", - "code" : "", - "nonce" : "0x01", - "storage" : { - } - } - } } ], "genesisBlockHeader" : { diff --git a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest99BCFiller.json b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest99BCFiller.json index a99c9f878..6ad8ece3f 100644 --- a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest99BCFiller.json +++ b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest99BCFiller.json @@ -65,14 +65,14 @@ } }, "0x945304eb96065b2a98b57a48a06ae28d285a71b5" : { - "balance" : "5000000000000063818", + "balance" : "3000000000000063038", "code" : "0x6000355415600957005b60203560003555", "nonce" : "0x00", "storage" : { } }, "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "999999998514648540", + "balance" : "999999998514649320", "code" : "", "nonce" : "0x01", "storage" : { -- cgit v1.2.3 From 90614722c0974e6b390f7ba9512cdd804917c3ff Mon Sep 17 00:00:00 2001 From: Yoichi Hirai Date: Tue, 22 Aug 2017 14:54:02 +0200 Subject: Fill more tests --- .../randomStatetest56BCFiller.json | 4 ++-- .../randomStatetest61BCFiller.json | 4 ++-- .../randomStatetest65BCFiller.json | 4 ++-- .../randomStatetest68BCFiller.json | 26 -------------------- .../randomStatetest71BCFiller.json | 26 -------------------- .../randomStatetest76BCFiller.json | 28 ---------------------- .../randomStatetest79BCFiller.json | 27 --------------------- .../randomStatetest86BCFiller.json | 26 -------------------- .../randomStatetest8BCFiller.json | 26 -------------------- .../randomStatetest91BCFiller.json | 27 --------------------- .../randomStatetest93BCFiller.json | 26 -------------------- 11 files changed, 6 insertions(+), 218 deletions(-) (limited to 'src') diff --git a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest56BCFiller.json b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest56BCFiller.json index b9f698ba1..e3097d098 100644 --- a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest56BCFiller.json +++ b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest56BCFiller.json @@ -65,14 +65,14 @@ } }, "0x945304eb96065b2a98b57a48a06ae28d285a71b5" : { - "balance" : "5000000000000043053", + "balance" : "3000000000000041493", "code" : "0x6000355415600957005b60203560003555", "nonce" : "0x00", "storage" : { } }, "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "999999999999856993", + "balance" : "999999999999858553", "code" : "", "nonce" : "0x01", "storage" : { diff --git a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest61BCFiller.json b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest61BCFiller.json index 343489f17..7c81a5e48 100644 --- a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest61BCFiller.json +++ b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest61BCFiller.json @@ -63,14 +63,14 @@ } }, "0x945304eb96065b2a98b57a48a06ae28d285a71b5" : { - "balance" : "5000000000000028782", + "balance" : "3000000000000028002", "code" : "0x6000355415600957005b60203560003555", "nonce" : "0x00", "storage" : { } }, "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "999999998245065339", + "balance" : "999999998245066119", "code" : "", "nonce" : "0x01", "storage" : { diff --git a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest65BCFiller.json b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest65BCFiller.json index 3082ffaea..70c019b9d 100644 --- a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest65BCFiller.json +++ b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest65BCFiller.json @@ -89,14 +89,14 @@ } }, "0x945304eb96065b2a98b57a48a06ae28d285a71b5" : { - "balance" : "5000000000000075209", + "balance" : "3000000000000073649", "code" : "0x6000355415600957005b60203560003555", "nonce" : "0x00", "storage" : { } }, "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "999999999999824837", + "balance" : "999999999999826397", "code" : "", "nonce" : "0x01", "storage" : { diff --git a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest68BCFiller.json b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest68BCFiller.json index ac66f7049..4a2b40c11 100644 --- a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest68BCFiller.json +++ b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest68BCFiller.json @@ -51,32 +51,6 @@ } } } - }, - { - "network" : ["Byzantium"], - "result" : { - "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "0x0de0b6b3a76586a0", - "code" : "0x45424043404545456b689f9b7055", - "nonce" : "0x00", - "storage" : { - } - }, - "0x945304eb96065b2a98b57a48a06ae28d285a71b5" : { - "balance" : "5000000000000022729", - "code" : "0x6000355415600957005b60203560003555", - "nonce" : "0x00", - "storage" : { - } - }, - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "999999999999877317", - "code" : "", - "nonce" : "0x01", - "storage" : { - } - } - } } ], "genesisBlockHeader" : { diff --git a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest71BCFiller.json b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest71BCFiller.json index 4619c550f..068f408df 100644 --- a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest71BCFiller.json +++ b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest71BCFiller.json @@ -51,32 +51,6 @@ } } } - }, - { - "network" : ["Byzantium"], - "result" : { - "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "0x0de0b6b3a76586a0", - "code" : "0x45415a42409140435a53821af355", - "nonce" : "0x00", - "storage" : { - } - }, - "0x945304eb96065b2a98b57a48a06ae28d285a71b5" : { - "balance" : "5000000000000332156", - "code" : "0x6000355415600957005b60203560003555", - "nonce" : "0x00", - "storage" : { - } - }, - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "999999999999567890", - "code" : "", - "nonce" : "0x01", - "storage" : { - } - } - } } ], "genesisBlockHeader" : { diff --git a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest76BCFiller.json b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest76BCFiller.json index c592fbee0..e0b505143 100644 --- a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest76BCFiller.json +++ b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest76BCFiller.json @@ -53,34 +53,6 @@ } } } - }, - { - "network" : ["Byzantium"], - "result" : { - "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "0x69ca96ed", - "code" : "0x437f00000000000000000000000100000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe407f000000000000000000000000000000000000000000000000000000000000c3507f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000001375560005155", - "nonce" : "0x00", - "storage" : { - "0x00" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", - "0x437f0000000000000000000000010000000000000000000000000000000000" : "0x010000000000000000000000000000000000000000" - } - }, - "0x945304eb96065b2a98b57a48a06ae28d285a71b5" : { - "balance" : "5000000000000081756", - "code" : "0x6000355415600957005b60203560003555", - "nonce" : "0x00", - "storage" : { - } - }, - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "999999998225033701", - "code" : "", - "nonce" : "0x01", - "storage" : { - } - } - } } ], "genesisBlockHeader" : { diff --git a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest79BCFiller.json b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest79BCFiller.json index 55da3cf5c..bf6314e83 100644 --- a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest79BCFiller.json +++ b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest79BCFiller.json @@ -52,33 +52,6 @@ } } } - }, - { - "network" : ["Byzantium"], - "result" : { - "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "0x1571e2ae", - "code" : "0x7f00000000000000000000000000000000000000000000000000000000000000017f00000000000000000000000000000000000000000000000000000000000000017f00000000000000000000000000000000000000000000000000000000000000017f00000000000000000000000000000000000000000000000000000000000000017ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe40447ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe6f6b0656903a860a0242881274078b435560005155", - "nonce" : "0x00", - "storage" : { - "0x00" : "0x6b0656903a860a0242881274078b4355" - } - }, - "0x945304eb96065b2a98b57a48a06ae28d285a71b5" : { - "balance" : "5000000000000048630", - "code" : "0x6000355415600957005b60203560003555", - "nonce" : "0x00", - "storage" : { - } - }, - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "999999999640166282", - "code" : "", - "nonce" : "0x01", - "storage" : { - } - } - } } ], "genesisBlockHeader" : { diff --git a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest86BCFiller.json b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest86BCFiller.json index df35ce315..ccced191e 100644 --- a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest86BCFiller.json +++ b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest86BCFiller.json @@ -51,32 +51,6 @@ } } } - }, - { - "network" : ["Byzantium"], - "result" : { - "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "0x3aecace0", - "code" : "0x7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe7f00000000000000000000000100000000000000000000000000000000000000007f000000000000000000000000ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000c350407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000ffffffffffffffffffffffffffffffffffffffff091860005155", - "nonce" : "0x00", - "storage" : { - } - }, - "0x945304eb96065b2a98b57a48a06ae28d285a71b5" : { - "balance" : "5000000000000037359", - "code" : "0x6000355415600957005b60203560003555", - "nonce" : "0x00", - "storage" : { - } - }, - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "999999999011373407", - "code" : "", - "nonce" : "0x01", - "storage" : { - } - } - } } ], "genesisBlockHeader" : { diff --git a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest8BCFiller.json b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest8BCFiller.json index eeeb1e444..bfc22206b 100644 --- a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest8BCFiller.json +++ b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest8BCFiller.json @@ -94,32 +94,6 @@ } } } - }, - { - "network" : ["Byzantium"], - "result" : { - "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "0x0de0b6b3a76586a0", - "code" : "0x45454041444344330a78066e6da197ff", - "nonce" : "0x00", - "storage" : { - } - }, - "0x945304eb96065b2a98b57a48a06ae28d285a71b5" : { - "balance" : "5000000000000022091", - "code" : "0x6000355415600957005b60203560003555", - "nonce" : "0x00", - "storage" : { - } - }, - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "999999999999877955", - "code" : "", - "nonce" : "0x01", - "storage" : { - } - } - } } ], "pre" : { diff --git a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest91BCFiller.json b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest91BCFiller.json index dc3a63385..172bf43cb 100644 --- a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest91BCFiller.json +++ b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest91BCFiller.json @@ -52,33 +52,6 @@ } } } - }, - { - "network" : ["Byzantium"], - "result" : { - "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "0x7bcee261", - "code" : "0x7f00000000000000000000000000000000000000000000000000000000000000017f000000000000000000000001000000000000000000000000000000000000000045407f000000000000000000000000945304eb96065b2a98b57a48a06ae28d285a71b57f000000000000000000000000000000000000000000000000000000000000c350447f00000000000000000000000100000000000000000000000000000000000000006f8b0b688d7b410a45178f6f956454f35560005155", - "nonce" : "0x00", - "storage" : { - "0x00" : "0x8b0b688d7b410a45178f6f956454f355" - } - }, - "0x945304eb96065b2a98b57a48a06ae28d285a71b5" : { - "balance" : "5000000000000045749", - "code" : "0x6000355415600957005b60203560003555", - "nonce" : "0x00", - "storage" : { - } - }, - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "999999997922798360", - "code" : "", - "nonce" : "0x01", - "storage" : { - } - } - } } ], "genesisBlockHeader" : { diff --git a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest93BCFiller.json b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest93BCFiller.json index e97487762..9c583d53d 100644 --- a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest93BCFiller.json +++ b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest93BCFiller.json @@ -51,32 +51,6 @@ } } } - }, - { - "network" : ["Byzantium"], - "result" : { - "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "0x0de0b6b3a76586a0", - "code" : "0x44404340434136437b0703709768f36855", - "nonce" : "0x00", - "storage" : { - } - }, - "0x945304eb96065b2a98b57a48a06ae28d285a71b5" : { - "balance" : "5000000000000022729", - "code" : "0x6000355415600957005b60203560003555", - "nonce" : "0x00", - "storage" : { - } - }, - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "999999999999877317", - "code" : "", - "nonce" : "0x01", - "storage" : { - } - } - } } ], "genesisBlockHeader" : { -- cgit v1.2.3 From 9a99c29f12f30bb90fd9c139564be05969d7f56f Mon Sep 17 00:00:00 2001 From: Yoichi Hirai Date: Tue, 22 Aug 2017 16:59:15 +0200 Subject: Fill more tests --- .../randomStatetest56BCFiller.json | 4 ++-- .../randomStatetest61BCFiller.json | 4 ++-- .../randomStatetest65BCFiller.json | 4 ++-- .../randomStatetest68BCFiller.json | 26 ++++++++++++++++++++ .../randomStatetest71BCFiller.json | 26 ++++++++++++++++++++ .../randomStatetest76BCFiller.json | 28 ++++++++++++++++++++++ .../randomStatetest79BCFiller.json | 27 +++++++++++++++++++++ .../randomStatetest86BCFiller.json | 26 ++++++++++++++++++++ .../randomStatetest8BCFiller.json | 26 ++++++++++++++++++++ .../randomStatetest91BCFiller.json | 27 +++++++++++++++++++++ .../randomStatetest93BCFiller.json | 26 ++++++++++++++++++++ 11 files changed, 218 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest56BCFiller.json b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest56BCFiller.json index e3097d098..b9f698ba1 100644 --- a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest56BCFiller.json +++ b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest56BCFiller.json @@ -65,14 +65,14 @@ } }, "0x945304eb96065b2a98b57a48a06ae28d285a71b5" : { - "balance" : "3000000000000041493", + "balance" : "5000000000000043053", "code" : "0x6000355415600957005b60203560003555", "nonce" : "0x00", "storage" : { } }, "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "999999999999858553", + "balance" : "999999999999856993", "code" : "", "nonce" : "0x01", "storage" : { diff --git a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest61BCFiller.json b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest61BCFiller.json index 7c81a5e48..343489f17 100644 --- a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest61BCFiller.json +++ b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest61BCFiller.json @@ -63,14 +63,14 @@ } }, "0x945304eb96065b2a98b57a48a06ae28d285a71b5" : { - "balance" : "3000000000000028002", + "balance" : "5000000000000028782", "code" : "0x6000355415600957005b60203560003555", "nonce" : "0x00", "storage" : { } }, "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "999999998245066119", + "balance" : "999999998245065339", "code" : "", "nonce" : "0x01", "storage" : { diff --git a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest65BCFiller.json b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest65BCFiller.json index 70c019b9d..3082ffaea 100644 --- a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest65BCFiller.json +++ b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest65BCFiller.json @@ -89,14 +89,14 @@ } }, "0x945304eb96065b2a98b57a48a06ae28d285a71b5" : { - "balance" : "3000000000000073649", + "balance" : "5000000000000075209", "code" : "0x6000355415600957005b60203560003555", "nonce" : "0x00", "storage" : { } }, "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "999999999999826397", + "balance" : "999999999999824837", "code" : "", "nonce" : "0x01", "storage" : { diff --git a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest68BCFiller.json b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest68BCFiller.json index 4a2b40c11..ac66f7049 100644 --- a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest68BCFiller.json +++ b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest68BCFiller.json @@ -51,6 +51,32 @@ } } } + }, + { + "network" : ["Byzantium"], + "result" : { + "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a76586a0", + "code" : "0x45424043404545456b689f9b7055", + "nonce" : "0x00", + "storage" : { + } + }, + "0x945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "balance" : "5000000000000022729", + "code" : "0x6000355415600957005b60203560003555", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "999999999999877317", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + } + } } ], "genesisBlockHeader" : { diff --git a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest71BCFiller.json b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest71BCFiller.json index 068f408df..4619c550f 100644 --- a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest71BCFiller.json +++ b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest71BCFiller.json @@ -51,6 +51,32 @@ } } } + }, + { + "network" : ["Byzantium"], + "result" : { + "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a76586a0", + "code" : "0x45415a42409140435a53821af355", + "nonce" : "0x00", + "storage" : { + } + }, + "0x945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "balance" : "5000000000000332156", + "code" : "0x6000355415600957005b60203560003555", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "999999999999567890", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + } + } } ], "genesisBlockHeader" : { diff --git a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest76BCFiller.json b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest76BCFiller.json index e0b505143..c592fbee0 100644 --- a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest76BCFiller.json +++ b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest76BCFiller.json @@ -53,6 +53,34 @@ } } } + }, + { + "network" : ["Byzantium"], + "result" : { + "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x69ca96ed", + "code" : "0x437f00000000000000000000000100000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe407f000000000000000000000000000000000000000000000000000000000000c3507f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000001375560005155", + "nonce" : "0x00", + "storage" : { + "0x00" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", + "0x437f0000000000000000000000010000000000000000000000000000000000" : "0x010000000000000000000000000000000000000000" + } + }, + "0x945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "balance" : "5000000000000081756", + "code" : "0x6000355415600957005b60203560003555", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "999999998225033701", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + } + } } ], "genesisBlockHeader" : { diff --git a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest79BCFiller.json b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest79BCFiller.json index bf6314e83..55da3cf5c 100644 --- a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest79BCFiller.json +++ b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest79BCFiller.json @@ -52,6 +52,33 @@ } } } + }, + { + "network" : ["Byzantium"], + "result" : { + "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x1571e2ae", + "code" : "0x7f00000000000000000000000000000000000000000000000000000000000000017f00000000000000000000000000000000000000000000000000000000000000017f00000000000000000000000000000000000000000000000000000000000000017f00000000000000000000000000000000000000000000000000000000000000017ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe40447ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe6f6b0656903a860a0242881274078b435560005155", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x6b0656903a860a0242881274078b4355" + } + }, + "0x945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "balance" : "5000000000000048630", + "code" : "0x6000355415600957005b60203560003555", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "999999999640166282", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + } + } } ], "genesisBlockHeader" : { diff --git a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest86BCFiller.json b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest86BCFiller.json index ccced191e..df35ce315 100644 --- a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest86BCFiller.json +++ b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest86BCFiller.json @@ -51,6 +51,32 @@ } } } + }, + { + "network" : ["Byzantium"], + "result" : { + "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x3aecace0", + "code" : "0x7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe7f00000000000000000000000100000000000000000000000000000000000000007f000000000000000000000000ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000c350407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000ffffffffffffffffffffffffffffffffffffffff091860005155", + "nonce" : "0x00", + "storage" : { + } + }, + "0x945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "balance" : "5000000000000037359", + "code" : "0x6000355415600957005b60203560003555", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "999999999011373407", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + } + } } ], "genesisBlockHeader" : { diff --git a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest8BCFiller.json b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest8BCFiller.json index bfc22206b..eeeb1e444 100644 --- a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest8BCFiller.json +++ b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest8BCFiller.json @@ -94,6 +94,32 @@ } } } + }, + { + "network" : ["Byzantium"], + "result" : { + "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a76586a0", + "code" : "0x45454041444344330a78066e6da197ff", + "nonce" : "0x00", + "storage" : { + } + }, + "0x945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "balance" : "5000000000000022091", + "code" : "0x6000355415600957005b60203560003555", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "999999999999877955", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + } + } } ], "pre" : { diff --git a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest91BCFiller.json b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest91BCFiller.json index 172bf43cb..dc3a63385 100644 --- a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest91BCFiller.json +++ b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest91BCFiller.json @@ -52,6 +52,33 @@ } } } + }, + { + "network" : ["Byzantium"], + "result" : { + "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x7bcee261", + "code" : "0x7f00000000000000000000000000000000000000000000000000000000000000017f000000000000000000000001000000000000000000000000000000000000000045407f000000000000000000000000945304eb96065b2a98b57a48a06ae28d285a71b57f000000000000000000000000000000000000000000000000000000000000c350447f00000000000000000000000100000000000000000000000000000000000000006f8b0b688d7b410a45178f6f956454f35560005155", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x8b0b688d7b410a45178f6f956454f355" + } + }, + "0x945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "balance" : "5000000000000045749", + "code" : "0x6000355415600957005b60203560003555", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "999999997922798360", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + } + } } ], "genesisBlockHeader" : { diff --git a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest93BCFiller.json b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest93BCFiller.json index 9c583d53d..e97487762 100644 --- a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest93BCFiller.json +++ b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest93BCFiller.json @@ -51,6 +51,32 @@ } } } + }, + { + "network" : ["Byzantium"], + "result" : { + "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a76586a0", + "code" : "0x44404340434136437b0703709768f36855", + "nonce" : "0x00", + "storage" : { + } + }, + "0x945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "balance" : "5000000000000022729", + "code" : "0x6000355415600957005b60203560003555", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "999999999999877317", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + } + } } ], "genesisBlockHeader" : { -- cgit v1.2.3 From 1be9c83173d60d4271bc8511c940cdc858c0421c Mon Sep 17 00:00:00 2001 From: Yoichi Hirai Date: Wed, 23 Aug 2017 16:05:40 +0200 Subject: Fix futureUncleTimestampDifficultyDrop2 See https://github.com/ethereum/tests/pull/269#discussion_r134722457 --- .../futureUncleTimestampDifficultyDrop2Filler.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/futureUncleTimestampDifficultyDrop2Filler.json b/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/futureUncleTimestampDifficultyDrop2Filler.json index 539e45946..9e9e49376 100644 --- a/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/futureUncleTimestampDifficultyDrop2Filler.json +++ b/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/futureUncleTimestampDifficultyDrop2Filler.json @@ -19,7 +19,7 @@ }, "expect" : [ { - "network" : ["Frontier", "Homestead", "EIP150", "EIP158", "Byzantium", "Constantinople"], + "network" : ["Frontier", "Homestead", "EIP150", "EIP158", "Constantinople"], "result" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "20" @@ -76,11 +76,10 @@ "expectExceptionHomestead" : "InvalidStateRoot", "expectExceptionEIP150" : "InvalidStateRoot", "expectExceptionEIP158" : "InvalidStateRoot", - "expectExceptionByzantium" : "InvalidStateRoot", "expectExceptionConstantinople" : "InvalidStateRoot", "blocknumber" : "3", "blockHeader" : { - "stateRoot" : "3e9110dccee270e36e254d8e3b67cb18c12a9a0aa24065e24372a85856195c70", + "stateRoot" : "aa4b1943360f5a0ea3b1a2a1d661de5b6d773eb371bd84b319837d96ffc7b630", "updatePoW" : "1" }, "transactions" : [ -- cgit v1.2.3 From 786b50076ea4b57f5460bf967c691f1fcaff5894 Mon Sep 17 00:00:00 2001 From: Yoichi Hirai Date: Wed, 23 Aug 2017 16:10:34 +0200 Subject: Fix uncleBloomNot0_2 with the expected state root hash See https://github.com/ethereum/tests/pull/269#discussion_r134723381 --- .../bcUncleHeaderValiditiy/uncleBloomNot0_2Filler.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/uncleBloomNot0_2Filler.json b/src/BlockchainTestsFiller/bcUncleHeaderValiditiy/uncleBloomNot0_2Filler.json index 3d5908c7b..0e7c2b566 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", "Constantinople"], + "network" : ["Frontier", "Homestead", "EIP150", "EIP158", "Constantinople"], "result" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "20" @@ -76,11 +76,10 @@ "expectExceptionHomestead" : "InvalidStateRoot", "expectExceptionEIP150" : "InvalidStateRoot", "expectExceptionEIP158" : "InvalidStateRoot", - "expectExceptionByzantium" : "InvalidStateRoot", "expectExceptionConstantinople" : "InvalidStateRoot", "blocknumber" : "3", "blockHeader" : { - "stateRoot" : "3e9110dccee270e36e254d8e3b67cb18c12a9a0aa24065e24372a85856195c70", + "stateRoot" : "aa4b1943360f5a0ea3b1a2a1d661de5b6d773eb371bd84b319837d96ffc7b630", "updatePoW" : "1" }, "transactions" : [ -- cgit v1.2.3 From 181e3bfa0be619619a63d452247f43927bd767b8 Mon Sep 17 00:00:00 2001 From: Yoichi Hirai Date: Wed, 23 Aug 2017 16:26:42 +0200 Subject: Fix uncleHeaderAt2ByzantiumFiller with a correct state root hash See https://github.com/ethereum/tests/pull/269#discussion_r134723534 --- .../uncleHeaderAtBlock2ByzantiumFiller.json | 86 +++++++++++++++++++++ .../uncleHeaderAtBlock2MetropolisFiller.json | 87 ---------------------- 2 files changed, 86 insertions(+), 87 deletions(-) create mode 100644 src/BlockchainTestsFiller/bcUncleTest/uncleHeaderAtBlock2ByzantiumFiller.json delete mode 100644 src/BlockchainTestsFiller/bcUncleTest/uncleHeaderAtBlock2MetropolisFiller.json (limited to 'src') diff --git a/src/BlockchainTestsFiller/bcUncleTest/uncleHeaderAtBlock2ByzantiumFiller.json b/src/BlockchainTestsFiller/bcUncleTest/uncleHeaderAtBlock2ByzantiumFiller.json new file mode 100644 index 000000000..30f094e7b --- /dev/null +++ b/src/BlockchainTestsFiller/bcUncleTest/uncleHeaderAtBlock2ByzantiumFiller.json @@ -0,0 +1,86 @@ +{ + "uncleHeaderAtBlock2Byzantium" : { + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x8888f1f195afa192cfee860698584c030f4c9db1", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "3141592", + "gasUsed" : "0", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x54c98c81", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "expect" : [ + { + "network" : ["Frontier", "Homestead", "EIP150", "EIP158", "Constantinople"], + "result" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "10" + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + } + } + } + ], + "pre" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "10000000000000", + "nonce" : "0", + "code" : "", + "storage": {} + } + }, + "blocks" : [ + { + "transactions" : [ + { + "data" : "", + "gasLimit" : "314159", + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + }, + { + "expectExceptionFrontier" : "InvalidStateRoot", + "expectExceptionHomestead" : "InvalidStateRoot", + "expectExceptionEIP150" : "InvalidStateRoot", + "expectExceptionEIP158" : "InvalidStateRoot", + "expectExceptionConstantinople" : "InvalidStateRoot", + "blockHeader" : { + "stateRoot" : "e1aff725a27c18dbb8d70c2d0e049511dabba2f595c20f7c67ad4026d6275f88", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "", + "gasLimit" : "314159", + "gasPrice" : "1", + "nonce" : "1", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "10" + } + ], + "uncleHeaders" : [ + { + "populateFromBlock" : "0" + } + ] + } + ] + } +} diff --git a/src/BlockchainTestsFiller/bcUncleTest/uncleHeaderAtBlock2MetropolisFiller.json b/src/BlockchainTestsFiller/bcUncleTest/uncleHeaderAtBlock2MetropolisFiller.json deleted file mode 100644 index a712a4d8f..000000000 --- a/src/BlockchainTestsFiller/bcUncleTest/uncleHeaderAtBlock2MetropolisFiller.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "uncleHeaderAtBlock2Byzantium" : { - "genesisBlockHeader" : { - "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - "coinbase" : "0x8888f1f195afa192cfee860698584c030f4c9db1", - "difficulty" : "131072", - "extraData" : "0x42", - "gasLimit" : "3141592", - "gasUsed" : "0", - "number" : "0", - "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", - "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", - "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", - "timestamp" : "0x54c98c81", - "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", - "nonce" : "0x0102030405060708", - "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", - "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" - }, - "expect" : [ - { - "network" : ["Frontier", "Homestead", "EIP150", "EIP158", "Byzantium", "Constantinople"], - "result" : { - "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "10" - }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "nonce" : "1" - } - } - } - ], - "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "10000000000000", - "nonce" : "0", - "code" : "", - "storage": {} - } - }, - "blocks" : [ - { - "transactions" : [ - { - "data" : "", - "gasLimit" : "314159", - "gasPrice" : "1", - "nonce" : "0", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "10" - } - ], - "uncleHeaders" : [ - ] - }, - { - "expectExceptionFrontier" : "InvalidStateRoot", - "expectExceptionHomestead" : "InvalidStateRoot", - "expectExceptionEIP150" : "InvalidStateRoot", - "expectExceptionEIP158" : "InvalidStateRoot", - "expectExceptionByzantium" : "InvalidStateRoot", - "expectExceptionConstantinople" : "InvalidStateRoot", - "blockHeader" : { - "stateRoot" : "187f42cfebad21c551446195f12bfae8e95b3005a18d9ad2668f9c1f729b2662", - "updatePoW" : "1" - }, - "transactions" : [ - { - "data" : "", - "gasLimit" : "314159", - "gasPrice" : "1", - "nonce" : "1", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "10" - } - ], - "uncleHeaders" : [ - { - "populateFromBlock" : "0" - } - ] - } - ] - } -} -- cgit v1.2.3