informalsystems / hermes

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

packet messages are redundant #4252

Closed kombos closed 1 week ago

kombos commented 1 week ago

Summary of Bug

Yesterday I had taken the latest hermes and tried to setup the relayer, gave the config.toml values. specifically gave these three values since there are some stuck transactions which i need to be processed and not cleared/deleted:

clear_interval = 0
clear_on_start = false
tx_confirmation = true

on running hermes start, after a while this error popped up:

2024-11-14T16:06:06.378476Z ERROR ThreadId(14) spawn: chain{chain=ibc-1}: client{client=07-tendermint-0}: connection {connect ion=connection-0}: channel{channel-channel-0}: worker.packet.cmd{src_chain=ibc-1 src_port=transfer src_channel-channel-0 ds t_chain ibc-2}: relay{odata=dce27e23 ->Destination @1-13987750; len=1}: send_messages_and_wait_check_tx{chain-ibc-2 tr acking_id=dce27e23}: send_tx_with_account_sequence_retry{chain=ibc-2 account.sequence=0}: failed to broadcast tx with unr ecoverable error response=Response { code: Err(22), data: b"", log: "packet messages are redundant", hash: Hash::Sha256(93AF B293EB5EF0E20776164ECB0D3C6AB9BB9A470C7D0F36B952358A82419AE3) } diagnostic-unknown TX sync response error: 22

Version

v1.10.3

romac commented 1 week ago

You can safely ignore this error (which should actually be just a warning). It means that this specific packet has already been relayed, perhaps by another relayer.

romac commented 1 week ago

@ljoss17 Can we eventually adapt the log message for this specific case to not make it sound like a problem?