{"action":"created","issue":{"url":"https://api.github.com/repos/poanetwork/parity-ethereum/issues/45","repository_url":"https://api.github.com/repos/poanetwork/parity-ethereum","labels_url":"https://api.github.com/repos/poanetwork/parity-ethereum/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/poanetwork/parity-ethereum/issues/45/comments","events_url":"https://api.github.com/repos/poanetwork/parity-ethereum/issues/45/events","html_url":"https://github.com/poanetwork/parity-ethereum/pull/45","id":387542148,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2MDA4NDIw","number":45,"title":"[WIP] Deploy and call a test contract.","user":{"login":"c0gent","id":2916797,"node_id":"MDQ6VXNlcjI5MTY3OTc=","avatar_url":"https://avatars2.githubusercontent.com/u/2916797?v=4","gravatar_id":"","url":"https://api.github.com/users/c0gent","html_url":"https://github.com/c0gent","followers_url":"https://api.github.com/users/c0gent/followers","following_url":"https://api.github.com/users/c0gent/following{/other_user}","gists_url":"https://api.github.com/users/c0gent/gists{/gist_id}","starred_url":"https://api.github.com/users/c0gent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c0gent/subscriptions","organizations_url":"https://api.github.com/users/c0gent/orgs","repos_url":"https://api.github.com/users/c0gent/repos","events_url":"https://api.github.com/users/c0gent/events{/privacy}","received_events_url":"https://api.github.com/users/c0gent/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-12-05T00:39:00Z","updated_at":"2018-12-05T14:42:37Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/poanetwork/parity-ethereum/pulls/45","html_url":"https://github.com/poanetwork/parity-ethereum/pull/45","diff_url":"https://github.com/poanetwork/parity-ethereum/pull/45.diff","patch_url":"https://github.com/poanetwork/parity-ethereum/pull/45.patch"},"body":"This adds a little test routine (`Laboratory::contract_stuff`) which:\r\n\r\n1. Creates a transaction containing a test contract binary (source code at bottom of `laboratory.rs`).\r\n1. Gets the transaction receipt.\r\n1. Calls the `getOwner` method, which should return the address of the account used to create transaction with.\r\n\r\nThis fails, apparently because the value returned is 0. @DrPeterVanNostrand do you have any idea where I'm going wrong here?"},"comment":{"url":"https://api.github.com/repos/poanetwork/parity-ethereum/issues/comments/444508694","html_url":"https://github.com/poanetwork/parity-ethereum/pull/45#issuecomment-444508694","issue_url":"https://api.github.com/repos/poanetwork/parity-ethereum/issues/45","id":444508694,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDUwODY5NA==","user":{"login":"afck","id":7894725,"node_id":"MDQ6VXNlcjc4OTQ3MjU=","avatar_url":"https://avatars0.githubusercontent.com/u/7894725?v=4","gravatar_id":"","url":"https://api.github.com/users/afck","html_url":"https://github.com/afck","followers_url":"https://api.github.com/users/afck/followers","following_url":"https://api.github.com/users/afck/following{/other_user}","gists_url":"https://api.github.com/users/afck/gists{/gist_id}","starred_url":"https://api.github.com/users/afck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afck/subscriptions","organizations_url":"https://api.github.com/users/afck/orgs","repos_url":"https://api.github.com/users/afck/repos","events_url":"https://api.github.com/users/afck/events{/privacy}","received_events_url":"https://api.github.com/users/afck/received_events","type":"User","site_admin":false},"created_at":"2018-12-05T14:42:37Z","updated_at":"2018-12-05T14:42:37Z","author_association":"NONE","body":"Right, I did that, too. Not sure whether it was necessary. But I'm pretty sure the problem was that it was hexadecimal, and needed to be converted to binary using `from_hex`."}}
{"actor":{"display_login":"afck"}}