{"action":"created","issue":{"url":"https://api.github.com/repos/mattlockyer/composables-998/issues/2","repository_url":"https://api.github.com/repos/mattlockyer/composables-998","labels_url":"https://api.github.com/repos/mattlockyer/composables-998/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/mattlockyer/composables-998/issues/2/comments","events_url":"https://api.github.com/repos/mattlockyer/composables-998/issues/2/events","html_url":"https://github.com/mattlockyer/composables-998/issues/2","id":328324965,"node_id":"MDU6SXNzdWUzMjgzMjQ5NjU=","number":2,"title":"onERC721Received uses too much gas","user":{"login":"mudgen","id":49092,"node_id":"MDQ6VXNlcjQ5MDky","avatar_url":"https://avatars1.githubusercontent.com/u/49092?v=4","gravatar_id":"","url":"https://api.github.com/users/mudgen","html_url":"https://github.com/mudgen","followers_url":"https://api.github.com/users/mudgen/followers","following_url":"https://api.github.com/users/mudgen/following{/other_user}","gists_url":"https://api.github.com/users/mudgen/gists{/gist_id}","starred_url":"https://api.github.com/users/mudgen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mudgen/subscriptions","organizations_url":"https://api.github.com/users/mudgen/orgs","repos_url":"https://api.github.com/users/mudgen/repos","events_url":"https://api.github.com/users/mudgen/events{/privacy}","received_events_url":"https://api.github.com/users/mudgen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-31T22:57:10Z","updated_at":"2018-06-01T00:48:56Z","closed_at":null,"author_association":"NONE","body":"onERC721Received calls the childReceived function which writes 5 words to storage which costs 100,000 gas.  But the [ERC721 standard](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md) requires that the onERC721Received function use no more than 50,000 gas"},"comment":{"url":"https://api.github.com/repos/mattlockyer/composables-998/issues/comments/393725854","html_url":"https://github.com/mattlockyer/composables-998/issues/2#issuecomment-393725854","issue_url":"https://api.github.com/repos/mattlockyer/composables-998/issues/2","id":393725854,"node_id":"MDEyOklzc3VlQ29tbWVudDM5MzcyNTg1NA==","user":{"login":"mudgen","id":49092,"node_id":"MDQ6VXNlcjQ5MDky","avatar_url":"https://avatars1.githubusercontent.com/u/49092?v=4","gravatar_id":"","url":"https://api.github.com/users/mudgen","html_url":"https://github.com/mudgen","followers_url":"https://api.github.com/users/mudgen/followers","following_url":"https://api.github.com/users/mudgen/following{/other_user}","gists_url":"https://api.github.com/users/mudgen/gists{/gist_id}","starred_url":"https://api.github.com/users/mudgen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mudgen/subscriptions","organizations_url":"https://api.github.com/users/mudgen/orgs","repos_url":"https://api.github.com/users/mudgen/repos","events_url":"https://api.github.com/users/mudgen/events{/privacy}","received_events_url":"https://api.github.com/users/mudgen/received_events","type":"User","site_admin":false},"created_at":"2018-06-01T00:48:56Z","updated_at":"2018-06-01T00:48:56Z","author_association":"NONE","body":"I think the arbitrary limit of 50,000 gas is to prevent contracts from abusing the call into them and perhaps to prevent reentry attacks.\r\n\r\nI emailed @fulldecent about getting that limit removed."}}
{"actor":{"display_login":"mudgen"}}