informalsystems / hermes

IBC Relayer in Rust
https://hermes.informal.systems
Apache License 2.0
443 stars 327 forks source link

Unable to close channel with misconfiguration #3945

Open redemdev opened 6 months ago

redemdev commented 6 months ago

Summary of Bug

Unable to close channel with misconfiguration. I created IBC channel but the destination channel show as the channel-id I use for other IBC path (that one works well) Not sure if it's error while creating this one. Which results in transferring token failed.

I try closing channel following this doc: https://hermes.informal.systems/advanced/troubleshooting/patch-gaia.html https://hermes.informal.systems/documentation/commands/tx/channel-close.html

But still got error "user cannot close channel"

How can I close channel with misconfiguration.

Version

hermes 1.8.2

Steps to Reproduce

Acceptance Criteria


For Admin Use

romac commented 6 months ago

Is this for a live chain or a development app you are building yourself?

The patch instructions above only work if you running your own devnet, but not for a testnet or livenet.

redemdev commented 6 months ago

I see, it's our live chain on mainnet which create IBC path with Hermes. If it's on mainnet, is there anyway to close the channels we created.

By the way, I think there's something error when I try to create channels.

The working path:

Our chain <> Chain A channel-0 <> channel-xxx

Our chain <> Chain B channel-1 <> channel-yyy

Then there's a trouble path comes up like Our chain <> Chain B channel-0 <> channel-zzz

So the token sent through channel-zzz got stucked as the destination channel is channel-0, which actually belong to Chain A path.