hyperweb-io / hyperweb-io/starship
stride (ics) relayer fails to start
- Dominant language
- TypeScript
- Stars
- 77
- Forks
- 39
- PR merge metrics
- No merged PRs in 30d
Description
With `yarn starship start --config config.yaml` ("@starship-ci/cli": "^3.3.0") and the following `config.yaml`:
```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`:
```sh
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.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue with `yarn starship start --config config.yaml` and inspect the `hermes-stride-cosmoshub-0` pod, especially the `init-relayer` logs. Trace the ICS setup for `stridelocal` and `cosmoshublocal`, then verify that the relayer creates the client, connection, and channels without entering `Init:Error`.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kubernetes
- Domain
- devops, distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100