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

R4R: fix tx search #2842

Merged
merged 26 commits into from
Nov 27, 2018
Merged

R4R: fix tx search #2842

merged 26 commits into from
Nov 27, 2018

Conversation

fedekunze
Copy link
Collaborator

@fedekunze fedekunze commented Nov 16, 2018

Closes #2819

  • Fixes bug that prevented multiple query parameters on /txs and on CLI gaiacli query txs
  • removed ' ' wrapping the tag value

  • 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 explorer


For Admin Use:

  • Added appropriate labels to PR (ex. wip, ready-for-review, docs)
  • Reviewers Assigned
  • Squashed all commits, uses message "Merge pull request #XYZ: [title]" (coding standards)

@codecov
Copy link

codecov bot commented Nov 16, 2018

Codecov Report

❗ No coverage uploaded for pull request base (develop@71aec46). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop    #2842   +/-   ##
==========================================
  Coverage           ?   56.34%           
==========================================
  Files              ?      120           
  Lines              ?     8418           
  Branches           ?        0           
==========================================
  Hits               ?     4743           
  Misses             ?     3353           
  Partials           ?      322

@fedekunze fedekunze changed the title WIP: fix tx search R4R: fix tx search Nov 16, 2018
@fedekunze fedekunze added ready-for-review T: API Breaking Breaking changes that impact APIs and the SDK only (not state machine). and removed wip labels Nov 16, 2018
client/lcd/lcd_test.go Outdated Show resolved Hide resolved
Copy link
Contributor

@alexanderbez alexanderbez left a comment

Choose a reason for hiding this comment

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

Looking through this makes sense, but I'd like to test this first. Will do so in a bit ⚡️

Copy link
Member

@jackzampolin jackzampolin left a comment

Choose a reason for hiding this comment

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

Looks good to me! And docs updated. It would be really nice to have a document that describes what tags are applied by each module and how to properly use this functionality, but maybe a followup PR?

Pulled this down, ran tests, as well as manually testing the functionality so the code gets a 👍 from me, but can we also fix this functionality in the CLI? There is a gaiacli query txs that needs to get looked at too.

client/lcd/swagger-ui/swagger.yaml Show resolved Hide resolved
@fedekunze
Copy link
Collaborator Author

It would be really nice to have a document that describes what tags are applied by each module and how to properly use this functionality, but maybe a followup PR?

@jackzampolin I think you're referring to #1780 ?

can we also fix this functionality in the CLI?

Was that failing as well ?

Copy link
Contributor

@alexanderbez alexanderbez left a comment

Choose a reason for hiding this comment

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

Nice @fedekunze! I left some minor feedback ⚡️

client/tx/search.go Outdated Show resolved Hide resolved
client/tx/search.go Outdated Show resolved Hide resolved
client/tx/search.go Outdated Show resolved Hide resolved
cwgoes
cwgoes previously requested changes Nov 19, 2018
Copy link
Contributor

@cwgoes cwgoes left a comment

Choose a reason for hiding this comment

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

Agree with @alexanderbez & two minor comments - otherwise LGTM.

client/tx/search.go Outdated Show resolved Hide resolved
client/tx/search.go Outdated Show resolved Hide resolved
client/tx/search.go Outdated Show resolved Hide resolved
cmd/gaia/cli_test/cli_test.go Outdated Show resolved Hide resolved
@fedekunze fedekunze dismissed stale reviews from alexanderbez and cwgoes November 27, 2018 14:18

addressed

@fedekunze
Copy link
Collaborator Author

this is R4R again @alexanderbez @jackzampolin @cwgoes @gamarin2

@fedekunze fedekunze changed the title WIP: fix tx search R4R: fix tx search Nov 27, 2018
client/tx/search.go Outdated Show resolved Hide resolved
client/tx/search.go Outdated Show resolved Hide resolved
client/tx/search.go Outdated Show resolved Hide resolved
client/tx/search.go Outdated Show resolved Hide resolved
client/tx/search.go Outdated Show resolved Hide resolved
@fedekunze
Copy link
Collaborator Author

Addressed comments

Copy link
Member

@jackzampolin jackzampolin left a comment

Choose a reason for hiding this comment

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

Love the docs update! This is working for me when I tested and all the changes have been incorporated!

cwgoes
cwgoes previously requested changes Nov 27, 2018
client/tx/search.go Outdated Show resolved Hide resolved
client/tx/search.go Show resolved Hide resolved
docs/gaia/gaiacli.md Show resolved Hide resolved
client/tx/search.go Outdated Show resolved Hide resolved
@fedekunze fedekunze dismissed cwgoes’s stale review November 27, 2018 23:01

addressed comments and updated docs

Copy link
Contributor

@cwgoes cwgoes left a comment

Choose a reason for hiding this comment

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

Tested ACK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T: API Breaking Breaking changes that impact APIs and the SDK only (not state machine).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants