You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enable users to manually specify packets to be clear on demand by {channel-id}/{sequence_number}.
Problem Definition
There is a command hermes clear packets, but the intention behind this command seems to be that it should be run while the relayer process is not running. It would be helpful to manually instruct the running relayer process to clear packets on demand. While I believe that hermes is eventually consistent, clearing packets on demand can be helpful in situations when one needs to urgently test a flow, or users are complaining about long wait times - it seems that sometimes packets sit around for a while before being relayed.
Proposal
I imagine the most straightforward way to implement this could be through an http endpoint. We could have 3 endpoints:
/clear-packets - to clear all packets from all IBC channels being monitored
/clear-packets/{channel-id} - to clear all packets from a given IBC channel
/clear-packets/{channel-id}/{sequence_number} - to clear a single specific packet.
Acceptance Criteria
Functionality is implemented, whether through an http endpoint or not, that allows the relayer operator to clear packets manually on demand.
For Admin Use
Not duplicate issue
Appropriate labels applied
Appropriate milestone (priority) applied
Appropriate contributors tagged
Contributor assigned/self-assigned
The text was updated successfully, but these errors were encountered:
Summary
Enable users to manually specify packets to be clear on demand by
{channel-id}/{sequence_number}
.Problem Definition
There is a command
hermes clear packets
, but the intention behind this command seems to be that it should be run while the relayer process is not running. It would be helpful to manually instruct the running relayer process to clear packets on demand. While I believe that hermes is eventually consistent, clearing packets on demand can be helpful in situations when one needs to urgently test a flow, or users are complaining about long wait times - it seems that sometimes packets sit around for a while before being relayed.Proposal
I imagine the most straightforward way to implement this could be through an http endpoint. We could have 3 endpoints:
/clear-packets
- to clear all packets from all IBC channels being monitored/clear-packets/{channel-id}
- to clear all packets from a given IBC channel/clear-packets/{channel-id}/{sequence_number}
- to clear a single specific packet.Acceptance Criteria
Functionality is implemented, whether through an http endpoint or not, that allows the relayer operator to clear packets manually on demand.
For Admin Use
The text was updated successfully, but these errors were encountered: