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: ensure catchup for failing market state tests #691

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

cdummett
Copy link
Collaborator

Replaying failing tests shows market is in correct state.

Tests are therefore failing as datanode does reflect the state expected. This could either be because datanode has not finished processing the final event, or core has not finished processing the final block.

Whilst the former is fairly well tested, the later is extremely hard to ensure as the wallet can be asynchronously sending transactions to core.

PR simply adds a wait_fn which adds an additional final empty block which should be fast to process and we can wait for.

@cdummett cdummett requested a review from a team as a code owner August 13, 2024 14:39
@cdummett cdummett merged commit cad5163 into develop Aug 13, 2024
5 of 7 checks passed
@cdummett cdummett deleted the fix/ensure_catchup branch August 13, 2024 15:12
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.

1 participant