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

Add height request field to all gRPC queries #248

Closed
wants to merge 2 commits into from

Conversation

colin-axner
Copy link
Contributor

Description

closes: #149


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

@@ -34,7 +34,8 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
// method
type QueryDenomTraceRequest struct {
// hash (in hex format) of the denomination trace information.
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
Copy link
Contributor Author

@colin-axner colin-axner Jul 12, 2021

Choose a reason for hiding this comment

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

Would QueryHeight be a better name? Should we use uint64 or int64?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will update to QueryHeight and keep uint64. QueryHeight won't cause name collisions as Height might

@colin-axner
Copy link
Contributor Author

Closing, this has become lower priority for me

@colin-axner colin-axner deleted the colin/149-grpc-height branch December 6, 2021 12:20
faddat referenced this pull request in notional-labs/ibc-go Feb 23, 2022
Update required go version to v1.14 in go.mod
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.

Add heights to every gRPC request
1 participant