-
Notifications
You must be signed in to change notification settings - Fork 586
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
chore(packet-server): add queryServer to packet-server #7283
Conversation
c8a6600
to
75f7379
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just one concern about discarding values
creator, _ := q.ClientKeeper.GetCreator(sdkCtx, req.ClientId) | ||
res.Creator = creator | ||
|
||
counterparty, _ := q.GetCounterparty(sdkCtx, req.ClientId) | ||
res.Counterparty = counterparty |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it safe to discard these found
vars? Should we error out in this case instead of returning an empty response?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, update, I remembered these can exist independetly until provide counterparty is called. I.e only creator and then only counterparty. I guess if both are not found I can error.
Quality Gate passed for 'ibc-go'Issues Measures |
Description
adds a query server to the packe server to bring in the removed query after the reshuffling of protos.
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.
docs/
).godoc
comments.Files changed
in the GitHub PR explorer.SonarCloud Report
in the comment section below once CI passes.