{"action":"created","comment":{"url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/pulls/comments/244821653","pull_request_review_id":188787083,"id":244821653,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NDgyMTY1Mw==","diff_hunk":"@@ -494,6 +494,127 @@ gas: #gas(INITGAS, NONMEMGAS, MEMGAS) => #gas(INITGAS, NONMEMGAS +Int #sendGas(B\n     andBool 0 <Int #REFUND_RECEIVER\n     andBool #sendFailure(#REFUND_RECEIVER)\n \n+\n+\n+[checkSignatures]\n+pc: PC_FUN_BEGIN => PC_FUN_END\n+wordStack: CONSUME_HASH : DATA_HASH : WS => RESULT : WS             ; some arguments on stack (?)\n+localMem: MEM:IMap => storeRange(MEM, HAVOC_START, HAVOC_WIDTH, _)  ; localMem is updated but we don't care (?)\n+proxy_storage: STORAGE:IMap                                         ; storage is not updated (?)\n++requires:                                                          ; some arguments on memory (?)\n+    andBool selectRange(MEM, DATA_LOC, DATA_WIDTH) ==K DATA_BUF\n+    andBool selectRange(MEM, SIGS_LOC, SIGS_WIDTH) ==K SIGS_BUF\n+    andBool select(STORAGE, #hashedLocation({COMPILER}, {THRESHOLD}, .IntList)) ==Int THRESHOLD","path":"gnosis-imap/gnosis-imap-spec.ini","position":14,"original_position":14,"commit_id":"203e3594d336789141364aeeae686f78269e6457","original_commit_id":"203e3594d336789141364aeeae686f78269e6457","user":{"login":"yzhang90","id":5641590,"node_id":"MDQ6VXNlcjU2NDE1OTA=","avatar_url":"https://avatars3.githubusercontent.com/u/5641590?v=4","gravatar_id":"","url":"https://api.github.com/users/yzhang90","html_url":"https://github.com/yzhang90","followers_url":"https://api.github.com/users/yzhang90/followers","following_url":"https://api.github.com/users/yzhang90/following{/other_user}","gists_url":"https://api.github.com/users/yzhang90/gists{/gist_id}","starred_url":"https://api.github.com/users/yzhang90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yzhang90/subscriptions","organizations_url":"https://api.github.com/users/yzhang90/orgs","repos_url":"https://api.github.com/users/yzhang90/repos","events_url":"https://api.github.com/users/yzhang90/events{/privacy}","received_events_url":"https://api.github.com/users/yzhang90/received_events","type":"User","site_admin":false},"body":"since we give an upperbound to the length of the sig bufs, we may also want to give an upperbound to the threshold instead of pow256.","created_at":"2019-01-02T19:00:08Z","updated_at":"2019-01-02T19:04:00Z","html_url":"https://github.com/runtimeverification/verified-smart-contracts/pull/123#discussion_r244821653","pull_request_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/pulls/123","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/pulls/comments/244821653"},"html":{"href":"https://github.com/runtimeverification/verified-smart-contracts/pull/123#discussion_r244821653"},"pull_request":{"href":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/pulls/123"}}},"pull_request":{"url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/pulls/123","id":241642903,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQxNjQyOTAz","html_url":"https://github.com/runtimeverification/verified-smart-contracts/pull/123","diff_url":"https://github.com/runtimeverification/verified-smart-contracts/pull/123.diff","patch_url":"https://github.com/runtimeverification/verified-smart-contracts/pull/123.patch","issue_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/issues/123","number":123,"state":"open","locked":false,"title":"sketch of checkSignatures","user":{"login":"daejunpark","id":5491770,"node_id":"MDQ6VXNlcjU0OTE3NzA=","avatar_url":"https://avatars0.githubusercontent.com/u/5491770?v=4","gravatar_id":"","url":"https://api.github.com/users/daejunpark","html_url":"https://github.com/daejunpark","followers_url":"https://api.github.com/users/daejunpark/followers","following_url":"https://api.github.com/users/daejunpark/following{/other_user}","gists_url":"https://api.github.com/users/daejunpark/gists{/gist_id}","starred_url":"https://api.github.com/users/daejunpark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daejunpark/subscriptions","organizations_url":"https://api.github.com/users/daejunpark/orgs","repos_url":"https://api.github.com/users/daejunpark/repos","events_url":"https://api.github.com/users/daejunpark/events{/privacy}","received_events_url":"https://api.github.com/users/daejunpark/received_events","type":"User","site_admin":false},"body":"@tomtomjhj please refer to this sketch","created_at":"2019-01-01T17:11:13Z","updated_at":"2019-01-02T19:04:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9294d2c376fb08b2a8ee429219a251ddd94246a8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/pulls/123/commits","review_comments_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/pulls/123/comments","review_comment_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/issues/123/comments","statuses_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/statuses/203e3594d336789141364aeeae686f78269e6457","head":{"label":"runtimeverification:checkSignatures-sketch","ref":"checkSignatures-sketch","sha":"203e3594d336789141364aeeae686f78269e6457","user":{"login":"runtimeverification","id":3732719,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MzI3MTk=","avatar_url":"https://avatars1.githubusercontent.com/u/3732719?v=4","gravatar_id":"","url":"https://api.github.com/users/runtimeverification","html_url":"https://github.com/runtimeverification","followers_url":"https://api.github.com/users/runtimeverification/followers","following_url":"https://api.github.com/users/runtimeverification/following{/other_user}","gists_url":"https://api.github.com/users/runtimeverification/gists{/gist_id}","starred_url":"https://api.github.com/users/runtimeverification/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runtimeverification/subscriptions","organizations_url":"https://api.github.com/users/runtimeverification/orgs","repos_url":"https://api.github.com/users/runtimeverification/repos","events_url":"https://api.github.com/users/runtimeverification/events{/privacy}","received_events_url":"https://api.github.com/users/runtimeverification/received_events","type":"Organization","site_admin":false},"repo":{"id":122777635,"node_id":"MDEwOlJlcG9zaXRvcnkxMjI3Nzc2MzU=","name":"verified-smart-contracts","full_name":"runtimeverification/verified-smart-contracts","private":false,"owner":{"login":"runtimeverification","id":3732719,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MzI3MTk=","avatar_url":"https://avatars1.githubusercontent.com/u/3732719?v=4","gravatar_id":"","url":"https://api.github.com/users/runtimeverification","html_url":"https://github.com/runtimeverification","followers_url":"https://api.github.com/users/runtimeverification/followers","following_url":"https://api.github.com/users/runtimeverification/following{/other_user}","gists_url":"https://api.github.com/users/runtimeverification/gists{/gist_id}","starred_url":"https://api.github.com/users/runtimeverification/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runtimeverification/subscriptions","organizations_url":"https://api.github.com/users/runtimeverification/orgs","repos_url":"https://api.github.com/users/runtimeverification/repos","events_url":"https://api.github.com/users/runtimeverification/events{/privacy}","received_events_url":"https://api.github.com/users/runtimeverification/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/runtimeverification/verified-smart-contracts","description":"Smart contracts which are formally verified","fork":false,"url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts","forks_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/forks","keys_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/teams","hooks_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/hooks","issue_events_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/issues/events{/number}","events_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/events","assignees_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/assignees{/user}","branches_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/branches{/branch}","tags_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/tags","blobs_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/git/refs{/sha}","trees_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/statuses/{sha}","languages_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/languages","stargazers_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/stargazers","contributors_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/contributors","subscribers_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/subscribers","subscription_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/subscription","commits_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/commits{/sha}","git_commits_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/git/commits{/sha}","comments_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/comments{/number}","issue_comment_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/issues/comments{/number}","contents_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/contents/{+path}","compare_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/merges","archive_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/downloads","issues_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/issues{/number}","pulls_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/pulls{/number}","milestones_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/milestones{/number}","notifications_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/labels{/name}","releases_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/releases{/id}","deployments_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/deployments","created_at":"2018-02-24T20:36:23Z","updated_at":"2019-01-02T06:29:33Z","pushed_at":"2019-01-02T18:52:33Z","git_url":"git://github.com/runtimeverification/verified-smart-contracts.git","ssh_url":"git@github.com:runtimeverification/verified-smart-contracts.git","clone_url":"https://github.com/runtimeverification/verified-smart-contracts.git","svn_url":"https://github.com/runtimeverification/verified-smart-contracts","homepage":null,"size":4170,"stargazers_count":67,"watchers_count":67,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"archived":false,"open_issues_count":10,"license":null,"forks":20,"open_issues":10,"watchers":67,"default_branch":"master"}},"base":{"label":"runtimeverification:master","ref":"master","sha":"87da9707fe95e91e85f493aa33ca334271ff8eda","user":{"login":"runtimeverification","id":3732719,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MzI3MTk=","avatar_url":"https://avatars1.githubusercontent.com/u/3732719?v=4","gravatar_id":"","url":"https://api.github.com/users/runtimeverification","html_url":"https://github.com/runtimeverification","followers_url":"https://api.github.com/users/runtimeverification/followers","following_url":"https://api.github.com/users/runtimeverification/following{/other_user}","gists_url":"https://api.github.com/users/runtimeverification/gists{/gist_id}","starred_url":"https://api.github.com/users/runtimeverification/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runtimeverification/subscriptions","organizations_url":"https://api.github.com/users/runtimeverification/orgs","repos_url":"https://api.github.com/users/runtimeverification/repos","events_url":"https://api.github.com/users/runtimeverification/events{/privacy}","received_events_url":"https://api.github.com/users/runtimeverification/received_events","type":"Organization","site_admin":false},"repo":{"id":122777635,"node_id":"MDEwOlJlcG9zaXRvcnkxMjI3Nzc2MzU=","name":"verified-smart-contracts","full_name":"runtimeverification/verified-smart-contracts","private":false,"owner":{"login":"runtimeverification","id":3732719,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MzI3MTk=","avatar_url":"https://avatars1.githubusercontent.com/u/3732719?v=4","gravatar_id":"","url":"https://api.github.com/users/runtimeverification","html_url":"https://github.com/runtimeverification","followers_url":"https://api.github.com/users/runtimeverification/followers","following_url":"https://api.github.com/users/runtimeverification/following{/other_user}","gists_url":"https://api.github.com/users/runtimeverification/gists{/gist_id}","starred_url":"https://api.github.com/users/runtimeverification/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runtimeverification/subscriptions","organizations_url":"https://api.github.com/users/runtimeverification/orgs","repos_url":"https://api.github.com/users/runtimeverification/repos","events_url":"https://api.github.com/users/runtimeverification/events{/privacy}","received_events_url":"https://api.github.com/users/runtimeverification/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/runtimeverification/verified-smart-contracts","description":"Smart contracts which are formally verified","fork":false,"url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts","forks_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/forks","keys_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/teams","hooks_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/hooks","issue_events_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/issues/events{/number}","events_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/events","assignees_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/assignees{/user}","branches_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/branches{/branch}","tags_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/tags","blobs_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/git/refs{/sha}","trees_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/statuses/{sha}","languages_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/languages","stargazers_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/stargazers","contributors_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/contributors","subscribers_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/subscribers","subscription_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/subscription","commits_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/commits{/sha}","git_commits_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/git/commits{/sha}","comments_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/comments{/number}","issue_comment_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/issues/comments{/number}","contents_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/contents/{+path}","compare_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/merges","archive_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/downloads","issues_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/issues{/number}","pulls_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/pulls{/number}","milestones_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/milestones{/number}","notifications_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/labels{/name}","releases_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/releases{/id}","deployments_url":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/deployments","created_at":"2018-02-24T20:36:23Z","updated_at":"2019-01-02T06:29:33Z","pushed_at":"2019-01-02T18:52:33Z","git_url":"git://github.com/runtimeverification/verified-smart-contracts.git","ssh_url":"git@github.com:runtimeverification/verified-smart-contracts.git","clone_url":"https://github.com/runtimeverification/verified-smart-contracts.git","svn_url":"https://github.com/runtimeverification/verified-smart-contracts","homepage":null,"size":4170,"stargazers_count":67,"watchers_count":67,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"archived":false,"open_issues_count":10,"license":null,"forks":20,"open_issues":10,"watchers":67,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/pulls/123"},"html":{"href":"https://github.com/runtimeverification/verified-smart-contracts/pull/123"},"issue":{"href":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/issues/123"},"comments":{"href":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/issues/123/comments"},"review_comments":{"href":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/pulls/123/comments"},"review_comment":{"href":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/pulls/123/commits"},"statuses":{"href":"https://api.github.com/repos/runtimeverification/verified-smart-contracts/statuses/203e3594d336789141364aeeae686f78269e6457"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"yzhang90"}}