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

add staking pool tests #731

Closed
rigelrozanski opened this issue Mar 28, 2018 · 1 comment · Fixed by #754
Closed

add staking pool tests #731

rigelrozanski opened this issue Mar 28, 2018 · 1 comment · Fixed by #754
Assignees

Comments

@rigelrozanski
Copy link
Contributor

tests for all the functions in x/stake/pool.go

@rigelrozanski
Copy link
Contributor Author

Based on conversation....

  • Move get/set pool to keeper.go
  • Make all other functions methods of the Pool struct
  • explicitly return the updated pool, and updated candidate as return values from those functions (aka. do not write to the store - store writes to be done in handler/tick.go)
    @cwgoes

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

Successfully merging a pull request may close this issue.

2 participants