{"action":"closed","number":343,"pull_request":{"url":"https://api.github.com/repos/rchain/rchain/pulls/343","id":171819317,"html_url":"https://github.com/rchain/rchain/pull/343","diff_url":"https://github.com/rchain/rchain/pull/343.diff","patch_url":"https://github.com/rchain/rchain/pull/343.patch","issue_url":"https://api.github.com/repos/rchain/rchain/issues/343","number":343,"state":"closed","locked":false,"title":"CORE-215: storage: implement StorageActions","user":{"login":"henrytill","id":6430643,"avatar_url":"https://avatars3.githubusercontent.com/u/6430643?v=4","gravatar_id":"","url":"https://api.github.com/users/henrytill","html_url":"https://github.com/henrytill","followers_url":"https://api.github.com/users/henrytill/followers","following_url":"https://api.github.com/users/henrytill/following{/other_user}","gists_url":"https://api.github.com/users/henrytill/gists{/gist_id}","starred_url":"https://api.github.com/users/henrytill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henrytill/subscriptions","organizations_url":"https://api.github.com/users/henrytill/orgs","repos_url":"https://api.github.com/users/henrytill/repos","events_url":"https://api.github.com/users/henrytill/events{/privacy}","received_events_url":"https://api.github.com/users/henrytill/received_events","type":"User","site_admin":false},"body":"Depends on #340.\r\n\r\nThis PR contains the core `produce` and `consume` actions, ported with a few minor changes from the [prototype](https://github.com/henrytill/mirror-world/blob/master/src/main/scala/coop/rchain/mirror_world/StorageActions.scala).\r\n\r\nI have also ported the [in-memory store](https://github.com/henrytill/mirror-world/blob/master/src/main/scala/coop/rchain/mirror_world/Store.scala) from the prototype as the `InMemoryStore` contained in `test`.  I did this so that we have a reference implementation to test against.  \r\n\r\nI also ported the tests so that they would be agnostic to the underlying type of store, so they can be used with `LMDBStore` when it is ready.\r\n\r\nhttps://rchain.atlassian.net/browse/CORE-215","created_at":"2018-02-27T23:54:01Z","updated_at":"2018-03-07T20:18:49Z","closed_at":"2018-03-07T20:18:49Z","merged_at":"2018-03-07T20:18:49Z","merge_commit_sha":"56384d7f0b8bea9f1400582fd139776dd8a4c9ba","assignee":{"login":"KentShikama","id":6329898,"avatar_url":"https://avatars0.githubusercontent.com/u/6329898?v=4","gravatar_id":"","url":"https://api.github.com/users/KentShikama","html_url":"https://github.com/KentShikama","followers_url":"https://api.github.com/users/KentShikama/followers","following_url":"https://api.github.com/users/KentShikama/following{/other_user}","gists_url":"https://api.github.com/users/KentShikama/gists{/gist_id}","starred_url":"https://api.github.com/users/KentShikama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KentShikama/subscriptions","organizations_url":"https://api.github.com/users/KentShikama/orgs","repos_url":"https://api.github.com/users/KentShikama/repos","events_url":"https://api.github.com/users/KentShikama/events{/privacy}","received_events_url":"https://api.github.com/users/KentShikama/received_events","type":"User","site_admin":false},"assignees":[{"login":"KentShikama","id":6329898,"avatar_url":"https://avatars0.githubusercontent.com/u/6329898?v=4","gravatar_id":"","url":"https://api.github.com/users/KentShikama","html_url":"https://github.com/KentShikama","followers_url":"https://api.github.com/users/KentShikama/followers","following_url":"https://api.github.com/users/KentShikama/following{/other_user}","gists_url":"https://api.github.com/users/KentShikama/gists{/gist_id}","starred_url":"https://api.github.com/users/KentShikama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KentShikama/subscriptions","organizations_url":"https://api.github.com/users/KentShikama/orgs","repos_url":"https://api.github.com/users/KentShikama/repos","events_url":"https://api.github.com/users/KentShikama/events{/privacy}","received_events_url":"https://api.github.com/users/KentShikama/received_events","type":"User","site_admin":false},{"login":"guardbotmk3","id":33846152,"avatar_url":"https://avatars1.githubusercontent.com/u/33846152?v=4","gravatar_id":"","url":"https://api.github.com/users/guardbotmk3","html_url":"https://github.com/guardbotmk3","followers_url":"https://api.github.com/users/guardbotmk3/followers","following_url":"https://api.github.com/users/guardbotmk3/following{/other_user}","gists_url":"https://api.github.com/users/guardbotmk3/gists{/gist_id}","starred_url":"https://api.github.com/users/guardbotmk3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardbotmk3/subscriptions","organizations_url":"https://api.github.com/users/guardbotmk3/orgs","repos_url":"https://api.github.com/users/guardbotmk3/repos","events_url":"https://api.github.com/users/guardbotmk3/events{/privacy}","received_events_url":"https://api.github.com/users/guardbotmk3/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"ys-pyrofex","id":34450115,"avatar_url":"https://avatars2.githubusercontent.com/u/34450115?v=4","gravatar_id":"","url":"https://api.github.com/users/ys-pyrofex","html_url":"https://github.com/ys-pyrofex","followers_url":"https://api.github.com/users/ys-pyrofex/followers","following_url":"https://api.github.com/users/ys-pyrofex/following{/other_user}","gists_url":"https://api.github.com/users/ys-pyrofex/gists{/gist_id}","starred_url":"https://api.github.com/users/ys-pyrofex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ys-pyrofex/subscriptions","organizations_url":"https://api.github.com/users/ys-pyrofex/orgs","repos_url":"https://api.github.com/users/ys-pyrofex/repos","events_url":"https://api.github.com/users/ys-pyrofex/events{/privacy}","received_events_url":"https://api.github.com/users/ys-pyrofex/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rchain/rchain/pulls/343/commits","review_comments_url":"https://api.github.com/repos/rchain/rchain/pulls/343/comments","review_comment_url":"https://api.github.com/repos/rchain/rchain/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rchain/rchain/issues/343/comments","statuses_url":"https://api.github.com/repos/rchain/rchain/statuses/f4c54a3a46179cabfe6093f6f94bd2f050fc044b","head":{"label":"henrytill:CORE-215-storage-actions","ref":"CORE-215-storage-actions","sha":"f4c54a3a46179cabfe6093f6f94bd2f050fc044b","user":{"login":"henrytill","id":6430643,"avatar_url":"https://avatars3.githubusercontent.com/u/6430643?v=4","gravatar_id":"","url":"https://api.github.com/users/henrytill","html_url":"https://github.com/henrytill","followers_url":"https://api.github.com/users/henrytill/followers","following_url":"https://api.github.com/users/henrytill/following{/other_user}","gists_url":"https://api.github.com/users/henrytill/gists{/gist_id}","starred_url":"https://api.github.com/users/henrytill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henrytill/subscriptions","organizations_url":"https://api.github.com/users/henrytill/orgs","repos_url":"https://api.github.com/users/henrytill/repos","events_url":"https://api.github.com/users/henrytill/events{/privacy}","received_events_url":"https://api.github.com/users/henrytill/received_events","type":"User","site_admin":false},"repo":{"id":118518876,"name":"rchain","full_name":"henrytill/rchain","owner":{"login":"henrytill","id":6430643,"avatar_url":"https://avatars3.githubusercontent.com/u/6430643?v=4","gravatar_id":"","url":"https://api.github.com/users/henrytill","html_url":"https://github.com/henrytill","followers_url":"https://api.github.com/users/henrytill/followers","following_url":"https://api.github.com/users/henrytill/following{/other_user}","gists_url":"https://api.github.com/users/henrytill/gists{/gist_id}","starred_url":"https://api.github.com/users/henrytill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henrytill/subscriptions","organizations_url":"https://api.github.com/users/henrytill/orgs","repos_url":"https://api.github.com/users/henrytill/repos","events_url":"https://api.github.com/users/henrytill/events{/privacy}","received_events_url":"https://api.github.com/users/henrytill/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/henrytill/rchain","description":null,"fork":true,"url":"https://api.github.com/repos/henrytill/rchain","forks_url":"https://api.github.com/repos/henrytill/rchain/forks","keys_url":"https://api.github.com/repos/henrytill/rchain/keys{/key_id}","collaborators_url":"https://api.github.com/repos/henrytill/rchain/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/henrytill/rchain/teams","hooks_url":"https://api.github.com/repos/henrytill/rchain/hooks","issue_events_url":"https://api.github.com/repos/henrytill/rchain/issues/events{/number}","events_url":"https://api.github.com/repos/henrytill/rchain/events","assignees_url":"https://api.github.com/repos/henrytill/rchain/assignees{/user}","branches_url":"https://api.github.com/repos/henrytill/rchain/branches{/branch}","tags_url":"https://api.github.com/repos/henrytill/rchain/tags","blobs_url":"https://api.github.com/repos/henrytill/rchain/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/henrytill/rchain/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/henrytill/rchain/git/refs{/sha}","trees_url":"https://api.github.com/repos/henrytill/rchain/git/trees{/sha}","statuses_url":"https://api.github.com/repos/henrytill/rchain/statuses/{sha}","languages_url":"https://api.github.com/repos/henrytill/rchain/languages","stargazers_url":"https://api.github.com/repos/henrytill/rchain/stargazers","contributors_url":"https://api.github.com/repos/henrytill/rchain/contributors","subscribers_url":"https://api.github.com/repos/henrytill/rchain/subscribers","subscription_url":"https://api.github.com/repos/henrytill/rchain/subscription","commits_url":"https://api.github.com/repos/henrytill/rchain/commits{/sha}","git_commits_url":"https://api.github.com/repos/henrytill/rchain/git/commits{/sha}","comments_url":"https://api.github.com/repos/henrytill/rchain/comments{/number}","issue_comment_url":"https://api.github.com/repos/henrytill/rchain/issues/comments{/number}","contents_url":"https://api.github.com/repos/henrytill/rchain/contents/{+path}","compare_url":"https://api.github.com/repos/henrytill/rchain/compare/{base}...{head}","merges_url":"https://api.github.com/repos/henrytill/rchain/merges","archive_url":"https://api.github.com/repos/henrytill/rchain/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/henrytill/rchain/downloads","issues_url":"https://api.github.com/repos/henrytill/rchain/issues{/number}","pulls_url":"https://api.github.com/repos/henrytill/rchain/pulls{/number}","milestones_url":"https://api.github.com/repos/henrytill/rchain/milestones{/number}","notifications_url":"https://api.github.com/repos/henrytill/rchain/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/henrytill/rchain/labels{/name}","releases_url":"https://api.github.com/repos/henrytill/rchain/releases{/id}","deployments_url":"https://api.github.com/repos/henrytill/rchain/deployments","created_at":"2018-01-22T21:41:16Z","updated_at":"2018-01-22T21:41:19Z","pushed_at":"2018-03-06T21:44:44Z","git_url":"git://github.com/henrytill/rchain.git","ssh_url":"git@github.com:henrytill/rchain.git","clone_url":"https://github.com/henrytill/rchain.git","svn_url":"https://github.com/henrytill/rchain","homepage":null,"size":6978,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"rchain:dev","ref":"dev","sha":"62420c3c7c117e50041a4ef1478d3f46840e917d","user":{"login":"rchain","id":20671765,"avatar_url":"https://avatars0.githubusercontent.com/u/20671765?v=4","gravatar_id":"","url":"https://api.github.com/users/rchain","html_url":"https://github.com/rchain","followers_url":"https://api.github.com/users/rchain/followers","following_url":"https://api.github.com/users/rchain/following{/other_user}","gists_url":"https://api.github.com/users/rchain/gists{/gist_id}","starred_url":"https://api.github.com/users/rchain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rchain/subscriptions","organizations_url":"https://api.github.com/users/rchain/orgs","repos_url":"https://api.github.com/users/rchain/repos","events_url":"https://api.github.com/users/rchain/events{/privacy}","received_events_url":"https://api.github.com/users/rchain/received_events","type":"Organization","site_admin":false},"repo":{"id":84493691,"name":"rchain","full_name":"rchain/rchain","owner":{"login":"rchain","id":20671765,"avatar_url":"https://avatars0.githubusercontent.com/u/20671765?v=4","gravatar_id":"","url":"https://api.github.com/users/rchain","html_url":"https://github.com/rchain","followers_url":"https://api.github.com/users/rchain/followers","following_url":"https://api.github.com/users/rchain/following{/other_user}","gists_url":"https://api.github.com/users/rchain/gists{/gist_id}","starred_url":"https://api.github.com/users/rchain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rchain/subscriptions","organizations_url":"https://api.github.com/users/rchain/orgs","repos_url":"https://api.github.com/users/rchain/repos","events_url":"https://api.github.com/users/rchain/events{/privacy}","received_events_url":"https://api.github.com/users/rchain/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rchain/rchain","description":null,"fork":false,"url":"https://api.github.com/repos/rchain/rchain","forks_url":"https://api.github.com/repos/rchain/rchain/forks","keys_url":"https://api.github.com/repos/rchain/rchain/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rchain/rchain/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rchain/rchain/teams","hooks_url":"https://api.github.com/repos/rchain/rchain/hooks","issue_events_url":"https://api.github.com/repos/rchain/rchain/issues/events{/number}","events_url":"https://api.github.com/repos/rchain/rchain/events","assignees_url":"https://api.github.com/repos/rchain/rchain/assignees{/user}","branches_url":"https://api.github.com/repos/rchain/rchain/branches{/branch}","tags_url":"https://api.github.com/repos/rchain/rchain/tags","blobs_url":"https://api.github.com/repos/rchain/rchain/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rchain/rchain/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rchain/rchain/git/refs{/sha}","trees_url":"https://api.github.com/repos/rchain/rchain/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rchain/rchain/statuses/{sha}","languages_url":"https://api.github.com/repos/rchain/rchain/languages","stargazers_url":"https://api.github.com/repos/rchain/rchain/stargazers","contributors_url":"https://api.github.com/repos/rchain/rchain/contributors","subscribers_url":"https://api.github.com/repos/rchain/rchain/subscribers","subscription_url":"https://api.github.com/repos/rchain/rchain/subscription","commits_url":"https://api.github.com/repos/rchain/rchain/commits{/sha}","git_commits_url":"https://api.github.com/repos/rchain/rchain/git/commits{/sha}","comments_url":"https://api.github.com/repos/rchain/rchain/comments{/number}","issue_comment_url":"https://api.github.com/repos/rchain/rchain/issues/comments{/number}","contents_url":"https://api.github.com/repos/rchain/rchain/contents/{+path}","compare_url":"https://api.github.com/repos/rchain/rchain/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rchain/rchain/merges","archive_url":"https://api.github.com/repos/rchain/rchain/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rchain/rchain/downloads","issues_url":"https://api.github.com/repos/rchain/rchain/issues{/number}","pulls_url":"https://api.github.com/repos/rchain/rchain/pulls{/number}","milestones_url":"https://api.github.com/repos/rchain/rchain/milestones{/number}","notifications_url":"https://api.github.com/repos/rchain/rchain/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rchain/rchain/labels{/name}","releases_url":"https://api.github.com/repos/rchain/rchain/releases{/id}","deployments_url":"https://api.github.com/repos/rchain/rchain/deployments","created_at":"2017-03-09T22:15:35Z","updated_at":"2018-03-07T12:56:17Z","pushed_at":"2018-03-07T20:18:49Z","git_url":"git://github.com/rchain/rchain.git","ssh_url":"git@github.com:rchain/rchain.git","clone_url":"https://github.com/rchain/rchain.git","svn_url":"https://github.com/rchain/rchain","homepage":null,"size":7095,"stargazers_count":189,"watchers_count":189,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":52,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":52,"open_issues":10,"watchers":189,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rchain/rchain/pulls/343"},"html":{"href":"https://github.com/rchain/rchain/pull/343"},"issue":{"href":"https://api.github.com/repos/rchain/rchain/issues/343"},"comments":{"href":"https://api.github.com/repos/rchain/rchain/issues/343/comments"},"review_comments":{"href":"https://api.github.com/repos/rchain/rchain/pulls/343/comments"},"review_comment":{"href":"https://api.github.com/repos/rchain/rchain/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rchain/rchain/pulls/343/commits"},"statuses":{"href":"https://api.github.com/repos/rchain/rchain/statuses/f4c54a3a46179cabfe6093f6f94bd2f050fc044b"}},"author_association":"COLLABORATOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"henrytill","id":6430643,"avatar_url":"https://avatars3.githubusercontent.com/u/6430643?v=4","gravatar_id":"","url":"https://api.github.com/users/henrytill","html_url":"https://github.com/henrytill","followers_url":"https://api.github.com/users/henrytill/followers","following_url":"https://api.github.com/users/henrytill/following{/other_user}","gists_url":"https://api.github.com/users/henrytill/gists{/gist_id}","starred_url":"https://api.github.com/users/henrytill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henrytill/subscriptions","organizations_url":"https://api.github.com/users/henrytill/orgs","repos_url":"https://api.github.com/users/henrytill/repos","events_url":"https://api.github.com/users/henrytill/events{/privacy}","received_events_url":"https://api.github.com/users/henrytill/received_events","type":"User","site_admin":false},"comments":6,"review_comments":28,"maintainer_can_modify":false,"commits":23,"additions":830,"deletions":7,"changed_files":9}}
{"actor":{"display_login":"henrytill"}}