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

x/evidence: gRPC query service #6593

Merged
merged 14 commits into from
Jul 10, 2020
Merged

x/evidence: gRPC query service #6593

merged 14 commits into from
Jul 10, 2020

Conversation

blushi
Copy link
Contributor

@blushi blushi commented Jul 3, 2020

Description

ref: #5921


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 3, 2020

Codecov Report

Merging #6593 into master will decrease coverage by 3.66%.
The diff coverage is 52.17%.

@@            Coverage Diff             @@
##           master    #6593      +/-   ##
==========================================
- Coverage   61.34%   57.67%   -3.67%     
==========================================
  Files         380      502     +122     
  Lines       22868    30040    +7172     
==========================================
+ Hits        14029    17327    +3298     
- Misses       7845    11463    +3618     
- Partials      994     1250     +256     

@blushi blushi marked this pull request as ready for review July 8, 2020 12:53
Copy link
Collaborator

@fedekunze fedekunze left a comment

Choose a reason for hiding this comment

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

thanks @blushi, some minor comments

x/evidence/keeper/grpc_query_test.go Outdated Show resolved Hide resolved
x/evidence/keeper/grpc_query_test.go Show resolved Hide resolved
x/evidence/keeper/grpc_query.go Show resolved Hide resolved
}
evidenceAny, err := ConvertEvidence(result)
if err != nil {
return err
Copy link
Collaborator

Choose a reason for hiding this comment

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

ditto unregistered evidence test case

proto/cosmos/evidence/query.proto Outdated Show resolved Hide resolved
x/evidence/keeper/grpc_query.go Outdated Show resolved Hide resolved
x/evidence/types/querier.go Outdated Show resolved Hide resolved
@amaury1093 amaury1093 self-assigned this Jul 9, 2020
@clevinson clevinson added this to the v0.40 [Stargate] milestone Jul 9, 2020
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.

lgtm!

@fedekunze fedekunze added C:x/evidence A:automerge Automatically merge PR once all prerequisites pass. labels Jul 10, 2020
@mergify mergify bot merged commit 1e23679 into master Jul 10, 2020
@mergify mergify bot deleted the marie/5921-grpc-x-evidence branch July 10, 2020 13:53
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:x/evidence
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants