{"action":"created","comment":{"url":"https://api.github.com/repos/poetapp/node/pulls/comments/233600134","pull_request_review_id":175053831,"id":233600134,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMzYwMDEzNA==","diff_hunk":"@@ -0,0 +1,49 @@\n+/* tslint:disable:no-relative-imports */\n+import { describe } from 'riteway'\n+import { runtimeId, setUpDb } from '../../tests/helpers/utils'\n+import { BlockInfoDAO } from './BlockInfoDAO'\n+\n+const prefix = runtimeId()","path":"src/BlockchainWriter/BlockInfoDAO.test.ts","position":6,"original_position":6,"commit_id":"3b79f44af851c727089d59cab6cbabcb71c2906e","original_commit_id":"3b79f44af851c727089d59cab6cbabcb71c2906e","user":{"login":"lautarodragan","id":2279687,"node_id":"MDQ6VXNlcjIyNzk2ODc=","avatar_url":"https://avatars2.githubusercontent.com/u/2279687?v=4","gravatar_id":"","url":"https://api.github.com/users/lautarodragan","html_url":"https://github.com/lautarodragan","followers_url":"https://api.github.com/users/lautarodragan/followers","following_url":"https://api.github.com/users/lautarodragan/following{/other_user}","gists_url":"https://api.github.com/users/lautarodragan/gists{/gist_id}","starred_url":"https://api.github.com/users/lautarodragan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lautarodragan/subscriptions","organizations_url":"https://api.github.com/users/lautarodragan/orgs","repos_url":"https://api.github.com/users/lautarodragan/repos","events_url":"https://api.github.com/users/lautarodragan/events{/privacy}","received_events_url":"https://api.github.com/users/lautarodragan/received_events","type":"User","site_admin":false},"body":"Got it.","created_at":"2018-11-14T20:04:23Z","updated_at":"2018-11-14T20:04:23Z","html_url":"https://github.com/poetapp/node/pull/764#discussion_r233600134","pull_request_url":"https://api.github.com/repos/poetapp/node/pulls/764","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/poetapp/node/pulls/comments/233600134"},"html":{"href":"https://github.com/poetapp/node/pull/764#discussion_r233600134"},"pull_request":{"href":"https://api.github.com/repos/poetapp/node/pulls/764"}},"in_reply_to_id":233597273},"pull_request":{"url":"https://api.github.com/repos/poetapp/node/pulls/764","id":230654424,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMwNjU0NDI0","html_url":"https://github.com/poetapp/node/pull/764","diff_url":"https://github.com/poetapp/node/pull/764.diff","patch_url":"https://github.com/poetapp/node/pull/764.patch","issue_url":"https://api.github.com/repos/poetapp/node/issues/764","number":764,"state":"closed","locked":false,"title":"feat: store block and hash info","user":{"login":"krobi64","id":159039,"node_id":"MDQ6VXNlcjE1OTAzOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/159039?v=4","gravatar_id":"","url":"https://api.github.com/users/krobi64","html_url":"https://github.com/krobi64","followers_url":"https://api.github.com/users/krobi64/followers","following_url":"https://api.github.com/users/krobi64/following{/other_user}","gists_url":"https://api.github.com/users/krobi64/gists{/gist_id}","starred_url":"https://api.github.com/users/krobi64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krobi64/subscriptions","organizations_url":"https://api.github.com/users/krobi64/orgs","repos_url":"https://api.github.com/users/krobi64/repos","events_url":"https://api.github.com/users/krobi64/events{/privacy}","received_events_url":"https://api.github.com/users/krobi64/received_events","type":"User","site_admin":false},"body":"[PR Process](https://github.com/poetapp/documentation/blob/master/process/pr-review.md#pr-process) - [PR Review Checklist](https://github.com/poetapp/documentation/blob/master/process/pr-review.md#pr-review-checklist)\r\n\r\n### Release\r\n Semantic release is enabled for this repository. Make sure you follow the right commit message convention. \r\n We're using semantic-release's default — [Angular Commit Message Conventions](https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#-git-commit-guidelines).\r\n\r\n## Description of Changes\r\n\r\n<!-- Remove the back-ticks (`) to link one or more issues fixed/resolved by this PR (or delete if not applicable) -->\r\nReferences #707\r\n\r\n<!-- Describe your changes below in a reasonable amount of detail -->\r\nCreates a basic store to save blockchain info and to find the block with the greatest height. This will be called in BlockchainWriter onBlockDownloaded so that we can create a service to verify writes to the blockchain. Once we more fully develop the verification process, more functions will be added to the DAO.","created_at":"2018-11-13T22:57:40Z","updated_at":"2018-11-14T20:04:23Z","closed_at":"2018-11-14T19:24:28Z","merged_at":"2018-11-14T19:24:28Z","merge_commit_sha":"d085ac0695e062662d60370b6f9ab47702596953","assignee":{"login":"krobi64","id":159039,"node_id":"MDQ6VXNlcjE1OTAzOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/159039?v=4","gravatar_id":"","url":"https://api.github.com/users/krobi64","html_url":"https://github.com/krobi64","followers_url":"https://api.github.com/users/krobi64/followers","following_url":"https://api.github.com/users/krobi64/following{/other_user}","gists_url":"https://api.github.com/users/krobi64/gists{/gist_id}","starred_url":"https://api.github.com/users/krobi64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krobi64/subscriptions","organizations_url":"https://api.github.com/users/krobi64/orgs","repos_url":"https://api.github.com/users/krobi64/repos","events_url":"https://api.github.com/users/krobi64/events{/privacy}","received_events_url":"https://api.github.com/users/krobi64/received_events","type":"User","site_admin":false},"assignees":[{"login":"krobi64","id":159039,"node_id":"MDQ6VXNlcjE1OTAzOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/159039?v=4","gravatar_id":"","url":"https://api.github.com/users/krobi64","html_url":"https://github.com/krobi64","followers_url":"https://api.github.com/users/krobi64/followers","following_url":"https://api.github.com/users/krobi64/following{/other_user}","gists_url":"https://api.github.com/users/krobi64/gists{/gist_id}","starred_url":"https://api.github.com/users/krobi64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krobi64/subscriptions","organizations_url":"https://api.github.com/users/krobi64/orgs","repos_url":"https://api.github.com/users/krobi64/repos","events_url":"https://api.github.com/users/krobi64/events{/privacy}","received_events_url":"https://api.github.com/users/krobi64/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1104187405,"node_id":"MDU6TGFiZWwxMTA0MTg3NDA1","url":"https://api.github.com/repos/poetapp/node/labels/released","name":"released","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/poetapp/node/pulls/764/commits","review_comments_url":"https://api.github.com/repos/poetapp/node/pulls/764/comments","review_comment_url":"https://api.github.com/repos/poetapp/node/pulls/comments{/number}","comments_url":"https://api.github.com/repos/poetapp/node/issues/764/comments","statuses_url":"https://api.github.com/repos/poetapp/node/statuses/3b79f44af851c727089d59cab6cbabcb71c2906e","head":{"label":"poetapp:kris-store-block-and-hash-info","ref":"kris-store-block-and-hash-info","sha":"3b79f44af851c727089d59cab6cbabcb71c2906e","user":{"login":"poetapp","id":24881331,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0ODgxMzMx","avatar_url":"https://avatars0.githubusercontent.com/u/24881331?v=4","gravatar_id":"","url":"https://api.github.com/users/poetapp","html_url":"https://github.com/poetapp","followers_url":"https://api.github.com/users/poetapp/followers","following_url":"https://api.github.com/users/poetapp/following{/other_user}","gists_url":"https://api.github.com/users/poetapp/gists{/gist_id}","starred_url":"https://api.github.com/users/poetapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poetapp/subscriptions","organizations_url":"https://api.github.com/users/poetapp/orgs","repos_url":"https://api.github.com/users/poetapp/repos","events_url":"https://api.github.com/users/poetapp/events{/privacy}","received_events_url":"https://api.github.com/users/poetapp/received_events","type":"Organization","site_admin":false},"repo":{"id":108142666,"node_id":"MDEwOlJlcG9zaXRvcnkxMDgxNDI2NjY=","name":"node","full_name":"poetapp/node","private":false,"owner":{"login":"poetapp","id":24881331,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0ODgxMzMx","avatar_url":"https://avatars0.githubusercontent.com/u/24881331?v=4","gravatar_id":"","url":"https://api.github.com/users/poetapp","html_url":"https://github.com/poetapp","followers_url":"https://api.github.com/users/poetapp/followers","following_url":"https://api.github.com/users/poetapp/following{/other_user}","gists_url":"https://api.github.com/users/poetapp/gists{/gist_id}","starred_url":"https://api.github.com/users/poetapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poetapp/subscriptions","organizations_url":"https://api.github.com/users/poetapp/orgs","repos_url":"https://api.github.com/users/poetapp/repos","events_url":"https://api.github.com/users/poetapp/events{/privacy}","received_events_url":"https://api.github.com/users/poetapp/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/poetapp/node","description":"The Po.et Node allows you to timestamp documents in a decentralized manner.","fork":false,"url":"https://api.github.com/repos/poetapp/node","forks_url":"https://api.github.com/repos/poetapp/node/forks","keys_url":"https://api.github.com/repos/poetapp/node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/poetapp/node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/poetapp/node/teams","hooks_url":"https://api.github.com/repos/poetapp/node/hooks","issue_events_url":"https://api.github.com/repos/poetapp/node/issues/events{/number}","events_url":"https://api.github.com/repos/poetapp/node/events","assignees_url":"https://api.github.com/repos/poetapp/node/assignees{/user}","branches_url":"https://api.github.com/repos/poetapp/node/branches{/branch}","tags_url":"https://api.github.com/repos/poetapp/node/tags","blobs_url":"https://api.github.com/repos/poetapp/node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/poetapp/node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/poetapp/node/git/refs{/sha}","trees_url":"https://api.github.com/repos/poetapp/node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/poetapp/node/statuses/{sha}","languages_url":"https://api.github.com/repos/poetapp/node/languages","stargazers_url":"https://api.github.com/repos/poetapp/node/stargazers","contributors_url":"https://api.github.com/repos/poetapp/node/contributors","subscribers_url":"https://api.github.com/repos/poetapp/node/subscribers","subscription_url":"https://api.github.com/repos/poetapp/node/subscription","commits_url":"https://api.github.com/repos/poetapp/node/commits{/sha}","git_commits_url":"https://api.github.com/repos/poetapp/node/git/commits{/sha}","comments_url":"https://api.github.com/repos/poetapp/node/comments{/number}","issue_comment_url":"https://api.github.com/repos/poetapp/node/issues/comments{/number}","contents_url":"https://api.github.com/repos/poetapp/node/contents/{+path}","compare_url":"https://api.github.com/repos/poetapp/node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/poetapp/node/merges","archive_url":"https://api.github.com/repos/poetapp/node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/poetapp/node/downloads","issues_url":"https://api.github.com/repos/poetapp/node/issues{/number}","pulls_url":"https://api.github.com/repos/poetapp/node/pulls{/number}","milestones_url":"https://api.github.com/repos/poetapp/node/milestones{/number}","notifications_url":"https://api.github.com/repos/poetapp/node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/poetapp/node/labels{/name}","releases_url":"https://api.github.com/repos/poetapp/node/releases{/id}","deployments_url":"https://api.github.com/repos/poetapp/node/deployments","created_at":"2017-10-24T14:58:14Z","updated_at":"2018-11-14T19:24:31Z","pushed_at":"2018-11-14T20:00:03Z","git_url":"git://github.com/poetapp/node.git","ssh_url":"git@github.com:poetapp/node.git","clone_url":"https://github.com/poetapp/node.git","svn_url":"https://github.com/poetapp/node","homepage":"","size":4091,"stargazers_count":162,"watchers_count":162,"language":"TypeScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":28,"mirror_url":null,"archived":false,"open_issues_count":56,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":28,"open_issues":56,"watchers":162,"default_branch":"master"}},"base":{"label":"poetapp:master","ref":"master","sha":"2a0cddb7c7465a23882bc80977befa1093e0c594","user":{"login":"poetapp","id":24881331,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0ODgxMzMx","avatar_url":"https://avatars0.githubusercontent.com/u/24881331?v=4","gravatar_id":"","url":"https://api.github.com/users/poetapp","html_url":"https://github.com/poetapp","followers_url":"https://api.github.com/users/poetapp/followers","following_url":"https://api.github.com/users/poetapp/following{/other_user}","gists_url":"https://api.github.com/users/poetapp/gists{/gist_id}","starred_url":"https://api.github.com/users/poetapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poetapp/subscriptions","organizations_url":"https://api.github.com/users/poetapp/orgs","repos_url":"https://api.github.com/users/poetapp/repos","events_url":"https://api.github.com/users/poetapp/events{/privacy}","received_events_url":"https://api.github.com/users/poetapp/received_events","type":"Organization","site_admin":false},"repo":{"id":108142666,"node_id":"MDEwOlJlcG9zaXRvcnkxMDgxNDI2NjY=","name":"node","full_name":"poetapp/node","private":false,"owner":{"login":"poetapp","id":24881331,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0ODgxMzMx","avatar_url":"https://avatars0.githubusercontent.com/u/24881331?v=4","gravatar_id":"","url":"https://api.github.com/users/poetapp","html_url":"https://github.com/poetapp","followers_url":"https://api.github.com/users/poetapp/followers","following_url":"https://api.github.com/users/poetapp/following{/other_user}","gists_url":"https://api.github.com/users/poetapp/gists{/gist_id}","starred_url":"https://api.github.com/users/poetapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poetapp/subscriptions","organizations_url":"https://api.github.com/users/poetapp/orgs","repos_url":"https://api.github.com/users/poetapp/repos","events_url":"https://api.github.com/users/poetapp/events{/privacy}","received_events_url":"https://api.github.com/users/poetapp/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/poetapp/node","description":"The Po.et Node allows you to timestamp documents in a decentralized manner.","fork":false,"url":"https://api.github.com/repos/poetapp/node","forks_url":"https://api.github.com/repos/poetapp/node/forks","keys_url":"https://api.github.com/repos/poetapp/node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/poetapp/node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/poetapp/node/teams","hooks_url":"https://api.github.com/repos/poetapp/node/hooks","issue_events_url":"https://api.github.com/repos/poetapp/node/issues/events{/number}","events_url":"https://api.github.com/repos/poetapp/node/events","assignees_url":"https://api.github.com/repos/poetapp/node/assignees{/user}","branches_url":"https://api.github.com/repos/poetapp/node/branches{/branch}","tags_url":"https://api.github.com/repos/poetapp/node/tags","blobs_url":"https://api.github.com/repos/poetapp/node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/poetapp/node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/poetapp/node/git/refs{/sha}","trees_url":"https://api.github.com/repos/poetapp/node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/poetapp/node/statuses/{sha}","languages_url":"https://api.github.com/repos/poetapp/node/languages","stargazers_url":"https://api.github.com/repos/poetapp/node/stargazers","contributors_url":"https://api.github.com/repos/poetapp/node/contributors","subscribers_url":"https://api.github.com/repos/poetapp/node/subscribers","subscription_url":"https://api.github.com/repos/poetapp/node/subscription","commits_url":"https://api.github.com/repos/poetapp/node/commits{/sha}","git_commits_url":"https://api.github.com/repos/poetapp/node/git/commits{/sha}","comments_url":"https://api.github.com/repos/poetapp/node/comments{/number}","issue_comment_url":"https://api.github.com/repos/poetapp/node/issues/comments{/number}","contents_url":"https://api.github.com/repos/poetapp/node/contents/{+path}","compare_url":"https://api.github.com/repos/poetapp/node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/poetapp/node/merges","archive_url":"https://api.github.com/repos/poetapp/node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/poetapp/node/downloads","issues_url":"https://api.github.com/repos/poetapp/node/issues{/number}","pulls_url":"https://api.github.com/repos/poetapp/node/pulls{/number}","milestones_url":"https://api.github.com/repos/poetapp/node/milestones{/number}","notifications_url":"https://api.github.com/repos/poetapp/node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/poetapp/node/labels{/name}","releases_url":"https://api.github.com/repos/poetapp/node/releases{/id}","deployments_url":"https://api.github.com/repos/poetapp/node/deployments","created_at":"2017-10-24T14:58:14Z","updated_at":"2018-11-14T19:24:31Z","pushed_at":"2018-11-14T20:00:03Z","git_url":"git://github.com/poetapp/node.git","ssh_url":"git@github.com:poetapp/node.git","clone_url":"https://github.com/poetapp/node.git","svn_url":"https://github.com/poetapp/node","homepage":"","size":4091,"stargazers_count":162,"watchers_count":162,"language":"TypeScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":28,"mirror_url":null,"archived":false,"open_issues_count":56,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":28,"open_issues":56,"watchers":162,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/poetapp/node/pulls/764"},"html":{"href":"https://github.com/poetapp/node/pull/764"},"issue":{"href":"https://api.github.com/repos/poetapp/node/issues/764"},"comments":{"href":"https://api.github.com/repos/poetapp/node/issues/764/comments"},"review_comments":{"href":"https://api.github.com/repos/poetapp/node/pulls/764/comments"},"review_comment":{"href":"https://api.github.com/repos/poetapp/node/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/poetapp/node/pulls/764/commits"},"statuses":{"href":"https://api.github.com/repos/poetapp/node/statuses/3b79f44af851c727089d59cab6cbabcb71c2906e"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"lautarodragan"}}