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

fix: query txs command adds output flag #9540

Merged
merged 3 commits into from
Jun 21, 2021
Merged

Conversation

chengwenxi
Copy link
Contributor

Description

  • Query txs command adds output flag, to make it consistent with other query commands.

  • Delete unused flag keyring-backend.


Author Checklist

All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.

I have...

  • included the correct type prefix in the PR title
  • added ! to the type prefix if API or client breaking change
  • targeted the correct branch (see PR Targeting)
  • provided a link to the relevant issue or specification
  • followed the guidelines for building modules
  • included the necessary unit and integration tests
  • added a changelog entry to CHANGELOG.md
  • included comments for documenting Go code
  • updated the relevant documentation or specification
  • reviewed "Files changed" and left comments if necessary
  • confirmed all CI checks have passed

Reviewers Checklist

All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.

I have...

  • confirmed the correct type prefix in the PR title
  • confirmed ! in the type prefix if API or client breaking change
  • confirmed all author checklist items have been addressed
  • reviewed state machine logic
  • reviewed API design and naming
  • reviewed documentation is accurate
  • reviewed tests and test coverage
  • manually tested (if applicable)

@chengwenxi chengwenxi changed the title Query txs command adds output flag fix: query txs command adds output flag Jun 18, 2021
@codecov
Copy link

codecov bot commented Jun 18, 2021

Codecov Report

Merging #9540 (b371b73) into master (6a5a2de) will increase coverage by 0.00%.
The diff coverage is 0.00%.

❗ Current head b371b73 differs from pull request most recent head a3b3a85. Consider uploading reports for the commit a3b3a85 to get more accurate results
Impacted file tree graph

@@           Coverage Diff           @@
##           master    #9540   +/-   ##
=======================================
  Coverage   60.58%   60.59%           
=======================================
  Files         589      589           
  Lines       37228    37217   -11     
=======================================
- Hits        22556    22550    -6     
+ Misses      12728    12723    -5     
  Partials     1944     1944           
Impacted Files Coverage Δ
x/auth/client/cli/query.go 0.00% <0.00%> (ø)
client/grpc/tmservice/service.go 70.09% <0.00%> (-0.28%) ⬇️
x/authz/keeper/keeper.go 66.93% <0.00%> (ø)
version/version.go 70.83% <0.00%> (+4.16%) ⬆️

x/auth/client/cli/query.go Show resolved Hide resolved
x/auth/client/cli/query.go Show resolved Hide resolved
@amaury1093 amaury1093 self-assigned this Jun 18, 2021
@@ -198,8 +198,7 @@ $ %s query txs --%s 'message.sender=cosmos1...&message.action=withdraw_delegator
},
}

cmd.Flags().StringP(flags.FlagNode, "n", "tcp://localhost:26657", "Node to connect to")
cmd.Flags().String(flags.FlagKeyringBackend, flags.DefaultKeyringBackend, "Select keyring's backend (os|file|kwallet|pass|test)")
Copy link
Contributor

@amaury1093 amaury1093 Jun 18, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically speaking removing --keyring-backend is a client-breaking change, so should wait RC before getting merged.

However, I agree with @chengwenxi that this flag is non-sensical here, and I'm pretty sure no-one uses it. So I'm actually okay to merge this PR. Any strong opinions @robert-zaremba and @ryanchristo ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be safe to merge. Not sure how one would use it in this situation anyways.

@amaury1093 amaury1093 added the A:automerge Automatically merge PR once all prerequisites pass. label Jun 21, 2021
@mergify mergify bot merged commit 304d0ff into master Jun 21, 2021
@mergify mergify bot deleted the vincent-search-txs-flags branch June 21, 2021 10:40
ValarDragon pushed a commit to osmosis-labs/cosmos-sdk that referenced this pull request Jul 5, 2021
ValarDragon pushed a commit to osmosis-labs/cosmos-sdk that referenced this pull request Jul 9, 2021
ValarDragon pushed a commit to osmosis-labs/cosmos-sdk that referenced this pull request Aug 3, 2021
ValarDragon pushed a commit to osmosis-labs/cosmos-sdk that referenced this pull request Aug 5, 2021
faddat pushed a commit to notional-labs/cosmos-sdk that referenced this pull request Jan 4, 2023
faddat pushed a commit to notional-labs/cosmos-sdk that referenced this pull request Jan 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:automerge Automatically merge PR once all prerequisites pass. C:CLI C:x/auth T: Client UX
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants