{"action":"opened","number":3,"pull_request":{"url":"https://api.github.com/repos/trufflesuite/truffle-contract/pulls/3","id":105399795,"html_url":"https://github.com/trufflesuite/truffle-contract/pull/3","diff_url":"https://github.com/trufflesuite/truffle-contract/pull/3.diff","patch_url":"https://github.com/trufflesuite/truffle-contract/pull/3.patch","issue_url":"https://api.github.com/repos/trufflesuite/truffle-contract/issues/3","number":3,"state":"open","locked":false,"title":"[bugfix] fix `deployed()` 'auto-resolve' in console","user":{"login":"hitchcott","id":1696942,"avatar_url":"https://avatars.githubusercontent.com/u/1696942?v=3","gravatar_id":"","url":"https://api.github.com/users/hitchcott","html_url":"https://github.com/hitchcott","followers_url":"https://api.github.com/users/hitchcott/followers","following_url":"https://api.github.com/users/hitchcott/following{/other_user}","gists_url":"https://api.github.com/users/hitchcott/gists{/gist_id}","starred_url":"https://api.github.com/users/hitchcott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hitchcott/subscriptions","organizations_url":"https://api.github.com/users/hitchcott/orgs","repos_url":"https://api.github.com/users/hitchcott/repos","events_url":"https://api.github.com/users/hitchcott/events{/privacy}","received_events_url":"https://api.github.com/users/hitchcott/received_events","type":"User","site_admin":false},"body":"In [the docs](http://truffleframework.com/docs/getting_started/console#features) it says that when using `truffle console`, you should be able to use contract methods as such:\r\n\r\n```\r\nMyContract.deployed().method.call()\r\n```\r\n\r\nHowever in the current version of truffle (3.1.1) this doesn't work; all of the methods on `deployed()` return `undefined`. \r\n\r\nIt appears that un-commenting this line fixes that behaviour, although I'm not sure why it was commented out in the first place.\r\n","created_at":"2017-02-09T10:35:59Z","updated_at":"2017-02-09T10:35:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/trufflesuite/truffle-contract/pulls/3/commits","review_comments_url":"https://api.github.com/repos/trufflesuite/truffle-contract/pulls/3/comments","review_comment_url":"https://api.github.com/repos/trufflesuite/truffle-contract/pulls/comments{/number}","comments_url":"https://api.github.com/repos/trufflesuite/truffle-contract/issues/3/comments","statuses_url":"https://api.github.com/repos/trufflesuite/truffle-contract/statuses/ac6e40f97b5e85e2dcaef73d779e102ca407865d","head":{"label":"DigixGlobal:fix-deployed-in-console","ref":"fix-deployed-in-console","sha":"ac6e40f97b5e85e2dcaef73d779e102ca407865d","user":{"login":"DigixGlobal","id":11609312,"avatar_url":"https://avatars.githubusercontent.com/u/11609312?v=3","gravatar_id":"","url":"https://api.github.com/users/DigixGlobal","html_url":"https://github.com/DigixGlobal","followers_url":"https://api.github.com/users/DigixGlobal/followers","following_url":"https://api.github.com/users/DigixGlobal/following{/other_user}","gists_url":"https://api.github.com/users/DigixGlobal/gists{/gist_id}","starred_url":"https://api.github.com/users/DigixGlobal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DigixGlobal/subscriptions","organizations_url":"https://api.github.com/users/DigixGlobal/orgs","repos_url":"https://api.github.com/users/DigixGlobal/repos","events_url":"https://api.github.com/users/DigixGlobal/events{/privacy}","received_events_url":"https://api.github.com/users/DigixGlobal/received_events","type":"Organization","site_admin":false},"repo":{"id":81066744,"name":"truffle-contract","full_name":"DigixGlobal/truffle-contract","owner":{"login":"DigixGlobal","id":11609312,"avatar_url":"https://avatars.githubusercontent.com/u/11609312?v=3","gravatar_id":"","url":"https://api.github.com/users/DigixGlobal","html_url":"https://github.com/DigixGlobal","followers_url":"https://api.github.com/users/DigixGlobal/followers","following_url":"https://api.github.com/users/DigixGlobal/following{/other_user}","gists_url":"https://api.github.com/users/DigixGlobal/gists{/gist_id}","starred_url":"https://api.github.com/users/DigixGlobal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DigixGlobal/subscriptions","organizations_url":"https://api.github.com/users/DigixGlobal/orgs","repos_url":"https://api.github.com/users/DigixGlobal/repos","events_url":"https://api.github.com/users/DigixGlobal/events{/privacy}","received_events_url":"https://api.github.com/users/DigixGlobal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DigixGlobal/truffle-contract","description":"A better Ethereum contract abstraction, for Node and the browser","fork":true,"url":"https://api.github.com/repos/DigixGlobal/truffle-contract","forks_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/forks","keys_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/teams","hooks_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/hooks","issue_events_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/issues/events{/number}","events_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/events","assignees_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/assignees{/user}","branches_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/branches{/branch}","tags_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/tags","blobs_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/git/refs{/sha}","trees_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/statuses/{sha}","languages_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/languages","stargazers_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/stargazers","contributors_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/contributors","subscribers_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/subscribers","subscription_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/subscription","commits_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/commits{/sha}","git_commits_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/git/commits{/sha}","comments_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/comments{/number}","issue_comment_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/issues/comments{/number}","contents_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/contents/{+path}","compare_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/merges","archive_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/downloads","issues_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/issues{/number}","pulls_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/pulls{/number}","milestones_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/milestones{/number}","notifications_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/labels{/name}","releases_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/releases{/id}","deployments_url":"https://api.github.com/repos/DigixGlobal/truffle-contract/deployments","created_at":"2017-02-06T08:49:23Z","updated_at":"2017-02-06T08:49:24Z","pushed_at":"2017-02-09T10:33:01Z","git_url":"git://github.com/DigixGlobal/truffle-contract.git","ssh_url":"git@github.com:DigixGlobal/truffle-contract.git","clone_url":"https://github.com/DigixGlobal/truffle-contract.git","svn_url":"https://github.com/DigixGlobal/truffle-contract","homepage":"","size":125,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"trufflesuite:master","ref":"master","sha":"90ed8f5742b09f978d48239d92356922db316c2d","user":{"login":"trufflesuite","id":22205159,"avatar_url":"https://avatars.githubusercontent.com/u/22205159?v=3","gravatar_id":"","url":"https://api.github.com/users/trufflesuite","html_url":"https://github.com/trufflesuite","followers_url":"https://api.github.com/users/trufflesuite/followers","following_url":"https://api.github.com/users/trufflesuite/following{/other_user}","gists_url":"https://api.github.com/users/trufflesuite/gists{/gist_id}","starred_url":"https://api.github.com/users/trufflesuite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trufflesuite/subscriptions","organizations_url":"https://api.github.com/users/trufflesuite/orgs","repos_url":"https://api.github.com/users/trufflesuite/repos","events_url":"https://api.github.com/users/trufflesuite/events{/privacy}","received_events_url":"https://api.github.com/users/trufflesuite/received_events","type":"Organization","site_admin":false},"repo":{"id":78446281,"name":"truffle-contract","full_name":"trufflesuite/truffle-contract","owner":{"login":"trufflesuite","id":22205159,"avatar_url":"https://avatars.githubusercontent.com/u/22205159?v=3","gravatar_id":"","url":"https://api.github.com/users/trufflesuite","html_url":"https://github.com/trufflesuite","followers_url":"https://api.github.com/users/trufflesuite/followers","following_url":"https://api.github.com/users/trufflesuite/following{/other_user}","gists_url":"https://api.github.com/users/trufflesuite/gists{/gist_id}","starred_url":"https://api.github.com/users/trufflesuite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trufflesuite/subscriptions","organizations_url":"https://api.github.com/users/trufflesuite/orgs","repos_url":"https://api.github.com/users/trufflesuite/repos","events_url":"https://api.github.com/users/trufflesuite/events{/privacy}","received_events_url":"https://api.github.com/users/trufflesuite/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/trufflesuite/truffle-contract","description":"A better Ethereum contract abstraction, for Node and the browser","fork":false,"url":"https://api.github.com/repos/trufflesuite/truffle-contract","forks_url":"https://api.github.com/repos/trufflesuite/truffle-contract/forks","keys_url":"https://api.github.com/repos/trufflesuite/truffle-contract/keys{/key_id}","collaborators_url":"https://api.github.com/repos/trufflesuite/truffle-contract/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/trufflesuite/truffle-contract/teams","hooks_url":"https://api.github.com/repos/trufflesuite/truffle-contract/hooks","issue_events_url":"https://api.github.com/repos/trufflesuite/truffle-contract/issues/events{/number}","events_url":"https://api.github.com/repos/trufflesuite/truffle-contract/events","assignees_url":"https://api.github.com/repos/trufflesuite/truffle-contract/assignees{/user}","branches_url":"https://api.github.com/repos/trufflesuite/truffle-contract/branches{/branch}","tags_url":"https://api.github.com/repos/trufflesuite/truffle-contract/tags","blobs_url":"https://api.github.com/repos/trufflesuite/truffle-contract/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/trufflesuite/truffle-contract/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/trufflesuite/truffle-contract/git/refs{/sha}","trees_url":"https://api.github.com/repos/trufflesuite/truffle-contract/git/trees{/sha}","statuses_url":"https://api.github.com/repos/trufflesuite/truffle-contract/statuses/{sha}","languages_url":"https://api.github.com/repos/trufflesuite/truffle-contract/languages","stargazers_url":"https://api.github.com/repos/trufflesuite/truffle-contract/stargazers","contributors_url":"https://api.github.com/repos/trufflesuite/truffle-contract/contributors","subscribers_url":"https://api.github.com/repos/trufflesuite/truffle-contract/subscribers","subscription_url":"https://api.github.com/repos/trufflesuite/truffle-contract/subscription","commits_url":"https://api.github.com/repos/trufflesuite/truffle-contract/commits{/sha}","git_commits_url":"https://api.github.com/repos/trufflesuite/truffle-contract/git/commits{/sha}","comments_url":"https://api.github.com/repos/trufflesuite/truffle-contract/comments{/number}","issue_comment_url":"https://api.github.com/repos/trufflesuite/truffle-contract/issues/comments{/number}","contents_url":"https://api.github.com/repos/trufflesuite/truffle-contract/contents/{+path}","compare_url":"https://api.github.com/repos/trufflesuite/truffle-contract/compare/{base}...{head}","merges_url":"https://api.github.com/repos/trufflesuite/truffle-contract/merges","archive_url":"https://api.github.com/repos/trufflesuite/truffle-contract/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/trufflesuite/truffle-contract/downloads","issues_url":"https://api.github.com/repos/trufflesuite/truffle-contract/issues{/number}","pulls_url":"https://api.github.com/repos/trufflesuite/truffle-contract/pulls{/number}","milestones_url":"https://api.github.com/repos/trufflesuite/truffle-contract/milestones{/number}","notifications_url":"https://api.github.com/repos/trufflesuite/truffle-contract/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/trufflesuite/truffle-contract/labels{/name}","releases_url":"https://api.github.com/repos/trufflesuite/truffle-contract/releases{/id}","deployments_url":"https://api.github.com/repos/trufflesuite/truffle-contract/deployments","created_at":"2017-01-09T16:21:08Z","updated_at":"2017-02-08T18:05:55Z","pushed_at":"2017-02-07T22:20:15Z","git_url":"git://github.com/trufflesuite/truffle-contract.git","ssh_url":"git@github.com:trufflesuite/truffle-contract.git","clone_url":"https://github.com/trufflesuite/truffle-contract.git","svn_url":"https://github.com/trufflesuite/truffle-contract","homepage":"","size":131,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/trufflesuite/truffle-contract/pulls/3"},"html":{"href":"https://github.com/trufflesuite/truffle-contract/pull/3"},"issue":{"href":"https://api.github.com/repos/trufflesuite/truffle-contract/issues/3"},"comments":{"href":"https://api.github.com/repos/trufflesuite/truffle-contract/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/trufflesuite/truffle-contract/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/trufflesuite/truffle-contract/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/trufflesuite/truffle-contract/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/trufflesuite/truffle-contract/statuses/ac6e40f97b5e85e2dcaef73d779e102ca407865d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"hitchcott"}}