Add bulk upgrade CLI #763
Labels
A: good-first-issue
Admin: good for newcomers
I: CLI
Internal: related to the relayer's CLI
I: logic
Internal: related to the relaying logic
O: new-feature
Objective: cause to add a new feature or support
O: usability
Objective: cause to improve the user experience (UX) and ease using the product
Milestone
Crate
ibc-relayer-cli
Summary
The
upgrade
CLI (introduced in informalsystems/ibc-rs#723) expects as argument the identifier of a specific client which to upgrade. It would be beneficial to permit upgrading all IBC clients hosted on the same chain and targeting the same chain (instead of forcing upgrades to work on a discrete client-by-client basis).Proposal
For instance,
will upgrade all clients hosted on
DST-CHAIN
that verify headers for the upgradedSRC-CHAIN
.Tasks:
upgrade
CLI to have optional client identifier parameter; if this parameter is missing, then perform bulk upgrade of all found clientsupgrade client
command, which would be similar to thecreate client
andupdate client
commands (see ADR 006#clients)tx raw upgrade-client
command in favor ofupgrade client
Original comment from PR review
I think we should make
dst_client_id
optional and if not entered to upgrade all clients ofsrc_chain_id
present ondst_chain_id
. The way it is, with a lot of clients, the user needs to query all clients and issue the upgrade for each client.Also, we should have a
hermes client upgrade..
command in place of or in addition to this command.Originally posted by @ancazamfir in informalsystems/ibc-rs#723 (comment)
For Admin Use
The text was updated successfully, but these errors were encountered: