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 requested a review from almogdepaz December 3, 2024 12:19
@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 force-pushed the short-sync-backtrack-test branch from e0a0f75 to a275a82 Compare December 3, 2024 23:50
@arvidn arvidn force-pushed the short-sync-backtrack-test branch from a275a82 to 9f94652 Compare December 4, 2024 07:57
@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