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

FIX: invalid 0stake deposit amount in sim #4363

Merged
merged 2 commits into from
May 17, 2019
Merged

Conversation

npinto
Copy link
Contributor

@npinto npinto commented May 17, 2019

This fixes the "panic: Governance deposit amount must be a valid sdk.Coins amount, is 0stake" that can happen in the simulator if DepositParams/MinDeposit samples the integer 0.


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)

This fixes the "panic: Governance deposit amount must be a valid sdk.Coins amount, is 0stake" that can happen in the simulator if `DepositParams/MinDeposit` samples the integer `0`.
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.

ACK, but CI is failing.

@npinto
Copy link
Contributor Author

npinto commented May 17, 2019

ACK, but CI is failing.

Oops, I fixed the typo ;-)

@codecov
Copy link

codecov bot commented May 17, 2019

Codecov Report

Merging #4363 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4363      +/-   ##
==========================================
+ Coverage   58.09%   58.11%   +0.01%     
==========================================
  Files         235      235              
  Lines       14880    14880              
==========================================
+ Hits         8645     8647       +2     
+ Misses       5607     5605       -2     
  Partials      628      628

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants