Skip to content

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

@anilhelvaci

Description

@anilhelvaci

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions