{"action":"created","issue":{"url":"https://api.github.com/repos/ethereum/solc-js/issues/134","repository_url":"https://api.github.com/repos/ethereum/solc-js","labels_url":"https://api.github.com/repos/ethereum/solc-js/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/ethereum/solc-js/issues/134/comments","events_url":"https://api.github.com/repos/ethereum/solc-js/issues/134/events","html_url":"https://github.com/ethereum/solc-js/issues/134","id":250323122,"number":134,"title":"solc compile contract any problem?","user":{"login":"oslivan","id":22423945,"avatar_url":"https://avatars0.githubusercontent.com/u/22423945?v=4","gravatar_id":"","url":"https://api.github.com/users/oslivan","html_url":"https://github.com/oslivan","followers_url":"https://api.github.com/users/oslivan/followers","following_url":"https://api.github.com/users/oslivan/following{/other_user}","gists_url":"https://api.github.com/users/oslivan/gists{/gist_id}","starred_url":"https://api.github.com/users/oslivan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oslivan/subscriptions","organizations_url":"https://api.github.com/users/oslivan/orgs","repos_url":"https://api.github.com/users/oslivan/repos","events_url":"https://api.github.com/users/oslivan/events{/privacy}","received_events_url":"https://api.github.com/users/oslivan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-08-15T14:01:21Z","updated_at":"2017-08-16T08:10:02Z","closed_at":"2017-08-15T14:15:31Z","body":"I compiled a contract using solc, but when I want to recharge for it, raise error below\r\n```\r\nWarning! Error encountered during contract execution [Bad instruction] \r\nEtherscan link: https://etherscan.io/tx/0x0d285fc3bfa895b90cde1c61f6e6be4a97e78b09031e24e7675fc9440ebf240d\r\n```\r\nMy contract is \r\n```\r\ncontract SmartExchange {\r\n  address owner;\r\n\r\n  event Deposit(\r\n    address indexed _from,\r\n    uint indexed _band,\r\n    uint _value);\r\n\r\n  function SmartExchange() {\r\n    owner = msg.sender;\r\n  }\r\n\r\n  function kill() {\r\n    if (msg.sender == owner) {\r\n      suicide(owner);\r\n    }\r\n  }\r\n\r\n  function collect() {\r\n    if (msg.sender == owner) {\r\n      owner.send(this.balance);\r\n    }\r\n  }\r\n\r\n  function() {\r\n    if (msg.value > 0) {\r\n      Deposit(msg.sender, 88, msg.value);\r\n    }\r\n  }\r\n}\r\n```\r\nand my environments\r\n```\r\nGeth 1.6.7-stable\r\nSolc 0.4.13\r\n```\r\nI tried many times, and always got this error, please help me, thanks very much."},"comment":{"url":"https://api.github.com/repos/ethereum/solc-js/issues/comments/322697972","html_url":"https://github.com/ethereum/solc-js/issues/134#issuecomment-322697972","issue_url":"https://api.github.com/repos/ethereum/solc-js/issues/134","id":322697972,"user":{"login":"oslivan","id":22423945,"avatar_url":"https://avatars0.githubusercontent.com/u/22423945?v=4","gravatar_id":"","url":"https://api.github.com/users/oslivan","html_url":"https://github.com/oslivan","followers_url":"https://api.github.com/users/oslivan/followers","following_url":"https://api.github.com/users/oslivan/following{/other_user}","gists_url":"https://api.github.com/users/oslivan/gists{/gist_id}","starred_url":"https://api.github.com/users/oslivan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oslivan/subscriptions","organizations_url":"https://api.github.com/users/oslivan/orgs","repos_url":"https://api.github.com/users/oslivan/repos","events_url":"https://api.github.com/users/oslivan/events{/privacy}","received_events_url":"https://api.github.com/users/oslivan/received_events","type":"User","site_admin":false},"created_at":"2017-08-16T08:10:02Z","updated_at":"2017-08-16T08:10:02Z","body":"Thank you feedback, I hava solved it."}}
{"actor":{"display_login":"oslivan"}}