{"action":"created","comment":{"url":"https://api.github.com/repos/aeternity/protocol/pulls/comments/221501412","pull_request_review_id":160162150,"id":221501412,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMTUwMTQxMg==","diff_hunk":"@@ -1009,3 +1010,61 @@ contract update](../serializations.md#channel-off-chain-update-call-contract). I\n information needed for a contract call, including the contract address. The other participant co-signs\n the changes and the contract call is considered to be executed. Its results can be extracted from the calls tree in the state tree.\n \n+### Contracts referring on-chain data\n+\n+Contracts being used in channels off-chain calls have the exact same semantics\n+as one being used on-chain. Because of the different environment though, those\n+might have different results as the on-chain ones.\n+\n+Since there is no signle source of truth, each participant considers one's chain\n+to be the correct one. This is essential for the trustless environment. Every\n+contract call is pinned to the top of the chain, as it is seen by each","path":"channels/OFF-CHAIN.md","position":20,"original_position":20,"commit_id":"ffc88207fa6f4c8cc9fed94ac06af7437bc1fc8e","original_commit_id":"ffc88207fa6f4c8cc9fed94ac06af7437bc1fc8e","user":{"login":"velzevur","id":4035918,"node_id":"MDQ6VXNlcjQwMzU5MTg=","avatar_url":"https://avatars3.githubusercontent.com/u/4035918?v=4","gravatar_id":"","url":"https://api.github.com/users/velzevur","html_url":"https://github.com/velzevur","followers_url":"https://api.github.com/users/velzevur/followers","following_url":"https://api.github.com/users/velzevur/following{/other_user}","gists_url":"https://api.github.com/users/velzevur/gists{/gist_id}","starred_url":"https://api.github.com/users/velzevur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/velzevur/subscriptions","organizations_url":"https://api.github.com/users/velzevur/orgs","repos_url":"https://api.github.com/users/velzevur/repos","events_url":"https://api.github.com/users/velzevur/events{/privacy}","received_events_url":"https://api.github.com/users/velzevur/received_events","type":"User","site_admin":false},"body":"_rephrased_","created_at":"2018-10-01T06:04:26Z","updated_at":"2018-10-01T06:04:26Z","html_url":"https://github.com/aeternity/protocol/pull/215#discussion_r221501412","pull_request_url":"https://api.github.com/repos/aeternity/protocol/pulls/215","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/aeternity/protocol/pulls/comments/221501412"},"html":{"href":"https://github.com/aeternity/protocol/pull/215#discussion_r221501412"},"pull_request":{"href":"https://api.github.com/repos/aeternity/protocol/pulls/215"}},"in_reply_to_id":221465798},"pull_request":{"url":"https://api.github.com/repos/aeternity/protocol/pulls/215","id":219206722,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5MjA2NzIy","html_url":"https://github.com/aeternity/protocol/pull/215","diff_url":"https://github.com/aeternity/protocol/pull/215.diff","patch_url":"https://github.com/aeternity/protocol/pull/215.patch","issue_url":"https://api.github.com/repos/aeternity/protocol/issues/215","number":215,"state":"open","locked":false,"title":"Describe usage of on-chain objects in off-chain contracts","user":{"login":"velzevur","id":4035918,"node_id":"MDQ6VXNlcjQwMzU5MTg=","avatar_url":"https://avatars3.githubusercontent.com/u/4035918?v=4","gravatar_id":"","url":"https://api.github.com/users/velzevur","html_url":"https://github.com/velzevur","followers_url":"https://api.github.com/users/velzevur/followers","following_url":"https://api.github.com/users/velzevur/following{/other_user}","gists_url":"https://api.github.com/users/velzevur/gists{/gist_id}","starred_url":"https://api.github.com/users/velzevur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/velzevur/subscriptions","organizations_url":"https://api.github.com/users/velzevur/orgs","repos_url":"https://api.github.com/users/velzevur/repos","events_url":"https://api.github.com/users/velzevur/events{/privacy}","received_events_url":"https://api.github.com/users/velzevur/received_events","type":"User","site_admin":false},"body":"Changes related to aeternity/epoch#1592","created_at":"2018-09-30T14:09:18Z","updated_at":"2018-10-01T06:04:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3c15b7f1ae6749ce1df75ecc47c402fd834f325f","assignee":null,"assignees":[],"requested_reviewers":[{"login":"hanssv","id":86615,"node_id":"MDQ6VXNlcjg2NjE1","avatar_url":"https://avatars2.githubusercontent.com/u/86615?v=4","gravatar_id":"","url":"https://api.github.com/users/hanssv","html_url":"https://github.com/hanssv","followers_url":"https://api.github.com/users/hanssv/followers","following_url":"https://api.github.com/users/hanssv/following{/other_user}","gists_url":"https://api.github.com/users/hanssv/gists{/gist_id}","starred_url":"https://api.github.com/users/hanssv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanssv/subscriptions","organizations_url":"https://api.github.com/users/hanssv/orgs","repos_url":"https://api.github.com/users/hanssv/repos","events_url":"https://api.github.com/users/hanssv/events{/privacy}","received_events_url":"https://api.github.com/users/hanssv/received_events","type":"User","site_admin":false},{"login":"uwiger","id":160216,"node_id":"MDQ6VXNlcjE2MDIxNg==","avatar_url":"https://avatars3.githubusercontent.com/u/160216?v=4","gravatar_id":"","url":"https://api.github.com/users/uwiger","html_url":"https://github.com/uwiger","followers_url":"https://api.github.com/users/uwiger/followers","following_url":"https://api.github.com/users/uwiger/following{/other_user}","gists_url":"https://api.github.com/users/uwiger/gists{/gist_id}","starred_url":"https://api.github.com/users/uwiger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uwiger/subscriptions","organizations_url":"https://api.github.com/users/uwiger/orgs","repos_url":"https://api.github.com/users/uwiger/repos","events_url":"https://api.github.com/users/uwiger/events{/privacy}","received_events_url":"https://api.github.com/users/uwiger/received_events","type":"User","site_admin":false},{"login":"lucafavatella","id":1344255,"node_id":"MDQ6VXNlcjEzNDQyNTU=","avatar_url":"https://avatars0.githubusercontent.com/u/1344255?v=4","gravatar_id":"","url":"https://api.github.com/users/lucafavatella","html_url":"https://github.com/lucafavatella","followers_url":"https://api.github.com/users/lucafavatella/followers","following_url":"https://api.github.com/users/lucafavatella/following{/other_user}","gists_url":"https://api.github.com/users/lucafavatella/gists{/gist_id}","starred_url":"https://api.github.com/users/lucafavatella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucafavatella/subscriptions","organizations_url":"https://api.github.com/users/lucafavatella/orgs","repos_url":"https://api.github.com/users/lucafavatella/repos","events_url":"https://api.github.com/users/lucafavatella/events{/privacy}","received_events_url":"https://api.github.com/users/lucafavatella/received_events","type":"User","site_admin":false},{"login":"gorillainduction","id":7676988,"node_id":"MDQ6VXNlcjc2NzY5ODg=","avatar_url":"https://avatars2.githubusercontent.com/u/7676988?v=4","gravatar_id":"","url":"https://api.github.com/users/gorillainduction","html_url":"https://github.com/gorillainduction","followers_url":"https://api.github.com/users/gorillainduction/followers","following_url":"https://api.github.com/users/gorillainduction/following{/other_user}","gists_url":"https://api.github.com/users/gorillainduction/gists{/gist_id}","starred_url":"https://api.github.com/users/gorillainduction/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gorillainduction/subscriptions","organizations_url":"https://api.github.com/users/gorillainduction/orgs","repos_url":"https://api.github.com/users/gorillainduction/repos","events_url":"https://api.github.com/users/gorillainduction/events{/privacy}","received_events_url":"https://api.github.com/users/gorillainduction/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/aeternity/protocol/pulls/215/commits","review_comments_url":"https://api.github.com/repos/aeternity/protocol/pulls/215/comments","review_comment_url":"https://api.github.com/repos/aeternity/protocol/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aeternity/protocol/issues/215/comments","statuses_url":"https://api.github.com/repos/aeternity/protocol/statuses/ffc88207fa6f4c8cc9fed94ac06af7437bc1fc8e","head":{"label":"aeternity:off-chain-contracts-referring-on-chain-objs","ref":"off-chain-contracts-referring-on-chain-objs","sha":"ffc88207fa6f4c8cc9fed94ac06af7437bc1fc8e","user":{"login":"aeternity","id":21989234,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxOTg5MjM0","avatar_url":"https://avatars1.githubusercontent.com/u/21989234?v=4","gravatar_id":"","url":"https://api.github.com/users/aeternity","html_url":"https://github.com/aeternity","followers_url":"https://api.github.com/users/aeternity/followers","following_url":"https://api.github.com/users/aeternity/following{/other_user}","gists_url":"https://api.github.com/users/aeternity/gists{/gist_id}","starred_url":"https://api.github.com/users/aeternity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aeternity/subscriptions","organizations_url":"https://api.github.com/users/aeternity/orgs","repos_url":"https://api.github.com/users/aeternity/repos","events_url":"https://api.github.com/users/aeternity/events{/privacy}","received_events_url":"https://api.github.com/users/aeternity/received_events","type":"Organization","site_admin":false},"repo":{"id":113863377,"node_id":"MDEwOlJlcG9zaXRvcnkxMTM4NjMzNzc=","name":"protocol","full_name":"aeternity/protocol","private":false,"owner":{"login":"aeternity","id":21989234,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxOTg5MjM0","avatar_url":"https://avatars1.githubusercontent.com/u/21989234?v=4","gravatar_id":"","url":"https://api.github.com/users/aeternity","html_url":"https://github.com/aeternity","followers_url":"https://api.github.com/users/aeternity/followers","following_url":"https://api.github.com/users/aeternity/following{/other_user}","gists_url":"https://api.github.com/users/aeternity/gists{/gist_id}","starred_url":"https://api.github.com/users/aeternity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aeternity/subscriptions","organizations_url":"https://api.github.com/users/aeternity/orgs","repos_url":"https://api.github.com/users/aeternity/repos","events_url":"https://api.github.com/users/aeternity/events{/privacy}","received_events_url":"https://api.github.com/users/aeternity/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/aeternity/protocol","description":"Specification of the aeternity blockchain protocol","fork":false,"url":"https://api.github.com/repos/aeternity/protocol","forks_url":"https://api.github.com/repos/aeternity/protocol/forks","keys_url":"https://api.github.com/repos/aeternity/protocol/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aeternity/protocol/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aeternity/protocol/teams","hooks_url":"https://api.github.com/repos/aeternity/protocol/hooks","issue_events_url":"https://api.github.com/repos/aeternity/protocol/issues/events{/number}","events_url":"https://api.github.com/repos/aeternity/protocol/events","assignees_url":"https://api.github.com/repos/aeternity/protocol/assignees{/user}","branches_url":"https://api.github.com/repos/aeternity/protocol/branches{/branch}","tags_url":"https://api.github.com/repos/aeternity/protocol/tags","blobs_url":"https://api.github.com/repos/aeternity/protocol/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aeternity/protocol/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aeternity/protocol/git/refs{/sha}","trees_url":"https://api.github.com/repos/aeternity/protocol/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aeternity/protocol/statuses/{sha}","languages_url":"https://api.github.com/repos/aeternity/protocol/languages","stargazers_url":"https://api.github.com/repos/aeternity/protocol/stargazers","contributors_url":"https://api.github.com/repos/aeternity/protocol/contributors","subscribers_url":"https://api.github.com/repos/aeternity/protocol/subscribers","subscription_url":"https://api.github.com/repos/aeternity/protocol/subscription","commits_url":"https://api.github.com/repos/aeternity/protocol/commits{/sha}","git_commits_url":"https://api.github.com/repos/aeternity/protocol/git/commits{/sha}","comments_url":"https://api.github.com/repos/aeternity/protocol/comments{/number}","issue_comment_url":"https://api.github.com/repos/aeternity/protocol/issues/comments{/number}","contents_url":"https://api.github.com/repos/aeternity/protocol/contents/{+path}","compare_url":"https://api.github.com/repos/aeternity/protocol/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aeternity/protocol/merges","archive_url":"https://api.github.com/repos/aeternity/protocol/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aeternity/protocol/downloads","issues_url":"https://api.github.com/repos/aeternity/protocol/issues{/number}","pulls_url":"https://api.github.com/repos/aeternity/protocol/pulls{/number}","milestones_url":"https://api.github.com/repos/aeternity/protocol/milestones{/number}","notifications_url":"https://api.github.com/repos/aeternity/protocol/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aeternity/protocol/labels{/name}","releases_url":"https://api.github.com/repos/aeternity/protocol/releases{/id}","deployments_url":"https://api.github.com/repos/aeternity/protocol/deployments","created_at":"2017-12-11T13:38:28Z","updated_at":"2018-09-28T12:21:49Z","pushed_at":"2018-09-30T14:11:24Z","git_url":"git://github.com/aeternity/protocol.git","ssh_url":"git@github.com:aeternity/protocol.git","clone_url":"https://github.com/aeternity/protocol.git","svn_url":"https://github.com/aeternity/protocol","homepage":"https://www.aeternity.com","size":680,"stargazers_count":80,"watchers_count":80,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"archived":false,"open_issues_count":14,"license":null,"forks":25,"open_issues":14,"watchers":80,"default_branch":"master"}},"base":{"label":"aeternity:master","ref":"master","sha":"4b445569b69db823f852c840bcd752b0950c05b7","user":{"login":"aeternity","id":21989234,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxOTg5MjM0","avatar_url":"https://avatars1.githubusercontent.com/u/21989234?v=4","gravatar_id":"","url":"https://api.github.com/users/aeternity","html_url":"https://github.com/aeternity","followers_url":"https://api.github.com/users/aeternity/followers","following_url":"https://api.github.com/users/aeternity/following{/other_user}","gists_url":"https://api.github.com/users/aeternity/gists{/gist_id}","starred_url":"https://api.github.com/users/aeternity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aeternity/subscriptions","organizations_url":"https://api.github.com/users/aeternity/orgs","repos_url":"https://api.github.com/users/aeternity/repos","events_url":"https://api.github.com/users/aeternity/events{/privacy}","received_events_url":"https://api.github.com/users/aeternity/received_events","type":"Organization","site_admin":false},"repo":{"id":113863377,"node_id":"MDEwOlJlcG9zaXRvcnkxMTM4NjMzNzc=","name":"protocol","full_name":"aeternity/protocol","private":false,"owner":{"login":"aeternity","id":21989234,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxOTg5MjM0","avatar_url":"https://avatars1.githubusercontent.com/u/21989234?v=4","gravatar_id":"","url":"https://api.github.com/users/aeternity","html_url":"https://github.com/aeternity","followers_url":"https://api.github.com/users/aeternity/followers","following_url":"https://api.github.com/users/aeternity/following{/other_user}","gists_url":"https://api.github.com/users/aeternity/gists{/gist_id}","starred_url":"https://api.github.com/users/aeternity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aeternity/subscriptions","organizations_url":"https://api.github.com/users/aeternity/orgs","repos_url":"https://api.github.com/users/aeternity/repos","events_url":"https://api.github.com/users/aeternity/events{/privacy}","received_events_url":"https://api.github.com/users/aeternity/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/aeternity/protocol","description":"Specification of the aeternity blockchain protocol","fork":false,"url":"https://api.github.com/repos/aeternity/protocol","forks_url":"https://api.github.com/repos/aeternity/protocol/forks","keys_url":"https://api.github.com/repos/aeternity/protocol/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aeternity/protocol/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aeternity/protocol/teams","hooks_url":"https://api.github.com/repos/aeternity/protocol/hooks","issue_events_url":"https://api.github.com/repos/aeternity/protocol/issues/events{/number}","events_url":"https://api.github.com/repos/aeternity/protocol/events","assignees_url":"https://api.github.com/repos/aeternity/protocol/assignees{/user}","branches_url":"https://api.github.com/repos/aeternity/protocol/branches{/branch}","tags_url":"https://api.github.com/repos/aeternity/protocol/tags","blobs_url":"https://api.github.com/repos/aeternity/protocol/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aeternity/protocol/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aeternity/protocol/git/refs{/sha}","trees_url":"https://api.github.com/repos/aeternity/protocol/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aeternity/protocol/statuses/{sha}","languages_url":"https://api.github.com/repos/aeternity/protocol/languages","stargazers_url":"https://api.github.com/repos/aeternity/protocol/stargazers","contributors_url":"https://api.github.com/repos/aeternity/protocol/contributors","subscribers_url":"https://api.github.com/repos/aeternity/protocol/subscribers","subscription_url":"https://api.github.com/repos/aeternity/protocol/subscription","commits_url":"https://api.github.com/repos/aeternity/protocol/commits{/sha}","git_commits_url":"https://api.github.com/repos/aeternity/protocol/git/commits{/sha}","comments_url":"https://api.github.com/repos/aeternity/protocol/comments{/number}","issue_comment_url":"https://api.github.com/repos/aeternity/protocol/issues/comments{/number}","contents_url":"https://api.github.com/repos/aeternity/protocol/contents/{+path}","compare_url":"https://api.github.com/repos/aeternity/protocol/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aeternity/protocol/merges","archive_url":"https://api.github.com/repos/aeternity/protocol/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aeternity/protocol/downloads","issues_url":"https://api.github.com/repos/aeternity/protocol/issues{/number}","pulls_url":"https://api.github.com/repos/aeternity/protocol/pulls{/number}","milestones_url":"https://api.github.com/repos/aeternity/protocol/milestones{/number}","notifications_url":"https://api.github.com/repos/aeternity/protocol/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aeternity/protocol/labels{/name}","releases_url":"https://api.github.com/repos/aeternity/protocol/releases{/id}","deployments_url":"https://api.github.com/repos/aeternity/protocol/deployments","created_at":"2017-12-11T13:38:28Z","updated_at":"2018-09-28T12:21:49Z","pushed_at":"2018-09-30T14:11:24Z","git_url":"git://github.com/aeternity/protocol.git","ssh_url":"git@github.com:aeternity/protocol.git","clone_url":"https://github.com/aeternity/protocol.git","svn_url":"https://github.com/aeternity/protocol","homepage":"https://www.aeternity.com","size":680,"stargazers_count":80,"watchers_count":80,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"archived":false,"open_issues_count":14,"license":null,"forks":25,"open_issues":14,"watchers":80,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aeternity/protocol/pulls/215"},"html":{"href":"https://github.com/aeternity/protocol/pull/215"},"issue":{"href":"https://api.github.com/repos/aeternity/protocol/issues/215"},"comments":{"href":"https://api.github.com/repos/aeternity/protocol/issues/215/comments"},"review_comments":{"href":"https://api.github.com/repos/aeternity/protocol/pulls/215/comments"},"review_comment":{"href":"https://api.github.com/repos/aeternity/protocol/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aeternity/protocol/pulls/215/commits"},"statuses":{"href":"https://api.github.com/repos/aeternity/protocol/statuses/ffc88207fa6f4c8cc9fed94ac06af7437bc1fc8e"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"velzevur"}}