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

dex: avoid chain halts in case of arb failures #3897

Merged
merged 1 commit into from
Feb 27, 2024
Merged

Conversation

hdevalence
Copy link
Member

In #3893 we encountered a bug in arb search logic that caused a chain halt. While that bug shouldn't exist, it also shouldn't have stopped the entire chain. Rather, we should continue operating without performing arbitrage.

This commit does not fix the bug in #3893, but it does mean that the effect of that bug is just to stop arb from occurring rather than halting the chain.

In #3893 we encountered a bug in arb search logic that caused a chain halt.
While that bug shouldn't exist, it also shouldn't have stopped the entire
chain. Rather, we should continue operating without performing arbitrage.

This commit does not fix the bug in #3893, but it does mean that the effect of
that bug is just to stop arb from occurring rather than halting the chain.
@hdevalence hdevalence merged commit b751dda into main Feb 27, 2024
6 checks passed
@hdevalence hdevalence deleted the dodge-arb-halt branch February 27, 2024 05:52
@cratelyn cratelyn added the A-dex Area: Relates to the dex label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-dex Area: Relates to the dex
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants