{"action":"created","issue":{"url":"https://api.github.com/repos/trufflesuite/truffle/issues/1316","repository_url":"https://api.github.com/repos/trufflesuite/truffle","labels_url":"https://api.github.com/repos/trufflesuite/truffle/issues/1316/labels{/name}","comments_url":"https://api.github.com/repos/trufflesuite/truffle/issues/1316/comments","events_url":"https://api.github.com/repos/trufflesuite/truffle/issues/1316/events","html_url":"https://github.com/trufflesuite/truffle/issues/1316","id":366426280,"node_id":"MDU6SXNzdWUzNjY0MjYyODA=","number":1316,"title":"Network id configuration doesn't protect user from deploying to different network","user":{"login":"tcoulter","id":92629,"node_id":"MDQ6VXNlcjkyNjI5","avatar_url":"https://avatars0.githubusercontent.com/u/92629?v=4","gravatar_id":"","url":"https://api.github.com/users/tcoulter","html_url":"https://github.com/tcoulter","followers_url":"https://api.github.com/users/tcoulter/followers","following_url":"https://api.github.com/users/tcoulter/following{/other_user}","gists_url":"https://api.github.com/users/tcoulter/gists{/gist_id}","starred_url":"https://api.github.com/users/tcoulter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcoulter/subscriptions","organizations_url":"https://api.github.com/users/tcoulter/orgs","repos_url":"https://api.github.com/users/tcoulter/repos","events_url":"https://api.github.com/users/tcoulter/events{/privacy}","received_events_url":"https://api.github.com/users/tcoulter/received_events","type":"User","site_admin":false},"labels":[{"id":1120350502,"node_id":"MDU6TGFiZWwxMTIwMzUwNTAy","url":"https://api.github.com/repos/trufflesuite/truffle/labels/stale","name":"stale","color":"ffffff","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-03T16:35:22Z","updated_at":"2018-12-02T21:20:36Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"As we saw during the retreat demo, if you specify a specific number in your truffle config (say, `3`), if the actual network id of the chain doesn't match, Truffle won't error (and it should, to protect the user from inadvertently deploying with real Ether). \r\n\r\nSteps to repro:\r\n1. Set Truffle config network id to 3.\r\n1. Deploy to rinkeby (which has network id of 4). Notice Truffle doesn't error, and performs the deployment.\r\n\r\nNote: This bug report was written very quickly because we're at the retreat demo. Feel free to ask me any questions if the above is unclear."},"comment":{"url":"https://api.github.com/repos/trufflesuite/truffle/issues/comments/443543185","html_url":"https://github.com/trufflesuite/truffle/issues/1316#issuecomment-443543185","issue_url":"https://api.github.com/repos/trufflesuite/truffle/issues/1316","id":443543185,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzU0MzE4NQ==","user":{"login":"stale[bot]","id":26384082,"node_id":"MDM6Qm90MjYzODQwODI=","avatar_url":"https://avatars3.githubusercontent.com/in/1724?v=4","gravatar_id":"","url":"https://api.github.com/users/stale%5Bbot%5D","html_url":"https://github.com/apps/stale","followers_url":"https://api.github.com/users/stale%5Bbot%5D/followers","following_url":"https://api.github.com/users/stale%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/stale%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/stale%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stale%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/stale%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/stale%5Bbot%5D/repos","events_url":"https://api.github.com/users/stale%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/stale%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-12-02T21:20:36Z","updated_at":"2018-12-02T21:20:36Z","author_association":"NONE","body":"Thanks for your response! This issue is no longer considered stale and someone from the Truffle team will try to respond as soon as they can.\n"}}
{"actor":{"display_login":"stale"}}