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

feat: refetch non Babylon finalized tx #1

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

parketh
Copy link
Collaborator

@parketh parketh commented Sep 16, 2024

Summary

This PR updates the transaction status refetch logic to fix the delay in transaction status updates.

Fix

The current useQuery hook has a fixed refetch interval of 60 secs. We update this to 2 seconds before the transaction is Babylon finalized, and prevent further refetch once the tx is finalized.

@parketh parketh merged commit fd05a14 into main Sep 17, 2024
1 check passed
@bap2pecs bap2pecs deleted the feat/refetch-non-babylon-finalized branch September 17, 2024 03:23
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