{"action":"closed","issue":{"url":"https://api.github.com/repos/LiskHQ/lisk-sdk/issues/3751","repository_url":"https://api.github.com/repos/LiskHQ/lisk-sdk","labels_url":"https://api.github.com/repos/LiskHQ/lisk-sdk/issues/3751/labels{/name}","comments_url":"https://api.github.com/repos/LiskHQ/lisk-sdk/issues/3751/comments","events_url":"https://api.github.com/repos/LiskHQ/lisk-sdk/issues/3751/events","html_url":"https://github.com/LiskHQ/lisk-sdk/issues/3751","id":449750635,"node_id":"MDU6SXNzdWU0NDk3NTA2MzU=","number":3751,"title":"Change peer.js to utils without holding states","user":{"login":"shuse2","id":2367565,"node_id":"MDQ6VXNlcjIzNjc1NjU=","avatar_url":"https://avatars0.githubusercontent.com/u/2367565?v=4","gravatar_id":"","url":"https://api.github.com/users/shuse2","html_url":"https://github.com/shuse2","followers_url":"https://api.github.com/users/shuse2/followers","following_url":"https://api.github.com/users/shuse2/following{/other_user}","gists_url":"https://api.github.com/users/shuse2/gists{/gist_id}","starred_url":"https://api.github.com/users/shuse2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shuse2/subscriptions","organizations_url":"https://api.github.com/users/shuse2/orgs","repos_url":"https://api.github.com/users/shuse2/repos","events_url":"https://api.github.com/users/shuse2/events{/privacy}","received_events_url":"https://api.github.com/users/shuse2/received_events","type":"User","site_admin":false},"labels":[{"id":852763928,"node_id":"MDU6TGFiZWw4NTI3NjM5Mjg=","url":"https://api.github.com/repos/LiskHQ/lisk-sdk/labels/framework/chain","name":"framework/chain","color":"edd163","default":false},{"id":552492450,"node_id":"MDU6TGFiZWw1NTI0OTI0NTA=","url":"https://api.github.com/repos/LiskHQ/lisk-sdk/labels/refactoring","name":"refactoring","color":"f9d0c4","default":false},{"id":521874316,"node_id":"MDU6TGFiZWw1MjE4NzQzMTY=","url":"https://api.github.com/repos/LiskHQ/lisk-sdk/labels/standards","name":"standards","color":"006b75","default":false}],"state":"closed","locked":false,"assignee":{"login":"ishantiw","id":9600691,"node_id":"MDQ6VXNlcjk2MDA2OTE=","avatar_url":"https://avatars3.githubusercontent.com/u/9600691?v=4","gravatar_id":"","url":"https://api.github.com/users/ishantiw","html_url":"https://github.com/ishantiw","followers_url":"https://api.github.com/users/ishantiw/followers","following_url":"https://api.github.com/users/ishantiw/following{/other_user}","gists_url":"https://api.github.com/users/ishantiw/gists{/gist_id}","starred_url":"https://api.github.com/users/ishantiw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ishantiw/subscriptions","organizations_url":"https://api.github.com/users/ishantiw/orgs","repos_url":"https://api.github.com/users/ishantiw/repos","events_url":"https://api.github.com/users/ishantiw/events{/privacy}","received_events_url":"https://api.github.com/users/ishantiw/received_events","type":"User","site_admin":false},"assignees":[{"login":"ishantiw","id":9600691,"node_id":"MDQ6VXNlcjk2MDA2OTE=","avatar_url":"https://avatars3.githubusercontent.com/u/9600691?v=4","gravatar_id":"","url":"https://api.github.com/users/ishantiw","html_url":"https://github.com/ishantiw","followers_url":"https://api.github.com/users/ishantiw/followers","following_url":"https://api.github.com/users/ishantiw/following{/other_user}","gists_url":"https://api.github.com/users/ishantiw/gists{/gist_id}","starred_url":"https://api.github.com/users/ishantiw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ishantiw/subscriptions","organizations_url":"https://api.github.com/users/ishantiw/orgs","repos_url":"https://api.github.com/users/ishantiw/repos","events_url":"https://api.github.com/users/ishantiw/events{/privacy}","received_events_url":"https://api.github.com/users/ishantiw/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/LiskHQ/lisk-sdk/milestones/48","html_url":"https://github.com/LiskHQ/lisk-sdk/milestone/48","labels_url":"https://api.github.com/repos/LiskHQ/lisk-sdk/milestones/48/labels","id":4401021,"node_id":"MDk6TWlsZXN0b25lNDQwMTAyMQ==","number":48,"title":"Technical Debt - Sprint 1","description":"","creator":{"login":"MaciejBaj","id":6909553,"node_id":"MDQ6VXNlcjY5MDk1NTM=","avatar_url":"https://avatars1.githubusercontent.com/u/6909553?v=4","gravatar_id":"","url":"https://api.github.com/users/MaciejBaj","html_url":"https://github.com/MaciejBaj","followers_url":"https://api.github.com/users/MaciejBaj/followers","following_url":"https://api.github.com/users/MaciejBaj/following{/other_user}","gists_url":"https://api.github.com/users/MaciejBaj/gists{/gist_id}","starred_url":"https://api.github.com/users/MaciejBaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaciejBaj/subscriptions","organizations_url":"https://api.github.com/users/MaciejBaj/orgs","repos_url":"https://api.github.com/users/MaciejBaj/repos","events_url":"https://api.github.com/users/MaciejBaj/events{/privacy}","received_events_url":"https://api.github.com/users/MaciejBaj/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":8,"state":"open","created_at":"2019-06-12T12:19:51Z","updated_at":"2019-06-18T15:42:20Z","due_on":"2019-06-25T07:00:00Z","closed_at":null},"comments":0,"created_at":"2019-05-29T11:25:36Z","updated_at":"2019-06-18T15:42:20Z","closed_at":"2019-06-18T15:42:20Z","author_association":"CONTRIBUTOR","body":"### Expected behavior\r\npeers.js is for calculating the consensus percent, but it relies on the `broadhash` from the blcok.\r\nIt should take the broadhash as an input and calculate on demand.\r\nThen, it can be move to the helper/util file.\r\nAlso, it should use the async/await format\r\n\r\n### Actual behavior\r\nit still has dependency to the block with previous standards\r\n\r\n### Which version(s) does this affect? (Environment, OS, etc...)\r\n2.2-\r\n"}}
{"actor":{"display_login":"shuse2"}}