{"action":"created","comment":{"url":"https://api.github.com/repos/fleupold/mock-contract/pulls/comments/215647317","pull_request_review_id":152958369,"id":215647317,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNTY0NzMxNw==","diff_hunk":"@@ -2,8 +2,42 @@ pragma solidity ^0.4.23;\n \n contract MockContract {\n \tenum MockType { Return, Revert, OutOfGas }\n+\n+    bytes32 public constant MOCKS_LIST_START = 0x1;","path":"contracts/MockContract.sol","position":5,"original_position":5,"commit_id":"3cfac50446fec60a7f40f026f585610f144317af","original_commit_id":"098c57c20a8416fcb23e9fe634261a229e8a367c","user":{"login":"fleupold","id":1200333,"node_id":"MDQ6VXNlcjEyMDAzMzM=","avatar_url":"https://avatars1.githubusercontent.com/u/1200333?v=4","gravatar_id":"","url":"https://api.github.com/users/fleupold","html_url":"https://github.com/fleupold","followers_url":"https://api.github.com/users/fleupold/followers","following_url":"https://api.github.com/users/fleupold/following{/other_user}","gists_url":"https://api.github.com/users/fleupold/gists{/gist_id}","starred_url":"https://api.github.com/users/fleupold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fleupold/subscriptions","organizations_url":"https://api.github.com/users/fleupold/orgs","repos_url":"https://api.github.com/users/fleupold/repos","events_url":"https://api.github.com/users/fleupold/events{/privacy}","received_events_url":"https://api.github.com/users/fleupold/received_events","type":"User","site_admin":false},"body":"nit: indentation","created_at":"2018-09-06T14:28:40Z","updated_at":"2018-09-06T14:46:47Z","html_url":"https://github.com/fleupold/mock-contract/pull/1#discussion_r215647317","pull_request_url":"https://api.github.com/repos/fleupold/mock-contract/pulls/1","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/fleupold/mock-contract/pulls/comments/215647317"},"html":{"href":"https://github.com/fleupold/mock-contract/pull/1#discussion_r215647317"},"pull_request":{"href":"https://api.github.com/repos/fleupold/mock-contract/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/fleupold/mock-contract/pulls/1","id":213572035,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzNTcyMDM1","html_url":"https://github.com/fleupold/mock-contract/pull/1","diff_url":"https://github.com/fleupold/mock-contract/pull/1.diff","patch_url":"https://github.com/fleupold/mock-contract/pull/1.patch","issue_url":"https://api.github.com/repos/fleupold/mock-contract/issues/1","number":1,"state":"open","locked":false,"title":"Added mock any functions and possibility to add error message","user":{"login":"rmeissner","id":2896048,"node_id":"MDQ6VXNlcjI4OTYwNDg=","avatar_url":"https://avatars1.githubusercontent.com/u/2896048?v=4","gravatar_id":"","url":"https://api.github.com/users/rmeissner","html_url":"https://github.com/rmeissner","followers_url":"https://api.github.com/users/rmeissner/followers","following_url":"https://api.github.com/users/rmeissner/following{/other_user}","gists_url":"https://api.github.com/users/rmeissner/gists{/gist_id}","starred_url":"https://api.github.com/users/rmeissner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmeissner/subscriptions","organizations_url":"https://api.github.com/users/rmeissner/orgs","repos_url":"https://api.github.com/users/rmeissner/repos","events_url":"https://api.github.com/users/rmeissner/events{/privacy}","received_events_url":"https://api.github.com/users/rmeissner/received_events","type":"User","site_admin":false},"body":"* Added givenRevertWithMessage(bytes call, string message)\r\n* Added givenReturnAny(bytes4 methodId, bytes data)\r\n* Added givenRevertAny(bytes4 methodId)\r\n* Added givenRevertAnyWithMessage(bytes4 methodId, string message)\r\n* Added givenOutOfGas(bytes4 methodId, string message)\r\n* Added reset() to reset all mocks on the MockContract()\r\n* Added travis.yml\r\n\r\n@fleupold could you enable travis for this project?","created_at":"2018-09-06T10:38:44Z","updated_at":"2018-09-06T14:46:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c1cf47c069649d3619d10902224b395131c5b907","assignee":{"login":"rmeissner","id":2896048,"node_id":"MDQ6VXNlcjI4OTYwNDg=","avatar_url":"https://avatars1.githubusercontent.com/u/2896048?v=4","gravatar_id":"","url":"https://api.github.com/users/rmeissner","html_url":"https://github.com/rmeissner","followers_url":"https://api.github.com/users/rmeissner/followers","following_url":"https://api.github.com/users/rmeissner/following{/other_user}","gists_url":"https://api.github.com/users/rmeissner/gists{/gist_id}","starred_url":"https://api.github.com/users/rmeissner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmeissner/subscriptions","organizations_url":"https://api.github.com/users/rmeissner/orgs","repos_url":"https://api.github.com/users/rmeissner/repos","events_url":"https://api.github.com/users/rmeissner/events{/privacy}","received_events_url":"https://api.github.com/users/rmeissner/received_events","type":"User","site_admin":false},"assignees":[{"login":"rmeissner","id":2896048,"node_id":"MDQ6VXNlcjI4OTYwNDg=","avatar_url":"https://avatars1.githubusercontent.com/u/2896048?v=4","gravatar_id":"","url":"https://api.github.com/users/rmeissner","html_url":"https://github.com/rmeissner","followers_url":"https://api.github.com/users/rmeissner/followers","following_url":"https://api.github.com/users/rmeissner/following{/other_user}","gists_url":"https://api.github.com/users/rmeissner/gists{/gist_id}","starred_url":"https://api.github.com/users/rmeissner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmeissner/subscriptions","organizations_url":"https://api.github.com/users/rmeissner/orgs","repos_url":"https://api.github.com/users/rmeissner/repos","events_url":"https://api.github.com/users/rmeissner/events{/privacy}","received_events_url":"https://api.github.com/users/rmeissner/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/fleupold/mock-contract/pulls/1/commits","review_comments_url":"https://api.github.com/repos/fleupold/mock-contract/pulls/1/comments","review_comment_url":"https://api.github.com/repos/fleupold/mock-contract/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fleupold/mock-contract/issues/1/comments","statuses_url":"https://api.github.com/repos/fleupold/mock-contract/statuses/3cfac50446fec60a7f40f026f585610f144317af","head":{"label":"fleupold:mock_any_and_error_msg","ref":"mock_any_and_error_msg","sha":"3cfac50446fec60a7f40f026f585610f144317af","user":{"login":"fleupold","id":1200333,"node_id":"MDQ6VXNlcjEyMDAzMzM=","avatar_url":"https://avatars1.githubusercontent.com/u/1200333?v=4","gravatar_id":"","url":"https://api.github.com/users/fleupold","html_url":"https://github.com/fleupold","followers_url":"https://api.github.com/users/fleupold/followers","following_url":"https://api.github.com/users/fleupold/following{/other_user}","gists_url":"https://api.github.com/users/fleupold/gists{/gist_id}","starred_url":"https://api.github.com/users/fleupold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fleupold/subscriptions","organizations_url":"https://api.github.com/users/fleupold/orgs","repos_url":"https://api.github.com/users/fleupold/repos","events_url":"https://api.github.com/users/fleupold/events{/privacy}","received_events_url":"https://api.github.com/users/fleupold/received_events","type":"User","site_admin":false},"repo":{"id":144871228,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQ4NzEyMjg=","name":"mock-contract","full_name":"fleupold/mock-contract","owner":{"login":"fleupold","id":1200333,"node_id":"MDQ6VXNlcjEyMDAzMzM=","avatar_url":"https://avatars1.githubusercontent.com/u/1200333?v=4","gravatar_id":"","url":"https://api.github.com/users/fleupold","html_url":"https://github.com/fleupold","followers_url":"https://api.github.com/users/fleupold/followers","following_url":"https://api.github.com/users/fleupold/following{/other_user}","gists_url":"https://api.github.com/users/fleupold/gists{/gist_id}","starred_url":"https://api.github.com/users/fleupold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fleupold/subscriptions","organizations_url":"https://api.github.com/users/fleupold/orgs","repos_url":"https://api.github.com/users/fleupold/repos","events_url":"https://api.github.com/users/fleupold/events{/privacy}","received_events_url":"https://api.github.com/users/fleupold/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fleupold/mock-contract","description":"Simple Solidity contract to mock dependent contracts in truffle tests.","fork":false,"url":"https://api.github.com/repos/fleupold/mock-contract","forks_url":"https://api.github.com/repos/fleupold/mock-contract/forks","keys_url":"https://api.github.com/repos/fleupold/mock-contract/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fleupold/mock-contract/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fleupold/mock-contract/teams","hooks_url":"https://api.github.com/repos/fleupold/mock-contract/hooks","issue_events_url":"https://api.github.com/repos/fleupold/mock-contract/issues/events{/number}","events_url":"https://api.github.com/repos/fleupold/mock-contract/events","assignees_url":"https://api.github.com/repos/fleupold/mock-contract/assignees{/user}","branches_url":"https://api.github.com/repos/fleupold/mock-contract/branches{/branch}","tags_url":"https://api.github.com/repos/fleupold/mock-contract/tags","blobs_url":"https://api.github.com/repos/fleupold/mock-contract/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fleupold/mock-contract/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fleupold/mock-contract/git/refs{/sha}","trees_url":"https://api.github.com/repos/fleupold/mock-contract/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fleupold/mock-contract/statuses/{sha}","languages_url":"https://api.github.com/repos/fleupold/mock-contract/languages","stargazers_url":"https://api.github.com/repos/fleupold/mock-contract/stargazers","contributors_url":"https://api.github.com/repos/fleupold/mock-contract/contributors","subscribers_url":"https://api.github.com/repos/fleupold/mock-contract/subscribers","subscription_url":"https://api.github.com/repos/fleupold/mock-contract/subscription","commits_url":"https://api.github.com/repos/fleupold/mock-contract/commits{/sha}","git_commits_url":"https://api.github.com/repos/fleupold/mock-contract/git/commits{/sha}","comments_url":"https://api.github.com/repos/fleupold/mock-contract/comments{/number}","issue_comment_url":"https://api.github.com/repos/fleupold/mock-contract/issues/comments{/number}","contents_url":"https://api.github.com/repos/fleupold/mock-contract/contents/{+path}","compare_url":"https://api.github.com/repos/fleupold/mock-contract/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fleupold/mock-contract/merges","archive_url":"https://api.github.com/repos/fleupold/mock-contract/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fleupold/mock-contract/downloads","issues_url":"https://api.github.com/repos/fleupold/mock-contract/issues{/number}","pulls_url":"https://api.github.com/repos/fleupold/mock-contract/pulls{/number}","milestones_url":"https://api.github.com/repos/fleupold/mock-contract/milestones{/number}","notifications_url":"https://api.github.com/repos/fleupold/mock-contract/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fleupold/mock-contract/labels{/name}","releases_url":"https://api.github.com/repos/fleupold/mock-contract/releases{/id}","deployments_url":"https://api.github.com/repos/fleupold/mock-contract/deployments","created_at":"2018-08-15T15:33:16Z","updated_at":"2018-08-22T08:54:21Z","pushed_at":"2018-09-06T14:46:00Z","git_url":"git://github.com/fleupold/mock-contract.git","ssh_url":"git@github.com:fleupold/mock-contract.git","clone_url":"https://github.com/fleupold/mock-contract.git","svn_url":"https://github.com/fleupold/mock-contract","homepage":null,"size":7,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"fleupold:master","ref":"master","sha":"3125a54ddd0db25bf389af8313bed4919bfc1c2c","user":{"login":"fleupold","id":1200333,"node_id":"MDQ6VXNlcjEyMDAzMzM=","avatar_url":"https://avatars1.githubusercontent.com/u/1200333?v=4","gravatar_id":"","url":"https://api.github.com/users/fleupold","html_url":"https://github.com/fleupold","followers_url":"https://api.github.com/users/fleupold/followers","following_url":"https://api.github.com/users/fleupold/following{/other_user}","gists_url":"https://api.github.com/users/fleupold/gists{/gist_id}","starred_url":"https://api.github.com/users/fleupold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fleupold/subscriptions","organizations_url":"https://api.github.com/users/fleupold/orgs","repos_url":"https://api.github.com/users/fleupold/repos","events_url":"https://api.github.com/users/fleupold/events{/privacy}","received_events_url":"https://api.github.com/users/fleupold/received_events","type":"User","site_admin":false},"repo":{"id":144871228,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQ4NzEyMjg=","name":"mock-contract","full_name":"fleupold/mock-contract","owner":{"login":"fleupold","id":1200333,"node_id":"MDQ6VXNlcjEyMDAzMzM=","avatar_url":"https://avatars1.githubusercontent.com/u/1200333?v=4","gravatar_id":"","url":"https://api.github.com/users/fleupold","html_url":"https://github.com/fleupold","followers_url":"https://api.github.com/users/fleupold/followers","following_url":"https://api.github.com/users/fleupold/following{/other_user}","gists_url":"https://api.github.com/users/fleupold/gists{/gist_id}","starred_url":"https://api.github.com/users/fleupold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fleupold/subscriptions","organizations_url":"https://api.github.com/users/fleupold/orgs","repos_url":"https://api.github.com/users/fleupold/repos","events_url":"https://api.github.com/users/fleupold/events{/privacy}","received_events_url":"https://api.github.com/users/fleupold/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fleupold/mock-contract","description":"Simple Solidity contract to mock dependent contracts in truffle tests.","fork":false,"url":"https://api.github.com/repos/fleupold/mock-contract","forks_url":"https://api.github.com/repos/fleupold/mock-contract/forks","keys_url":"https://api.github.com/repos/fleupold/mock-contract/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fleupold/mock-contract/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fleupold/mock-contract/teams","hooks_url":"https://api.github.com/repos/fleupold/mock-contract/hooks","issue_events_url":"https://api.github.com/repos/fleupold/mock-contract/issues/events{/number}","events_url":"https://api.github.com/repos/fleupold/mock-contract/events","assignees_url":"https://api.github.com/repos/fleupold/mock-contract/assignees{/user}","branches_url":"https://api.github.com/repos/fleupold/mock-contract/branches{/branch}","tags_url":"https://api.github.com/repos/fleupold/mock-contract/tags","blobs_url":"https://api.github.com/repos/fleupold/mock-contract/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fleupold/mock-contract/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fleupold/mock-contract/git/refs{/sha}","trees_url":"https://api.github.com/repos/fleupold/mock-contract/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fleupold/mock-contract/statuses/{sha}","languages_url":"https://api.github.com/repos/fleupold/mock-contract/languages","stargazers_url":"https://api.github.com/repos/fleupold/mock-contract/stargazers","contributors_url":"https://api.github.com/repos/fleupold/mock-contract/contributors","subscribers_url":"https://api.github.com/repos/fleupold/mock-contract/subscribers","subscription_url":"https://api.github.com/repos/fleupold/mock-contract/subscription","commits_url":"https://api.github.com/repos/fleupold/mock-contract/commits{/sha}","git_commits_url":"https://api.github.com/repos/fleupold/mock-contract/git/commits{/sha}","comments_url":"https://api.github.com/repos/fleupold/mock-contract/comments{/number}","issue_comment_url":"https://api.github.com/repos/fleupold/mock-contract/issues/comments{/number}","contents_url":"https://api.github.com/repos/fleupold/mock-contract/contents/{+path}","compare_url":"https://api.github.com/repos/fleupold/mock-contract/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fleupold/mock-contract/merges","archive_url":"https://api.github.com/repos/fleupold/mock-contract/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fleupold/mock-contract/downloads","issues_url":"https://api.github.com/repos/fleupold/mock-contract/issues{/number}","pulls_url":"https://api.github.com/repos/fleupold/mock-contract/pulls{/number}","milestones_url":"https://api.github.com/repos/fleupold/mock-contract/milestones{/number}","notifications_url":"https://api.github.com/repos/fleupold/mock-contract/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fleupold/mock-contract/labels{/name}","releases_url":"https://api.github.com/repos/fleupold/mock-contract/releases{/id}","deployments_url":"https://api.github.com/repos/fleupold/mock-contract/deployments","created_at":"2018-08-15T15:33:16Z","updated_at":"2018-08-22T08:54:21Z","pushed_at":"2018-09-06T14:46:00Z","git_url":"git://github.com/fleupold/mock-contract.git","ssh_url":"git@github.com:fleupold/mock-contract.git","clone_url":"https://github.com/fleupold/mock-contract.git","svn_url":"https://github.com/fleupold/mock-contract","homepage":null,"size":7,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fleupold/mock-contract/pulls/1"},"html":{"href":"https://github.com/fleupold/mock-contract/pull/1"},"issue":{"href":"https://api.github.com/repos/fleupold/mock-contract/issues/1"},"comments":{"href":"https://api.github.com/repos/fleupold/mock-contract/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/fleupold/mock-contract/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/fleupold/mock-contract/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fleupold/mock-contract/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/fleupold/mock-contract/statuses/3cfac50446fec60a7f40f026f585610f144317af"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"fleupold"}}