sei-chain icon indicating copy to clipboard operation
sei-chain copied to clipboard

[IBC:hermes] Some configuration questions about starting relayer.

Open 99Kies opened this issue 1 year ago • 2 comments

I need to let me specify the version of compat_mode when I create ibc relayer with hermes, and I wanted to check with you guys what the exact version is here?

https://hermes.informal.systems/documentation/configuration/comet-compat-mode.html?highlight=compat_mode#configuration

99Kies avatar Jan 09 '24 05:01 99Kies

I encountered this ERROR when creating the client, but couldn't find the failed transaction.

➜  ~ hermes create client --host-chain pacific-1 --reference-chain vota-ash
2024-01-09T05:30:12.572359Z  INFO ThreadId(01) using default configuration from '/home/ubuntu/.hermes/config.toml'
2024-01-09T05:30:12.573101Z  INFO ThreadId(01) running Hermes v1.7.4
ERROR foreign client error: error raised while creating client for chain pacific-1: failed sending message to dst chain : failed tx: no confirmation

99Kies avatar Jan 09 '24 05:01 99Kies

And when I create connection, I get this error.

this is my hermes config.toml:

[[chains]]
id = "pacific-1"
type = "CosmosSdk"
rpc_addr = "https://sei-rpc.lavenderfive.com:443"
grpc_addr = "https://sei-grpc.lavenderfive.com"
rpc_timeout = "10s"
trusted_node = false
account_prefix = "sei"
key_name = "keysei"
key_store_type = "Test"
store_prefix = "ibc"
default_gas = 100000
max_gas = 400000
gas_multiplier = 1.5
max_msg_num = 30
max_tx_size = 180000
max_grpc_decoding_size = 33554432
clock_drift = "5s"
max_block_time = "30s"
ccv_consumer_chain = false
memo_prefix = ""
sequential_batch_tx = false
compat_mode = '0.34'

[chains.event_source]
mode = "push"
url = "wss://sei-rpc.lavenderfive.com:443/websocket"
batch_delay = "500ms"

command:

➜  ~ hermes create connection --a-chain vota-ash --a-client 07-tendermint-18 --b-client 07-tendermint-65

log:


2024-01-09T06:15:28.679659Z ERROR ThreadId(01) failed ConnOpenTry ConnectionSide { chain: BaseChainHandle { chain_id: pacific-1 }, client_id: 07-tendermint-65, connection_id: None }: failed during a query to chain id pacific-1: RPC error to endpoint https://sei-rpc.polkachu.com/: serde parse error: invalid length 0, expected struct EvidenceList with 1 element at line 1 column 20077
2024-01-09T06:15:32.267790Z ERROR ThreadId(01) failed ConnOpenTry ConnectionSide { chain: BaseChainHandle { chain_id: pacific-1 }, client_id: 07-tendermint-65, connection_id: None }: failed during a query to chain id pacific-1: RPC error to endpoint https://sei-rpc.polkachu.com/: serde parse error: invalid length 0, expected struct EvidenceList with 1 element at line 1 column 17996
2024-01-09T06:15:32.267823Z ERROR ThreadId(01) failed to open connection after 101 retries
ERROR error after maximum retry of 101 and total delay of 300s: failed to finish connection handshake for Connection { delay_period: 0ns, a_side: ConnectionSide { chain: BaseChainHandle { chain_id: ChainId { id: "vota-ash", version: 0 }, runtime_sender: Sender { .. } }, client_id: ClientId("07-tendermint-18"), connection_id: Some(ConnectionId("connection-15")) }, b_side: ConnectionSide { chain: BaseChainHandle { chain_id: ChainId { id: "pacific-1", version: 1 }, runtime_sender: Sender { ..} }, client_id: ClientId("07-tendermint-65"), connection_id: None } }: failed during a query to chain id pacific-1: RPC error to endpoint https://sei-rpc.polkachu.com/: serde parse error: invalid length 0, expected struct EvidenceList with 1 element at line 1 column 17996

99Kies avatar Jan 09 '24 06:01 99Kies

closing due to inactivity on https://github.com/informalsystems/hermes/issues/3796 - feel free to reopen if necessary

philipsu522 avatar Jun 25 '24 17:06 philipsu522