-
Notifications
You must be signed in to change notification settings - Fork 5
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 cli test #33
Add staking cli test #33
Conversation
…osmos-sdk into atheesh/cli-test-send
…esh/cli-test-send # Conflicts: # cli_test/tests/staking_test.go
Added tests for staking txns
Please don't merge |
For this you can mark it as a draft again @sahith-narahari |
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 looks like a good start. Obviously the helpers still depend on staking, etc. and eventually we'll want to modularize that. Not sure if we should tackle here or in a later PR.
An easy way to modularize the helpers is to create a file like func TxStakingEditValidator(f *Fixtures, from string, flags ...string) (bool, string, string) {
... I think these functions can live in the modules they relate to. Would that work? /cc @anilcse |
This approach should be fine, will try to migrate for a module and update |
…os-sdk into sahith/add-staking-tests
@aaronc I migrated tests and respective helpers to corresponding modules as suggested. |
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 looks good. Nicely modularized!
Okay, we can start with what's simplest for now. |
Targeted PR against correct branch (see CONTRIBUTING.md)
Linked to github-issue with discussion and accepted design OR link to spec that describes this work.
Wrote tests
Updated relevant documentation (
docs/
)Added entries in
PENDING.md
with issue #rereviewed
Files changed
in the github PR explorerFor Admin Use: