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

Skip to current height after hitting stuck packet end height #1442

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

boojamya
Copy link
Contributor

@boojamya boojamya commented Apr 9, 2024

Currently, when when using the --stuck-packet-* flags, the relayer does not pick back up at the latest height after reaching the --stuck-packet-height-end flag. This means that you have to wait for the relayer to catch all the way back up to chain tip before it can use the current client state to relay the packets.
Depending on how far back the stuck packets are, this can take a very long time.

This should fix this issue.

Notice height in logs below

Before:
before

After:
after

Copy link
Member

@jtieri jtieri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dan!!!

Looks good to me, good catch!

@jtieri jtieri merged commit b7ea45d into cosmos:main Apr 9, 2024
20 of 21 checks passed
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

Successfully merging this pull request may close these issues.

2 participants