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

Implement decoding into ConnectionId #123

Closed
greg-szabo opened this issue Jul 31, 2020 · 0 comments · Fixed by informalsystems/hermes#196
Closed

Implement decoding into ConnectionId #123

greg-szabo opened this issue Jul 31, 2020 · 0 comments · Fixed by informalsystems/hermes#196
Assignees

Comments

@greg-szabo
Copy link
Member

greg-szabo commented Jul 31, 2020

https://github.com/informalsystems/ibc-rs/blob/9c733d7af1ee7c2dee07086c24f2a94f4d169825/modules/src/ics02_client/client.rs#L12

I think at the query of client Connection ID, we should decode the incoming connection details into a Vec<ConnectionId> instead of just keeping them as strings.

The reason is that here, we should use a ConnectionId type for easy handling of ConnectionIDs.

https://github.com/informalsystems/ibc-rs/blob/9c733d7af1ee7c2dee07086c24f2a94f4d169825/relayer-cli/src/commands/query/client.rs#L292-L294

@andynog andynog self-assigned this Jul 31, 2020
andynog referenced this issue in informalsystems/hermes Aug 7, 2020
andynog referenced this issue in informalsystems/hermes Aug 7, 2020
ancazamfir referenced this issue in informalsystems/hermes Aug 14, 2020
* Replaced Vec<String> with Vec<ConnectionId> #185

* Fixing integration test #185

* Fixing fmt issue #185

* Fixing missing import #196
hu55a1n1 referenced this issue in hu55a1n1/hermes Sep 13, 2022
* Replaced Vec<String> with Vec<ConnectionId> #185

* Fixing integration test #185

* Fixing fmt issue #185

* Fixing missing import informalsystems#196
@hu55a1n1 hu55a1n1 transferred this issue from informalsystems/hermes Sep 29, 2022
hu55a1n1 pushed a commit that referenced this issue Sep 29, 2022
* fix versions

* update readme

* semver link
livelybug pushed a commit to octopus-network/ibc-rs that referenced this issue Oct 14, 2022
* fix versions

* update readme

* semver link
DaviRain-Su added a commit to octopus-network/ibc-rs that referenced this issue May 12, 2023
shuoer86 pushed a commit to shuoer86/ibc-rs that referenced this issue Nov 4, 2023
* Enable code coverage for TypeScript version

* Fix coverage job

* Fix labels
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 a pull request may close this issue.

2 participants