Skip to content

Conversation

@rafaelcr
Copy link
Collaborator

@rafaelcr rafaelcr commented Dec 2, 2025

Handles potential forks in the Stacks chain by properly looking for existing blocks in the DB using both the height and hash instead of just the height.

With this fix, a deep re-org fork will be processed correctly from the right block ancestor.

Fixes #734

@rafaelcr rafaelcr marked this pull request as ready for review December 3, 2025 17:16
@rafaelcr rafaelcr requested a deployment to Development-mainnet December 3, 2025 17:26 — with GitHub Actions Waiting
@rafaelcr rafaelcr requested a deployment to Development-testnet December 3, 2025 17:26 — with GitHub Actions Waiting
@rafaelcr rafaelcr merged commit 2aae806 into migration Dec 3, 2025
8 of 10 checks passed
@rafaelcr rafaelcr deleted the fix/deep-reorg branch December 3, 2025 17:53
hirosystems-release-bot bot added a commit that referenced this pull request Dec 3, 2025
## [1.10.0-migration.10](v1.10.0-migration.9...v1.10.0-migration.10) (2025-12-03)

### Bug Fixes

* handle deep re-orgs correctly ([#735](#735)) ([2aae806](2aae806)), closes [#734](#734)
@hirosystems-release-bot
Copy link

🎉 This PR is included in version 1.10.0-migration.10 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants