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

Fix infinite PENDING status for deposits swept before optimistc minting #722

Open
michalsmiarowski opened this issue Jan 12, 2024 · 0 comments

Comments

@michalsmiarowski
Copy link
Contributor

There are situations where sweeping might occur before optimistic minting for the given deposit. In rare cases, that may happen naturally. More often, it happens when the deposit BTC transaction hangs in the mempool for more than 6 hours (e.g. due to low fee) and disappears from the radar for optimistic minters. In such case, there are not OptimisticMintingRequested and OptimisticMintingFinalized events for such deposits.

These sitations are not reflected in the UI properly, because we set the status for the given deposit based on those two events (OptimisticMintingRequested and OptimisticMintingFinalized) thus resulting in infinite PENDING status for deposits that are already swept in Bridge Activity and in Deposit Details page.

image

image
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