-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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 cli commands for the coinswap module. #4719
Merged
fedekunze
merged 19 commits into
colin/4443-coinswap
from
aayushijain23/add-cli-commands
Sep 9, 2019
Merged
Changes from 3 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
a42b045
Added query.go that includes the cli commands for querying.
aayushijain23 6af249b
Added transaction subcommands such as add and remove liquidity.
aayushijain23 7aa6998
Added tx command for swap order message type.
aayushijain23 f9b248e
Added REST API commands for transaction sub commands specific to the …
aayushijain23 39306cb
Added REST API commands for the query sub commands. Also added a stru…
aayushijain23 7445656
Removed some lines of code that were commented.
aayushijain23 920166e
Update x/coinswap/client/cli/tx.go
aayushijain23 405f7d8
Update x/coinswap/client/cli/tx.go
aayushijain23 31038a7
Update x/coinswap/internal/types/querier.go
aayushijain23 0c9fef3
Incorporating Colin's and Fede's review comments.
aayushijain23 438d219
Update x/coinswap/client/rest/query.go
aayushijain23 f9f3b0b
Update x/coinswap/client/rest/query.go
aayushijain23 03d4687
Incorporating Fede and Colin's review comments.
aayushijain23 de2a089
Address Colin's comments.
aayushijain23 81856e8
Addressing comments on handling time.parse errors.
aayushijain23 5f2af25
Addressed review comments about flags and splitting swap order into b…
aayushijain23 f8532d0
Addressed Colin's comments.
aayushijain23 8f1ccfb
Merge branch 'colin/4443-coinswap' of github.com:cosmos/cosmos-sdk in…
aayushijain23 fb30336
Addressing comment of removing req.Sender.
aayushijain23 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
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 should be configurable
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.
it is in the core code; its a parameter. The issue on the client is its useful to know what the native denom is but it is inefficient to do an extra query for it for every command especially since it doesn't change after genesis. One way of handling this is through a config file, which could be done at a later point