{"action":"created","comment":{"url":"https://api.github.com/repos/rchain/rchain/pulls/comments/178764861","pull_request_review_id":108875638,"id":178764861,"diff_hunk":"@@ -0,0 +1,18 @@\n+package coop.rchain.node\n+\n+import coop.rchain.models.Par\n+import coop.rchain.rholang.interpreter.{RholangCLI, _}\n+\n+object InterpreterRuntime {\n+\n+  def evaluateFile(fileName: String): Unit = {\n+    val persistentStore = RholangCLI.buildStore()\n+    val interp          = Reduce.makeInterpreter(persistentStore)\n+    val source          = RholangCLI.reader(fileName)\n+    RholangCLI\n+      .buildNormalizedTerm(source)\n+      .foreach((par: Par) => RholangCLI.evaluate(interp, persistentStore, par))","path":"node/src/main/scala/coop/rchain/node/InterpreterRuntime.scala","position":14,"original_position":14,"commit_id":"96de00fb4227cbd2bff4ccd9e0a5e6d6ef104246","original_commit_id":"96de00fb4227cbd2bff4ccd9e0a5e6d6ef104246","user":{"login":"rabbitonweb","id":6287558,"avatar_url":"https://avatars1.githubusercontent.com/u/6287558?v=4","gravatar_id":"","url":"https://api.github.com/users/rabbitonweb","html_url":"https://github.com/rabbitonweb","followers_url":"https://api.github.com/users/rabbitonweb/followers","following_url":"https://api.github.com/users/rabbitonweb/following{/other_user}","gists_url":"https://api.github.com/users/rabbitonweb/gists{/gist_id}","starred_url":"https://api.github.com/users/rabbitonweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rabbitonweb/subscriptions","organizations_url":"https://api.github.com/users/rabbitonweb/orgs","repos_url":"https://api.github.com/users/rabbitonweb/repos","events_url":"https://api.github.com/users/rabbitonweb/events{/privacy}","received_events_url":"https://api.github.com/users/rabbitonweb/received_events","type":"User","site_admin":false},"body":"Nope, it was returning `Option`, there was a (brr..... scandal), `get` there ! `foreach` is also not helping :) we should deal with what if it's actually `None`. But I would leave `TODO` there and not block this PR.","created_at":"2018-04-03T09:33:41Z","updated_at":"2018-04-03T09:33:42Z","html_url":"https://github.com/rchain/rchain/pull/527#discussion_r178764861","pull_request_url":"https://api.github.com/repos/rchain/rchain/pulls/527","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/rchain/rchain/pulls/comments/178764861"},"html":{"href":"https://github.com/rchain/rchain/pull/527#discussion_r178764861"},"pull_request":{"href":"https://api.github.com/repos/rchain/rchain/pulls/527"}},"in_reply_to_id":178719236},"pull_request":{"url":"https://api.github.com/repos/rchain/rchain/pulls/527","id":178903868,"html_url":"https://github.com/rchain/rchain/pull/527","diff_url":"https://github.com/rchain/rchain/pull/527.diff","patch_url":"https://github.com/rchain/rchain/pull/527.patch","issue_url":"https://api.github.com/repos/rchain/rchain/issues/527","number":527,"state":"open","locked":false,"title":"{rholang, node}: consolidate shared CLI code","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":"We have a lot of duplicated code in node.  Let's publicize and use the versions from `RholangCLI`.","created_at":"2018-04-02T18:55:29Z","updated_at":"2018-04-03T09:33:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"979e56f7283d0e07445d4b0cda28956470817255","assignee":{"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},"assignees":[{"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":"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_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rchain/rchain/pulls/527/commits","review_comments_url":"https://api.github.com/repos/rchain/rchain/pulls/527/comments","review_comment_url":"https://api.github.com/repos/rchain/rchain/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rchain/rchain/issues/527/comments","statuses_url":"https://api.github.com/repos/rchain/rchain/statuses/96de00fb4227cbd2bff4ccd9e0a5e6d6ef104246","head":{"label":"henrytill:consolidate-rholang-and-node-clis","ref":"consolidate-rholang-and-node-clis","sha":"96de00fb4227cbd2bff4ccd9e0a5e6d6ef104246","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-03-23T19:32:54Z","pushed_at":"2018-04-02T22:43:16Z","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":8673,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"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":"f37cc09754cd5bdc0c280d1cd21435dd97b5c1bb","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-04-02T22:28:17Z","pushed_at":"2018-04-02T22:43:17Z","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":8018,"stargazers_count":245,"watchers_count":245,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":62,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":62,"open_issues":9,"watchers":245,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rchain/rchain/pulls/527"},"html":{"href":"https://github.com/rchain/rchain/pull/527"},"issue":{"href":"https://api.github.com/repos/rchain/rchain/issues/527"},"comments":{"href":"https://api.github.com/repos/rchain/rchain/issues/527/comments"},"review_comments":{"href":"https://api.github.com/repos/rchain/rchain/pulls/527/comments"},"review_comment":{"href":"https://api.github.com/repos/rchain/rchain/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rchain/rchain/pulls/527/commits"},"statuses":{"href":"https://api.github.com/repos/rchain/rchain/statuses/96de00fb4227cbd2bff4ccd9e0a5e6d6ef104246"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"rabbitonweb"}}