Skip to content

Missing port information in hermes query channels #840

Closed
@ancazamfir

Description

Crate

relayer-cli

Summary of Bug

While testing ICS27 packets I noticed that hermes query channels.. returns the list of channel IDs but without the ports,
while the hermes query channel end... CLI that we use to get the details of a given channel requires both the channel and port IDs.

Version

Steps to Reproduce

Acceptance Criteria

hermes query channels.. should return both channel and port. While current SDK impl generates unique channel IDs, the channel ID can be unique per port.
This can also be seen in pub struct IdentifiedChannel, see the last two fields that identify the channel (compared with pub struct Channel above in the same file) https://github.com/informalsystems/ibc-rs/blob/75d4dd81262cab979b1bf286b0b462297825ab65/proto/src/prost/ibc.core.channel.v1.rs#L43-L48


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate milestone (priority) applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned

Metadata

Assignees

Labels

I: CLIInternal: related to the relayer's CLI

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions