Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

R4R: simulation: reduce number of failed governance msgs #2299

Merged
merged 1 commit into from
Sep 17, 2018

Conversation

ValarDragon
Copy link
Contributor

This PR basically makes the simulator not schedule a ton of votes for proposals that fail (due to the validator not having enough money left).

On make test_sim_gaia_fast
Before:

gov/MsgVote/false => 23335

after

gov/MsgVote/false => 15110

Fixing the remaining failing votes seems a bit more complicated, as we have to ensure the proposal has enough money before those votes. We could perhaps schedule deposits as well, but I'll save that for a future PR.

No changelog entry needed.


For Admin Use:

  • Added appropriate labels to PR (ex. wip, ready-for-review, docs)
  • Reviewers Assigned
  • Squashed all commits, uses message "Merge pull request #XYZ: [title]" (coding standards)

@codecov
Copy link

codecov bot commented Sep 10, 2018

Codecov Report

Merging #2299 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop    #2299   +/-   ##
========================================
  Coverage    63.87%   63.87%           
========================================
  Files          140      140           
  Lines         8682     8682           
========================================
  Hits          5546     5546           
  Misses        2756     2756           
  Partials       380      380

Copy link
Contributor

@alexanderbez alexanderbez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@alexanderbez alexanderbez changed the title simulation: reduce number of failed governance msgs R4R: simulation: reduce number of failed governance msgs Sep 10, 2018
Copy link
Contributor

@cwgoes cwgoes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK but waiting to merge for now

@alexanderbez
Copy link
Contributor

alexanderbez commented Sep 17, 2018

What is blocking a merge?

@cwgoes
Copy link
Contributor

cwgoes commented Sep 17, 2018

What is blocking a merge?

Was just wanting to preserve failing simulations, but since we're implementing #2312 that doesn't matter.

@cwgoes cwgoes merged commit 18d5b04 into develop Sep 17, 2018
@cwgoes cwgoes deleted the dev/reduce_failed_votes branch September 17, 2018 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants