{"action":"opened","issue":{"url":"https://api.github.com/repos/paritytech/parity-ethereum/issues/9929","repository_url":"https://api.github.com/repos/paritytech/parity-ethereum","labels_url":"https://api.github.com/repos/paritytech/parity-ethereum/issues/9929/labels{/name}","comments_url":"https://api.github.com/repos/paritytech/parity-ethereum/issues/9929/comments","events_url":"https://api.github.com/repos/paritytech/parity-ethereum/issues/9929/events","html_url":"https://github.com/paritytech/parity-ethereum/issues/9929","id":381391210,"node_id":"MDU6SXNzdWUzODEzOTEyMTA=","number":9929,"title":"Light node response to eth_getLogs missing transactionHash","user":{"login":"epheph","id":361654,"node_id":"MDQ6VXNlcjM2MTY1NA==","avatar_url":"https://avatars1.githubusercontent.com/u/361654?v=4","gravatar_id":"","url":"https://api.github.com/users/epheph","html_url":"https://github.com/epheph","followers_url":"https://api.github.com/users/epheph/followers","following_url":"https://api.github.com/users/epheph/following{/other_user}","gists_url":"https://api.github.com/users/epheph/gists{/gist_id}","starred_url":"https://api.github.com/users/epheph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epheph/subscriptions","organizations_url":"https://api.github.com/users/epheph/orgs","repos_url":"https://api.github.com/users/epheph/repos","events_url":"https://api.github.com/users/epheph/events{/privacy}","received_events_url":"https://api.github.com/users/epheph/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-16T00:01:39Z","updated_at":"2018-11-16T00:01:39Z","closed_at":null,"author_association":"NONE","body":"_Before filing a new issue, please **provide the following information**._\r\n\r\n- **Parity Ethereum version**: v2.2.1\r\n- **Operating system**: Linux\r\n- **Installation**: Official docker image\r\n- **Fully synchronized**: What's that even mean for a warping light node? 😜\r\n- **Network**: ethereum\r\n- **Restarted**: yes\r\n\r\nIssuing a getLogs request to a parity node that is in --light:\r\n```\r\n$ curl -s -X POST -H \"Content-Type: application/json\" --data '{\"jsonrpc\":\"2.0\",\"method\":\"eth_getLogs\",\"params\":[ {\"fromBlock\":\"0x5a6da7\",\"toBlock\":\"0x5a6da7\",\"address\":\"0x75228dce4d82566d93068a8d5d49435216551599\"} ],\"id\":74}' localhost:8545 | jq .result[0]\r\n\r\n{\r\n  \"address\": \"0x75228dce4d82566d93068a8d5d49435216551599\",\r\n  \"blockHash\": \"0x4ff6030cce082be8f5a56d7f7bbe5e32e8d98295f31c8e070285fbdd022a06a7\",\r\n  \"blockNumber\": \"0x5a6da7\",\r\n  \"data\": \"0x000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\",\r\n  \"logIndex\": \"0x9\",\r\n  \"removed\": false,\r\n  \"topics\": [\r\n    \"0x299eaafd0d27519eda3fe7195b73e5269e442b3d80928f19afa32b6db2f352b6\",\r\n    \"0x0000000000000000000000000000000000000000000000000000000000000000\",\r\n    \"0x000000000000000000000000e991247b78f937d7b69cfc00f1a487a293557677\"\r\n  ],\r\n  \"transactionHash\": null,\r\n  \"transactionIndex\": \"0x2a\",\r\n  \"transactionLogIndex\": \"0x0\",\r\n  \"type\": \"mined\"\r\n}\r\n```\r\n\r\nThe data is correct and complete, but \r\n```\r\n  \"transactionHash\": null,\r\n```\r\n\r\nThat response, from a parity full node or geth node (light or full) is:\r\n```\r\n$  curl -s -X POST -H \"Content-Type: application/json\" --data '{\"jsonrpc\":\"2.0\",\"method\":\"eth_getLogs\",\"params\":[ {\"fromBlock\":\"0x5a6da7\",\"toBlock\":\"0x5a6da7\",\"address\":\"0x75228dce4d82566d93068a8d5d49435216551599\"} ],\"id\":74}' my-geth-server | jq .result[0]\r\n{\r\n  \"address\": \"0x75228dce4d82566d93068a8d5d49435216551599\",\r\n  \"topics\": [\r\n    \"0x299eaafd0d27519eda3fe7195b73e5269e442b3d80928f19afa32b6db2f352b6\",\r\n    \"0x0000000000000000000000000000000000000000000000000000000000000000\",\r\n    \"0x000000000000000000000000e991247b78f937d7b69cfc00f1a487a293557677\"\r\n  ],\r\n  \"data\": \"0x000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\",\r\n  \"blockNumber\": \"0x5a6da7\",\r\n  \"transactionHash\": \"0x44c09f8eeff886723b79890e14743192a8c8d8a8eac158ed17600c94e502cce8\",\r\n  \"transactionIndex\": \"0x2a\",\r\n  \"blockHash\": \"0x4ff6030cce082be8f5a56d7f7bbe5e32e8d98295f31c8e070285fbdd022a06a7\",\r\n  \"logIndex\": \"0x9\",\r\n  \"removed\": false\r\n}\r\n```\r\n"}}
{"actor":{"display_login":"epheph"}}