Conversation
0a44feb to
b168f55
Compare
93414e1 to
5a932ab
Compare
5c0c116 to
5748817
Compare
5748817 to
c5df1e6
Compare
c5df1e6 to
06a4cc9
Compare
Contributor
|
I removed the DBSync fixes. I think they were not necessery, tests pass without them and one of them was introducing an issue. I also made sure the block after a rollback is a new one, so deletion is always triggered on the DBSync side. Finaly I added |
kderme
approved these changes
Mar 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This fixes #2045 #2050
Fixed two bugs in db-sync:
Bug 1: ChainSync client hang after genesis fallback
After re-intersecting at genesis, clientTip wasn't reset to Origin, causing the pipeline policy to think the client was ahead of the server and stop requesting blocks.
Fix: Reset clientTip to Origin when re-intersecting at genesis.
Bug 2: Missing database fallback for intersection points
When no ledger state snapshots are available after restart, getLatestPoints had no intersection points to sync from.
Fix: Query database for recent blocks when no snapshots are available.
Checklist
fourmoluon version 0.17.0.0 (which can be run withscripts/fourmolize.sh)Migrations
If there is a breaking change, especially a big one, please add a justification here. Please elaborate
more what the migration achieves, what it cannot achieve or why a migration is not possible.