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

chore: overlap fill block check #498

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

ConjunctiveNormalForm
Copy link
Member

In practice, there seem to be a tiny chance that the eth_getLogs call fail to get fill events for UniX orders. I suspect that this is due to certain blocks are not actually checked for some reason. An easy fix here is to pad the startBlock by a number of blocks, so that we are certain every block is checked from when the step function execution kicks off.

Also added a try-catch to fallback to still updating order status even when the Promise.all(..) call to get the specific fill tx fails.

@ConjunctiveNormalForm ConjunctiveNormalForm merged commit 56fcc61 into main Dec 12, 2024
4 checks passed
@ConjunctiveNormalForm ConjunctiveNormalForm deleted the overlap-fill-block-check branch December 12, 2024 21:30
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