-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Description
I'm encountering an error using the Go relayer to query balance on cosmoshub (both mainnet and testnet). The same command works fine for osmosis.
🧪 What I did
I followed the tutorial here:
https://tutorials.cosmos.network/hands-on-exercise/5-ibc-adv/1-go-relayer.html
The only modification was using alternative RPC/gRPC endpoints. The relayer setup seems fine (keys exist, config loads), but balance queries fail.
🔧 Chain Config
chains:
cosmoshubt:
type: cosmos
value:
key-directory: /home/relayer/.relayer/keys/provider
key: default
chain-id: provider
rpc-addr: https://rpc.provider-sentry-01.ics-testnet.polypore.xyz:443
grpc-addr: https://grpc.provider-sentry-01.ics-testnet.polypore.xyz
account-prefix: cosmos
keyring-backend: test
gas-adjustment: 1.3
gas-prices: "0.01uatom"
debug: true
timeout: 20s
output-format: json
sign-mode: direct
coin-type: 118
broadcast-mode: batch
cosmoshub:
type: cosmos
value:
key-directory: /home/relayer/.relayer/keys/cosmoshub-4
key: default
chain-id: cosmoshub-4
rpc-addr: https://rpc.provider-sentry-02.ics-testnet.polypore.xyz:443
account-prefix: cosmos
keyring-backend: test
gas-adjustment: 1.2
gas-prices: 0.01uatom
debug: true
timeout: 20s
output-format: json
sign-mode: direct
broadcast-mode: batch🧵 Command and Output
$ rly q balance cosmoshubt 123 --log-format console --log-level debug -d
Error: rpc error: code = Unknown desc = unknown query path: unknown requestSame issue happens for cosmoshub.
Meanwhile, rly q balance osmosis <wallet-name> works fine.
Also, rly chains list shows:
1: cosmoshub-4 -> type(cosmos) key(✘) bal(✘) path(✘)
2: osmosis-1 -> type(cosmos) key(✔) bal(✘) path(✘)
3: provider -> type(cosmos) key(✘) bal(✘) path(✘)
🔍 What I've Tried
- Multiple working gRPC endpoints:
- Ensured keys are created and show up with
rly keys list
Image: ghcr.io/cosmos/relayer:v2.5.2
Would appreciate any guidance on how to debug this properly - enabling debug mode and log-level flags didn’t reveal much. Any advice on setting this up correctly?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels