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

simulation: Pass MockValidators into operations #2621

Closed
ValarDragon opened this issue Oct 29, 2018 · 1 comment
Closed

simulation: Pass MockValidators into operations #2621

ValarDragon opened this issue Oct 29, 2018 · 1 comment

Comments

@ValarDragon
Copy link
Contributor

This will enable staking message types to navigate the state space much more effectively. (There will be much less failed simulation attempts there)

The struct for this should be similar to simulation.Account. We should also consider wrapping accounts and validators into a single struct which we pass into the operations.

@cwgoes
Copy link
Contributor

cwgoes commented Oct 29, 2018

Hmm, they could also just take a stake.Keeper and read the validators from the context - if we use mockValidators we'll to consider block offsets due to the validator update delay.

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

No branches or pull requests

2 participants