{"action":"created","issue":{"url":"https://api.github.com/repos/paritytech/parity/issues/8400","repository_url":"https://api.github.com/repos/paritytech/parity","labels_url":"https://api.github.com/repos/paritytech/parity/issues/8400/labels{/name}","comments_url":"https://api.github.com/repos/paritytech/parity/issues/8400/comments","events_url":"https://api.github.com/repos/paritytech/parity/issues/8400/events","html_url":"https://github.com/paritytech/parity/pull/8400","id":314115353,"node_id":"MDExOlB1bGxSZXF1ZXN0MTgxNDk0Mzk3","number":8400,"title":"Tx permission contract improvement","user":{"login":"VladLupashevskyi","id":17516057,"node_id":"MDQ6VXNlcjE3NTE2MDU3","avatar_url":"https://avatars3.githubusercontent.com/u/17516057?v=4","gravatar_id":"","url":"https://api.github.com/users/VladLupashevskyi","html_url":"https://github.com/VladLupashevskyi","followers_url":"https://api.github.com/users/VladLupashevskyi/followers","following_url":"https://api.github.com/users/VladLupashevskyi/following{/other_user}","gists_url":"https://api.github.com/users/VladLupashevskyi/gists{/gist_id}","starred_url":"https://api.github.com/users/VladLupashevskyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VladLupashevskyi/subscriptions","organizations_url":"https://api.github.com/users/VladLupashevskyi/orgs","repos_url":"https://api.github.com/users/VladLupashevskyi/repos","events_url":"https://api.github.com/users/VladLupashevskyi/events{/privacy}","received_events_url":"https://api.github.com/users/VladLupashevskyi/received_events","type":"User","site_admin":false},"labels":[{"id":309708100,"node_id":"MDU6TGFiZWwzMDk3MDgxMDA=","url":"https://api.github.com/repos/paritytech/parity/labels/A0-pleasereview","name":"A0-pleasereview","color":"666666","default":false},{"id":441816407,"node_id":"MDU6TGFiZWw0NDE4MTY0MDc=","url":"https://api.github.com/repos/paritytech/parity/labels/M4-core","name":"M4-core","color":"F5FCE6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/paritytech/parity/milestones/21","html_url":"https://github.com/paritytech/parity/milestone/21","labels_url":"https://api.github.com/repos/paritytech/parity/milestones/21/labels","id":3057411,"node_id":"MDk6TWlsZXN0b25lMzA1NzQxMQ==","number":21,"title":"1.12","description":"","creator":{"login":"5chdn","id":15729797,"node_id":"MDQ6VXNlcjE1NzI5Nzk3","avatar_url":"https://avatars3.githubusercontent.com/u/15729797?v=4","gravatar_id":"","url":"https://api.github.com/users/5chdn","html_url":"https://github.com/5chdn","followers_url":"https://api.github.com/users/5chdn/followers","following_url":"https://api.github.com/users/5chdn/following{/other_user}","gists_url":"https://api.github.com/users/5chdn/gists{/gist_id}","starred_url":"https://api.github.com/users/5chdn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/5chdn/subscriptions","organizations_url":"https://api.github.com/users/5chdn/orgs","repos_url":"https://api.github.com/users/5chdn/repos","events_url":"https://api.github.com/users/5chdn/events{/privacy}","received_events_url":"https://api.github.com/users/5chdn/received_events","type":"User","site_admin":false},"open_issues":109,"closed_issues":281,"state":"open","created_at":"2018-01-23T13:30:50Z","updated_at":"2018-06-02T09:05:12Z","due_on":"2018-06-25T07:00:00Z","closed_at":null},"comments":20,"created_at":"2018-04-13T13:51:13Z","updated_at":"2018-06-02T12:08:38Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/paritytech/parity/pulls/8400","html_url":"https://github.com/paritytech/parity/pull/8400","diff_url":"https://github.com/paritytech/parity/pull/8400.diff","patch_url":"https://github.com/paritytech/parity/pull/8400.patch"},"body":"Transaction regulation plays an important role in permissioned blockchains. Current implementation of the tx permission contract provides very limited possibilities to filter tx types (basic transaction, contract call and contract creation) only by transaction sender address.\r\n\r\nI would like to introduce an extended version for tx permission contract, which adds more flexibility to transaction regulation.\r\n\r\nTransaction `to` address and `value` in ether have been added to arguments of allowedTxTypes function.\r\n`to` address represents tx destination address in case of basic transaction and contract call. When contract creation comes up this parameter equals to zero address since it doesn't make sense in this case.\r\n\r\nI believe that this update broadens the range of options for the tx filtering such as opportunity to filter tx for sender and recipient address pairs as well as to limit ether sending from/to specific addresses.\r\n\r\nI would really appreciate these changes to be merged into parity repository, however I understand that it might break blockchains that are using current implementation of tx permission contract so I'm open for the backward compatibility discussion!"},"comment":{"url":"https://api.github.com/repos/paritytech/parity/issues/comments/394082702","html_url":"https://github.com/paritytech/parity/pull/8400#issuecomment-394082702","issue_url":"https://api.github.com/repos/paritytech/parity/issues/8400","id":394082702,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDA4MjcwMg==","user":{"login":"VladLupashevskyi","id":17516057,"node_id":"MDQ6VXNlcjE3NTE2MDU3","avatar_url":"https://avatars3.githubusercontent.com/u/17516057?v=4","gravatar_id":"","url":"https://api.github.com/users/VladLupashevskyi","html_url":"https://github.com/VladLupashevskyi","followers_url":"https://api.github.com/users/VladLupashevskyi/followers","following_url":"https://api.github.com/users/VladLupashevskyi/following{/other_user}","gists_url":"https://api.github.com/users/VladLupashevskyi/gists{/gist_id}","starred_url":"https://api.github.com/users/VladLupashevskyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VladLupashevskyi/subscriptions","organizations_url":"https://api.github.com/users/VladLupashevskyi/orgs","repos_url":"https://api.github.com/users/VladLupashevskyi/repos","events_url":"https://api.github.com/users/VladLupashevskyi/events{/privacy}","received_events_url":"https://api.github.com/users/VladLupashevskyi/received_events","type":"User","site_admin":false},"created_at":"2018-06-02T12:08:38Z","updated_at":"2018-06-02T12:08:38Z","author_association":"CONTRIBUTOR","body":"@5chdn Oops, sorry for this confusion. I merged master into this branch. Now everything is ok with files."}}
{"actor":{"display_login":"VladLupashevskyi"}}