User-facing CLI to clear packets #1716
Labels
A: good-first-issue
Admin: good for newcomers
I: CLI
Internal: related to the relayer's CLI
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
Problem Definition
Currently, Hermes operators need to specify two separate
tx raw
commands to achieve complete packet clearing of a given path, specifically:hermes tx raw packet-recv <OPTIONS>
hermes tx raw packet-ack <OPTIONS>
This is clumsy for two reasons: (1) because
tx raw
is not meant to be user-facing, yet operators have no other way to achieve packet clearing, and (2) because operators need two separate commands both of which are notoriously complex due to the many positional arguments that these commands expect.Proposal
We should provide a single CLI that unifies the two
raw packet-recv
+raw packet-ack
commands.Just like we have a "packet setup" user-facing commands, we should also have "packet clearing" commands.
Concretely: add a CLI
hermes clear packets
with the following specification --
The new CLI should act similarly to
packet-recv
andpacket-ack
commands, and should perform packet clearing in both directions of the given channel.Acceptance Criteria
hermes clear packets
with the semantics described aboveFor Admin Use
The text was updated successfully, but these errors were encountered: