Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
ibctesting: custom voting power reduction for testing #939
ibctesting: custom voting power reduction for testing #939
Changes from 6 commits
ebd4d4b
2edd46d
684f729
c1bcd7b
ebe7a73
2af7a96
730cfca
561f0f0
788eaa0
8b39b43
2bb6d69
b0071f3
91389dc
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I realize this is branching off old behaviour, but this assumes the external users don't want to specify their own validator set. Maybe we should only add validators/delegators if these fields are empty after
DefaultTestingAppInit
We could expose a helper function to do all this validator creation functionality. One argument could be the power reduction. Then we can modify the existing code to check if the validators/delegators are empty, if so then we call the default validator creation function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
had to make this public in order to support the custom test chain from a new constructor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you point me to the issue? Not sure I follow
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line:
https://github.com/tharsis/evmos/pull/282/files#diff-e1b6b9bd60ea81ed06c40d66a72dfba81bb74c77f3fee03c99197cbd1249f083R16
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair enough