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

add test for a 1-block reorg in short_sync_backtrack() #18966

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

arvidn
Copy link
Contributor

@arvidn arvidn commented Dec 3, 2024

Purpose:

Add test coverage for the fixed bug. This test fails when run on top of main, but passes with Almog's fix.

Current Behavior:

1-block reorg in short_sync_backtrack() is not covered by a test.

New Behavior:

1-block reorg in short_sync_backtrack() is covered by a test.

@arvidn arvidn added Changed Required label for PR that categorizes merge commit message as "Changed" for changelog Tests Changes to tests labels Dec 3, 2024
@arvidn arvidn marked this pull request as ready for review December 3, 2024 12:24
@arvidn arvidn requested a review from a team as a code owner December 3, 2024 12:24
@arvidn arvidn merged commit 4d6e3bf into short_sync_backtrack_fix Dec 4, 2024
360 checks passed
@arvidn arvidn deleted the short-sync-backtrack-test branch December 4, 2024 11:44
pmaslana pushed a commit that referenced this pull request Dec 4, 2024
* fix short_sync_backtrack

* add test for a 1-block reorg in short_sync_backtrack() (#18966)

---------

Co-authored-by: Arvid Norberg <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changed Required label for PR that categorizes merge commit message as "Changed" for changelog Tests Changes to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants