{"action":"created","issue":{"url":"https://api.github.com/repos/cosmos/cosmos-sdk/issues/2620","repository_url":"https://api.github.com/repos/cosmos/cosmos-sdk","labels_url":"https://api.github.com/repos/cosmos/cosmos-sdk/issues/2620/labels{/name}","comments_url":"https://api.github.com/repos/cosmos/cosmos-sdk/issues/2620/comments","events_url":"https://api.github.com/repos/cosmos/cosmos-sdk/issues/2620/events","html_url":"https://github.com/cosmos/cosmos-sdk/issues/2620","id":374812107,"node_id":"MDU6SXNzdWUzNzQ4MTIxMDc=","number":2620,"title":"Staking: validator with non-positive power stored","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":322349783,"node_id":"MDU6TGFiZWwzMjIzNDk3ODM=","url":"https://api.github.com/repos/cosmos/cosmos-sdk/labels/bug","name":"bug","color":"ff6666","default":true},{"id":1069167747,"node_id":"MDU6TGFiZWwxMDY5MTY3NzQ3","url":"https://api.github.com/repos/cosmos/cosmos-sdk/labels/game-of-stakes","name":"game-of-stakes","color":"e48ffc","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},{"id":855388211,"node_id":"MDU6TGFiZWw4NTUzODgyMTE=","url":"https://api.github.com/repos/cosmos/cosmos-sdk/labels/tests","name":"tests","color":"d2fafa","default":false}],"state":"closed","locked":false,"assignee":{"login":"sunnya97","id":979241,"node_id":"MDQ6VXNlcjk3OTI0MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/979241?v=4","gravatar_id":"","url":"https://api.github.com/users/sunnya97","html_url":"https://github.com/sunnya97","followers_url":"https://api.github.com/users/sunnya97/followers","following_url":"https://api.github.com/users/sunnya97/following{/other_user}","gists_url":"https://api.github.com/users/sunnya97/gists{/gist_id}","starred_url":"https://api.github.com/users/sunnya97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunnya97/subscriptions","organizations_url":"https://api.github.com/users/sunnya97/orgs","repos_url":"https://api.github.com/users/sunnya97/repos","events_url":"https://api.github.com/users/sunnya97/events{/privacy}","received_events_url":"https://api.github.com/users/sunnya97/received_events","type":"User","site_admin":false},"assignees":[{"login":"sunnya97","id":979241,"node_id":"MDQ6VXNlcjk3OTI0MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/979241?v=4","gravatar_id":"","url":"https://api.github.com/users/sunnya97","html_url":"https://github.com/sunnya97","followers_url":"https://api.github.com/users/sunnya97/followers","following_url":"https://api.github.com/users/sunnya97/following{/other_user}","gists_url":"https://api.github.com/users/sunnya97/gists{/gist_id}","starred_url":"https://api.github.com/users/sunnya97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunnya97/subscriptions","organizations_url":"https://api.github.com/users/sunnya97/orgs","repos_url":"https://api.github.com/users/sunnya97/repos","events_url":"https://api.github.com/users/sunnya97/events{/privacy}","received_events_url":"https://api.github.com/users/sunnya97/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-10-28T23:30:50Z","updated_at":"2018-11-03T11:51:37Z","closed_at":"2018-11-03T11:51:38Z","author_association":"CONTRIBUTOR","body":"Caught by https://github.com/cosmos/cosmos-sdk/pull/2617 (multi-seed simulation ranges over random genesis parameter combinations).\r\n\r\nReplicable with:\r\n```bash\r\ngo test ./cmd/gaia/app -run TestFullGaiaSimulation -SimulationEnabled=true -SimulationNumBlocks=400 -SimulationBlockSize=200 -SimulationCommit=true -SimulationSeed=4728 -v -timeout 24h\r\n```\r\non 991573efc624c7bca5f75aed744454751ea2a9ca\r\n\r\nFails with:\r\n```bash\r\nSimulating... block 1/400, operation 50/57. Invariants broken after BeginBlock\r\nvalidator with non-positive power stored. (pubkey PubKeySecp256k1{03F9B2971693B8B047798CF4576587A789A2B61BD04552CE41FAAB35C41D9C4EDB})\r\n```"},"comment":{"url":"https://api.github.com/repos/cosmos/cosmos-sdk/issues/comments/435581851","html_url":"https://github.com/cosmos/cosmos-sdk/issues/2620#issuecomment-435581851","issue_url":"https://api.github.com/repos/cosmos/cosmos-sdk/issues/2620","id":435581851,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTU4MTg1MQ==","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},"created_at":"2018-11-03T11:51:37Z","updated_at":"2018-11-03T11:51:37Z","author_association":"CONTRIBUTOR","body":"Closed via #2671."}}
{"actor":{"display_login":"cwgoes"}}