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

stride (ics) relayer fails to start #629

Open
0xpatrickdev opened this issue Feb 25, 2025 · 5 comments · May be fixed by #631
Open

stride (ics) relayer fails to start #629

0xpatrickdev opened this issue Feb 25, 2025 · 5 comments · May be fixed by #631

Comments

@0xpatrickdev
Copy link
Contributor

0xpatrickdev commented Feb 25, 2025

With yarn starship start --config config.yaml ("@starship-ci/cli": "^3.3.0") and the following config.yaml:

name: starship-localnet
version: 1.3.0

chains:
  - id: cosmoshublocal
    name: cosmoshub
    numValidators: 1
    faucet:
      enabled: true
      type: starship
    ports:
      rest: 1314
      rpc: 26654
      grpc: 9092
      faucet: 8083
  - id: stridelocal
    name: stride
    numValidators: 1
    ics:
      enabled: true
      provider: cosmoshublocal 
    faucet:
      enabled: true
      type: starship
    ports:
      rest: 1313
      rpc: 26653
      grpc: 9099
      faucet: 8089

relayers:
  - name: stride-cosmoshub
    type: hermes
    replicas: 1
    chains:
      - cosmoshublocal
      - stridelocal
    ics:
      enabled: true
      consumer: stridelocal
      provider: cosmoshublocal

explorer:
  enabled: false

registry:
  enabled: true
  ports:
    rest: 8081

hermes-stride-cosmoshub-0's status results in a continued Init:Error:

NAME                        READY   STATUS       RESTARTS        AGE
cosmoshublocal-genesis-0    3/3     Running      2 (3m22s ago)   3m36s
stridelocal-genesis-0       3/3     Running      2 (2m25s ago)   3m36s
registry-578d664dc5-5dxw4   1/1     Running      0               3m36s
hermes-stride-cosmoshub-0   0/2     Init:Error   4 (55s ago)     3m36s

Looking at the init-relayer logs:

Creating IBC connection for stridelocal...
2025-02-25T00:44:12.591601Z  INFO ThreadId(01) using default configuration from '/root/.hermes/config.toml'
2025-02-25T00:44:12.591873Z  INFO ThreadId(01) running Hermes v1.10.0
ERROR failed while querying client '07-tendermint-0' on chain 'stridelocal' with error: error decoding protobuf: error converting message type into domain type: the client state was not found
+ hermes create channel --a-connection connection-0 --channel-version 1 --order ordered --a-chain stridelocal --a-port consumer --b-port provider
2025-02-25T00:44:12.598473Z  INFO ThreadId(01) using default configuration from '/root/.hermes/config.toml'
2025-02-25T00:44:12.598733Z  INFO ThreadId(01) running Hermes v1.10.0
ERROR connection not found: connection-0
+ hermes create channel --a-connection connection-0 --a-chain stridelocal --a-port transfer --b-port transfer
2025-02-25T00:44:12.605422Z  INFO ThreadId(01) using default configuration from '/root/.hermes/config.toml'
2025-02-25T00:44:12.605685Z  INFO ThreadId(01) running Hermes v1.10.0
ERROR connection not found: connection-0

it seems we don't have a client and are unable to create a connection and channel.

@Anmol1696
Copy link
Collaborator

Let me have a look. we tested with neutron.
Can we make sure the stride image is up to date atleast?

@0xpatrickdev
Copy link
Contributor Author

Can we make sure the stride image is up to date atleast?

It seems starship is few major versions behind. Here's a PR to create an image from their latest release: #630

@Anmol1696 Anmol1696 linked a pull request Feb 28, 2025 that will close this issue
@amessbee
Copy link

amessbee commented Mar 5, 2025

@0xpatrickdev @Anmol1696 I learnt today that at this point this most likely a hermes relayer issue, because changing type to type: go-relayer makes things work fine.

Ref: #631

@Anmol1696
Copy link
Collaborator

Well yes the issue has been during the handshake for the inital ics creation.
Is the setup correct with go-relayer?

@Anmol1696
Copy link
Collaborator

I am also not finding docs around how to setup stride as a consumer chain. If you have anything on this please share it here.

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.

3 participants