{"action":"created","issue":{"url":"https://api.github.com/repos/cosmos/cosmos-sdk/issues/1783","repository_url":"https://api.github.com/repos/cosmos/cosmos-sdk","labels_url":"https://api.github.com/repos/cosmos/cosmos-sdk/issues/1783/labels{/name}","comments_url":"https://api.github.com/repos/cosmos/cosmos-sdk/issues/1783/comments","events_url":"https://api.github.com/repos/cosmos/cosmos-sdk/issues/1783/events","html_url":"https://github.com/cosmos/cosmos-sdk/pull/1783","id":343261710,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyOTY3MjQ5","number":1783,"title":"R4R: Slashing, validator set, and governance simulation","user":{"login":"cwgoes","id":24760279,"node_id":"MDQ6VXNlcjI0NzYwMjc5","avatar_url":"https://avatars2.githubusercontent.com/u/24760279?v=4","gravatar_id":"","url":"https://api.github.com/users/cwgoes","html_url":"https://github.com/cwgoes","followers_url":"https://api.github.com/users/cwgoes/followers","following_url":"https://api.github.com/users/cwgoes/following{/other_user}","gists_url":"https://api.github.com/users/cwgoes/gists{/gist_id}","starred_url":"https://api.github.com/users/cwgoes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwgoes/subscriptions","organizations_url":"https://api.github.com/users/cwgoes/orgs","repos_url":"https://api.github.com/users/cwgoes/repos","events_url":"https://api.github.com/users/cwgoes/events{/privacy}","received_events_url":"https://api.github.com/users/cwgoes/received_events","type":"User","site_admin":false},"labels":[{"id":886612756,"node_id":"MDU6TGFiZWw4ODY2MTI3NTY=","url":"https://api.github.com/repos/cosmos/cosmos-sdk/labels/governance","name":"governance","color":"bfe55e","default":false},{"id":965477209,"node_id":"MDU6TGFiZWw5NjU0NzcyMDk=","url":"https://api.github.com/repos/cosmos/cosmos-sdk/labels/ready-for-review","name":"ready-for-review","color":"e6fad2","default":false},{"id":950938018,"node_id":"MDU6TGFiZWw5NTA5MzgwMTg=","url":"https://api.github.com/repos/cosmos/cosmos-sdk/labels/slashing","name":"slashing","color":"c8fca1","default":false},{"id":851620486,"node_id":"MDU6TGFiZWw4NTE2MjA0ODY=","url":"https://api.github.com/repos/cosmos/cosmos-sdk/labels/staking","name":"staking","color":"fce0ab","default":false}],"state":"open","locked":false,"assignee":{"login":"ValarDragon","id":6440154,"node_id":"MDQ6VXNlcjY0NDAxNTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/6440154?v=4","gravatar_id":"","url":"https://api.github.com/users/ValarDragon","html_url":"https://github.com/ValarDragon","followers_url":"https://api.github.com/users/ValarDragon/followers","following_url":"https://api.github.com/users/ValarDragon/following{/other_user}","gists_url":"https://api.github.com/users/ValarDragon/gists{/gist_id}","starred_url":"https://api.github.com/users/ValarDragon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ValarDragon/subscriptions","organizations_url":"https://api.github.com/users/ValarDragon/orgs","repos_url":"https://api.github.com/users/ValarDragon/repos","events_url":"https://api.github.com/users/ValarDragon/events{/privacy}","received_events_url":"https://api.github.com/users/ValarDragon/received_events","type":"User","site_admin":false},"assignees":[{"login":"ValarDragon","id":6440154,"node_id":"MDQ6VXNlcjY0NDAxNTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/6440154?v=4","gravatar_id":"","url":"https://api.github.com/users/ValarDragon","html_url":"https://github.com/ValarDragon","followers_url":"https://api.github.com/users/ValarDragon/followers","following_url":"https://api.github.com/users/ValarDragon/following{/other_user}","gists_url":"https://api.github.com/users/ValarDragon/gists{/gist_id}","starred_url":"https://api.github.com/users/ValarDragon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ValarDragon/subscriptions","organizations_url":"https://api.github.com/users/ValarDragon/orgs","repos_url":"https://api.github.com/users/ValarDragon/repos","events_url":"https://api.github.com/users/ValarDragon/events{/privacy}","received_events_url":"https://api.github.com/users/ValarDragon/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2018-07-20T22:10:02Z","updated_at":"2018-08-10T17:34:18Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/cosmos/cosmos-sdk/pulls/1783","html_url":"https://github.com/cosmos/cosmos-sdk/pull/1783","diff_url":"https://github.com/cosmos/cosmos-sdk/pull/1783.diff","patch_url":"https://github.com/cosmos/cosmos-sdk/pull/1783.patch"},"body":"<!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺ \r\nv                               ✰  Thanks for creating a PR! ✰    \r\nv    Before smashing the submit button please review the checkboxes. \r\nv    If a checkbox is n/a - please still include it but + a little note why\r\n☺ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >  --> \r\n\r\nContinuation of https://github.com/cosmos/cosmos-sdk/pull/1620.\r\n\r\nThis PR does the following:\r\n\r\n- Adds simulated messages for `x/gov` and `x/slashing`\r\n- Simulates validators signing/missing blocks (with a simple Markov chain written by @ValarDragon)\r\n- Simulates Tendermint validator set update logic\r\n- Simulates enough time for unbonding to happen\r\n- Simulates double-signatures (occaisionally)\r\n- Adds in several methods to make long-running simulations faster\r\n\r\nWill include:\r\n* [x] Simulated validator set & simulated validator signatures (or missed signatures!) on each block\r\n* [x] Simulated random amount of time elapsed per block\r\n* [x] Simulated slashing msgs\r\n* [x] Simulated governance msgs\r\n\r\nWant to complete before R4R/merge:\r\n- [x] Clearer logs for slashing and governance tally events (ensure that we've actually tested these)\r\n- [x] Simplify simulation parameter choices (~or interactive CLI!~)\r\n- [x] Cleanup the `app.Commit()` logic (avoid the actual multistore commit)\r\n\r\nTo be completed in a followup PR:\r\n\r\nedit: Wishlist moved to https://github.com/cosmos/cosmos-sdk/issues/1924.\r\n\r\nStandard checklist:\r\n\r\n* [x] Updated all relevant documentation (`docs/`)\r\n* [x] Updated all relevant code comments\r\n* [x] Wrote tests\r\n* [x] Added entries in `PENDING.md`\r\n* [x] Updated `cmd/gaia` and `examples/`\r\n\r\n___________________________________\r\nFor Admin Use:\r\n* [x] Added appropriate labels to PR (ex. wip, ready-for-review, docs)\r\n* [x] Reviewers Assigned \r\n* [ ] Squashed all commits, uses message \"Merge pull request #XYZ: [title]\" ([coding standards](https://github.com/tendermint/coding/blob/master/README.md#merging-a-pr))\r\n"},"comment":{"url":"https://api.github.com/repos/cosmos/cosmos-sdk/issues/comments/412152729","html_url":"https://github.com/cosmos/cosmos-sdk/pull/1783#issuecomment-412152729","issue_url":"https://api.github.com/repos/cosmos/cosmos-sdk/issues/1783","id":412152729,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjE1MjcyOQ==","user":{"login":"ValarDragon","id":6440154,"node_id":"MDQ6VXNlcjY0NDAxNTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/6440154?v=4","gravatar_id":"","url":"https://api.github.com/users/ValarDragon","html_url":"https://github.com/ValarDragon","followers_url":"https://api.github.com/users/ValarDragon/followers","following_url":"https://api.github.com/users/ValarDragon/following{/other_user}","gists_url":"https://api.github.com/users/ValarDragon/gists{/gist_id}","starred_url":"https://api.github.com/users/ValarDragon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ValarDragon/subscriptions","organizations_url":"https://api.github.com/users/ValarDragon/orgs","repos_url":"https://api.github.com/users/ValarDragon/repos","events_url":"https://api.github.com/users/ValarDragon/events{/privacy}","received_events_url":"https://api.github.com/users/ValarDragon/received_events","type":"User","site_admin":false},"created_at":"2018-08-10T17:34:18Z","updated_at":"2018-08-10T17:34:18Z","author_association":"MEMBER","body":"Sounds like a good plan to me. I'm also not sure why `test_cover` has simulation in it. Is this intentional @cwgoes ?"}}
{"actor":{"display_login":"ValarDragon"}}