{"action":"created","issue":{"url":"https://api.github.com/repos/ethcore/parity/issues/2022","repository_url":"https://api.github.com/repos/ethcore/parity","labels_url":"https://api.github.com/repos/ethcore/parity/issues/2022/labels{/name}","comments_url":"https://api.github.com/repos/ethcore/parity/issues/2022/comments","events_url":"https://api.github.com/repos/ethcore/parity/issues/2022/events","html_url":"https://github.com/ethcore/parity/issues/2022","id":174147272,"number":2022,"title":"Transactions sent from a non-authority node not sealed In \"Proof of Authority\" chain ","user":{"login":"igorbarinov","id":424628,"avatar_url":"https://avatars.githubusercontent.com/u/424628?v=3","gravatar_id":"","url":"https://api.github.com/users/igorbarinov","html_url":"https://github.com/igorbarinov","followers_url":"https://api.github.com/users/igorbarinov/followers","following_url":"https://api.github.com/users/igorbarinov/following{/other_user}","gists_url":"https://api.github.com/users/igorbarinov/gists{/gist_id}","starred_url":"https://api.github.com/users/igorbarinov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igorbarinov/subscriptions","organizations_url":"https://api.github.com/users/igorbarinov/orgs","repos_url":"https://api.github.com/users/igorbarinov/repos","events_url":"https://api.github.com/users/igorbarinov/events{/privacy}","received_events_url":"https://api.github.com/users/igorbarinov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ethcore/parity/labels/F2-bug","name":"F2-bug","color":"eb3420"}],"state":"open","locked":false,"assignee":{"login":"tomusdrw","id":581548,"avatar_url":"https://avatars.githubusercontent.com/u/581548?v=3","gravatar_id":"","url":"https://api.github.com/users/tomusdrw","html_url":"https://github.com/tomusdrw","followers_url":"https://api.github.com/users/tomusdrw/followers","following_url":"https://api.github.com/users/tomusdrw/following{/other_user}","gists_url":"https://api.github.com/users/tomusdrw/gists{/gist_id}","starred_url":"https://api.github.com/users/tomusdrw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomusdrw/subscriptions","organizations_url":"https://api.github.com/users/tomusdrw/orgs","repos_url":"https://api.github.com/users/tomusdrw/repos","events_url":"https://api.github.com/users/tomusdrw/events{/privacy}","received_events_url":"https://api.github.com/users/tomusdrw/received_events","type":"User","site_admin":false},"assignees":[{"login":"tomusdrw","id":581548,"avatar_url":"https://avatars.githubusercontent.com/u/581548?v=3","gravatar_id":"","url":"https://api.github.com/users/tomusdrw","html_url":"https://github.com/tomusdrw","followers_url":"https://api.github.com/users/tomusdrw/followers","following_url":"https://api.github.com/users/tomusdrw/following{/other_user}","gists_url":"https://api.github.com/users/tomusdrw/gists{/gist_id}","starred_url":"https://api.github.com/users/tomusdrw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomusdrw/subscriptions","organizations_url":"https://api.github.com/users/tomusdrw/orgs","repos_url":"https://api.github.com/users/tomusdrw/repos","events_url":"https://api.github.com/users/tomusdrw/events{/privacy}","received_events_url":"https://api.github.com/users/tomusdrw/received_events","type":"User","site_admin":false}],"milestone":null,"comments":14,"created_at":"2016-08-30T23:06:30Z","updated_at":"2016-09-02T15:57:17Z","closed_at":null,"body":"Transaction sent from non-authority node is not included in a block. The same transaction (with different from/to) sent from authority node is included in a block.\r\n\r\nResult of `eth_getTransactionReceipt` for the transcation from non-authority node:\r\n``` json\r\n{  \r\n   \"jsonrpc\":\"2.0\",\r\n   \"result\":{  \r\n      \"blockHash\":null,\r\n      \"blockNumber\":null,\r\n      \"contractAddress\":null,\r\n      \"cumulativeGasUsed\":\"0x1c5f37\",\r\n      \"gasUsed\":\"0x1c5f37\",\r\n      \"logs\":[  \r\n         {  \r\n            \"address\":\"0x4089a1ec95f458d2e4d903a837c2b410616f92e3\",\r\n            \"blockHash\":null,\r\n            \"blockNumber\":null,\r\n            \"data\":\"0x00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000\",\r\n            \"logIndex\":null,\r\n            \"topics\":[  \r\n               \"0x11114af1fb8a9f9d70bc529b2e9367cd45202b315e53e6559b08f2e13bf9e37c\"\r\n            ],\r\n            \"transactionHash\":null,\r\n            \"transactionIndex\":null,\r\n            \"type\":\"pending\"\r\n         }\r\n      ],\r\n      \"transactionHash\":null,\r\n      \"transactionIndex\":null\r\n   },\r\n   \"id\":1\r\n}\r\n```\r\n\r\nTransaction details \r\n``` json\r\n{  \r\n   \"jsonrpc\":\"2.0\",\r\n   \"method\":\"eth_sendTransaction\",\r\n   \"id\":\"1\",\r\n   \"params\":[  \r\n      {  \r\n         \"from\":\"0xfe3fe367ece77a13d501adda3d4973d9bd5cef0e\",\r\n         \"to\":\"0x4089a1ec95f458d2e4d903a837c2b410616f92e3\",\r\n         \"data\":\"0xf9fbd55448656c6c6f2c20776f726c642100000000000000000000000000000000000000\"\r\n      }\r\n   ]\r\n}\r\n```\r\n\r\nNodes connected to each other. Parity UI returns `0/ 1/25 peers`.  `net_peerCount` returns\r\n```json\r\n{\"jsonrpc\":\"2.0\",\"result\":\"0x1\",\"id\":1}\r\n```\r\n\r\nChain.json used by both nodes\r\n```json\r\n{\r\n  \"name\": \"Private\",\r\n  \"engine\": {\r\n    \"BasicAuthority\": {\r\n      \"params\": {\r\n        \"gasLimitBoundDivisor\": \"0x0400\",\r\n        \"durationLimit\": \"0x0d\",\r\n        \"authorities\" : [\"0x245d22d1c5061d08648a162180800959d79c1f8d\"]\r\n      }\r\n    }\r\n  },\r\n  \"params\": {\r\n    \"accountStartNonce\": \"0x00\",\r\n    \"maximumExtraDataSize\": \"0x20\",\r\n    \"minGasLimit\": \"0x1388\",\r\n    \"networkID\" : \"0xad\"\r\n  },\r\n  \"genesis\": {\r\n    \"seal\": {\r\n      \"generic\": {\r\n        \"fields\": 1,\r\n        \"rlp\": \"0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa\"\r\n      }\r\n    },\r\n    \"difficulty\": \"0x20000\",\r\n    \"author\": \"0x0000000000000000000000000000000000000000\",\r\n    \"timestamp\": \"0x00\",\r\n    \"parentHash\": \"0x0000000000000000000000000000000000000000000000000000000000000000\",\r\n    \"extraData\": \"0x\",\r\n    \"gasLimit\": \"0x2fefd8\"\r\n  },\r\n  \"accounts\": {\r\n    \"0000000000000000000000000000000000000001\": { \"balance\": \"1\", \"nonce\": \"1048576\", \"builtin\": { \"name\": \"ecrecover\", \"pricing\": { \"linear\": { \"base\": 3000, \"word\": 0 } } } },\r\n    \"0000000000000000000000000000000000000002\": { \"balance\": \"1\", \"nonce\": \"1048576\", \"builtin\": { \"name\": \"sha256\", \"pricing\": { \"linear\": { \"base\": 60, \"word\": 12 } } } },\r\n    \"0000000000000000000000000000000000000003\": { \"balance\": \"1\", \"nonce\": \"1048576\", \"builtin\": { \"name\": \"ripemd160\", \"pricing\": { \"linear\": { \"base\": 600, \"word\": 120 } } } },\r\n    \"0000000000000000000000000000000000000004\": { \"balance\": \"1\", \"nonce\": \"1048576\", \"builtin\": { \"name\": \"identity\", \"pricing\": { \"linear\": { \"base\": 15, \"word\": 3 } } } },\r\n    \"0x245d22d1c5061d08648a162180800959d79c1f8d\": {\r\n      \"balance\": \"1606938044258990275541962092341162602522202993782792835301376\"\r\n    }\r\n  }\r\n}\r\n```\r\n\r\nStarting string of Authority node\r\n```bash \r\nparity --dapps-hosts all --dapps-interface 0.0.0.0 --dapps-port 8002 \\\r\n--dapps-user user --dapps-pass tcOx48dfEYSDfwANplLtH82tWv4CPh --chain \\\r\n/root/chain.json --force-sealing --author \\\r\n0x245d22d1c5061d08648a162180800959d79c1f8d --unlock \\\r\n0x245d22d1c5061d08648a162180800959d79c1f8d --password /root/.parity-pass \\\r\n--rpccorsdomain \"*\" --jsonrpc-hosts=all --jsonrpc-interface all \r\n```\r\n\r\nStarting string of Non-Authority node\r\n``` bash\r\nparity --chain /root/chain.json --unlock \\\r\n0xfe3fe367ece77a13d501adda3d4973d9bd5cef0e --password /root/.parity-pass \\\r\n--rpccorsdomain \"*\" --jsonrpc-hosts=all --jsonrpc-interface all --bootnodes \\\r\nenode://fab9d3eb0b3a5b7704c2e563351f95515b06d3bf20dc11c7d0e2ab56947a90827b15522c205b7a085cc6fad9540a537101bc4c30bb2d07cd2e906653346a76d6@172.17.0.2:30303\r\n```"},"comment":{"url":"https://api.github.com/repos/ethcore/parity/issues/comments/244415212","html_url":"https://github.com/ethcore/parity/issues/2022#issuecomment-244415212","issue_url":"https://api.github.com/repos/ethcore/parity/issues/2022","id":244415212,"user":{"login":"igorbarinov","id":424628,"avatar_url":"https://avatars.githubusercontent.com/u/424628?v=3","gravatar_id":"","url":"https://api.github.com/users/igorbarinov","html_url":"https://github.com/igorbarinov","followers_url":"https://api.github.com/users/igorbarinov/followers","following_url":"https://api.github.com/users/igorbarinov/following{/other_user}","gists_url":"https://api.github.com/users/igorbarinov/gists{/gist_id}","starred_url":"https://api.github.com/users/igorbarinov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igorbarinov/subscriptions","organizations_url":"https://api.github.com/users/igorbarinov/orgs","repos_url":"https://api.github.com/users/igorbarinov/repos","events_url":"https://api.github.com/users/igorbarinov/events{/privacy}","received_events_url":"https://api.github.com/users/igorbarinov/received_events","type":"User","site_admin":false},"created_at":"2016-09-02T15:57:17Z","updated_at":"2016-09-02T15:57:17Z","body":"recording https://asciinema.org/a/3y0j0q55q4ix4nrxea55ife7b"}}
{"actor":{"display_login":"igorbarinov"}}