{"action":"created","issue":{"url":"https://api.github.com/repos/ethereumjs/ethereumjs-vm/issues/70","repository_url":"https://api.github.com/repos/ethereumjs/ethereumjs-vm","labels_url":"https://api.github.com/repos/ethereumjs/ethereumjs-vm/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/ethereumjs/ethereumjs-vm/issues/70/comments","events_url":"https://api.github.com/repos/ethereumjs/ethereumjs-vm/issues/70/events","html_url":"https://github.com/ethereumjs/ethereumjs-vm/issues/70","id":158160523,"number":70,"title":"runCode callback value has exception: 1 iff there is no exception","user":{"login":"chris-martin","id":399718,"avatar_url":"https://avatars.githubusercontent.com/u/399718?v=3","gravatar_id":"","url":"https://api.github.com/users/chris-martin","html_url":"https://github.com/chris-martin","followers_url":"https://api.github.com/users/chris-martin/followers","following_url":"https://api.github.com/users/chris-martin/following{/other_user}","gists_url":"https://api.github.com/users/chris-martin/gists{/gist_id}","starred_url":"https://api.github.com/users/chris-martin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris-martin/subscriptions","organizations_url":"https://api.github.com/users/chris-martin/orgs","repos_url":"https://api.github.com/users/chris-martin/repos","events_url":"https://api.github.com/users/chris-martin/events{/privacy}","received_events_url":"https://api.github.com/users/chris-martin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-06-02T14:50:49Z","updated_at":"2016-06-02T15:21:48Z","closed_at":null,"body":"This is what `runCode.js` looks like now:\r\n\r\n```js\r\nexception: err ? 0 : 1\r\n```\r\n\r\nIt seems to me that this logic is backwards, and should be\r\n\r\n```js\r\nexception: err ? 1 : 0\r\n```\r\n\r\nBut I'm also not sure why it isn't a boolean, as the documentation says it should be.\r\n\r\n```js\r\nexception: !!err\r\n```\r\n\r\n44d096a fixed this and closed #48, but then it got reverted. I can't tell why.\r\n"},"comment":{"url":"https://api.github.com/repos/ethereumjs/ethereumjs-vm/issues/comments/223325690","html_url":"https://github.com/ethereumjs/ethereumjs-vm/issues/70#issuecomment-223325690","issue_url":"https://api.github.com/repos/ethereumjs/ethereumjs-vm/issues/70","id":223325690,"user":{"login":"wanderer","id":158211,"avatar_url":"https://avatars.githubusercontent.com/u/158211?v=3","gravatar_id":"","url":"https://api.github.com/users/wanderer","html_url":"https://github.com/wanderer","followers_url":"https://api.github.com/users/wanderer/followers","following_url":"https://api.github.com/users/wanderer/following{/other_user}","gists_url":"https://api.github.com/users/wanderer/gists{/gist_id}","starred_url":"https://api.github.com/users/wanderer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wanderer/subscriptions","organizations_url":"https://api.github.com/users/wanderer/orgs","repos_url":"https://api.github.com/users/wanderer/repos","events_url":"https://api.github.com/users/wanderer/events{/privacy}","received_events_url":"https://api.github.com/users/wanderer/received_events","type":"User","site_admin":false},"created_at":"2016-06-02T15:21:48Z","updated_at":"2016-06-02T15:21:48Z","body":"I'm confusing myself here :P so lets look at the yellowpaper \r\n\r\n> μ'ₛ[0] ≡ x\r\nwhere x = 0 if the code execution for this operation failed due to an exceptional halting\r\n\r\n μ'ₛ[0] is the item that is placed onto the stack"}}
{"actor":{"display_login":"wanderer"}}