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

Clients between osmo-test-5 and theta-testnet-001 are Expired #4

Open
anilhelvaci opened this issue Nov 30, 2023 · 0 comments
Open

Comments

@anilhelvaci
Copy link

Context

My purpose is to send uatom from theta-testnet-001 to osmo-test-5 according to the specified channel info here and spinning up my own relayer.

Platform/Software

  • OS: MacOS Monterey
  • Relayer: Hermes v1.7.2

Problem

I used this command send uatom

hermes --json --config .hermes/test_config.toml  tx ft-transfer --dst-chain osmo-test-5 --src-chain theta-testnet-001 --src-port transfer --src-channel channel-2500 --amount 100 --denom uatom --timeout-seconds 100  | jq .

And here's the result I got:

{
  "result": "transfer error: failed while submitting the Transfer message to chain theta-testnet-001: gRPC call `send_tx_simulate` failed with status: status: Unknown, message: \"failed to execute message; message index: 0: cannot send packet using client (07-tendermint-1977) with status Expired: client is not active [cosmos/ibc-go/[email protected]/modules/core/04-channel/keeper/packet.go:74] With gas wanted: '0' and gas used: '87037' \", details: [], metadata: MetadataMap { headers: {\"server\": \"nginx\", \"date\": \"Thu, 30 Nov 2023 15:12:25 GMT\", \"content-type\": \"application/grpc\", \"x-cosmos-block-height\": \"19112446\", \"strict-transport-security\": \"max-age=63072000;\", \"x-content-type-options\": \"nosniff\", \"x-frame-options\": \"DENY\", \"access-control-allow-origin\": \"*\", \"access-control-allow-headers\": \"*\"} }",
  "status": "error"
}

When I read between the lines in the result, I saw:

...message: \"failed to execute message; message index: 0: cannot send packet using client (07-tendermint-1977) with status Expired: client is not active...

Then I ran this command to check the status of both clients:

hermes --config .hermes/test_config.toml  query client status --chain theta-testnet-001 --client 07-tendermint-1977
hermes --config .hermes/test_config.toml  query client status --chain osmo-test-5 --client 07-tendermint-13

They both return:

2023-11-30T15:16:24.415520Z  INFO ThreadId(01) running Hermes v1.7.2+c3210fc
SUCCESS Expired

Solution

I don't know if there's anything that can be done to fix an expired client but if there is one, do that. If not, create new client.

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

No branches or pull requests

1 participant