{"action":"closed","number":98,"pull_request":{"url":"https://api.github.com/repos/Telos-Foundation/telos/pulls/98","id":222862850,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyODYyODUw","html_url":"https://github.com/Telos-Foundation/telos/pull/98","diff_url":"https://github.com/Telos-Foundation/telos/pull/98.diff","patch_url":"https://github.com/Telos-Foundation/telos/pull/98.patch","issue_url":"https://api.github.com/repos/Telos-Foundation/telos/issues/98","number":98,"state":"closed","locked":false,"title":"Feature/worker proposal","user":{"login":"madalin-barbulescu","id":2176292,"node_id":"MDQ6VXNlcjIxNzYyOTI=","avatar_url":"https://avatars3.githubusercontent.com/u/2176292?v=4","gravatar_id":"","url":"https://api.github.com/users/madalin-barbulescu","html_url":"https://github.com/madalin-barbulescu","followers_url":"https://api.github.com/users/madalin-barbulescu/followers","following_url":"https://api.github.com/users/madalin-barbulescu/following{/other_user}","gists_url":"https://api.github.com/users/madalin-barbulescu/gists{/gist_id}","starred_url":"https://api.github.com/users/madalin-barbulescu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madalin-barbulescu/subscriptions","organizations_url":"https://api.github.com/users/madalin-barbulescu/orgs","repos_url":"https://api.github.com/users/madalin-barbulescu/repos","events_url":"https://api.github.com/users/madalin-barbulescu/events{/privacy}","received_events_url":"https://api.github.com/users/madalin-barbulescu/received_events","type":"User","site_admin":false},"body":"The WPS mentioned in Issue #46 : \r\n- The contract itself, using the trail service\r\n- Unit test for most cases we could think of and asserts (testing the voting, claim and propose)\r\n- Added to build for easy dev/testing\r\n\r\nOthers : \r\n- changed <> angular brackets to \"\" quotes for imports in trail service to pass build errors\r\n- changed the active function in tester.hpp so it activates the network on new standard (3600 blocks produced in dev) to test the WPS (without kick)\r\n\r\nNOTE : the votes are calculated as 1 weight each atm, it can be changed easily when we want/can.\r\nNOTE : the threshold % are modified to work for the testnet and weight 1 (bigger % : 5 and 10 for fee and passing )\r\n\r\nImplemented by @AndreiGusa ","created_at":"2018-10-15T10:53:46Z","updated_at":"2018-11-19T08:34:23Z","closed_at":"2018-11-19T08:34:23Z","merged_at":null,"merge_commit_sha":"f4ef626a329e0a9f152d4900b18907af2f883dfa","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":988730888,"node_id":"MDU6TGFiZWw5ODg3MzA4ODg=","url":"https://api.github.com/repos/Telos-Foundation/telos/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/Telos-Foundation/telos/pulls/98/commits","review_comments_url":"https://api.github.com/repos/Telos-Foundation/telos/pulls/98/comments","review_comment_url":"https://api.github.com/repos/Telos-Foundation/telos/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Telos-Foundation/telos/issues/98/comments","statuses_url":"https://api.github.com/repos/Telos-Foundation/telos/statuses/6b9c2723970a28cc2dbb3a547c7718d85fc840fc","head":{"label":"madalin-barbulescu:feature/worker_proposal","ref":"feature/worker_proposal","sha":"6b9c2723970a28cc2dbb3a547c7718d85fc840fc","user":{"login":"madalin-barbulescu","id":2176292,"node_id":"MDQ6VXNlcjIxNzYyOTI=","avatar_url":"https://avatars3.githubusercontent.com/u/2176292?v=4","gravatar_id":"","url":"https://api.github.com/users/madalin-barbulescu","html_url":"https://github.com/madalin-barbulescu","followers_url":"https://api.github.com/users/madalin-barbulescu/followers","following_url":"https://api.github.com/users/madalin-barbulescu/following{/other_user}","gists_url":"https://api.github.com/users/madalin-barbulescu/gists{/gist_id}","starred_url":"https://api.github.com/users/madalin-barbulescu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madalin-barbulescu/subscriptions","organizations_url":"https://api.github.com/users/madalin-barbulescu/orgs","repos_url":"https://api.github.com/users/madalin-barbulescu/repos","events_url":"https://api.github.com/users/madalin-barbulescu/events{/privacy}","received_events_url":"https://api.github.com/users/madalin-barbulescu/received_events","type":"User","site_admin":false},"repo":{"id":145511218,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU1MTEyMTg=","name":"telos","full_name":"madalin-barbulescu/telos","private":false,"owner":{"login":"madalin-barbulescu","id":2176292,"node_id":"MDQ6VXNlcjIxNzYyOTI=","avatar_url":"https://avatars3.githubusercontent.com/u/2176292?v=4","gravatar_id":"","url":"https://api.github.com/users/madalin-barbulescu","html_url":"https://github.com/madalin-barbulescu","followers_url":"https://api.github.com/users/madalin-barbulescu/followers","following_url":"https://api.github.com/users/madalin-barbulescu/following{/other_user}","gists_url":"https://api.github.com/users/madalin-barbulescu/gists{/gist_id}","starred_url":"https://api.github.com/users/madalin-barbulescu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madalin-barbulescu/subscriptions","organizations_url":"https://api.github.com/users/madalin-barbulescu/orgs","repos_url":"https://api.github.com/users/madalin-barbulescu/repos","events_url":"https://api.github.com/users/madalin-barbulescu/events{/privacy}","received_events_url":"https://api.github.com/users/madalin-barbulescu/received_events","type":"User","site_admin":false},"html_url":"https://github.com/madalin-barbulescu/telos","description":"A smart contract platform for proprietary and open source projects.","fork":true,"url":"https://api.github.com/repos/madalin-barbulescu/telos","forks_url":"https://api.github.com/repos/madalin-barbulescu/telos/forks","keys_url":"https://api.github.com/repos/madalin-barbulescu/telos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/madalin-barbulescu/telos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/madalin-barbulescu/telos/teams","hooks_url":"https://api.github.com/repos/madalin-barbulescu/telos/hooks","issue_events_url":"https://api.github.com/repos/madalin-barbulescu/telos/issues/events{/number}","events_url":"https://api.github.com/repos/madalin-barbulescu/telos/events","assignees_url":"https://api.github.com/repos/madalin-barbulescu/telos/assignees{/user}","branches_url":"https://api.github.com/repos/madalin-barbulescu/telos/branches{/branch}","tags_url":"https://api.github.com/repos/madalin-barbulescu/telos/tags","blobs_url":"https://api.github.com/repos/madalin-barbulescu/telos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/madalin-barbulescu/telos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/madalin-barbulescu/telos/git/refs{/sha}","trees_url":"https://api.github.com/repos/madalin-barbulescu/telos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/madalin-barbulescu/telos/statuses/{sha}","languages_url":"https://api.github.com/repos/madalin-barbulescu/telos/languages","stargazers_url":"https://api.github.com/repos/madalin-barbulescu/telos/stargazers","contributors_url":"https://api.github.com/repos/madalin-barbulescu/telos/contributors","subscribers_url":"https://api.github.com/repos/madalin-barbulescu/telos/subscribers","subscription_url":"https://api.github.com/repos/madalin-barbulescu/telos/subscription","commits_url":"https://api.github.com/repos/madalin-barbulescu/telos/commits{/sha}","git_commits_url":"https://api.github.com/repos/madalin-barbulescu/telos/git/commits{/sha}","comments_url":"https://api.github.com/repos/madalin-barbulescu/telos/comments{/number}","issue_comment_url":"https://api.github.com/repos/madalin-barbulescu/telos/issues/comments{/number}","contents_url":"https://api.github.com/repos/madalin-barbulescu/telos/contents/{+path}","compare_url":"https://api.github.com/repos/madalin-barbulescu/telos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/madalin-barbulescu/telos/merges","archive_url":"https://api.github.com/repos/madalin-barbulescu/telos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/madalin-barbulescu/telos/downloads","issues_url":"https://api.github.com/repos/madalin-barbulescu/telos/issues{/number}","pulls_url":"https://api.github.com/repos/madalin-barbulescu/telos/pulls{/number}","milestones_url":"https://api.github.com/repos/madalin-barbulescu/telos/milestones{/number}","notifications_url":"https://api.github.com/repos/madalin-barbulescu/telos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/madalin-barbulescu/telos/labels{/name}","releases_url":"https://api.github.com/repos/madalin-barbulescu/telos/releases{/id}","deployments_url":"https://api.github.com/repos/madalin-barbulescu/telos/deployments","created_at":"2018-08-21T05:29:41Z","updated_at":"2018-08-24T13:48:48Z","pushed_at":"2018-11-19T08:28:41Z","git_url":"git://github.com/madalin-barbulescu/telos.git","ssh_url":"git@github.com:madalin-barbulescu/telos.git","clone_url":"https://github.com/madalin-barbulescu/telos.git","svn_url":"https://github.com/madalin-barbulescu/telos","homepage":"http://telosfoundation.io/","size":113779,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Telos-Foundation:feature/worker_proposal","ref":"feature/worker_proposal","sha":"a3c51060a27696bfbe1c7d48cf4c768829427498","user":{"login":"Telos-Foundation","id":40676508,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwNjc2NTA4","avatar_url":"https://avatars0.githubusercontent.com/u/40676508?v=4","gravatar_id":"","url":"https://api.github.com/users/Telos-Foundation","html_url":"https://github.com/Telos-Foundation","followers_url":"https://api.github.com/users/Telos-Foundation/followers","following_url":"https://api.github.com/users/Telos-Foundation/following{/other_user}","gists_url":"https://api.github.com/users/Telos-Foundation/gists{/gist_id}","starred_url":"https://api.github.com/users/Telos-Foundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Telos-Foundation/subscriptions","organizations_url":"https://api.github.com/users/Telos-Foundation/orgs","repos_url":"https://api.github.com/users/Telos-Foundation/repos","events_url":"https://api.github.com/users/Telos-Foundation/events{/privacy}","received_events_url":"https://api.github.com/users/Telos-Foundation/received_events","type":"Organization","site_admin":false},"repo":{"id":140335806,"node_id":"MDEwOlJlcG9zaXRvcnkxNDAzMzU4MDY=","name":"telos","full_name":"Telos-Foundation/telos","private":false,"owner":{"login":"Telos-Foundation","id":40676508,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwNjc2NTA4","avatar_url":"https://avatars0.githubusercontent.com/u/40676508?v=4","gravatar_id":"","url":"https://api.github.com/users/Telos-Foundation","html_url":"https://github.com/Telos-Foundation","followers_url":"https://api.github.com/users/Telos-Foundation/followers","following_url":"https://api.github.com/users/Telos-Foundation/following{/other_user}","gists_url":"https://api.github.com/users/Telos-Foundation/gists{/gist_id}","starred_url":"https://api.github.com/users/Telos-Foundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Telos-Foundation/subscriptions","organizations_url":"https://api.github.com/users/Telos-Foundation/orgs","repos_url":"https://api.github.com/users/Telos-Foundation/repos","events_url":"https://api.github.com/users/Telos-Foundation/events{/privacy}","received_events_url":"https://api.github.com/users/Telos-Foundation/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Telos-Foundation/telos","description":"A smart contract platform for everyone.","fork":true,"url":"https://api.github.com/repos/Telos-Foundation/telos","forks_url":"https://api.github.com/repos/Telos-Foundation/telos/forks","keys_url":"https://api.github.com/repos/Telos-Foundation/telos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Telos-Foundation/telos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Telos-Foundation/telos/teams","hooks_url":"https://api.github.com/repos/Telos-Foundation/telos/hooks","issue_events_url":"https://api.github.com/repos/Telos-Foundation/telos/issues/events{/number}","events_url":"https://api.github.com/repos/Telos-Foundation/telos/events","assignees_url":"https://api.github.com/repos/Telos-Foundation/telos/assignees{/user}","branches_url":"https://api.github.com/repos/Telos-Foundation/telos/branches{/branch}","tags_url":"https://api.github.com/repos/Telos-Foundation/telos/tags","blobs_url":"https://api.github.com/repos/Telos-Foundation/telos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Telos-Foundation/telos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Telos-Foundation/telos/git/refs{/sha}","trees_url":"https://api.github.com/repos/Telos-Foundation/telos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Telos-Foundation/telos/statuses/{sha}","languages_url":"https://api.github.com/repos/Telos-Foundation/telos/languages","stargazers_url":"https://api.github.com/repos/Telos-Foundation/telos/stargazers","contributors_url":"https://api.github.com/repos/Telos-Foundation/telos/contributors","subscribers_url":"https://api.github.com/repos/Telos-Foundation/telos/subscribers","subscription_url":"https://api.github.com/repos/Telos-Foundation/telos/subscription","commits_url":"https://api.github.com/repos/Telos-Foundation/telos/commits{/sha}","git_commits_url":"https://api.github.com/repos/Telos-Foundation/telos/git/commits{/sha}","comments_url":"https://api.github.com/repos/Telos-Foundation/telos/comments{/number}","issue_comment_url":"https://api.github.com/repos/Telos-Foundation/telos/issues/comments{/number}","contents_url":"https://api.github.com/repos/Telos-Foundation/telos/contents/{+path}","compare_url":"https://api.github.com/repos/Telos-Foundation/telos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Telos-Foundation/telos/merges","archive_url":"https://api.github.com/repos/Telos-Foundation/telos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Telos-Foundation/telos/downloads","issues_url":"https://api.github.com/repos/Telos-Foundation/telos/issues{/number}","pulls_url":"https://api.github.com/repos/Telos-Foundation/telos/pulls{/number}","milestones_url":"https://api.github.com/repos/Telos-Foundation/telos/milestones{/number}","notifications_url":"https://api.github.com/repos/Telos-Foundation/telos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Telos-Foundation/telos/labels{/name}","releases_url":"https://api.github.com/repos/Telos-Foundation/telos/releases{/id}","deployments_url":"https://api.github.com/repos/Telos-Foundation/telos/deployments","created_at":"2018-07-09T19:59:29Z","updated_at":"2018-11-02T22:54:31Z","pushed_at":"2018-11-15T00:31:36Z","git_url":"git://github.com/Telos-Foundation/telos.git","ssh_url":"git@github.com:Telos-Foundation/telos.git","clone_url":"https://github.com/Telos-Foundation/telos.git","svn_url":"https://github.com/Telos-Foundation/telos","homepage":"http://telosfoundation.io/","size":115990,"stargazers_count":37,"watchers_count":37,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"archived":false,"open_issues_count":22,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":18,"open_issues":22,"watchers":37,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Telos-Foundation/telos/pulls/98"},"html":{"href":"https://github.com/Telos-Foundation/telos/pull/98"},"issue":{"href":"https://api.github.com/repos/Telos-Foundation/telos/issues/98"},"comments":{"href":"https://api.github.com/repos/Telos-Foundation/telos/issues/98/comments"},"review_comments":{"href":"https://api.github.com/repos/Telos-Foundation/telos/pulls/98/comments"},"review_comment":{"href":"https://api.github.com/repos/Telos-Foundation/telos/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Telos-Foundation/telos/pulls/98/commits"},"statuses":{"href":"https://api.github.com/repos/Telos-Foundation/telos/statuses/6b9c2723970a28cc2dbb3a547c7718d85fc840fc"}},"author_association":"NONE","merged":false,"mergeable":true,"rebaseable":false,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":26,"maintainer_can_modify":false,"commits":4,"additions":830,"deletions":5,"changed_files":10}}
{"actor":{"display_login":"madalin-barbulescu"}}