{"action":"closed","number":102,"pull_request":{"url":"https://api.github.com/repos/trufflesuite/ganache-core/pulls/102","id":182273771,"node_id":"MDExOlB1bGxSZXF1ZXN0MTgyMjczNzcx","html_url":"https://github.com/trufflesuite/ganache-core/pull/102","diff_url":"https://github.com/trufflesuite/ganache-core/pull/102.diff","patch_url":"https://github.com/trufflesuite/ganache-core/pull/102.patch","issue_url":"https://api.github.com/repos/trufflesuite/ganache-core/issues/102","number":102,"state":"closed","locked":false,"title":"Mine n blocks, skip blocks","user":{"login":"filiplazovic","id":20224251,"node_id":"MDQ6VXNlcjIwMjI0MjUx","avatar_url":"https://avatars0.githubusercontent.com/u/20224251?v=4","gravatar_id":"","url":"https://api.github.com/users/filiplazovic","html_url":"https://github.com/filiplazovic","followers_url":"https://api.github.com/users/filiplazovic/followers","following_url":"https://api.github.com/users/filiplazovic/following{/other_user}","gists_url":"https://api.github.com/users/filiplazovic/gists{/gist_id}","starred_url":"https://api.github.com/users/filiplazovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filiplazovic/subscriptions","organizations_url":"https://api.github.com/users/filiplazovic/orgs","repos_url":"https://api.github.com/users/filiplazovic/repos","events_url":"https://api.github.com/users/filiplazovic/events{/privacy}","received_events_url":"https://api.github.com/users/filiplazovic/received_events","type":"User","site_admin":false},"body":"I made two methods:\r\n\r\n- `evm_mineBlocks:` - Mines multiple blocks. Accepts one arguments: number of blocks to mine.\r\n\r\n- `evm_skipBlocks:` Will create one block with fake block number. Takes one argument: number of blocks you want to add on top of current block height. Useful when testing big block-number based constraints (eg. it would take ~1h to mine 500k blocks). It is not guaranteed that everything will this function, so you should save a snapshot of the blockchain before calling this function, then revert afterwards. Should be mainly used for checking block-number based constraints.","created_at":"2018-04-17T19:43:14Z","updated_at":"2018-06-29T14:55:11Z","closed_at":"2018-06-29T14:55:11Z","merged_at":null,"merge_commit_sha":"3821b0053447d0f457945311825b1b4e310a030c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/trufflesuite/ganache-core/pulls/102/commits","review_comments_url":"https://api.github.com/repos/trufflesuite/ganache-core/pulls/102/comments","review_comment_url":"https://api.github.com/repos/trufflesuite/ganache-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/trufflesuite/ganache-core/issues/102/comments","statuses_url":"https://api.github.com/repos/trufflesuite/ganache-core/statuses/53bebda5d66ad306744ba9319807f5b7200f13cc","head":{"label":"filiplazovic:mineNBlocks","ref":"mineNBlocks","sha":"53bebda5d66ad306744ba9319807f5b7200f13cc","user":{"login":"filiplazovic","id":20224251,"node_id":"MDQ6VXNlcjIwMjI0MjUx","avatar_url":"https://avatars0.githubusercontent.com/u/20224251?v=4","gravatar_id":"","url":"https://api.github.com/users/filiplazovic","html_url":"https://github.com/filiplazovic","followers_url":"https://api.github.com/users/filiplazovic/followers","following_url":"https://api.github.com/users/filiplazovic/following{/other_user}","gists_url":"https://api.github.com/users/filiplazovic/gists{/gist_id}","starred_url":"https://api.github.com/users/filiplazovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filiplazovic/subscriptions","organizations_url":"https://api.github.com/users/filiplazovic/orgs","repos_url":"https://api.github.com/users/filiplazovic/repos","events_url":"https://api.github.com/users/filiplazovic/events{/privacy}","received_events_url":"https://api.github.com/users/filiplazovic/received_events","type":"User","site_admin":false},"repo":{"id":128527824,"node_id":"MDEwOlJlcG9zaXRvcnkxMjg1Mjc4MjQ=","name":"ganache-core","full_name":"filiplazovic/ganache-core","owner":{"login":"filiplazovic","id":20224251,"node_id":"MDQ6VXNlcjIwMjI0MjUx","avatar_url":"https://avatars0.githubusercontent.com/u/20224251?v=4","gravatar_id":"","url":"https://api.github.com/users/filiplazovic","html_url":"https://github.com/filiplazovic","followers_url":"https://api.github.com/users/filiplazovic/followers","following_url":"https://api.github.com/users/filiplazovic/following{/other_user}","gists_url":"https://api.github.com/users/filiplazovic/gists{/gist_id}","starred_url":"https://api.github.com/users/filiplazovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filiplazovic/subscriptions","organizations_url":"https://api.github.com/users/filiplazovic/orgs","repos_url":"https://api.github.com/users/filiplazovic/repos","events_url":"https://api.github.com/users/filiplazovic/events{/privacy}","received_events_url":"https://api.github.com/users/filiplazovic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/filiplazovic/ganache-core","description":"Core code for ganache","fork":true,"url":"https://api.github.com/repos/filiplazovic/ganache-core","forks_url":"https://api.github.com/repos/filiplazovic/ganache-core/forks","keys_url":"https://api.github.com/repos/filiplazovic/ganache-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/filiplazovic/ganache-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/filiplazovic/ganache-core/teams","hooks_url":"https://api.github.com/repos/filiplazovic/ganache-core/hooks","issue_events_url":"https://api.github.com/repos/filiplazovic/ganache-core/issues/events{/number}","events_url":"https://api.github.com/repos/filiplazovic/ganache-core/events","assignees_url":"https://api.github.com/repos/filiplazovic/ganache-core/assignees{/user}","branches_url":"https://api.github.com/repos/filiplazovic/ganache-core/branches{/branch}","tags_url":"https://api.github.com/repos/filiplazovic/ganache-core/tags","blobs_url":"https://api.github.com/repos/filiplazovic/ganache-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/filiplazovic/ganache-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/filiplazovic/ganache-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/filiplazovic/ganache-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/filiplazovic/ganache-core/statuses/{sha}","languages_url":"https://api.github.com/repos/filiplazovic/ganache-core/languages","stargazers_url":"https://api.github.com/repos/filiplazovic/ganache-core/stargazers","contributors_url":"https://api.github.com/repos/filiplazovic/ganache-core/contributors","subscribers_url":"https://api.github.com/repos/filiplazovic/ganache-core/subscribers","subscription_url":"https://api.github.com/repos/filiplazovic/ganache-core/subscription","commits_url":"https://api.github.com/repos/filiplazovic/ganache-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/filiplazovic/ganache-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/filiplazovic/ganache-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/filiplazovic/ganache-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/filiplazovic/ganache-core/contents/{+path}","compare_url":"https://api.github.com/repos/filiplazovic/ganache-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/filiplazovic/ganache-core/merges","archive_url":"https://api.github.com/repos/filiplazovic/ganache-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/filiplazovic/ganache-core/downloads","issues_url":"https://api.github.com/repos/filiplazovic/ganache-core/issues{/number}","pulls_url":"https://api.github.com/repos/filiplazovic/ganache-core/pulls{/number}","milestones_url":"https://api.github.com/repos/filiplazovic/ganache-core/milestones{/number}","notifications_url":"https://api.github.com/repos/filiplazovic/ganache-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/filiplazovic/ganache-core/labels{/name}","releases_url":"https://api.github.com/repos/filiplazovic/ganache-core/releases{/id}","deployments_url":"https://api.github.com/repos/filiplazovic/ganache-core/deployments","created_at":"2018-04-07T12:51:23Z","updated_at":"2018-04-07T12:51:25Z","pushed_at":"2018-04-19T18:46:34Z","git_url":"git://github.com/filiplazovic/ganache-core.git","ssh_url":"git@github.com:filiplazovic/ganache-core.git","clone_url":"https://github.com/filiplazovic/ganache-core.git","svn_url":"https://github.com/filiplazovic/ganache-core","homepage":"http://truffleframework.com/ganache","size":6334,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"develop"}},"base":{"label":"trufflesuite:develop","ref":"develop","sha":"c7a2f69cad6bd8d73a67c300e8eb9816b44d694c","user":{"login":"trufflesuite","id":22205159,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMjA1MTU5","avatar_url":"https://avatars1.githubusercontent.com/u/22205159?v=4","gravatar_id":"","url":"https://api.github.com/users/trufflesuite","html_url":"https://github.com/trufflesuite","followers_url":"https://api.github.com/users/trufflesuite/followers","following_url":"https://api.github.com/users/trufflesuite/following{/other_user}","gists_url":"https://api.github.com/users/trufflesuite/gists{/gist_id}","starred_url":"https://api.github.com/users/trufflesuite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trufflesuite/subscriptions","organizations_url":"https://api.github.com/users/trufflesuite/orgs","repos_url":"https://api.github.com/users/trufflesuite/repos","events_url":"https://api.github.com/users/trufflesuite/events{/privacy}","received_events_url":"https://api.github.com/users/trufflesuite/received_events","type":"Organization","site_admin":false},"repo":{"id":86362151,"node_id":"MDEwOlJlcG9zaXRvcnk4NjM2MjE1MQ==","name":"ganache-core","full_name":"trufflesuite/ganache-core","owner":{"login":"trufflesuite","id":22205159,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMjA1MTU5","avatar_url":"https://avatars1.githubusercontent.com/u/22205159?v=4","gravatar_id":"","url":"https://api.github.com/users/trufflesuite","html_url":"https://github.com/trufflesuite","followers_url":"https://api.github.com/users/trufflesuite/followers","following_url":"https://api.github.com/users/trufflesuite/following{/other_user}","gists_url":"https://api.github.com/users/trufflesuite/gists{/gist_id}","starred_url":"https://api.github.com/users/trufflesuite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trufflesuite/subscriptions","organizations_url":"https://api.github.com/users/trufflesuite/orgs","repos_url":"https://api.github.com/users/trufflesuite/repos","events_url":"https://api.github.com/users/trufflesuite/events{/privacy}","received_events_url":"https://api.github.com/users/trufflesuite/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/trufflesuite/ganache-core","description":"Core code for ganache","fork":false,"url":"https://api.github.com/repos/trufflesuite/ganache-core","forks_url":"https://api.github.com/repos/trufflesuite/ganache-core/forks","keys_url":"https://api.github.com/repos/trufflesuite/ganache-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/trufflesuite/ganache-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/trufflesuite/ganache-core/teams","hooks_url":"https://api.github.com/repos/trufflesuite/ganache-core/hooks","issue_events_url":"https://api.github.com/repos/trufflesuite/ganache-core/issues/events{/number}","events_url":"https://api.github.com/repos/trufflesuite/ganache-core/events","assignees_url":"https://api.github.com/repos/trufflesuite/ganache-core/assignees{/user}","branches_url":"https://api.github.com/repos/trufflesuite/ganache-core/branches{/branch}","tags_url":"https://api.github.com/repos/trufflesuite/ganache-core/tags","blobs_url":"https://api.github.com/repos/trufflesuite/ganache-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/trufflesuite/ganache-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/trufflesuite/ganache-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/trufflesuite/ganache-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/trufflesuite/ganache-core/statuses/{sha}","languages_url":"https://api.github.com/repos/trufflesuite/ganache-core/languages","stargazers_url":"https://api.github.com/repos/trufflesuite/ganache-core/stargazers","contributors_url":"https://api.github.com/repos/trufflesuite/ganache-core/contributors","subscribers_url":"https://api.github.com/repos/trufflesuite/ganache-core/subscribers","subscription_url":"https://api.github.com/repos/trufflesuite/ganache-core/subscription","commits_url":"https://api.github.com/repos/trufflesuite/ganache-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/trufflesuite/ganache-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/trufflesuite/ganache-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/trufflesuite/ganache-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/trufflesuite/ganache-core/contents/{+path}","compare_url":"https://api.github.com/repos/trufflesuite/ganache-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/trufflesuite/ganache-core/merges","archive_url":"https://api.github.com/repos/trufflesuite/ganache-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/trufflesuite/ganache-core/downloads","issues_url":"https://api.github.com/repos/trufflesuite/ganache-core/issues{/number}","pulls_url":"https://api.github.com/repos/trufflesuite/ganache-core/pulls{/number}","milestones_url":"https://api.github.com/repos/trufflesuite/ganache-core/milestones{/number}","notifications_url":"https://api.github.com/repos/trufflesuite/ganache-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/trufflesuite/ganache-core/labels{/name}","releases_url":"https://api.github.com/repos/trufflesuite/ganache-core/releases{/id}","deployments_url":"https://api.github.com/repos/trufflesuite/ganache-core/deployments","created_at":"2017-03-27T17:04:47Z","updated_at":"2018-06-26T20:53:45Z","pushed_at":"2018-06-27T19:39:05Z","git_url":"git://github.com/trufflesuite/ganache-core.git","ssh_url":"git@github.com:trufflesuite/ganache-core.git","clone_url":"https://github.com/trufflesuite/ganache-core.git","svn_url":"https://github.com/trufflesuite/ganache-core","homepage":"http://truffleframework.com/ganache","size":4775,"stargazers_count":68,"watchers_count":68,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":90,"mirror_url":null,"archived":false,"open_issues_count":53,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":90,"open_issues":53,"watchers":68,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/trufflesuite/ganache-core/pulls/102"},"html":{"href":"https://github.com/trufflesuite/ganache-core/pull/102"},"issue":{"href":"https://api.github.com/repos/trufflesuite/ganache-core/issues/102"},"comments":{"href":"https://api.github.com/repos/trufflesuite/ganache-core/issues/102/comments"},"review_comments":{"href":"https://api.github.com/repos/trufflesuite/ganache-core/pulls/102/comments"},"review_comment":{"href":"https://api.github.com/repos/trufflesuite/ganache-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/trufflesuite/ganache-core/pulls/102/commits"},"statuses":{"href":"https://api.github.com/repos/trufflesuite/ganache-core/statuses/53bebda5d66ad306744ba9319807f5b7200f13cc"}},"author_association":"NONE","merged":false,"mergeable":false,"rebaseable":false,"mergeable_state":"dirty","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":210,"deletions":56,"changed_files":4}}
{"actor":{"display_login":"filiplazovic"}}