aboutsummaryrefslogtreecommitdiffstats
path: root/BlockchainTests
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2015-08-27 00:32:58 +0800
committerCJentzsch <jentzsch.software@gmail.com>2015-08-27 00:32:58 +0800
commit86522c1ff234bc85cf68ea457e90a47207610e87 (patch)
tree183637fb0093eb048a99b383c24e08298334cf8b /BlockchainTests
parent110eaf184cbfdf98647d18985b8ba9e54dc70975 (diff)
downloaddexon-tests-86522c1ff234bc85cf68ea457e90a47207610e87.tar
dexon-tests-86522c1ff234bc85cf68ea457e90a47207610e87.tar.gz
dexon-tests-86522c1ff234bc85cf68ea457e90a47207610e87.tar.bz2
dexon-tests-86522c1ff234bc85cf68ea457e90a47207610e87.tar.lz
dexon-tests-86522c1ff234bc85cf68ea457e90a47207610e87.tar.xz
dexon-tests-86522c1ff234bc85cf68ea457e90a47207610e87.tar.zst
dexon-tests-86522c1ff234bc85cf68ea457e90a47207610e87.zip
add reusePreviousBlockAsUncleIgnoringLeadingZerosInMixHash test
Diffstat (limited to 'BlockchainTests')
-rw-r--r--BlockchainTests/bcForkUncle.json97
1 files changed, 97 insertions, 0 deletions
diff --git a/BlockchainTests/bcForkUncle.json b/BlockchainTests/bcForkUncle.json
index 6c6cbc8d7..176611d80 100644
--- a/BlockchainTests/bcForkUncle.json
+++ b/BlockchainTests/bcForkUncle.json
@@ -344,5 +344,102 @@
}
}
}
+ },
+ "reusePreviousBlockAsUncleIgnoringLeadingZerosInMixHash" : {
+ "blocks" : [
+ {
+ "blockHeader" : {
+ "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "coinbase" : "8888f1f195afa192cfee860698584c030f4c9db1",
+ "difficulty" : "0x020000",
+ "extraData" : "0x",
+ "gasLimit" : "0x2fefd8",
+ "gasUsed" : "0x5208",
+ "hash" : "55622e11fa174549352498f7d89d6245a3a371739c52935dea35d778fddc26cb",
+ "mixHash" : "003b25c6e21a79739cc10ddc2098a0d1c44be2bf13f470b08e3131292dcc7e53",
+ "nonce" : "000000000001055c",
+ "number" : "0x01",
+ "parentHash" : "3cf070599075c8897197520e08ccdb21f8c74e1cac516545f4452b7289f1397f",
+ "receiptTrie" : "e9244cf7503b79c03d3a099e07a80d2dbc77bb0b502d8a89d51ac0d68dd31313",
+ "stateRoot" : "cb52de543653d86ccd13ba3ddf8b052525b04231c6884a4db3188a184681d878",
+ "timestamp" : "0x55dde5a6",
+ "transactionsTrie" : "5c9151c2413d1cd25c51ffb4ac38948acc1359bf08c6b49f283660e9bcf0f516",
+ "uncleHash" : "1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ "blocknumber" : "1",
+ "rlp" : "0xf90261f901f9a03cf070599075c8897197520e08ccdb21f8c74e1cac516545f4452b7289f1397fa01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347948888f1f195afa192cfee860698584c030f4c9db1a0cb52de543653d86ccd13ba3ddf8b052525b04231c6884a4db3188a184681d878a05c9151c2413d1cd25c51ffb4ac38948acc1359bf08c6b49f283660e9bcf0f516a0e9244cf7503b79c03d3a099e07a80d2dbc77bb0b502d8a89d51ac0d68dd31313b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001832fefd88252088455dde5a680a0003b25c6e21a79739cc10ddc2098a0d1c44be2bf13f470b08e3131292dcc7e5388000000000001055cf862f86080018304cb2f94095e7baea6a6c7c4c2dfeb977efac326af552d870a801ba077c7cd36820c71821c1aed59de46e70e701c4a8dd89c9ba508ab722210f60da8a03f29825d40c7c3f7bff3ca69267e0f3fb74b2d18b8c2c4e3c135b5d3b06e288dc0",
+ "transactions" : [
+ {
+ "data" : "0x",
+ "gasLimit" : "0x04cb2f",
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "r" : "0x77c7cd36820c71821c1aed59de46e70e701c4a8dd89c9ba508ab722210f60da8",
+ "s" : "0x3f29825d40c7c3f7bff3ca69267e0f3fb74b2d18b8c2c4e3c135b5d3b06e288d",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "v" : "0x1b",
+ "value" : "0x0a"
+ }
+ ],
+ "uncleHeaders" : [
+ ]
+ },
+ {
+ "blocknumber" : "2",
+ "rlp" : "f90464f901f9a055622e11fa174549352498f7d89d6245a3a371739c52935dea35d778fddc26cba03a68e67b0fc6afdfb1414199c46d7495fd9dfea3929c2e921fd7cf7432db9155948888f1f195afa192cfee860698584c030f4c9db1a007c07f7286a054076739d4669547f161cf8c0739eeaa145ef8a18b5890200801a03211575401f242db6ce9fc34e10dbc9d5da1b39ecac52f36759e0ba59d0308f5a0fb8221322bae40f5782c3fb51d3162e286b120757362fd9eac56abe38f593ddfb90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302004002832fefd88253188455dde5ab80a0fe6a80f9a18b96a986663cca661b10c8c6ea9c7732efded06734afc418895b75880000000000020c68f868f86601018304cb2f94095e7baea6a6c7c4c2dfeb977efac326af552d8782019084446346341ca06e6ea71356871ac706ee7c60780ba1cd96d04d1edd028815503de5a60e6490fba07c3403ae526d25a73f8e233c46698e39aa649f7981c59657ad7be8acac5e9ca7f901fbf901f8a03cf070599075c8897197520e08ccdb21f8c74e1cac516545f4452b7289f1397fa01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347948888f1f195afa192cfee860698584c030f4c9db1a0cb52de543653d86ccd13ba3ddf8b052525b04231c6884a4db3188a184681d878a05c9151c2413d1cd25c51ffb4ac38948acc1359bf08c6b49f283660e9bcf0f516a0e9244cf7503b79c03d3a099e07a80d2dbc77bb0b502d8a89d51ac0d68dd31313b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001832fefd88252088455dde5a6809f3b25c6e21a79739cc10ddc2098a0d1c44be2bf13f470b08e3131292dcc7e5388000000000001055c"
+ }
+ ],
+ "genesisBlockHeader" : {
+ "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "coinbase" : "8888f1f195afa192cfee860698584c030f4c9db1",
+ "difficulty" : "0x020000",
+ "extraData" : "0x00",
+ "gasLimit" : "0x2fefd8",
+ "gasUsed" : "0x00",
+ "hash" : "3cf070599075c8897197520e08ccdb21f8c74e1cac516545f4452b7289f1397f",
+ "mixHash" : "fcf685a091c9c5b2e64c5dd74729165ba000856ded52bf8b7a978996f8623f77",
+ "nonce" : "000000000000301c",
+ "number" : "0x00",
+ "parentHash" : "0000000000000000000000000000000000000000000000000000000000000000",
+ "receiptTrie" : "56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "stateRoot" : "7dba07d6b448a186e9612e5f737d1c909dce473e53199901a302c00646d523c1",
+ "timestamp" : "0x54c98c81",
+ "transactionsTrie" : "56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "uncleHash" : "1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ "genesisRLP" : "0xf901fcf901f7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347948888f1f195afa192cfee860698584c030f4c9db1a07dba07d6b448a186e9612e5f737d1c909dce473e53199901a302c00646d523c1a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080832fefd8808454c98c8100a0fcf685a091c9c5b2e64c5dd74729165ba000856ded52bf8b7a978996f8623f7788000000000000301cc0c0",
+ "lastblockhash" : "55622e11fa174549352498f7d89d6245a3a371739c52935dea35d778fddc26cb",
+ "postState" : {
+ "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0a",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "8888f1f195afa192cfee860698584c030f4c9db1" : {
+ "balance" : "0x4563918244f45208",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x09184e724dee",
+ "code" : "0x",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x09184e72a000",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
}
}