diff options
author | CJentzsch <jentzsch.software@gmail.com> | 2015-08-26 21:07:30 +0800 |
---|---|---|
committer | CJentzsch <jentzsch.software@gmail.com> | 2015-08-26 21:07:30 +0800 |
commit | e1eb68862d1db32236bfc2b71f0f93b9f0cf968a (patch) | |
tree | 67450cfb51654bb0a98a9bcbdf69988e8d46fb32 | |
parent | 5ecbad0d20693062a63fe1da1ccfa5457dc7ad1e (diff) | |
download | tangerine-tests-e1eb68862d1db32236bfc2b71f0f93b9f0cf968a.tar tangerine-tests-e1eb68862d1db32236bfc2b71f0f93b9f0cf968a.tar.gz tangerine-tests-e1eb68862d1db32236bfc2b71f0f93b9f0cf968a.tar.bz2 tangerine-tests-e1eb68862d1db32236bfc2b71f0f93b9f0cf968a.tar.lz tangerine-tests-e1eb68862d1db32236bfc2b71f0f93b9f0cf968a.tar.xz tangerine-tests-e1eb68862d1db32236bfc2b71f0f93b9f0cf968a.tar.zst tangerine-tests-e1eb68862d1db32236bfc2b71f0f93b9f0cf968a.zip |
add reusePreviousBlockAsUncleIgnoringLeadingZerosInNonce test
-rw-r--r-- | BlockchainTests/bcForkUncle.json | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/BlockchainTests/bcForkUncle.json b/BlockchainTests/bcForkUncle.json index 681118c8d..6c6cbc8d7 100644 --- a/BlockchainTests/bcForkUncle.json +++ b/BlockchainTests/bcForkUncle.json @@ -247,5 +247,102 @@ } } } + }, + "reusePreviousBlockAsUncleIgnoringLeadingZerosInNonce" : { + "blocks" : [ + { + "blockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "8888f1f195afa192cfee860698584c030f4c9db1", + "difficulty" : "0x020000", + "extraData" : "0x", + "gasLimit" : "0x2fefd8", + "gasUsed" : "0x5208", + "hash" : "2964de62c08a553dbea6b483751beb325dd72bf93ce2a3e5c9db878536bd64bb", + "mixHash" : "5fcb88b6f0dcbbcf4bf13aecccc9db4b9823a650fdb63429bb56ba2357c0a3f8", + "nonce" : "00000000000144a8", + "number" : "0x01", + "parentHash" : "679bda385c2b8d60f7310fb7b1eb0c94f1eb9b68cf49ea654b83b65656be9bf4", + "receiptTrie" : "e9244cf7503b79c03d3a099e07a80d2dbc77bb0b502d8a89d51ac0d68dd31313", + "stateRoot" : "cb52de543653d86ccd13ba3ddf8b052525b04231c6884a4db3188a184681d878", + "timestamp" : "0x55dd9271", + "transactionsTrie" : "5c9151c2413d1cd25c51ffb4ac38948acc1359bf08c6b49f283660e9bcf0f516", + "uncleHash" : "1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "blocknumber" : "1", + "rlp" : "0xf90261f901f9a0679bda385c2b8d60f7310fb7b1eb0c94f1eb9b68cf49ea654b83b65656be9bf4a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347948888f1f195afa192cfee860698584c030f4c9db1a0cb52de543653d86ccd13ba3ddf8b052525b04231c6884a4db3188a184681d878a05c9151c2413d1cd25c51ffb4ac38948acc1359bf08c6b49f283660e9bcf0f516a0e9244cf7503b79c03d3a099e07a80d2dbc77bb0b502d8a89d51ac0d68dd31313b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001832fefd88252088455dd927180a05fcb88b6f0dcbbcf4bf13aecccc9db4b9823a650fdb63429bb56ba2357c0a3f88800000000000144a8f862f86080018304cb2f94095e7baea6a6c7c4c2dfeb977efac326af552d870a801ba077c7cd36820c71821c1aed59de46e70e701c4a8dd89c9ba508ab722210f60da8a03f29825d40c7c3f7bff3ca69267e0f3fb74b2d18b8c2c4e3c135b5d3b06e288dc0", + "transactions" : [ + { + "data" : "0x", + "gasLimit" : "0x04cb2f", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x77c7cd36820c71821c1aed59de46e70e701c4a8dd89c9ba508ab722210f60da8", + "s" : "0x3f29825d40c7c3f7bff3ca69267e0f3fb74b2d18b8c2c4e3c135b5d3b06e288d", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "v" : "0x1b", + "value" : "0x0a" + } + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "2", + "rlp" : "f90464f901f9a02964de62c08a553dbea6b483751beb325dd72bf93ce2a3e5c9db878536bd64bba046e2e5e5f6fed9d3ac230140cabd376687760d341052b10a1eb77d84f221fda4948888f1f195afa192cfee860698584c030f4c9db1a007c07f7286a054076739d4669547f161cf8c0739eeaa145ef8a18b5890200801a03211575401f242db6ce9fc34e10dbc9d5da1b39ecac52f36759e0ba59d0308f5a0fb8221322bae40f5782c3fb51d3162e286b120757362fd9eac56abe38f593ddfb90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302004002832fefd98253188455dd927680a087ff9a75ecda508ec466c7455617c3990c34fe526119d159381b082a7c89439a88000000000006723cf868f86601018304cb2f94095e7baea6a6c7c4c2dfeb977efac326af552d8782019084446346341ca06e6ea71356871ac706ee7c60780ba1cd96d04d1edd028815503de5a60e6490fba07c3403ae526d25a73f8e233c46698e39aa649f7981c59657ad7be8acac5e9ca7f901fbf901f8a0679bda385c2b8d60f7310fb7b1eb0c94f1eb9b68cf49ea654b83b65656be9bf4a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347948888f1f195afa192cfee860698584c030f4c9db1a0cb52de543653d86ccd13ba3ddf8b052525b04231c6884a4db3188a184681d878a05c9151c2413d1cd25c51ffb4ac38948acc1359bf08c6b49f283660e9bcf0f516a0e9244cf7503b79c03d3a099e07a80d2dbc77bb0b502d8a89d51ac0d68dd31313b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001832fefd88252088455dd927180a05fcb88b6f0dcbbcf4bf13aecccc9db4b9823a650fdb63429bb56ba2357c0a3f887000000000144a8" + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "8888f1f195afa192cfee860698584c030f4c9db1", + "difficulty" : "0x020000", + "extraData" : "0x42", + "gasLimit" : "0x2fefd8", + "gasUsed" : "0x00", + "hash" : "679bda385c2b8d60f7310fb7b1eb0c94f1eb9b68cf49ea654b83b65656be9bf4", + "mixHash" : "5a248955beee0d2a531018d175f187ec533146f52c23f94a0278ad76219d947e", + "nonce" : "000000000002031e", + "number" : "0x00", + "parentHash" : "0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "7dba07d6b448a186e9612e5f737d1c909dce473e53199901a302c00646d523c1", + "timestamp" : "0x54c98c81", + "transactionsTrie" : "56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901fcf901f7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347948888f1f195afa192cfee860698584c030f4c9db1a07dba07d6b448a186e9612e5f737d1c909dce473e53199901a302c00646d523c1a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080832fefd8808454c98c8142a05a248955beee0d2a531018d175f187ec533146f52c23f94a0278ad76219d947e88000000000002031ec0c0", + "lastblockhash" : "2964de62c08a553dbea6b483751beb325dd72bf93ce2a3e5c9db878536bd64bb", + "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" : { + } + } + } } } |