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

Hermes cannot get the unbonding period from consumer chains #3112

Closed
5 tasks
Tracked by #3005
ancazamfir opened this issue Feb 21, 2023 · 0 comments · Fixed by #3113
Closed
5 tasks
Tracked by #3005

Hermes cannot get the unbonding period from consumer chains #3112

ancazamfir opened this issue Feb 21, 2023 · 0 comments · Fixed by #3113
Assignees
Labels
A: bug Admin: something isn't working I: dependencies Internal: related to dependencies
Milestone

Comments

@ancazamfir
Copy link
Collaborator

Summary of Bug

This was reported by a hermes user on a Telegram channel:

<-- begin -->

..We are having some issues with hermes 1.2.0 to set connection between consumer chain and ordinary chain without ICS support (like band protocol)
We found that it is not possible to use Hermes 1.2.0 with consumer chain and other full chain like Band Protocol. It requires hermes to provide
unbonding_period
but this parameter is not available because consumer chain doesn't contain
staking
module. So we were required to use patched version of hermes (this commit 7defaf0)
Maybe there is other way available to connect two chains together and we simple was unable to find it.

Hi there. Yes, Hermes gets
unbounding period from staking params which leads to an error on Neutron chain because it doesn't have staking. Error looks like this

ERROR error raised while creating client for chain baryon-1: failed when building client state: gRPC call failed with status: status: Unimplemented, message: "unknown service cosmos.staking.v1beta1.Query", details: [], metadata: MetadataMap { headers: {"content-type": "application/grpc", "content-length": "0", "date": "Thu, 16 Feb 2023 10:42:14 GMT", "server": "Caddy"} }

The issue here is about relaying between let's say Neutron and other chain (in my case it was Band protocol). For now it's possible only with this commit 7defaf0 and setting unbonding_period for baryon-1.

<-- end -->

We should consider the patch mentioned as a short term fix.
In parallel ask SDK for a gRPC endpoint that works on both sovereign and consumer chains.

Version

all

Steps to Reproduce

Acceptance Criteria

Consumer chain support


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate milestone (priority) applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: bug Admin: something isn't working I: dependencies Internal: related to dependencies
Projects
Status: ✅ Done
3 participants