{"action":"opened","issue":{"url":"https://api.github.com/repos/gberg1/BugContract/issues/1","repository_url":"https://api.github.com/repos/gberg1/BugContract","labels_url":"https://api.github.com/repos/gberg1/BugContract/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/gberg1/BugContract/issues/1/comments","events_url":"https://api.github.com/repos/gberg1/BugContract/issues/1/events","html_url":"https://github.com/gberg1/BugContract/issues/1","id":390283339,"node_id":"MDU6SXNzdWUzOTAyODMzMzk=","number":1,"title":"Buggy Bug ;-)","user":{"login":"adamdossa","id":2633913,"node_id":"MDQ6VXNlcjI2MzM5MTM=","avatar_url":"https://avatars1.githubusercontent.com/u/2633913?v=4","gravatar_id":"","url":"https://api.github.com/users/adamdossa","html_url":"https://github.com/adamdossa","followers_url":"https://api.github.com/users/adamdossa/followers","following_url":"https://api.github.com/users/adamdossa/following{/other_user}","gists_url":"https://api.github.com/users/adamdossa/gists{/gist_id}","starred_url":"https://api.github.com/users/adamdossa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamdossa/subscriptions","organizations_url":"https://api.github.com/users/adamdossa/orgs","repos_url":"https://api.github.com/users/adamdossa/repos","events_url":"https://api.github.com/users/adamdossa/events{/privacy}","received_events_url":"https://api.github.com/users/adamdossa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-12T15:41:27Z","updated_at":"2018-12-12T15:41:27Z","closed_at":null,"author_association":"NONE","body":"```\r\n  // Bug: If msg.value is sufficiently large, then contributions[msg.sender] will overflow\r\n  // and the user will have managed to contribute WAY more than MAX_CONTRIBUTION.\r\n```\r\nNot sure this is accurate - i.e. you'd need more ETH than exists in circulation today in order to overflow `contributions[msg.sender]`.\r\n\r\nI agree that in practice it is better to check overflows with any arithmetic in Solidity, but you could argue this is an exception ;-)."}}
{"actor":{"display_login":"adamdossa"}}