Skip to content

keep sending channel_close_confirm to dst chain after channel close successfully #1323

@mmsqe

Description

@mmsqe

when reopen ica account after channel get closed due to timeout msg, same channel key not get deleted in SrcMsgChannelCloseInit after DeleteMessages, for more info:

2023-11-08T03:16:43.5652014Z 2023-11-08T03:16:43.564637Z info Successful transaction {"provider_type": "cosmos", "chain_id": "chainmain-1", "gas_used": 153220, "fees": "164744000000basecro", "fee_payer": "cro1u08u5dvtnpmlpdq333uj9tcj75yceggszxpnsy", "height": 75, "msg_types": ["/ibc.core.client.v1.MsgUpdateClient", "/ibc.core.channel.v1.MsgChannelCloseConfirm"], "tx_hash": "926F71DAC9776EDEA471B2B4F3BA20459734E8D17C98D726D35D202EED36A224"} 2023-11-08T03:16:44.3265896Z 2023-11-08T03:16:44.326297Z debug Queried block {"chain_name": "cronos_777-1", "chain_id": "cronos_777-1", "height": 75, "latest": 75, "delta": 0} 2023-11-08T03:16:44.3277067Z 2023-11-08T03:16:44.327499Z debug Queried block {"chain_name": "chainmain-1", "chain_id": "chainmain-1", "height": 75, "latest": 75, "delta": 0} 2023-11-08T03:16:44.3282835Z 2023-11-08T03:16:44.328116Z debug Observed IBC message {"chain_name": "chainmain-1", "chain_id": "chainmain-1", "event_type": "update_client", "client_id": "07-tendermint-0"} 2023-11-08T03:16:44.3290943Z 2023-11-08T03:16:44.328767Z debug Observed IBC message {"chain_name": "chainmain-1", "chain_id": "chainmain-1", "event_type": "channel_close_confirm", "channel_id": "channel-1", "port_id": "icahost", "counterparty_channel_id": "channel-1", "counterparty_port_id": "icacontroller-crc1dp2zh5ftg86a28tzstk8mywh6rtcu3gr08l7s9", "connection_id": "connection-0"} 2023-11-08T03:16:44.3579851Z 2023-11-08T03:16:44.357421Z debug Assembled channel handshake message {"path_name": "chainmain-cronos", "chain_id": "chainmain-1", "client_id": "07-tendermint-0", "msg": {"type": "channel_close_confirm", "port_id": "icacontroller-crc1dp2zh5ftg86a28tzstk8mywh6rtcu3gr08l7s9", "channel_id": "channel-1", "counterparty_port_id": "icahost", "counterparty_channel_id": "channel-1", "connection_id": "", "counterparty_connection_id": "", "order": "ORDER_ORDERED", "version": ""}} 2023-11-08T03:16:44.3587328Z 2023-11-08T03:16:44.357693Z debug Will relay messages {"path_name": "chainmain-cronos", "chain_id": "chainmain-1", "client_id": "07-tendermint-0", "msg_0": {"type": "channel_close_confirm", "port_id": "icacontroller-crc1dp2zh5ftg86a28tzstk8mywh6rtcu3gr08l7s9", "channel_id": "channel-1", "counterparty_port_id": "icahost", "counterparty_channel_id": "channel-1", "connection_id": "", "counterparty_connection_id": "", "order": "ORDER_ORDERED", "version": ""}}

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