Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: add /clear_all in exposer to clear all packets on the relayer #415

Open
Anmol1696 opened this issue Jan 26, 2024 · 0 comments
Open

Comments

@Anmol1696
Copy link
Collaborator

Overview

Sometime the packets are stuck, exposing the ability to clear the packets on a timely interval can then be achived with a new endpoint in exposer that can clear all packets

Design

Runs following command in the backend:

hermes clear packets --chain cosmoshub-4 --port wasm.cosmos17r3faruez552kdxy0lsjydmj0nu22mxax33azx326039hfe7pnhqy7ztdu --channel channel-2

Might need to fetch the information about the channels and ports for the chains from the chain registry.

NOTE: chain registry will also have channels that are currently stuck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant