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

make URI path for getting all incentivized packets for channel consistent #1278

Merged

Conversation

crodriguezvega
Copy link
Contributor

Description

Just a nit to make the URI path for the query to get all incentivized packets for a specific channel consistent with the rest of queries.

Not sure if I need to add changelog for this. Please advice!

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

Copy link
Member

@damiannolan damiannolan left a comment

Choose a reason for hiding this comment

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

I think you'll need to run the codegen again: make proto-all

Changelog entry is probably a good idea I guess, no harm!

@@ -29,7 +29,7 @@ service Query {
// Gets all incentivized packets for a specific channel
rpc IncentivizedPacketsForChannel(QueryIncentivizedPacketsForChannelRequest)
returns (QueryIncentivizedPacketsForChannelResponse) {
option (google.api.http).get = "/ibc/apps/fee/v1/incentivized_packets/{port_id}/{channel_id}";
option (google.api.http).get = "/ibc/apps/fee/v1/incentivized_packets/port/{port_id}/channel/{channel_id}";
Copy link
Member

Choose a reason for hiding this comment

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

Nice catch!

@crodriguezvega
Copy link
Contributor Author

I think you'll need to run the codegen again: make porto-all

Oh, yes, I always forget about this. Thanks for reminding! :)

@damiannolan
Copy link
Member

Link checker is crying again 😢

@crodriguezvega crodriguezvega merged commit 16921d9 into main Apr 21, 2022
@crodriguezvega crodriguezvega deleted the carlos/uri-path-get-incentivized-packets-for-channel branch April 21, 2022 11:54
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.

3 participants