{"action":"opened","number":32,"pull_request":{"url":"https://api.github.com/repos/leapdao/leap-guardian/pulls/32","id":344783703,"node_id":"MDExOlB1bGxSZXF1ZXN0MzQ0NzgzNzAz","html_url":"https://github.com/leapdao/leap-guardian/pull/32","diff_url":"https://github.com/leapdao/leap-guardian/pull/32.diff","patch_url":"https://github.com/leapdao/leap-guardian/pull/32.patch","issue_url":"https://api.github.com/repos/leapdao/leap-guardian/issues/32","number":32,"state":"open","locked":false,"title":"feat: add epoch length option to setValidator.","user":{"login":"troggy","id":163447,"node_id":"MDQ6VXNlcjE2MzQ0Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/163447?v=4","gravatar_id":"","url":"https://api.github.com/users/troggy","html_url":"https://github.com/troggy","followers_url":"https://api.github.com/users/troggy/followers","following_url":"https://api.github.com/users/troggy/following{/other_user}","gists_url":"https://api.github.com/users/troggy/gists{/gist_id}","starred_url":"https://api.github.com/users/troggy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troggy/subscriptions","organizations_url":"https://api.github.com/users/troggy/orgs","repos_url":"https://api.github.com/users/troggy/repos","events_url":"https://api.github.com/users/troggy/events{/privacy}","received_events_url":"https://api.github.com/users/troggy/received_events","type":"User","site_admin":false},"body":"This enabled setValidator script to set epoch length to an arbitrary value (allowed by the networtk ofc).\r\n\r\nUseful example for this is:\r\n1. run leap sandbox in a rootOnly mode. Plasma contract will be deployed with default epoch length of 2.\r\n2. you want to run just one validator, so you can use this script with additional EPOCH_LENGTH=1 env var to set epoch length to the correct value","created_at":"2019-11-23T07:03:53Z","updated_at":"2019-11-23T07:03:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/leapdao/leap-guardian/pulls/32/commits","review_comments_url":"https://api.github.com/repos/leapdao/leap-guardian/pulls/32/comments","review_comment_url":"https://api.github.com/repos/leapdao/leap-guardian/pulls/comments{/number}","comments_url":"https://api.github.com/repos/leapdao/leap-guardian/issues/32/comments","statuses_url":"https://api.github.com/repos/leapdao/leap-guardian/statuses/822d25b91ee8f012e4da4b76422d229ed9206c25","head":{"label":"leapdao:feat/set-validator-with-length","ref":"feat/set-validator-with-length","sha":"822d25b91ee8f012e4da4b76422d229ed9206c25","user":{"login":"leapdao","id":24871304,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0ODcxMzA0","avatar_url":"https://avatars3.githubusercontent.com/u/24871304?v=4","gravatar_id":"","url":"https://api.github.com/users/leapdao","html_url":"https://github.com/leapdao","followers_url":"https://api.github.com/users/leapdao/followers","following_url":"https://api.github.com/users/leapdao/following{/other_user}","gists_url":"https://api.github.com/users/leapdao/gists{/gist_id}","starred_url":"https://api.github.com/users/leapdao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leapdao/subscriptions","organizations_url":"https://api.github.com/users/leapdao/orgs","repos_url":"https://api.github.com/users/leapdao/repos","events_url":"https://api.github.com/users/leapdao/events{/privacy}","received_events_url":"https://api.github.com/users/leapdao/received_events","type":"Organization","site_admin":false},"repo":{"id":173165089,"node_id":"MDEwOlJlcG9zaXRvcnkxNzMxNjUwODk=","name":"leap-guardian","full_name":"leapdao/leap-guardian","private":false,"owner":{"login":"leapdao","id":24871304,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0ODcxMzA0","avatar_url":"https://avatars3.githubusercontent.com/u/24871304?v=4","gravatar_id":"","url":"https://api.github.com/users/leapdao","html_url":"https://github.com/leapdao","followers_url":"https://api.github.com/users/leapdao/followers","following_url":"https://api.github.com/users/leapdao/following{/other_user}","gists_url":"https://api.github.com/users/leapdao/gists{/gist_id}","starred_url":"https://api.github.com/users/leapdao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leapdao/subscriptions","organizations_url":"https://api.github.com/users/leapdao/orgs","repos_url":"https://api.github.com/users/leapdao/repos","events_url":"https://api.github.com/users/leapdao/events{/privacy}","received_events_url":"https://api.github.com/users/leapdao/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/leapdao/leap-guardian","description":"Contains scripts to keep the angels busy...","fork":false,"url":"https://api.github.com/repos/leapdao/leap-guardian","forks_url":"https://api.github.com/repos/leapdao/leap-guardian/forks","keys_url":"https://api.github.com/repos/leapdao/leap-guardian/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leapdao/leap-guardian/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leapdao/leap-guardian/teams","hooks_url":"https://api.github.com/repos/leapdao/leap-guardian/hooks","issue_events_url":"https://api.github.com/repos/leapdao/leap-guardian/issues/events{/number}","events_url":"https://api.github.com/repos/leapdao/leap-guardian/events","assignees_url":"https://api.github.com/repos/leapdao/leap-guardian/assignees{/user}","branches_url":"https://api.github.com/repos/leapdao/leap-guardian/branches{/branch}","tags_url":"https://api.github.com/repos/leapdao/leap-guardian/tags","blobs_url":"https://api.github.com/repos/leapdao/leap-guardian/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leapdao/leap-guardian/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leapdao/leap-guardian/git/refs{/sha}","trees_url":"https://api.github.com/repos/leapdao/leap-guardian/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leapdao/leap-guardian/statuses/{sha}","languages_url":"https://api.github.com/repos/leapdao/leap-guardian/languages","stargazers_url":"https://api.github.com/repos/leapdao/leap-guardian/stargazers","contributors_url":"https://api.github.com/repos/leapdao/leap-guardian/contributors","subscribers_url":"https://api.github.com/repos/leapdao/leap-guardian/subscribers","subscription_url":"https://api.github.com/repos/leapdao/leap-guardian/subscription","commits_url":"https://api.github.com/repos/leapdao/leap-guardian/commits{/sha}","git_commits_url":"https://api.github.com/repos/leapdao/leap-guardian/git/commits{/sha}","comments_url":"https://api.github.com/repos/leapdao/leap-guardian/comments{/number}","issue_comment_url":"https://api.github.com/repos/leapdao/leap-guardian/issues/comments{/number}","contents_url":"https://api.github.com/repos/leapdao/leap-guardian/contents/{+path}","compare_url":"https://api.github.com/repos/leapdao/leap-guardian/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leapdao/leap-guardian/merges","archive_url":"https://api.github.com/repos/leapdao/leap-guardian/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leapdao/leap-guardian/downloads","issues_url":"https://api.github.com/repos/leapdao/leap-guardian/issues{/number}","pulls_url":"https://api.github.com/repos/leapdao/leap-guardian/pulls{/number}","milestones_url":"https://api.github.com/repos/leapdao/leap-guardian/milestones{/number}","notifications_url":"https://api.github.com/repos/leapdao/leap-guardian/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leapdao/leap-guardian/labels{/name}","releases_url":"https://api.github.com/repos/leapdao/leap-guardian/releases{/id}","deployments_url":"https://api.github.com/repos/leapdao/leap-guardian/deployments","created_at":"2019-02-28T18:23:55Z","updated_at":"2019-10-30T14:19:26Z","pushed_at":"2019-11-23T07:03:40Z","git_url":"git://github.com/leapdao/leap-guardian.git","ssh_url":"git@github.com:leapdao/leap-guardian.git","clone_url":"https://github.com/leapdao/leap-guardian.git","svn_url":"https://github.com/leapdao/leap-guardian","homepage":null,"size":360,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":4,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":1,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"leapdao:master","ref":"master","sha":"e05408bbc02deb27bc641e37aa500810dba76f81","user":{"login":"leapdao","id":24871304,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0ODcxMzA0","avatar_url":"https://avatars3.githubusercontent.com/u/24871304?v=4","gravatar_id":"","url":"https://api.github.com/users/leapdao","html_url":"https://github.com/leapdao","followers_url":"https://api.github.com/users/leapdao/followers","following_url":"https://api.github.com/users/leapdao/following{/other_user}","gists_url":"https://api.github.com/users/leapdao/gists{/gist_id}","starred_url":"https://api.github.com/users/leapdao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leapdao/subscriptions","organizations_url":"https://api.github.com/users/leapdao/orgs","repos_url":"https://api.github.com/users/leapdao/repos","events_url":"https://api.github.com/users/leapdao/events{/privacy}","received_events_url":"https://api.github.com/users/leapdao/received_events","type":"Organization","site_admin":false},"repo":{"id":173165089,"node_id":"MDEwOlJlcG9zaXRvcnkxNzMxNjUwODk=","name":"leap-guardian","full_name":"leapdao/leap-guardian","private":false,"owner":{"login":"leapdao","id":24871304,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0ODcxMzA0","avatar_url":"https://avatars3.githubusercontent.com/u/24871304?v=4","gravatar_id":"","url":"https://api.github.com/users/leapdao","html_url":"https://github.com/leapdao","followers_url":"https://api.github.com/users/leapdao/followers","following_url":"https://api.github.com/users/leapdao/following{/other_user}","gists_url":"https://api.github.com/users/leapdao/gists{/gist_id}","starred_url":"https://api.github.com/users/leapdao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leapdao/subscriptions","organizations_url":"https://api.github.com/users/leapdao/orgs","repos_url":"https://api.github.com/users/leapdao/repos","events_url":"https://api.github.com/users/leapdao/events{/privacy}","received_events_url":"https://api.github.com/users/leapdao/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/leapdao/leap-guardian","description":"Contains scripts to keep the angels busy...","fork":false,"url":"https://api.github.com/repos/leapdao/leap-guardian","forks_url":"https://api.github.com/repos/leapdao/leap-guardian/forks","keys_url":"https://api.github.com/repos/leapdao/leap-guardian/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leapdao/leap-guardian/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leapdao/leap-guardian/teams","hooks_url":"https://api.github.com/repos/leapdao/leap-guardian/hooks","issue_events_url":"https://api.github.com/repos/leapdao/leap-guardian/issues/events{/number}","events_url":"https://api.github.com/repos/leapdao/leap-guardian/events","assignees_url":"https://api.github.com/repos/leapdao/leap-guardian/assignees{/user}","branches_url":"https://api.github.com/repos/leapdao/leap-guardian/branches{/branch}","tags_url":"https://api.github.com/repos/leapdao/leap-guardian/tags","blobs_url":"https://api.github.com/repos/leapdao/leap-guardian/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leapdao/leap-guardian/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leapdao/leap-guardian/git/refs{/sha}","trees_url":"https://api.github.com/repos/leapdao/leap-guardian/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leapdao/leap-guardian/statuses/{sha}","languages_url":"https://api.github.com/repos/leapdao/leap-guardian/languages","stargazers_url":"https://api.github.com/repos/leapdao/leap-guardian/stargazers","contributors_url":"https://api.github.com/repos/leapdao/leap-guardian/contributors","subscribers_url":"https://api.github.com/repos/leapdao/leap-guardian/subscribers","subscription_url":"https://api.github.com/repos/leapdao/leap-guardian/subscription","commits_url":"https://api.github.com/repos/leapdao/leap-guardian/commits{/sha}","git_commits_url":"https://api.github.com/repos/leapdao/leap-guardian/git/commits{/sha}","comments_url":"https://api.github.com/repos/leapdao/leap-guardian/comments{/number}","issue_comment_url":"https://api.github.com/repos/leapdao/leap-guardian/issues/comments{/number}","contents_url":"https://api.github.com/repos/leapdao/leap-guardian/contents/{+path}","compare_url":"https://api.github.com/repos/leapdao/leap-guardian/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leapdao/leap-guardian/merges","archive_url":"https://api.github.com/repos/leapdao/leap-guardian/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leapdao/leap-guardian/downloads","issues_url":"https://api.github.com/repos/leapdao/leap-guardian/issues{/number}","pulls_url":"https://api.github.com/repos/leapdao/leap-guardian/pulls{/number}","milestones_url":"https://api.github.com/repos/leapdao/leap-guardian/milestones{/number}","notifications_url":"https://api.github.com/repos/leapdao/leap-guardian/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leapdao/leap-guardian/labels{/name}","releases_url":"https://api.github.com/repos/leapdao/leap-guardian/releases{/id}","deployments_url":"https://api.github.com/repos/leapdao/leap-guardian/deployments","created_at":"2019-02-28T18:23:55Z","updated_at":"2019-10-30T14:19:26Z","pushed_at":"2019-11-23T07:03:40Z","git_url":"git://github.com/leapdao/leap-guardian.git","ssh_url":"git@github.com:leapdao/leap-guardian.git","clone_url":"https://github.com/leapdao/leap-guardian.git","svn_url":"https://github.com/leapdao/leap-guardian","homepage":null,"size":360,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":4,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":1,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/leapdao/leap-guardian/pulls/32"},"html":{"href":"https://github.com/leapdao/leap-guardian/pull/32"},"issue":{"href":"https://api.github.com/repos/leapdao/leap-guardian/issues/32"},"comments":{"href":"https://api.github.com/repos/leapdao/leap-guardian/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/leapdao/leap-guardian/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/leapdao/leap-guardian/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/leapdao/leap-guardian/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/leapdao/leap-guardian/statuses/822d25b91ee8f012e4da4b76422d229ed9206c25"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":14,"deletions":8,"changed_files":3}}
{"actor":{"display_login":"troggy"}}