Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.

fix: handle deep re-orgs correctly - #735

Merged
rafaelcr merged 7 commits into
migrationfrom
fix/deep-reorg
Dec 3, 2025
Merged

rafaelcr merged 7 commits into
migrationfrom
fix/deep-reorg

Conversation

@rafaelcr

@rafaelcr rafaelcr commented Dec 2, 2025 •

Copy link
Copy Markdown
Collaborator

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 had a problem deploying to Development-mainnet December 3, 2025 17:26 — with GitHub Actions Failure
@rafaelcr
rafaelcr had a problem deploying to Development-testnet December 3, 2025 17:26 — with GitHub Actions Failure
@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
Copy Markdown

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

The release is available on GitHub release

Your semantic-release bot 📦🚀

This branch had an error being deployed

2 failed deployments
Development-mainnet — 224e9ee2 Deployed Dec 3, 2025 by rafaelcr via deploy-dev (mainnet) #1722
Development-testnet — 224e9ee2 Deployed Dec 3, 2025 by rafaelcr via deploy-dev (testnet) #1722
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant