{"action":"created","comment":{"url":"https://api.github.com/repos/raiden-network/raiden-libs/pulls/comments/185727684","pull_request_review_id":117171551,"id":185727684,"diff_hunk":"@@ -57,16 +59,28 @@ def __init__(\n         self,\n         privkey: str,\n         token_network_contract: Contract,\n-        token_contract: Contract\n+        token_contract: Contract,\n     ) -> None:\n         self.privkey = privkey\n         self.address = private_key_to_address(privkey)\n         self.contract = token_network_contract\n         self.token_contract = token_contract\n         self.partner_to_channel_id: Dict[Address, ChannelIdentifier] = dict()\n         self.token_network_abi = None\n+        self.transport: Transport = None\n         self.client_registry: Dict[Address, 'MockRaidenNode'] = dict()\n         self.web3 = self.contract.web3\n+        if self.transport is not None:\n+            self.transport.start()  # type: ignore\n+            self.transport.add_message_callback(self.on_message_event)  # type: ignore\n+\n+    def on_message_event(self, message: Message):","path":"raiden_libs/test/mocks/client.py","position":32,"original_position":32,"commit_id":"eb1566af6e5b0a12a296c2d43eb618c87707da8d","original_commit_id":"eb1566af6e5b0a12a296c2d43eb618c87707da8d","user":{"login":"palango","id":90851,"avatar_url":"https://avatars1.githubusercontent.com/u/90851?v=4","gravatar_id":"","url":"https://api.github.com/users/palango","html_url":"https://github.com/palango","followers_url":"https://api.github.com/users/palango/followers","following_url":"https://api.github.com/users/palango/following{/other_user}","gists_url":"https://api.github.com/users/palango/gists{/gist_id}","starred_url":"https://api.github.com/users/palango/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palango/subscriptions","organizations_url":"https://api.github.com/users/palango/orgs","repos_url":"https://api.github.com/users/palango/repos","events_url":"https://api.github.com/users/palango/events{/privacy}","received_events_url":"https://api.github.com/users/palango/received_events","type":"User","site_admin":false},"body":"What is this for? Can we get around adding a greenlet here?","created_at":"2018-05-03T08:33:53Z","updated_at":"2018-05-03T08:33:58Z","html_url":"https://github.com/raiden-network/raiden-libs/pull/62#discussion_r185727684","pull_request_url":"https://api.github.com/repos/raiden-network/raiden-libs/pulls/62","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/raiden-network/raiden-libs/pulls/comments/185727684"},"html":{"href":"https://github.com/raiden-network/raiden-libs/pull/62#discussion_r185727684"},"pull_request":{"href":"https://api.github.com/repos/raiden-network/raiden-libs/pulls/62"}}},"pull_request":{"url":"https://api.github.com/repos/raiden-network/raiden-libs/pulls/62","id":185024427,"html_url":"https://github.com/raiden-network/raiden-libs/pull/62","diff_url":"https://github.com/raiden-network/raiden-libs/pull/62.diff","patch_url":"https://github.com/raiden-network/raiden-libs/pull/62.patch","issue_url":"https://api.github.com/repos/raiden-network/raiden-libs/issues/62","number":62,"state":"open","locked":false,"title":"adding paths_reply message","user":{"login":"err508","id":22775390,"avatar_url":"https://avatars3.githubusercontent.com/u/22775390?v=4","gravatar_id":"","url":"https://api.github.com/users/err508","html_url":"https://github.com/err508","followers_url":"https://api.github.com/users/err508/followers","following_url":"https://api.github.com/users/err508/following{/other_user}","gists_url":"https://api.github.com/users/err508/gists{/gist_id}","starred_url":"https://api.github.com/users/err508/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/err508/subscriptions","organizations_url":"https://api.github.com/users/err508/orgs","repos_url":"https://api.github.com/users/err508/repos","events_url":"https://api.github.com/users/err508/events{/privacy}","received_events_url":"https://api.github.com/users/err508/received_events","type":"User","site_admin":false},"body":"Adding `paths_reply` message type for PFS -> Client. Additionally adding `DummyTransport` to `MockRaidenNode` to process messages received from PFS.","created_at":"2018-04-30T18:08:28Z","updated_at":"2018-05-03T08:33:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7a0c54a30b5673a7decc6a12ffc3317ca51e5b84","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/raiden-network/raiden-libs/pulls/62/commits","review_comments_url":"https://api.github.com/repos/raiden-network/raiden-libs/pulls/62/comments","review_comment_url":"https://api.github.com/repos/raiden-network/raiden-libs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/raiden-network/raiden-libs/issues/62/comments","statuses_url":"https://api.github.com/repos/raiden-network/raiden-libs/statuses/eb1566af6e5b0a12a296c2d43eb618c87707da8d","head":{"label":"err508:request_paths","ref":"request_paths","sha":"eb1566af6e5b0a12a296c2d43eb618c87707da8d","user":{"login":"err508","id":22775390,"avatar_url":"https://avatars3.githubusercontent.com/u/22775390?v=4","gravatar_id":"","url":"https://api.github.com/users/err508","html_url":"https://github.com/err508","followers_url":"https://api.github.com/users/err508/followers","following_url":"https://api.github.com/users/err508/following{/other_user}","gists_url":"https://api.github.com/users/err508/gists{/gist_id}","starred_url":"https://api.github.com/users/err508/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/err508/subscriptions","organizations_url":"https://api.github.com/users/err508/orgs","repos_url":"https://api.github.com/users/err508/repos","events_url":"https://api.github.com/users/err508/events{/privacy}","received_events_url":"https://api.github.com/users/err508/received_events","type":"User","site_admin":false},"repo":{"id":131019204,"name":"raiden-libs","full_name":"err508/raiden-libs","owner":{"login":"err508","id":22775390,"avatar_url":"https://avatars3.githubusercontent.com/u/22775390?v=4","gravatar_id":"","url":"https://api.github.com/users/err508","html_url":"https://github.com/err508","followers_url":"https://api.github.com/users/err508/followers","following_url":"https://api.github.com/users/err508/following{/other_user}","gists_url":"https://api.github.com/users/err508/gists{/gist_id}","starred_url":"https://api.github.com/users/err508/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/err508/subscriptions","organizations_url":"https://api.github.com/users/err508/orgs","repos_url":"https://api.github.com/users/err508/repos","events_url":"https://api.github.com/users/err508/events{/privacy}","received_events_url":"https://api.github.com/users/err508/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/err508/raiden-libs","description":"Useful tools for Raiden and Auxiliary services","fork":true,"url":"https://api.github.com/repos/err508/raiden-libs","forks_url":"https://api.github.com/repos/err508/raiden-libs/forks","keys_url":"https://api.github.com/repos/err508/raiden-libs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/err508/raiden-libs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/err508/raiden-libs/teams","hooks_url":"https://api.github.com/repos/err508/raiden-libs/hooks","issue_events_url":"https://api.github.com/repos/err508/raiden-libs/issues/events{/number}","events_url":"https://api.github.com/repos/err508/raiden-libs/events","assignees_url":"https://api.github.com/repos/err508/raiden-libs/assignees{/user}","branches_url":"https://api.github.com/repos/err508/raiden-libs/branches{/branch}","tags_url":"https://api.github.com/repos/err508/raiden-libs/tags","blobs_url":"https://api.github.com/repos/err508/raiden-libs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/err508/raiden-libs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/err508/raiden-libs/git/refs{/sha}","trees_url":"https://api.github.com/repos/err508/raiden-libs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/err508/raiden-libs/statuses/{sha}","languages_url":"https://api.github.com/repos/err508/raiden-libs/languages","stargazers_url":"https://api.github.com/repos/err508/raiden-libs/stargazers","contributors_url":"https://api.github.com/repos/err508/raiden-libs/contributors","subscribers_url":"https://api.github.com/repos/err508/raiden-libs/subscribers","subscription_url":"https://api.github.com/repos/err508/raiden-libs/subscription","commits_url":"https://api.github.com/repos/err508/raiden-libs/commits{/sha}","git_commits_url":"https://api.github.com/repos/err508/raiden-libs/git/commits{/sha}","comments_url":"https://api.github.com/repos/err508/raiden-libs/comments{/number}","issue_comment_url":"https://api.github.com/repos/err508/raiden-libs/issues/comments{/number}","contents_url":"https://api.github.com/repos/err508/raiden-libs/contents/{+path}","compare_url":"https://api.github.com/repos/err508/raiden-libs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/err508/raiden-libs/merges","archive_url":"https://api.github.com/repos/err508/raiden-libs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/err508/raiden-libs/downloads","issues_url":"https://api.github.com/repos/err508/raiden-libs/issues{/number}","pulls_url":"https://api.github.com/repos/err508/raiden-libs/pulls{/number}","milestones_url":"https://api.github.com/repos/err508/raiden-libs/milestones{/number}","notifications_url":"https://api.github.com/repos/err508/raiden-libs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/err508/raiden-libs/labels{/name}","releases_url":"https://api.github.com/repos/err508/raiden-libs/releases{/id}","deployments_url":"https://api.github.com/repos/err508/raiden-libs/deployments","created_at":"2018-04-25T14:29:13Z","updated_at":"2018-05-02T16:20:23Z","pushed_at":"2018-05-02T16:20:21Z","git_url":"git://github.com/err508/raiden-libs.git","ssh_url":"git@github.com:err508/raiden-libs.git","clone_url":"https://github.com/err508/raiden-libs.git","svn_url":"https://github.com/err508/raiden-libs","homepage":"","size":151,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"raiden-network:master","ref":"master","sha":"dd2723180ad5a9a55c09aa1c2d5d844f035b2997","user":{"login":"raiden-network","id":19666847,"avatar_url":"https://avatars1.githubusercontent.com/u/19666847?v=4","gravatar_id":"","url":"https://api.github.com/users/raiden-network","html_url":"https://github.com/raiden-network","followers_url":"https://api.github.com/users/raiden-network/followers","following_url":"https://api.github.com/users/raiden-network/following{/other_user}","gists_url":"https://api.github.com/users/raiden-network/gists{/gist_id}","starred_url":"https://api.github.com/users/raiden-network/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raiden-network/subscriptions","organizations_url":"https://api.github.com/users/raiden-network/orgs","repos_url":"https://api.github.com/users/raiden-network/repos","events_url":"https://api.github.com/users/raiden-network/events{/privacy}","received_events_url":"https://api.github.com/users/raiden-network/received_events","type":"Organization","site_admin":false},"repo":{"id":124226118,"name":"raiden-libs","full_name":"raiden-network/raiden-libs","owner":{"login":"raiden-network","id":19666847,"avatar_url":"https://avatars1.githubusercontent.com/u/19666847?v=4","gravatar_id":"","url":"https://api.github.com/users/raiden-network","html_url":"https://github.com/raiden-network","followers_url":"https://api.github.com/users/raiden-network/followers","following_url":"https://api.github.com/users/raiden-network/following{/other_user}","gists_url":"https://api.github.com/users/raiden-network/gists{/gist_id}","starred_url":"https://api.github.com/users/raiden-network/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raiden-network/subscriptions","organizations_url":"https://api.github.com/users/raiden-network/orgs","repos_url":"https://api.github.com/users/raiden-network/repos","events_url":"https://api.github.com/users/raiden-network/events{/privacy}","received_events_url":"https://api.github.com/users/raiden-network/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/raiden-network/raiden-libs","description":"Useful tools for Raiden and Auxiliary services","fork":false,"url":"https://api.github.com/repos/raiden-network/raiden-libs","forks_url":"https://api.github.com/repos/raiden-network/raiden-libs/forks","keys_url":"https://api.github.com/repos/raiden-network/raiden-libs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/raiden-network/raiden-libs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/raiden-network/raiden-libs/teams","hooks_url":"https://api.github.com/repos/raiden-network/raiden-libs/hooks","issue_events_url":"https://api.github.com/repos/raiden-network/raiden-libs/issues/events{/number}","events_url":"https://api.github.com/repos/raiden-network/raiden-libs/events","assignees_url":"https://api.github.com/repos/raiden-network/raiden-libs/assignees{/user}","branches_url":"https://api.github.com/repos/raiden-network/raiden-libs/branches{/branch}","tags_url":"https://api.github.com/repos/raiden-network/raiden-libs/tags","blobs_url":"https://api.github.com/repos/raiden-network/raiden-libs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/raiden-network/raiden-libs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/raiden-network/raiden-libs/git/refs{/sha}","trees_url":"https://api.github.com/repos/raiden-network/raiden-libs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/raiden-network/raiden-libs/statuses/{sha}","languages_url":"https://api.github.com/repos/raiden-network/raiden-libs/languages","stargazers_url":"https://api.github.com/repos/raiden-network/raiden-libs/stargazers","contributors_url":"https://api.github.com/repos/raiden-network/raiden-libs/contributors","subscribers_url":"https://api.github.com/repos/raiden-network/raiden-libs/subscribers","subscription_url":"https://api.github.com/repos/raiden-network/raiden-libs/subscription","commits_url":"https://api.github.com/repos/raiden-network/raiden-libs/commits{/sha}","git_commits_url":"https://api.github.com/repos/raiden-network/raiden-libs/git/commits{/sha}","comments_url":"https://api.github.com/repos/raiden-network/raiden-libs/comments{/number}","issue_comment_url":"https://api.github.com/repos/raiden-network/raiden-libs/issues/comments{/number}","contents_url":"https://api.github.com/repos/raiden-network/raiden-libs/contents/{+path}","compare_url":"https://api.github.com/repos/raiden-network/raiden-libs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/raiden-network/raiden-libs/merges","archive_url":"https://api.github.com/repos/raiden-network/raiden-libs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/raiden-network/raiden-libs/downloads","issues_url":"https://api.github.com/repos/raiden-network/raiden-libs/issues{/number}","pulls_url":"https://api.github.com/repos/raiden-network/raiden-libs/pulls{/number}","milestones_url":"https://api.github.com/repos/raiden-network/raiden-libs/milestones{/number}","notifications_url":"https://api.github.com/repos/raiden-network/raiden-libs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/raiden-network/raiden-libs/labels{/name}","releases_url":"https://api.github.com/repos/raiden-network/raiden-libs/releases{/id}","deployments_url":"https://api.github.com/repos/raiden-network/raiden-libs/deployments","created_at":"2018-03-07T11:27:52Z","updated_at":"2018-05-02T13:45:43Z","pushed_at":"2018-05-02T15:40:51Z","git_url":"git://github.com/raiden-network/raiden-libs.git","ssh_url":"git@github.com:raiden-network/raiden-libs.git","clone_url":"https://github.com/raiden-network/raiden-libs.git","svn_url":"https://github.com/raiden-network/raiden-libs","homepage":"","size":145,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":7,"license":null,"forks":8,"open_issues":7,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/raiden-network/raiden-libs/pulls/62"},"html":{"href":"https://github.com/raiden-network/raiden-libs/pull/62"},"issue":{"href":"https://api.github.com/repos/raiden-network/raiden-libs/issues/62"},"comments":{"href":"https://api.github.com/repos/raiden-network/raiden-libs/issues/62/comments"},"review_comments":{"href":"https://api.github.com/repos/raiden-network/raiden-libs/pulls/62/comments"},"review_comment":{"href":"https://api.github.com/repos/raiden-network/raiden-libs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/raiden-network/raiden-libs/pulls/62/commits"},"statuses":{"href":"https://api.github.com/repos/raiden-network/raiden-libs/statuses/eb1566af6e5b0a12a296c2d43eb618c87707da8d"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"palango"}}