{"action":"created","comment":{"url":"https://api.github.com/repos/input-output-hk/cardano-sl/pulls/comments/158589790","pull_request_review_id":85430426,"id":158589790,"diff_hunk":"@@ -233,7 +233,13 @@ rollbackBlocksUnsafe bsc scb toRollback = do\n toTxpBlock\n     :: HasConfiguration\n     => Block -> TxpBlock\n-toTxpBlock = bimap convertGenesis (convertMain mbTxPayload)\n+toTxpBlock block =  case block of","path":"block/src/Pos/Block/Logic/Internal.hs","position":16,"original_position":16,"commit_id":"d2a73322f2024ab3e3336c1156dcb8d6bddec37b","original_commit_id":"04ea801ed22d91034e805a342470f41601a4465f","user":{"login":"v0d1ch","id":1666357,"avatar_url":"https://avatars3.githubusercontent.com/u/1666357?v=4","gravatar_id":"","url":"https://api.github.com/users/v0d1ch","html_url":"https://github.com/v0d1ch","followers_url":"https://api.github.com/users/v0d1ch/followers","following_url":"https://api.github.com/users/v0d1ch/following{/other_user}","gists_url":"https://api.github.com/users/v0d1ch/gists{/gist_id}","starred_url":"https://api.github.com/users/v0d1ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v0d1ch/subscriptions","organizations_url":"https://api.github.com/users/v0d1ch/orgs","repos_url":"https://api.github.com/users/v0d1ch/repos","events_url":"https://api.github.com/users/v0d1ch/events{/privacy}","received_events_url":"https://api.github.com/users/v0d1ch/received_events","type":"User","site_admin":false},"body":"This signature kinda confuses me a bit `toComponentBlock :: (MainBlock -> payload) -> Block -> ComponentBlock payload` - why do I need `Block` in there ?  ","created_at":"2017-12-23T21:52:19Z","updated_at":"2017-12-23T21:52:19Z","html_url":"https://github.com/input-output-hk/cardano-sl/pull/2153#discussion_r158589790","pull_request_url":"https://api.github.com/repos/input-output-hk/cardano-sl/pulls/2153","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/input-output-hk/cardano-sl/pulls/comments/158589790"},"html":{"href":"https://github.com/input-output-hk/cardano-sl/pull/2153#discussion_r158589790"},"pull_request":{"href":"https://api.github.com/repos/input-output-hk/cardano-sl/pulls/2153"}},"in_reply_to_id":158527001},"pull_request":{"url":"https://api.github.com/repos/input-output-hk/cardano-sl/pulls/2153","id":159277500,"html_url":"https://github.com/input-output-hk/cardano-sl/pull/2153","diff_url":"https://github.com/input-output-hk/cardano-sl/pull/2153.diff","patch_url":"https://github.com/input-output-hk/cardano-sl/pull/2153.patch","issue_url":"https://api.github.com/repos/input-output-hk/cardano-sl/issues/2153","number":2153,"state":"open","locked":false,"title":"WIP CSL-1156 find a solution for sscblock updateblock txpblock","user":{"login":"v0d1ch","id":1666357,"avatar_url":"https://avatars3.githubusercontent.com/u/1666357?v=4","gravatar_id":"","url":"https://api.github.com/users/v0d1ch","html_url":"https://github.com/v0d1ch","followers_url":"https://api.github.com/users/v0d1ch/followers","following_url":"https://api.github.com/users/v0d1ch/following{/other_user}","gists_url":"https://api.github.com/users/v0d1ch/gists{/gist_id}","starred_url":"https://api.github.com/users/v0d1ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v0d1ch/subscriptions","organizations_url":"https://api.github.com/users/v0d1ch/orgs","repos_url":"https://api.github.com/users/v0d1ch/repos","events_url":"https://api.github.com/users/v0d1ch/events{/privacy}","received_events_url":"https://api.github.com/users/v0d1ch/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-12-19T21:35:34Z","updated_at":"2017-12-23T21:52:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7f6273c428fbc9402b2d64a86b4bfe9e00b3bc70","assignee":{"login":"v0d1ch","id":1666357,"avatar_url":"https://avatars3.githubusercontent.com/u/1666357?v=4","gravatar_id":"","url":"https://api.github.com/users/v0d1ch","html_url":"https://github.com/v0d1ch","followers_url":"https://api.github.com/users/v0d1ch/followers","following_url":"https://api.github.com/users/v0d1ch/following{/other_user}","gists_url":"https://api.github.com/users/v0d1ch/gists{/gist_id}","starred_url":"https://api.github.com/users/v0d1ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v0d1ch/subscriptions","organizations_url":"https://api.github.com/users/v0d1ch/orgs","repos_url":"https://api.github.com/users/v0d1ch/repos","events_url":"https://api.github.com/users/v0d1ch/events{/privacy}","received_events_url":"https://api.github.com/users/v0d1ch/received_events","type":"User","site_admin":false},"assignees":[{"login":"v0d1ch","id":1666357,"avatar_url":"https://avatars3.githubusercontent.com/u/1666357?v=4","gravatar_id":"","url":"https://api.github.com/users/v0d1ch","html_url":"https://github.com/v0d1ch","followers_url":"https://api.github.com/users/v0d1ch/followers","following_url":"https://api.github.com/users/v0d1ch/following{/other_user}","gists_url":"https://api.github.com/users/v0d1ch/gists{/gist_id}","starred_url":"https://api.github.com/users/v0d1ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v0d1ch/subscriptions","organizations_url":"https://api.github.com/users/v0d1ch/orgs","repos_url":"https://api.github.com/users/v0d1ch/repos","events_url":"https://api.github.com/users/v0d1ch/events{/privacy}","received_events_url":"https://api.github.com/users/v0d1ch/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"neongreen","id":1523306,"avatar_url":"https://avatars3.githubusercontent.com/u/1523306?v=4","gravatar_id":"","url":"https://api.github.com/users/neongreen","html_url":"https://github.com/neongreen","followers_url":"https://api.github.com/users/neongreen/followers","following_url":"https://api.github.com/users/neongreen/following{/other_user}","gists_url":"https://api.github.com/users/neongreen/gists{/gist_id}","starred_url":"https://api.github.com/users/neongreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neongreen/subscriptions","organizations_url":"https://api.github.com/users/neongreen/orgs","repos_url":"https://api.github.com/users/neongreen/repos","events_url":"https://api.github.com/users/neongreen/events{/privacy}","received_events_url":"https://api.github.com/users/neongreen/received_events","type":"User","site_admin":false},{"login":"ksaric","id":6264437,"avatar_url":"https://avatars0.githubusercontent.com/u/6264437?v=4","gravatar_id":"","url":"https://api.github.com/users/ksaric","html_url":"https://github.com/ksaric","followers_url":"https://api.github.com/users/ksaric/followers","following_url":"https://api.github.com/users/ksaric/following{/other_user}","gists_url":"https://api.github.com/users/ksaric/gists{/gist_id}","starred_url":"https://api.github.com/users/ksaric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksaric/subscriptions","organizations_url":"https://api.github.com/users/ksaric/orgs","repos_url":"https://api.github.com/users/ksaric/repos","events_url":"https://api.github.com/users/ksaric/events{/privacy}","received_events_url":"https://api.github.com/users/ksaric/received_events","type":"User","site_admin":false},{"login":"pva701","id":7355273,"avatar_url":"https://avatars1.githubusercontent.com/u/7355273?v=4","gravatar_id":"","url":"https://api.github.com/users/pva701","html_url":"https://github.com/pva701","followers_url":"https://api.github.com/users/pva701/followers","following_url":"https://api.github.com/users/pva701/following{/other_user}","gists_url":"https://api.github.com/users/pva701/gists{/gist_id}","starred_url":"https://api.github.com/users/pva701/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pva701/subscriptions","organizations_url":"https://api.github.com/users/pva701/orgs","repos_url":"https://api.github.com/users/pva701/repos","events_url":"https://api.github.com/users/pva701/events{/privacy}","received_events_url":"https://api.github.com/users/pva701/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/input-output-hk/cardano-sl/pulls/2153/commits","review_comments_url":"https://api.github.com/repos/input-output-hk/cardano-sl/pulls/2153/comments","review_comment_url":"https://api.github.com/repos/input-output-hk/cardano-sl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/input-output-hk/cardano-sl/issues/2153/comments","statuses_url":"https://api.github.com/repos/input-output-hk/cardano-sl/statuses/d2a73322f2024ab3e3336c1156dcb8d6bddec37b","head":{"label":"input-output-hk:v0d1ch/csl-1156_find_a_solution_for_sscblock_updateblock_txpblock","ref":"v0d1ch/csl-1156_find_a_solution_for_sscblock_updateblock_txpblock","sha":"d2a73322f2024ab3e3336c1156dcb8d6bddec37b","user":{"login":"input-output-hk","id":12909177,"avatar_url":"https://avatars3.githubusercontent.com/u/12909177?v=4","gravatar_id":"","url":"https://api.github.com/users/input-output-hk","html_url":"https://github.com/input-output-hk","followers_url":"https://api.github.com/users/input-output-hk/followers","following_url":"https://api.github.com/users/input-output-hk/following{/other_user}","gists_url":"https://api.github.com/users/input-output-hk/gists{/gist_id}","starred_url":"https://api.github.com/users/input-output-hk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/input-output-hk/subscriptions","organizations_url":"https://api.github.com/users/input-output-hk/orgs","repos_url":"https://api.github.com/users/input-output-hk/repos","events_url":"https://api.github.com/users/input-output-hk/events{/privacy}","received_events_url":"https://api.github.com/users/input-output-hk/received_events","type":"Organization","site_admin":false},"repo":{"id":70913997,"name":"cardano-sl","full_name":"input-output-hk/cardano-sl","owner":{"login":"input-output-hk","id":12909177,"avatar_url":"https://avatars3.githubusercontent.com/u/12909177?v=4","gravatar_id":"","url":"https://api.github.com/users/input-output-hk","html_url":"https://github.com/input-output-hk","followers_url":"https://api.github.com/users/input-output-hk/followers","following_url":"https://api.github.com/users/input-output-hk/following{/other_user}","gists_url":"https://api.github.com/users/input-output-hk/gists{/gist_id}","starred_url":"https://api.github.com/users/input-output-hk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/input-output-hk/subscriptions","organizations_url":"https://api.github.com/users/input-output-hk/orgs","repos_url":"https://api.github.com/users/input-output-hk/repos","events_url":"https://api.github.com/users/input-output-hk/events{/privacy}","received_events_url":"https://api.github.com/users/input-output-hk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/input-output-hk/cardano-sl","description":"Cryptographic currency implementing Ouroboros PoS protocol","fork":false,"url":"https://api.github.com/repos/input-output-hk/cardano-sl","forks_url":"https://api.github.com/repos/input-output-hk/cardano-sl/forks","keys_url":"https://api.github.com/repos/input-output-hk/cardano-sl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/input-output-hk/cardano-sl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/input-output-hk/cardano-sl/teams","hooks_url":"https://api.github.com/repos/input-output-hk/cardano-sl/hooks","issue_events_url":"https://api.github.com/repos/input-output-hk/cardano-sl/issues/events{/number}","events_url":"https://api.github.com/repos/input-output-hk/cardano-sl/events","assignees_url":"https://api.github.com/repos/input-output-hk/cardano-sl/assignees{/user}","branches_url":"https://api.github.com/repos/input-output-hk/cardano-sl/branches{/branch}","tags_url":"https://api.github.com/repos/input-output-hk/cardano-sl/tags","blobs_url":"https://api.github.com/repos/input-output-hk/cardano-sl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/input-output-hk/cardano-sl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/input-output-hk/cardano-sl/git/refs{/sha}","trees_url":"https://api.github.com/repos/input-output-hk/cardano-sl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/input-output-hk/cardano-sl/statuses/{sha}","languages_url":"https://api.github.com/repos/input-output-hk/cardano-sl/languages","stargazers_url":"https://api.github.com/repos/input-output-hk/cardano-sl/stargazers","contributors_url":"https://api.github.com/repos/input-output-hk/cardano-sl/contributors","subscribers_url":"https://api.github.com/repos/input-output-hk/cardano-sl/subscribers","subscription_url":"https://api.github.com/repos/input-output-hk/cardano-sl/subscription","commits_url":"https://api.github.com/repos/input-output-hk/cardano-sl/commits{/sha}","git_commits_url":"https://api.github.com/repos/input-output-hk/cardano-sl/git/commits{/sha}","comments_url":"https://api.github.com/repos/input-output-hk/cardano-sl/comments{/number}","issue_comment_url":"https://api.github.com/repos/input-output-hk/cardano-sl/issues/comments{/number}","contents_url":"https://api.github.com/repos/input-output-hk/cardano-sl/contents/{+path}","compare_url":"https://api.github.com/repos/input-output-hk/cardano-sl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/input-output-hk/cardano-sl/merges","archive_url":"https://api.github.com/repos/input-output-hk/cardano-sl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/input-output-hk/cardano-sl/downloads","issues_url":"https://api.github.com/repos/input-output-hk/cardano-sl/issues{/number}","pulls_url":"https://api.github.com/repos/input-output-hk/cardano-sl/pulls{/number}","milestones_url":"https://api.github.com/repos/input-output-hk/cardano-sl/milestones{/number}","notifications_url":"https://api.github.com/repos/input-output-hk/cardano-sl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/input-output-hk/cardano-sl/labels{/name}","releases_url":"https://api.github.com/repos/input-output-hk/cardano-sl/releases{/id}","deployments_url":"https://api.github.com/repos/input-output-hk/cardano-sl/deployments","created_at":"2016-10-14T13:44:38Z","updated_at":"2017-12-23T20:30:49Z","pushed_at":"2017-12-23T21:48:19Z","git_url":"git://github.com/input-output-hk/cardano-sl.git","ssh_url":"git@github.com:input-output-hk/cardano-sl.git","clone_url":"https://github.com/input-output-hk/cardano-sl.git","svn_url":"https://github.com/input-output-hk/cardano-sl","homepage":"","size":78884,"stargazers_count":990,"watchers_count":990,"language":"Haskell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":129,"mirror_url":null,"archived":false,"open_issues_count":67,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":129,"open_issues":67,"watchers":990,"default_branch":"develop"}},"base":{"label":"input-output-hk:develop","ref":"develop","sha":"e7b3d29432e467337eebf8c8ad5d0bf52f13d652","user":{"login":"input-output-hk","id":12909177,"avatar_url":"https://avatars3.githubusercontent.com/u/12909177?v=4","gravatar_id":"","url":"https://api.github.com/users/input-output-hk","html_url":"https://github.com/input-output-hk","followers_url":"https://api.github.com/users/input-output-hk/followers","following_url":"https://api.github.com/users/input-output-hk/following{/other_user}","gists_url":"https://api.github.com/users/input-output-hk/gists{/gist_id}","starred_url":"https://api.github.com/users/input-output-hk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/input-output-hk/subscriptions","organizations_url":"https://api.github.com/users/input-output-hk/orgs","repos_url":"https://api.github.com/users/input-output-hk/repos","events_url":"https://api.github.com/users/input-output-hk/events{/privacy}","received_events_url":"https://api.github.com/users/input-output-hk/received_events","type":"Organization","site_admin":false},"repo":{"id":70913997,"name":"cardano-sl","full_name":"input-output-hk/cardano-sl","owner":{"login":"input-output-hk","id":12909177,"avatar_url":"https://avatars3.githubusercontent.com/u/12909177?v=4","gravatar_id":"","url":"https://api.github.com/users/input-output-hk","html_url":"https://github.com/input-output-hk","followers_url":"https://api.github.com/users/input-output-hk/followers","following_url":"https://api.github.com/users/input-output-hk/following{/other_user}","gists_url":"https://api.github.com/users/input-output-hk/gists{/gist_id}","starred_url":"https://api.github.com/users/input-output-hk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/input-output-hk/subscriptions","organizations_url":"https://api.github.com/users/input-output-hk/orgs","repos_url":"https://api.github.com/users/input-output-hk/repos","events_url":"https://api.github.com/users/input-output-hk/events{/privacy}","received_events_url":"https://api.github.com/users/input-output-hk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/input-output-hk/cardano-sl","description":"Cryptographic currency implementing Ouroboros PoS protocol","fork":false,"url":"https://api.github.com/repos/input-output-hk/cardano-sl","forks_url":"https://api.github.com/repos/input-output-hk/cardano-sl/forks","keys_url":"https://api.github.com/repos/input-output-hk/cardano-sl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/input-output-hk/cardano-sl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/input-output-hk/cardano-sl/teams","hooks_url":"https://api.github.com/repos/input-output-hk/cardano-sl/hooks","issue_events_url":"https://api.github.com/repos/input-output-hk/cardano-sl/issues/events{/number}","events_url":"https://api.github.com/repos/input-output-hk/cardano-sl/events","assignees_url":"https://api.github.com/repos/input-output-hk/cardano-sl/assignees{/user}","branches_url":"https://api.github.com/repos/input-output-hk/cardano-sl/branches{/branch}","tags_url":"https://api.github.com/repos/input-output-hk/cardano-sl/tags","blobs_url":"https://api.github.com/repos/input-output-hk/cardano-sl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/input-output-hk/cardano-sl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/input-output-hk/cardano-sl/git/refs{/sha}","trees_url":"https://api.github.com/repos/input-output-hk/cardano-sl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/input-output-hk/cardano-sl/statuses/{sha}","languages_url":"https://api.github.com/repos/input-output-hk/cardano-sl/languages","stargazers_url":"https://api.github.com/repos/input-output-hk/cardano-sl/stargazers","contributors_url":"https://api.github.com/repos/input-output-hk/cardano-sl/contributors","subscribers_url":"https://api.github.com/repos/input-output-hk/cardano-sl/subscribers","subscription_url":"https://api.github.com/repos/input-output-hk/cardano-sl/subscription","commits_url":"https://api.github.com/repos/input-output-hk/cardano-sl/commits{/sha}","git_commits_url":"https://api.github.com/repos/input-output-hk/cardano-sl/git/commits{/sha}","comments_url":"https://api.github.com/repos/input-output-hk/cardano-sl/comments{/number}","issue_comment_url":"https://api.github.com/repos/input-output-hk/cardano-sl/issues/comments{/number}","contents_url":"https://api.github.com/repos/input-output-hk/cardano-sl/contents/{+path}","compare_url":"https://api.github.com/repos/input-output-hk/cardano-sl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/input-output-hk/cardano-sl/merges","archive_url":"https://api.github.com/repos/input-output-hk/cardano-sl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/input-output-hk/cardano-sl/downloads","issues_url":"https://api.github.com/repos/input-output-hk/cardano-sl/issues{/number}","pulls_url":"https://api.github.com/repos/input-output-hk/cardano-sl/pulls{/number}","milestones_url":"https://api.github.com/repos/input-output-hk/cardano-sl/milestones{/number}","notifications_url":"https://api.github.com/repos/input-output-hk/cardano-sl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/input-output-hk/cardano-sl/labels{/name}","releases_url":"https://api.github.com/repos/input-output-hk/cardano-sl/releases{/id}","deployments_url":"https://api.github.com/repos/input-output-hk/cardano-sl/deployments","created_at":"2016-10-14T13:44:38Z","updated_at":"2017-12-23T20:30:49Z","pushed_at":"2017-12-23T21:48:19Z","git_url":"git://github.com/input-output-hk/cardano-sl.git","ssh_url":"git@github.com:input-output-hk/cardano-sl.git","clone_url":"https://github.com/input-output-hk/cardano-sl.git","svn_url":"https://github.com/input-output-hk/cardano-sl","homepage":"","size":78884,"stargazers_count":990,"watchers_count":990,"language":"Haskell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":129,"mirror_url":null,"archived":false,"open_issues_count":67,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":129,"open_issues":67,"watchers":990,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/input-output-hk/cardano-sl/pulls/2153"},"html":{"href":"https://github.com/input-output-hk/cardano-sl/pull/2153"},"issue":{"href":"https://api.github.com/repos/input-output-hk/cardano-sl/issues/2153"},"comments":{"href":"https://api.github.com/repos/input-output-hk/cardano-sl/issues/2153/comments"},"review_comments":{"href":"https://api.github.com/repos/input-output-hk/cardano-sl/pulls/2153/comments"},"review_comment":{"href":"https://api.github.com/repos/input-output-hk/cardano-sl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/input-output-hk/cardano-sl/pulls/2153/commits"},"statuses":{"href":"https://api.github.com/repos/input-output-hk/cardano-sl/statuses/d2a73322f2024ab3e3336c1156dcb8d6bddec37b"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"v0d1ch"}}