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

Update x/{mint,slashing,evidence} cli to use gRPC query client #6704

Merged
merged 29 commits into from
Jul 19, 2020

Conversation

atheeshp
Copy link
Contributor

@atheeshp atheeshp commented Jul 13, 2020

Description

ref: #5921

closes: #XXXX


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • 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.
  • Code follows the module structure standards.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer
  • Review Codecov Report in the comment section below once CI passes

@codecov
Copy link

codecov bot commented Jul 13, 2020

Codecov Report

Merging #6704 into master will decrease coverage by 0.03%.
The diff coverage is 34.28%.

@@            Coverage Diff             @@
##           master    #6704      +/-   ##
==========================================
- Coverage   60.31%   60.27%   -0.04%     
==========================================
  Files         513      513              
  Lines       31491    31508      +17     
==========================================
  Hits        18993    18993              
- Misses      11048    11068      +20     
+ Partials     1450     1447       -3     

Copy link
Contributor

@amaury1093 amaury1093 left a comment

Choose a reason for hiding this comment

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

overall lgtm, apart from the small comment below

x/slashing/client/cli/query.go Show resolved Hide resolved
@amaury1093 amaury1093 changed the title Update x/mint and x/slashing cli to use gRPC query client Update x/{mint,slashing,evidence} cli to use gRPC query client Jul 15, 2020
@amaury1093
Copy link
Contributor

@atheeshp since you also did evidence in this PR, i renamed the title 👍

@atheeshp atheeshp marked this pull request as ready for review July 18, 2020 17:04
@atheeshp atheeshp requested review from amaury1093, sahith-narahari, anilcse, blushi and clevinson and removed request for clevinson July 18, 2020 17:04
x/evidence/client/cli/query.go Outdated Show resolved Hide resolved
x/evidence/client/cli/query.go Outdated Show resolved Hide resolved
x/evidence/client/cli/query.go Outdated Show resolved Hide resolved
@fedekunze fedekunze merged commit 3123d07 into master Jul 19, 2020
@fedekunze fedekunze deleted the atheesh/5921-grpc-cli-mint-slashing branch July 19, 2020 10:16
chengwenxi pushed a commit to irisnet/cosmos-sdk that referenced this pull request Jul 22, 2020
…s#6704)

* changes cli to use gRPC in mint, slashing

* added command for signing infos

* gRPC query client migration of evidence

* review changes

* added unpack any

* fixed build error

* fixed failing tests issue

* added read flags

* added pagination flags

* updated docs

* fixed tests issue

* failing tests

* fixed tests

* review changes

* review changes

Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants