{"action":"opened","issue":{"url":"https://api.github.com/repos/raiden-network/raiden/issues/2267","repository_url":"https://api.github.com/repos/raiden-network/raiden","labels_url":"https://api.github.com/repos/raiden-network/raiden/issues/2267/labels{/name}","comments_url":"https://api.github.com/repos/raiden-network/raiden/issues/2267/comments","events_url":"https://api.github.com/repos/raiden-network/raiden/issues/2267/events","html_url":"https://github.com/raiden-network/raiden/issues/2267","id":353817685,"node_id":"MDU6SXNzdWUzNTM4MTc2ODU=","number":2267,"title":"Check the smart contract events are available","user":{"login":"hackaugusto","id":310139,"node_id":"MDQ6VXNlcjMxMDEzOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/310139?v=4","gravatar_id":"","url":"https://api.github.com/users/hackaugusto","html_url":"https://github.com/hackaugusto","followers_url":"https://api.github.com/users/hackaugusto/followers","following_url":"https://api.github.com/users/hackaugusto/following{/other_user}","gists_url":"https://api.github.com/users/hackaugusto/gists{/gist_id}","starred_url":"https://api.github.com/users/hackaugusto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackaugusto/subscriptions","organizations_url":"https://api.github.com/users/hackaugusto/orgs","repos_url":"https://api.github.com/users/hackaugusto/repos","events_url":"https://api.github.com/users/hackaugusto/events{/privacy}","received_events_url":"https://api.github.com/users/hackaugusto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-24T14:56:42Z","updated_at":"2018-08-24T14:56:42Z","closed_at":null,"author_association":"COLLABORATOR","body":"## Problem Definition\r\n\r\nDepending on the flags used to execute the ethereum client the events may not be available. This is a problem because Raiden depends on the events to reconstruct the smart contract state, the node should not start if the events are not available.\r\n\r\nTo detect if the events are available, after deploying the token network registry a token should be registered and the block height for the transaction which registered the token needs to be saved along side the registry address, on startup the node must verify the known even is available, and if not bail. "}}
{"actor":{"display_login":"hackaugusto"}}