Open Srutip04 opened 1 month ago
I have the same problem. These are my logs:
Hermes earth <-> mars config already exist at /Users/levi/.ignite/relayer/hermes/earth_mars. Do you want to reuse this config file: y
Hermes config created at /Users/levi/.ignite/relayer/hermes/earth_mars
Chain earth relayer wallet: cosmos18vjc7lncuf2qe9ed6785g5dmyx0a5fywre2nx9
New balance from faucet: 100000stake,5token
? Chain mars doesn't have a default Hermes key. Type your mnemonic to continue or type enter to generate a new one: (optional)
New mnemonic generated: leisure public rug short wire inherit doctor thought license believe radio grocery pride field observe narrow kit host three age emerge female true fire
Chain mars key created
Chain mars relayer wallet: cosmos19xdsskuetmplf5atejh0y6rthxvd5wrh2qy8pl
New balance from faucet: 100000stake,5token
✘ Error while running command /var/folders/c4/p5jlhrr966gg3dn3lz6wkknr0000gn/T/hermes1093786263 --config=/Users/levi/.ignite/relayer/hermes/earth_mars --json create client --reference-chain=mars --host-chain=earth: exit status 1
@Srutip04 We can fix it by this:
Hermes earth <-> mars config already exist at /Users/levi/.ignite/relayer/hermes/earth_mars. Do you want to reuse this config file: N
Now it is working:
✗ Hermes earth <-> mars config already exist at /Users/levi/.ignite/relayer/hermes/earth_mars. Do you want to reuse this config file:
Hermes config created at /Users/levi/.ignite/relayer/hermes/earth_mars
Chain earth relayer wallet: cosmos18vjc7lncuf2qe9ed6785g5dmyx0a5fywre2nx9
New balance from faucet: 200000stake,10token
Chain mars relayer wallet: cosmos19xdsskuetmplf5atejh0y6rthxvd5wrh2qy8pl
New balance from faucet: 200000stake,10token
Client '07-tendermint-0' created (earth -> mars)
Client 07-tendermint-0' created (mars -> earth)
Connection 'earth (connection-0) <-> mars (connection-0)' created
Channel 'earth (channel-0) <-> mars (channel-0)' created
btw, I don't know the core reason of it, maybe someone could provide some ideas?
Oh no, when I delete the cache rm -rf ~/.ignite/relayer
and retry, it is fail:
aefaefaefeaf _ 1.1
Hermes config created at /Users/levi/.ignite/relayer/hermes/earth_mars
The Hermes configuration file at path '/Users/levi/.ignite/relayer/hermes/earth_mars' is invalid, reason: parse error: invalid CosmosSdk config: invalid trust threshold: 0/0 for key `chains` at line 60 column 1
Please see the example configuration for detailed information about the supported configuration options: https://github.com/informalsystems/hermes/blob/master/config.toml
✘ Error while running command /var/folders/c4/p5jlhrr966gg3dn3lz6wkknr0000gn/T/hermes252080209 --config=/Users/levi/.ignite/relayer/hermes/earth_mars --json keys list --chain=earth: exit status 1
Title: Error while creating Hermes relayer client between Earth and Mars chains
Description:
I am trying to configure a Hermes relayer between two chains, Earth and Mars, using the Ignite CLI. During the configuration process, I encountered an error while attempting to create a client. Below are the details of the issue:
Steps to Reproduce:
Run the following command to configure the Hermes relayer:
Confirm the reuse of the existing configuration file.
Observe the following error message after the configuration:
Expected Behavior:
I expected the command to successfully create a client between the Earth and Mars chains.
Actual Behavior:
The command fails with an error indicating that it exited with status 1.
Environment:
Additional Information: