{"action":"closed","number":148,"pull_request":{"url":"https://api.github.com/repos/mcoblenz/Obsidian/pulls/148","id":199807620,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5ODA3NjIw","html_url":"https://github.com/mcoblenz/Obsidian/pull/148","diff_url":"https://github.com/mcoblenz/Obsidian/pull/148.diff","patch_url":"https://github.com/mcoblenz/Obsidian/pull/148.patch","issue_url":"https://api.github.com/repos/mcoblenz/Obsidian/issues/148","number":148,"state":"closed","locked":false,"title":"Improve handling of transaction invocations (#131)","user":{"login":"broomweed","id":2374677,"node_id":"MDQ6VXNlcjIzNzQ2Nzc=","avatar_url":"https://avatars0.githubusercontent.com/u/2374677?v=4","gravatar_id":"","url":"https://api.github.com/users/broomweed","html_url":"https://github.com/broomweed","followers_url":"https://api.github.com/users/broomweed/followers","following_url":"https://api.github.com/users/broomweed/following{/other_user}","gists_url":"https://api.github.com/users/broomweed/gists{/gist_id}","starred_url":"https://api.github.com/users/broomweed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/broomweed/subscriptions","organizations_url":"https://api.github.com/users/broomweed/orgs","repos_url":"https://api.github.com/users/broomweed/repos","events_url":"https://api.github.com/users/broomweed/events{/privacy}","received_events_url":"https://api.github.com/users/broomweed/received_events","type":"User","site_admin":false},"body":"So it turned out we basically already supported invoking transactions from the command line, but there was still some cleanup-type stuff to do:\r\n\r\nAlso, I added code to make it reject when the provided transaction name doesn't match any transaction. This is prevented by the compiler when you compile the client, but there was no runtime check, which meant that you wouldn't get an error when running a nonexistent transaction from the command line. This will also presumably come in handy if people want to only write their chaincode in Obsidian, and interface with it some other way.\r\n\r\n(I also had to add handling for this to the mock-chaincode mode, but that will probably never actually be an issue.)","created_at":"2018-07-06T17:36:21Z","updated_at":"2018-07-06T20:12:22Z","closed_at":"2018-07-06T20:12:22Z","merged_at":"2018-07-06T20:12:22Z","merge_commit_sha":"2d457449884cac380f9d262599efbd305c226a3f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mcoblenz/Obsidian/pulls/148/commits","review_comments_url":"https://api.github.com/repos/mcoblenz/Obsidian/pulls/148/comments","review_comment_url":"https://api.github.com/repos/mcoblenz/Obsidian/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mcoblenz/Obsidian/issues/148/comments","statuses_url":"https://api.github.com/repos/mcoblenz/Obsidian/statuses/cb0f99fad7b01bf4a9566c494fe728700b3bc74a","head":{"label":"mcoblenz:issue-131","ref":"issue-131","sha":"cb0f99fad7b01bf4a9566c494fe728700b3bc74a","user":{"login":"mcoblenz","id":8899599,"node_id":"MDQ6VXNlcjg4OTk1OTk=","avatar_url":"https://avatars0.githubusercontent.com/u/8899599?v=4","gravatar_id":"","url":"https://api.github.com/users/mcoblenz","html_url":"https://github.com/mcoblenz","followers_url":"https://api.github.com/users/mcoblenz/followers","following_url":"https://api.github.com/users/mcoblenz/following{/other_user}","gists_url":"https://api.github.com/users/mcoblenz/gists{/gist_id}","starred_url":"https://api.github.com/users/mcoblenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcoblenz/subscriptions","organizations_url":"https://api.github.com/users/mcoblenz/orgs","repos_url":"https://api.github.com/users/mcoblenz/repos","events_url":"https://api.github.com/users/mcoblenz/events{/privacy}","received_events_url":"https://api.github.com/users/mcoblenz/received_events","type":"User","site_admin":false},"repo":{"id":80243627,"node_id":"MDEwOlJlcG9zaXRvcnk4MDI0MzYyNw==","name":"Obsidian","full_name":"mcoblenz/Obsidian","owner":{"login":"mcoblenz","id":8899599,"node_id":"MDQ6VXNlcjg4OTk1OTk=","avatar_url":"https://avatars0.githubusercontent.com/u/8899599?v=4","gravatar_id":"","url":"https://api.github.com/users/mcoblenz","html_url":"https://github.com/mcoblenz","followers_url":"https://api.github.com/users/mcoblenz/followers","following_url":"https://api.github.com/users/mcoblenz/following{/other_user}","gists_url":"https://api.github.com/users/mcoblenz/gists{/gist_id}","starred_url":"https://api.github.com/users/mcoblenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcoblenz/subscriptions","organizations_url":"https://api.github.com/users/mcoblenz/orgs","repos_url":"https://api.github.com/users/mcoblenz/repos","events_url":"https://api.github.com/users/mcoblenz/events{/privacy}","received_events_url":"https://api.github.com/users/mcoblenz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mcoblenz/Obsidian","description":"Obsidian language development","fork":false,"url":"https://api.github.com/repos/mcoblenz/Obsidian","forks_url":"https://api.github.com/repos/mcoblenz/Obsidian/forks","keys_url":"https://api.github.com/repos/mcoblenz/Obsidian/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mcoblenz/Obsidian/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mcoblenz/Obsidian/teams","hooks_url":"https://api.github.com/repos/mcoblenz/Obsidian/hooks","issue_events_url":"https://api.github.com/repos/mcoblenz/Obsidian/issues/events{/number}","events_url":"https://api.github.com/repos/mcoblenz/Obsidian/events","assignees_url":"https://api.github.com/repos/mcoblenz/Obsidian/assignees{/user}","branches_url":"https://api.github.com/repos/mcoblenz/Obsidian/branches{/branch}","tags_url":"https://api.github.com/repos/mcoblenz/Obsidian/tags","blobs_url":"https://api.github.com/repos/mcoblenz/Obsidian/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mcoblenz/Obsidian/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mcoblenz/Obsidian/git/refs{/sha}","trees_url":"https://api.github.com/repos/mcoblenz/Obsidian/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mcoblenz/Obsidian/statuses/{sha}","languages_url":"https://api.github.com/repos/mcoblenz/Obsidian/languages","stargazers_url":"https://api.github.com/repos/mcoblenz/Obsidian/stargazers","contributors_url":"https://api.github.com/repos/mcoblenz/Obsidian/contributors","subscribers_url":"https://api.github.com/repos/mcoblenz/Obsidian/subscribers","subscription_url":"https://api.github.com/repos/mcoblenz/Obsidian/subscription","commits_url":"https://api.github.com/repos/mcoblenz/Obsidian/commits{/sha}","git_commits_url":"https://api.github.com/repos/mcoblenz/Obsidian/git/commits{/sha}","comments_url":"https://api.github.com/repos/mcoblenz/Obsidian/comments{/number}","issue_comment_url":"https://api.github.com/repos/mcoblenz/Obsidian/issues/comments{/number}","contents_url":"https://api.github.com/repos/mcoblenz/Obsidian/contents/{+path}","compare_url":"https://api.github.com/repos/mcoblenz/Obsidian/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mcoblenz/Obsidian/merges","archive_url":"https://api.github.com/repos/mcoblenz/Obsidian/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mcoblenz/Obsidian/downloads","issues_url":"https://api.github.com/repos/mcoblenz/Obsidian/issues{/number}","pulls_url":"https://api.github.com/repos/mcoblenz/Obsidian/pulls{/number}","milestones_url":"https://api.github.com/repos/mcoblenz/Obsidian/milestones{/number}","notifications_url":"https://api.github.com/repos/mcoblenz/Obsidian/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mcoblenz/Obsidian/labels{/name}","releases_url":"https://api.github.com/repos/mcoblenz/Obsidian/releases{/id}","deployments_url":"https://api.github.com/repos/mcoblenz/Obsidian/deployments","created_at":"2017-01-27T20:32:21Z","updated_at":"2018-07-06T17:14:11Z","pushed_at":"2018-07-06T20:12:22Z","git_url":"git://github.com/mcoblenz/Obsidian.git","ssh_url":"git@github.com:mcoblenz/Obsidian.git","clone_url":"https://github.com/mcoblenz/Obsidian.git","svn_url":"https://github.com/mcoblenz/Obsidian","homepage":null,"size":31468,"stargazers_count":9,"watchers_count":9,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":38,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":1,"open_issues":38,"watchers":9,"default_branch":"master"}},"base":{"label":"mcoblenz:master","ref":"master","sha":"6526510b2a2292e4627c69e8fef9fe0e9c64c7ca","user":{"login":"mcoblenz","id":8899599,"node_id":"MDQ6VXNlcjg4OTk1OTk=","avatar_url":"https://avatars0.githubusercontent.com/u/8899599?v=4","gravatar_id":"","url":"https://api.github.com/users/mcoblenz","html_url":"https://github.com/mcoblenz","followers_url":"https://api.github.com/users/mcoblenz/followers","following_url":"https://api.github.com/users/mcoblenz/following{/other_user}","gists_url":"https://api.github.com/users/mcoblenz/gists{/gist_id}","starred_url":"https://api.github.com/users/mcoblenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcoblenz/subscriptions","organizations_url":"https://api.github.com/users/mcoblenz/orgs","repos_url":"https://api.github.com/users/mcoblenz/repos","events_url":"https://api.github.com/users/mcoblenz/events{/privacy}","received_events_url":"https://api.github.com/users/mcoblenz/received_events","type":"User","site_admin":false},"repo":{"id":80243627,"node_id":"MDEwOlJlcG9zaXRvcnk4MDI0MzYyNw==","name":"Obsidian","full_name":"mcoblenz/Obsidian","owner":{"login":"mcoblenz","id":8899599,"node_id":"MDQ6VXNlcjg4OTk1OTk=","avatar_url":"https://avatars0.githubusercontent.com/u/8899599?v=4","gravatar_id":"","url":"https://api.github.com/users/mcoblenz","html_url":"https://github.com/mcoblenz","followers_url":"https://api.github.com/users/mcoblenz/followers","following_url":"https://api.github.com/users/mcoblenz/following{/other_user}","gists_url":"https://api.github.com/users/mcoblenz/gists{/gist_id}","starred_url":"https://api.github.com/users/mcoblenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcoblenz/subscriptions","organizations_url":"https://api.github.com/users/mcoblenz/orgs","repos_url":"https://api.github.com/users/mcoblenz/repos","events_url":"https://api.github.com/users/mcoblenz/events{/privacy}","received_events_url":"https://api.github.com/users/mcoblenz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mcoblenz/Obsidian","description":"Obsidian language development","fork":false,"url":"https://api.github.com/repos/mcoblenz/Obsidian","forks_url":"https://api.github.com/repos/mcoblenz/Obsidian/forks","keys_url":"https://api.github.com/repos/mcoblenz/Obsidian/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mcoblenz/Obsidian/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mcoblenz/Obsidian/teams","hooks_url":"https://api.github.com/repos/mcoblenz/Obsidian/hooks","issue_events_url":"https://api.github.com/repos/mcoblenz/Obsidian/issues/events{/number}","events_url":"https://api.github.com/repos/mcoblenz/Obsidian/events","assignees_url":"https://api.github.com/repos/mcoblenz/Obsidian/assignees{/user}","branches_url":"https://api.github.com/repos/mcoblenz/Obsidian/branches{/branch}","tags_url":"https://api.github.com/repos/mcoblenz/Obsidian/tags","blobs_url":"https://api.github.com/repos/mcoblenz/Obsidian/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mcoblenz/Obsidian/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mcoblenz/Obsidian/git/refs{/sha}","trees_url":"https://api.github.com/repos/mcoblenz/Obsidian/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mcoblenz/Obsidian/statuses/{sha}","languages_url":"https://api.github.com/repos/mcoblenz/Obsidian/languages","stargazers_url":"https://api.github.com/repos/mcoblenz/Obsidian/stargazers","contributors_url":"https://api.github.com/repos/mcoblenz/Obsidian/contributors","subscribers_url":"https://api.github.com/repos/mcoblenz/Obsidian/subscribers","subscription_url":"https://api.github.com/repos/mcoblenz/Obsidian/subscription","commits_url":"https://api.github.com/repos/mcoblenz/Obsidian/commits{/sha}","git_commits_url":"https://api.github.com/repos/mcoblenz/Obsidian/git/commits{/sha}","comments_url":"https://api.github.com/repos/mcoblenz/Obsidian/comments{/number}","issue_comment_url":"https://api.github.com/repos/mcoblenz/Obsidian/issues/comments{/number}","contents_url":"https://api.github.com/repos/mcoblenz/Obsidian/contents/{+path}","compare_url":"https://api.github.com/repos/mcoblenz/Obsidian/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mcoblenz/Obsidian/merges","archive_url":"https://api.github.com/repos/mcoblenz/Obsidian/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mcoblenz/Obsidian/downloads","issues_url":"https://api.github.com/repos/mcoblenz/Obsidian/issues{/number}","pulls_url":"https://api.github.com/repos/mcoblenz/Obsidian/pulls{/number}","milestones_url":"https://api.github.com/repos/mcoblenz/Obsidian/milestones{/number}","notifications_url":"https://api.github.com/repos/mcoblenz/Obsidian/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mcoblenz/Obsidian/labels{/name}","releases_url":"https://api.github.com/repos/mcoblenz/Obsidian/releases{/id}","deployments_url":"https://api.github.com/repos/mcoblenz/Obsidian/deployments","created_at":"2017-01-27T20:32:21Z","updated_at":"2018-07-06T17:14:11Z","pushed_at":"2018-07-06T20:12:22Z","git_url":"git://github.com/mcoblenz/Obsidian.git","ssh_url":"git@github.com:mcoblenz/Obsidian.git","clone_url":"https://github.com/mcoblenz/Obsidian.git","svn_url":"https://github.com/mcoblenz/Obsidian","homepage":null,"size":31468,"stargazers_count":9,"watchers_count":9,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":38,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":1,"open_issues":38,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mcoblenz/Obsidian/pulls/148"},"html":{"href":"https://github.com/mcoblenz/Obsidian/pull/148"},"issue":{"href":"https://api.github.com/repos/mcoblenz/Obsidian/issues/148"},"comments":{"href":"https://api.github.com/repos/mcoblenz/Obsidian/issues/148/comments"},"review_comments":{"href":"https://api.github.com/repos/mcoblenz/Obsidian/pulls/148/comments"},"review_comment":{"href":"https://api.github.com/repos/mcoblenz/Obsidian/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mcoblenz/Obsidian/pulls/148/commits"},"statuses":{"href":"https://api.github.com/repos/mcoblenz/Obsidian/statuses/cb0f99fad7b01bf4a9566c494fe728700b3bc74a"}},"author_association":"COLLABORATOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"broomweed","id":2374677,"node_id":"MDQ6VXNlcjIzNzQ2Nzc=","avatar_url":"https://avatars0.githubusercontent.com/u/2374677?v=4","gravatar_id":"","url":"https://api.github.com/users/broomweed","html_url":"https://github.com/broomweed","followers_url":"https://api.github.com/users/broomweed/followers","following_url":"https://api.github.com/users/broomweed/following{/other_user}","gists_url":"https://api.github.com/users/broomweed/gists{/gist_id}","starred_url":"https://api.github.com/users/broomweed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/broomweed/subscriptions","organizations_url":"https://api.github.com/users/broomweed/orgs","repos_url":"https://api.github.com/users/broomweed/repos","events_url":"https://api.github.com/users/broomweed/events{/privacy}","received_events_url":"https://api.github.com/users/broomweed/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":7,"additions":57,"deletions":9,"changed_files":6}}
{"actor":{"display_login":"broomweed"}}