Skip to content

Conversation

@rafaelcr
Copy link
Collaborator

@rafaelcr rafaelcr commented Sep 8, 2025

This PR fixes Stacks node / Chainhooks sync issues

  • Completely ignore old blocks and reject any new blocks that come with a gap, imitating Hiro API's behavior
  • Wait until all block processing is done before sending a 200 response to the Stacks node

This forces the node to always be in sync with Chainhooks and will make it much easier to debug and restore from snapshots

@rafaelcr rafaelcr marked this pull request as ready for review September 9, 2025 00:56
@rafaelcr rafaelcr merged commit 4b6c03a into migration Sep 9, 2025
8 of 10 checks passed
@rafaelcr rafaelcr deleted the fix/node-sync branch September 9, 2025 00:56
hirosystems-release-bot bot added a commit that referenced this pull request Sep 9, 2025
## [1.10.0-migration.2](v1.10.0-migration.1...v1.10.0-migration.2) (2025-09-09)

### Bug Fixes

* synchronize stacks block append and eval with stacks node ([#723](#723)) ([4b6c03a](4b6c03a))
@hirosystems-release-bot
Copy link

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

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