From 260b93624d5ba8b136fcfca729faa815d84f5fa0 Mon Sep 17 00:00:00 2001 From: Simon Jentzsch Date: Sat, 21 Dec 2019 11:52:09 +0100 Subject: [PATCH] remove keyproof based error --- test/testdata/requests/eth_getLogs.json | 101 +----------------------- 1 file changed, 1 insertion(+), 100 deletions(-) diff --git a/test/testdata/requests/eth_getLogs.json b/test/testdata/requests/eth_getLogs.json index 6d93c4792..af1335138 100644 --- a/test/testdata/requests/eth_getLogs.json +++ b/test/testdata/requests/eth_getLogs.json @@ -2094,105 +2094,6 @@ } ] }, - { - "descr": "get registry logs from - wrong receipt", - "success": false, - "verification": "proof", - "request": { - "method": "eth_getLogs", - "params": [ - { - "fromBlock": "0x7ae000", - "toBlock": "0x7af0e4", - "address": "0x27a37a1210df14f7e058393d026e2fb53b7cf8c1" - } - ] - }, - "response": [ - { - "jsonrpc": "2.0", - "result": [ - { - "address": "0x27a37a1210df14f7e058393d026e2fb53b7cf8c1", - "blockHash": "0x12657acc9dbca74775efcc09bcd55da769e89fff27a0402e02708a6e69caa3bb", - "blockNumber": "0x7ae16b", - "data": "0x00000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000003000000000000000000000000784bfa9eb182c3a02dbeb5285e3dba92d717e07a00000000000000000000000000000000000000000000000000038d7ea4c68000000000000000000000000000000000000000000000000000000000000000001f68747470733a2f2f696e332e736c6f636b2e69742f6b6f76616e2f6e642d3100", - "logIndex": "0x0", - "removed": false, - "topics": [ - "0x690cd1ace756531abc63987913dcfaf18055f3bd6bb27d3def1cc5319ebc1461" - ], - "transactionHash": "0xddc81454b0df60fb31dbefd0fd4c5e8fe4f3daa541c879964500d876056e2976", - "transactionIndex": "0x0", - "transactionLogIndex": "0x0", - "type": "mined" - }, - { - "address": "0x27a37a1210df14f7e058393d026e2fb53b7cf8c1", - "blockHash": "0x2410d512d12e18b2451efe195ece85723b7f39c3f5d706ea112bfcc57c0249d2", - "blockNumber": "0x7af0e4", - "data": "0x0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000ffff00000000000000000000000017cdf9ec6dcae05c5686265638647e54b14b41a200000000000000000000000000000000000000000000000000038d7ea4c68000000000000000000000000000000000000000000000000000000000000000001f68747470733a2f2f696e332e736c6f636b2e69742f6b6f76616e2f6e642d3200", - "logIndex": "0x4", - "removed": false, - "topics": [ - "0x690cd1ace756531abc63987913dcfaf18055f3bd6bb27d3def1cc5319ebc1461" - ], - "transactionHash": "0x30fe995d61a5491a49e8f1283b36f4cb7fa5d370927bd8784c33e702546a9daa", - "transactionIndex": "0x4", - "transactionLogIndex": "0x0", - "type": "mined" - } - ], - "id": 144, - "in3": { - "proof": { - "type": "logProof", - "logProof": { - "0x7ae16b": { - "number": 8053099, - "receipts": { - "0xddc81454b0df60fb31dbefd0fd4c5e8fe4f3daa541c879964500d876056e2977": { - "txHash": "0xddc81454b0df60fb31dbefd0fd4c5e8fe4f3daa541c879964500d876056e2976", - "txIndex": 0, - "proof": [ - "0xf9020e822080b90208f902050183022215b9010000010000000000000000000000000000000000000000000000000000000000000000400000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f8fbf8f99427a37a1210df14f7e058393d026e2fb53b7cf8c1e1a0690cd1ace756531abc63987913dcfaf18055f3bd6bb27d3def1cc5319ebc1461b8c000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000003000000000000000000000000784bfa9eb182c3a02dbeb5285e3dba92d717e07a00000000000000000000000000000000000000000000000000038d7ea4c68000000000000000000000000000000000000000000000000000000000000000001f68747470733a2f2f696e332e736c6f636b2e69742f6b6f76616e2f6e642d3100" - ], - "txProof": [ - "0xf8f7822080b8f2f8f080843b9aca00832dc6c09427a37a1210df14f7e058393d026e2fb53b7cf8c187038d7ea4c68000b88456a1e06c00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001f68747470733a2f2f696e332e736c6f636b2e69742f6b6f76616e2f6e642d31001ca098d0eb6c81718cf6caac59b76cd7c2bc90472c5e82532fe677f540657fb6c2d7a02c16d35dd64a2bd661f4d17905e7f1cfc2c942d146eb84ab0ddbfd8157234bc7" - ] - } - }, - "block": "0xf9023ea002343274023adb5d66e35972265734139b5c515cd028c1ec439d59cc32814e4ca01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d493479400e6d2b931f55a3f1701c7389d592a7778897879a08f52d706510fbef3367bb9462bfff0353761dc7b584373f87ebe0f0a6695e5c2a028469f07efc81bcb8aa9ebf15cbeec49aca887e174e5ca28d429707c681beca3a072e68dfc6fa80b78cc28e617800c86e4ed4bd2bd4e594a72ecdb64078f9e7472b901000001000000000000000000000000000000000000000000000000000000000000000040000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000090fffffffffffffffffffffffffffffffe837ae16b837a11f883022215845b4f478c96d583010b068650617269747986312e32372e30826c698416d3d1e3b841b868cb740ff1bf20fba88c1268448e99daa74fa6fa9a42a4afc5b01f24652e1f4508a671fcfecfa4bf9ba75fa753793bd36320f16ca1084040790a0d8fb2727d00" - }, - "0x7af0e4": { - "number": 8057060, - "receipts": { - "0x30fe995d61a5491a49e8f1283b36f4cb7fa5d370927bd8784c33e702546a9daa": { - "txHash": "0x30fe995d61a5491a49e8f1283b36f4cb7fa5d370927bd8784c33e702546a9daa", - "txIndex": 4, - "proof": [ - "0xf851a039faec62761bd4f49a94681dc4349b958cd536eeead1577f68b86f2a4afa109880808080808080a06fdbadcecedc4c829462781f8105208bc42d79441fd41e194abfb65ca242f3738080808080808080", - "0xf8b180a0ee82c3779ede9472c49a921d1a656f6583d366d3245a302cb4b5dccf8eda4364a0386c310f4b450727e231377c7d998f2b112b67679a2eddded87c400f438cd75ca0e221ad3d9e3e6702c4fac6e0231f8bd3ff80deb1d7b83b7b9eb42f1668464c8da026b559c1820ee723c6118e7e0a8171998a6ea7d0a994fc4fbb9dc680b7e2fb71a02461c8e3d9ac8a2a8b7859817faaff65ababb68edd20d2fef9d7b4547554f9d78080808080808080808080", - "0xf9020c20b90208f90205018314f6ddb9010000010000000000000000000000000000000000000000000000000000000000000000400000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f8fbf8f99427a37a1210df14f7e058393d026e2fb53b7cf8c1e1a0690cd1ace756531abc63987913dcfaf18055f3bd6bb27d3def1cc5319ebc1461b8c00000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000ffff00000000000000000000000017cdf9ec6dcae05c5686265638647e54b14b41a200000000000000000000000000000000000000000000000000038d7ea4c68000000000000000000000000000000000000000000000000000000000000000001f68747470733a2f2f696e332e736c6f636b2e69742f6b6f76616e2f6e642d3200" - ], - "txProof": [ - "0xf851a09250840f6b87ba40642103315ced1b15c6818b174e78792ccefab321b7a9f1ea80808080808080a0845499a87154d36d6448404eeba208932d4a8d3ac054f2425d52138ec8c696658080808080808080", - "0xf8b180a04e5257328b7a6dca04ac5c753c6eb1620fd366a1b6e34d4869dc4287c42c3b31a09fe1f0dcfd449a29febcd1f9cbf0c8b6ab30af8580bff2fdda6db3ebf807d6afa0eac7914efdd9028b388e6838a5bb42c4a18d146f715ca5cddc9d1c0015cb23d8a0c9c162b4777be37e015b78a8118389a82704fa0c1571f6408a39233ba54040f0a0c266b361292c19144b4b3a9fb41c0454f475703de79fdac72f60e22f31be54668080808080808080808080", - "0xf8f620b8f3f8f1808503d60aa9f6832dc6c09427a37a1210df14f7e058393d026e2fb53b7cf8c187038d7ea4c68000b88456a1e06c0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000ffff000000000000000000000000000000000000000000000000000000000000001f68747470733a2f2f696e332e736c6f636b2e69742f6b6f76616e2f6e642d32001ca077d6c3ae0b7aee15637941035b9fc073e465d1b49e9ec3cea98b4e2279cd1613a02c3ab15912bcff30589145914fa456a32408ea3f16f60c085b3fd1b3cda1b066" - ] - } - }, - "block": "0xf9023ea03837491e4b3b48cd226890f9cba2fa00a5c061e8c65d46092db318af4e8028fca01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347940020ee4be0e2027d76603cb751ee069519ba81a1a0f4eac4361c61dace89b7f13089dc3104cea04185d2fe6dfeb2f206a4e8f89eb4a0fbd86aa5185b6d82fa190c89c873125c1d30324ea48f3d99372dbfcf8fc21d30a0dd39b229441ece392ec0d3b6979e4106f6238be2d350184ba7f131dbcd4ee2f1b90100000900000000000000000000000000000000000000000000000000000000000000004000000004000000000000008000000000000000000020000000000000000000000000000000000000000000000000000000800800000000000000000000000000000000000002000000000400000004000004000000200a000000000000010000000010000000400000100000000000000000000000000004000008400000000000000000000840000500000000000010000000000000000000000000000000000000000000004000000000000000220000000000000000000000200000000000100000000000002000000100000000001000000000000000000000010090fffffffffffffffffffffffffffffffc837af0e4837a1200831548e5845b4fa9f096d583010b068650617269747986312e32372e30826c698416d3ea7cb84189957179feec809a898fde34e77448eb359e895f2f7df8515c992c84ebac164843bd6658f9d45de5b6048569d6ceff38814e821991a6f6e07a71903202331f4900" - } - } - }, - "lastValidatorChange": 0, - "lastNodeList": 8057063, - "execTime": 1470 - } - } - ] - }, { "descr": "get registry logs from kovan - wrong txHash in proof", "success": false, @@ -2863,4 +2764,4 @@ } ] } -] +] \ No newline at end of file