cosmos / relayer

An IBC relayer for ibc-go
Apache License 2.0
391 stars 1.71k forks source link

add a command for handling chain forks #695

Open jtieri opened 2 years ago

jtieri commented 2 years ago

As we saw today with Juno, it requires a quite a bit of manual intervention to bring back IBC light clients after a chain forks. It would be ideal to have a command that can take in an RPC endpoint for the old chain and use that temporarily to query old state like what we did in #691

boojamya commented 2 years ago

Referencing: https://github.com/cosmos/relayer/pull/876

jtieri commented 2 years ago

Brain dumping rn.

Ex cmd: rly dev fork chain_name halt_height pre_fork_node

This would grab every configured path for the specified chain_name and then use the provided halt_height and pre_fork_node to update the configured clients on those paths. Now you can just batch update every IBC light client after a chain soft forks.