Version v2.0.0-rc1 introduces a new config layout. Old config files will not be compatible.
To migrate, you will need to re-initialize your config file. Follow the steps below:
- Delete old config (assuming it's in default location).
rm -r ~/.relayer/config
- Re-init config.
rly config init
- Add chains to relay for to the config. This fetches chain meta-data from
cosmos/chain-registry
. Example:
rly chains add cosmoshub osmosis juno
- Auto configure path meta-data from
cosmos/chain-registry/_IBC
(you can optionally do this manually).
rly paths fetch
OPTIONAL: Manually add channel filters. See: [configure-channel-filter]https://github.com/cosmos/relayer#configure-the-channel-filter
NOTE: Naming of the auto-configured paths has changed to be less abbreviated. So for example "hubosmo" is now "cosmoshub-osmosis". These paths are bi-directional and only need to be added to the config once. So having both "hubosmo" and "osmohub" is not necessary, you just need "cosmoshub-osmosis"
As long as you do not delete ~/.relayer/config/keys/
, you will not have to restore your keys.