{"action":"created","comment":{"url":"https://api.github.com/repos/orbs-network/orbs-network-go/pulls/comments/204633829","pull_request_review_id":139744542,"id":204633829,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNDYzMzgyOQ==","diff_hunk":"@@ -0,0 +1,105 @@\n+package test\n+\n+import (\n+\t. \"github.com/onsi/ginkgo\"\n+\t. \"github.com/onsi/gomega\"\n+\t\"github.com/orbs-network/orbs-network-go/test\"\n+\t\"github.com/orbs-network/orbs-spec/types/go/services\"\n+\t\"github.com/orbs-network/orbs-spec/types/go/primitives\"\n+)\n+\n+var _ = Describe(\"Block storage\", func () {\n+\tWhen(\"asked to provide transactions block header\", func () {\n+\t\tIt(\"returns transactions block header\", func () {\n+\t\t\tdriver := NewDriver()\n+\t\t\tdriver.expectCommitStateDiff()\n+\n+\t\t\tblock := test.BlockPairBuilder().Build()\n+\t\t\tdriver.commitBlock(block)\n+\n+\t\t\toutput, err := driver.blockStorage.GetTransactionsBlockHeader(&services.GetTransactionsBlockHeaderInput{BlockHeight:1})","path":"services/blockstorage/test/get_block_headers.go","position":20,"original_position":20,"commit_id":"a00594abccbe71efc7a622bf185bccbcea455b0d","original_commit_id":"a00594abccbe71efc7a622bf185bccbcea455b0d","user":{"login":"electricmonk","id":912517,"node_id":"MDQ6VXNlcjkxMjUxNw==","avatar_url":"https://avatars1.githubusercontent.com/u/912517?v=4","gravatar_id":"","url":"https://api.github.com/users/electricmonk","html_url":"https://github.com/electricmonk","followers_url":"https://api.github.com/users/electricmonk/followers","following_url":"https://api.github.com/users/electricmonk/following{/other_user}","gists_url":"https://api.github.com/users/electricmonk/gists{/gist_id}","starred_url":"https://api.github.com/users/electricmonk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/electricmonk/subscriptions","organizations_url":"https://api.github.com/users/electricmonk/orgs","repos_url":"https://api.github.com/users/electricmonk/repos","events_url":"https://api.github.com/users/electricmonk/events{/privacy}","received_events_url":"https://api.github.com/users/electricmonk/received_events","type":"User","site_admin":false},"body":"consider hiding the input message struct in the driver, so that instead this could look like:\r\n```golang\r\ndriver.getTxBlockHeader(1)\r\n```","created_at":"2018-07-24T06:13:51Z","updated_at":"2018-07-24T06:21:58Z","html_url":"https://github.com/orbs-network/orbs-network-go/pull/25#discussion_r204633829","pull_request_url":"https://api.github.com/repos/orbs-network/orbs-network-go/pulls/25","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/orbs-network/orbs-network-go/pulls/comments/204633829"},"html":{"href":"https://github.com/orbs-network/orbs-network-go/pull/25#discussion_r204633829"},"pull_request":{"href":"https://api.github.com/repos/orbs-network/orbs-network-go/pulls/25"}}},"pull_request":{"url":"https://api.github.com/repos/orbs-network/orbs-network-go/pulls/25","id":203195740,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAzMTk1NzQw","html_url":"https://github.com/orbs-network/orbs-network-go/pull/25","diff_url":"https://github.com/orbs-network/orbs-network-go/pull/25.diff","patch_url":"https://github.com/orbs-network/orbs-network-go/pull/25.patch","issue_url":"https://api.github.com/repos/orbs-network/orbs-network-go/issues/25","number":25,"state":"open","locked":false,"title":"More tests for block storage","user":{"login":"netoneko","id":614125,"node_id":"MDQ6VXNlcjYxNDEyNQ==","avatar_url":"https://avatars2.githubusercontent.com/u/614125?v=4","gravatar_id":"","url":"https://api.github.com/users/netoneko","html_url":"https://github.com/netoneko","followers_url":"https://api.github.com/users/netoneko/followers","following_url":"https://api.github.com/users/netoneko/following{/other_user}","gists_url":"https://api.github.com/users/netoneko/gists{/gist_id}","starred_url":"https://api.github.com/users/netoneko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netoneko/subscriptions","organizations_url":"https://api.github.com/users/netoneko/orgs","repos_url":"https://api.github.com/users/netoneko/repos","events_url":"https://api.github.com/users/netoneko/events{/privacy}","received_events_url":"https://api.github.com/users/netoneko/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-23T11:57:31Z","updated_at":"2018-07-24T06:21:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fcb6e02c3a7dad922b6ab0cf93239549f33483e2","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/orbs-network/orbs-network-go/pulls/25/commits","review_comments_url":"https://api.github.com/repos/orbs-network/orbs-network-go/pulls/25/comments","review_comment_url":"https://api.github.com/repos/orbs-network/orbs-network-go/pulls/comments{/number}","comments_url":"https://api.github.com/repos/orbs-network/orbs-network-go/issues/25/comments","statuses_url":"https://api.github.com/repos/orbs-network/orbs-network-go/statuses/a00594abccbe71efc7a622bf185bccbcea455b0d","head":{"label":"orbs-network:feature/block-storage","ref":"feature/block-storage","sha":"a00594abccbe71efc7a622bf185bccbcea455b0d","user":{"login":"orbs-network","id":33665977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzNjY1OTc3","avatar_url":"https://avatars3.githubusercontent.com/u/33665977?v=4","gravatar_id":"","url":"https://api.github.com/users/orbs-network","html_url":"https://github.com/orbs-network","followers_url":"https://api.github.com/users/orbs-network/followers","following_url":"https://api.github.com/users/orbs-network/following{/other_user}","gists_url":"https://api.github.com/users/orbs-network/gists{/gist_id}","starred_url":"https://api.github.com/users/orbs-network/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orbs-network/subscriptions","organizations_url":"https://api.github.com/users/orbs-network/orgs","repos_url":"https://api.github.com/users/orbs-network/repos","events_url":"https://api.github.com/users/orbs-network/events{/privacy}","received_events_url":"https://api.github.com/users/orbs-network/received_events","type":"Organization","site_admin":false},"repo":{"id":138470435,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg0NzA0MzU=","name":"orbs-network-go","full_name":"orbs-network/orbs-network-go","owner":{"login":"orbs-network","id":33665977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzNjY1OTc3","avatar_url":"https://avatars3.githubusercontent.com/u/33665977?v=4","gravatar_id":"","url":"https://api.github.com/users/orbs-network","html_url":"https://github.com/orbs-network","followers_url":"https://api.github.com/users/orbs-network/followers","following_url":"https://api.github.com/users/orbs-network/following{/other_user}","gists_url":"https://api.github.com/users/orbs-network/gists{/gist_id}","starred_url":"https://api.github.com/users/orbs-network/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orbs-network/subscriptions","organizations_url":"https://api.github.com/users/orbs-network/orgs","repos_url":"https://api.github.com/users/orbs-network/repos","events_url":"https://api.github.com/users/orbs-network/events{/privacy}","received_events_url":"https://api.github.com/users/orbs-network/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/orbs-network/orbs-network-go","description":"Orbs platform reference implementation in Go","fork":false,"url":"https://api.github.com/repos/orbs-network/orbs-network-go","forks_url":"https://api.github.com/repos/orbs-network/orbs-network-go/forks","keys_url":"https://api.github.com/repos/orbs-network/orbs-network-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/orbs-network/orbs-network-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/orbs-network/orbs-network-go/teams","hooks_url":"https://api.github.com/repos/orbs-network/orbs-network-go/hooks","issue_events_url":"https://api.github.com/repos/orbs-network/orbs-network-go/issues/events{/number}","events_url":"https://api.github.com/repos/orbs-network/orbs-network-go/events","assignees_url":"https://api.github.com/repos/orbs-network/orbs-network-go/assignees{/user}","branches_url":"https://api.github.com/repos/orbs-network/orbs-network-go/branches{/branch}","tags_url":"https://api.github.com/repos/orbs-network/orbs-network-go/tags","blobs_url":"https://api.github.com/repos/orbs-network/orbs-network-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/orbs-network/orbs-network-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/orbs-network/orbs-network-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/orbs-network/orbs-network-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/orbs-network/orbs-network-go/statuses/{sha}","languages_url":"https://api.github.com/repos/orbs-network/orbs-network-go/languages","stargazers_url":"https://api.github.com/repos/orbs-network/orbs-network-go/stargazers","contributors_url":"https://api.github.com/repos/orbs-network/orbs-network-go/contributors","subscribers_url":"https://api.github.com/repos/orbs-network/orbs-network-go/subscribers","subscription_url":"https://api.github.com/repos/orbs-network/orbs-network-go/subscription","commits_url":"https://api.github.com/repos/orbs-network/orbs-network-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/orbs-network/orbs-network-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/orbs-network/orbs-network-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/orbs-network/orbs-network-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/orbs-network/orbs-network-go/contents/{+path}","compare_url":"https://api.github.com/repos/orbs-network/orbs-network-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/orbs-network/orbs-network-go/merges","archive_url":"https://api.github.com/repos/orbs-network/orbs-network-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/orbs-network/orbs-network-go/downloads","issues_url":"https://api.github.com/repos/orbs-network/orbs-network-go/issues{/number}","pulls_url":"https://api.github.com/repos/orbs-network/orbs-network-go/pulls{/number}","milestones_url":"https://api.github.com/repos/orbs-network/orbs-network-go/milestones{/number}","notifications_url":"https://api.github.com/repos/orbs-network/orbs-network-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/orbs-network/orbs-network-go/labels{/name}","releases_url":"https://api.github.com/repos/orbs-network/orbs-network-go/releases{/id}","deployments_url":"https://api.github.com/repos/orbs-network/orbs-network-go/deployments","created_at":"2018-06-24T09:47:23Z","updated_at":"2018-07-24T06:02:06Z","pushed_at":"2018-07-24T06:02:04Z","git_url":"git://github.com/orbs-network/orbs-network-go.git","ssh_url":"git@github.com:orbs-network/orbs-network-go.git","clone_url":"https://github.com/orbs-network/orbs-network-go.git","svn_url":"https://github.com/orbs-network/orbs-network-go","homepage":"","size":727,"stargazers_count":2,"watchers_count":2,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":8,"watchers":2,"default_branch":"master"}},"base":{"label":"orbs-network:master","ref":"master","sha":"763948bf7c6db055dafe4063693f3de27cc89439","user":{"login":"orbs-network","id":33665977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzNjY1OTc3","avatar_url":"https://avatars3.githubusercontent.com/u/33665977?v=4","gravatar_id":"","url":"https://api.github.com/users/orbs-network","html_url":"https://github.com/orbs-network","followers_url":"https://api.github.com/users/orbs-network/followers","following_url":"https://api.github.com/users/orbs-network/following{/other_user}","gists_url":"https://api.github.com/users/orbs-network/gists{/gist_id}","starred_url":"https://api.github.com/users/orbs-network/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orbs-network/subscriptions","organizations_url":"https://api.github.com/users/orbs-network/orgs","repos_url":"https://api.github.com/users/orbs-network/repos","events_url":"https://api.github.com/users/orbs-network/events{/privacy}","received_events_url":"https://api.github.com/users/orbs-network/received_events","type":"Organization","site_admin":false},"repo":{"id":138470435,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg0NzA0MzU=","name":"orbs-network-go","full_name":"orbs-network/orbs-network-go","owner":{"login":"orbs-network","id":33665977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzNjY1OTc3","avatar_url":"https://avatars3.githubusercontent.com/u/33665977?v=4","gravatar_id":"","url":"https://api.github.com/users/orbs-network","html_url":"https://github.com/orbs-network","followers_url":"https://api.github.com/users/orbs-network/followers","following_url":"https://api.github.com/users/orbs-network/following{/other_user}","gists_url":"https://api.github.com/users/orbs-network/gists{/gist_id}","starred_url":"https://api.github.com/users/orbs-network/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orbs-network/subscriptions","organizations_url":"https://api.github.com/users/orbs-network/orgs","repos_url":"https://api.github.com/users/orbs-network/repos","events_url":"https://api.github.com/users/orbs-network/events{/privacy}","received_events_url":"https://api.github.com/users/orbs-network/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/orbs-network/orbs-network-go","description":"Orbs platform reference implementation in Go","fork":false,"url":"https://api.github.com/repos/orbs-network/orbs-network-go","forks_url":"https://api.github.com/repos/orbs-network/orbs-network-go/forks","keys_url":"https://api.github.com/repos/orbs-network/orbs-network-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/orbs-network/orbs-network-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/orbs-network/orbs-network-go/teams","hooks_url":"https://api.github.com/repos/orbs-network/orbs-network-go/hooks","issue_events_url":"https://api.github.com/repos/orbs-network/orbs-network-go/issues/events{/number}","events_url":"https://api.github.com/repos/orbs-network/orbs-network-go/events","assignees_url":"https://api.github.com/repos/orbs-network/orbs-network-go/assignees{/user}","branches_url":"https://api.github.com/repos/orbs-network/orbs-network-go/branches{/branch}","tags_url":"https://api.github.com/repos/orbs-network/orbs-network-go/tags","blobs_url":"https://api.github.com/repos/orbs-network/orbs-network-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/orbs-network/orbs-network-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/orbs-network/orbs-network-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/orbs-network/orbs-network-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/orbs-network/orbs-network-go/statuses/{sha}","languages_url":"https://api.github.com/repos/orbs-network/orbs-network-go/languages","stargazers_url":"https://api.github.com/repos/orbs-network/orbs-network-go/stargazers","contributors_url":"https://api.github.com/repos/orbs-network/orbs-network-go/contributors","subscribers_url":"https://api.github.com/repos/orbs-network/orbs-network-go/subscribers","subscription_url":"https://api.github.com/repos/orbs-network/orbs-network-go/subscription","commits_url":"https://api.github.com/repos/orbs-network/orbs-network-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/orbs-network/orbs-network-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/orbs-network/orbs-network-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/orbs-network/orbs-network-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/orbs-network/orbs-network-go/contents/{+path}","compare_url":"https://api.github.com/repos/orbs-network/orbs-network-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/orbs-network/orbs-network-go/merges","archive_url":"https://api.github.com/repos/orbs-network/orbs-network-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/orbs-network/orbs-network-go/downloads","issues_url":"https://api.github.com/repos/orbs-network/orbs-network-go/issues{/number}","pulls_url":"https://api.github.com/repos/orbs-network/orbs-network-go/pulls{/number}","milestones_url":"https://api.github.com/repos/orbs-network/orbs-network-go/milestones{/number}","notifications_url":"https://api.github.com/repos/orbs-network/orbs-network-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/orbs-network/orbs-network-go/labels{/name}","releases_url":"https://api.github.com/repos/orbs-network/orbs-network-go/releases{/id}","deployments_url":"https://api.github.com/repos/orbs-network/orbs-network-go/deployments","created_at":"2018-06-24T09:47:23Z","updated_at":"2018-07-24T06:02:06Z","pushed_at":"2018-07-24T06:02:04Z","git_url":"git://github.com/orbs-network/orbs-network-go.git","ssh_url":"git@github.com:orbs-network/orbs-network-go.git","clone_url":"https://github.com/orbs-network/orbs-network-go.git","svn_url":"https://github.com/orbs-network/orbs-network-go","homepage":"","size":727,"stargazers_count":2,"watchers_count":2,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":8,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/orbs-network/orbs-network-go/pulls/25"},"html":{"href":"https://github.com/orbs-network/orbs-network-go/pull/25"},"issue":{"href":"https://api.github.com/repos/orbs-network/orbs-network-go/issues/25"},"comments":{"href":"https://api.github.com/repos/orbs-network/orbs-network-go/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/orbs-network/orbs-network-go/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/orbs-network/orbs-network-go/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/orbs-network/orbs-network-go/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/orbs-network/orbs-network-go/statuses/a00594abccbe71efc7a622bf185bccbcea455b0d"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"electricmonk"}}