Skip to content

fix(sync): clear stale warp sync tracking after transition#3160

Open
replghost wants to merge 3 commits intoparitytech:mainfrom
replghost:fix/mixed-warp-sync-source-state
Open

fix(sync): clear stale warp sync tracking after transition#3160
replghost wants to merge 3 commits intoparitytech:mainfrom
replghost:fix/mixed-warp-sync-source-state

Conversation

@replghost
Copy link
Copy Markdown

Fixes #3159.

This adds deterministic regression coverage for mixed warp-sync/all-forks bookkeeping after the warp-sync transition and clears stale warp-sync IDs from sources and requests once the transition completes.

It also ignores mixed stale bookkeeping in add_request() instead of panicking.

Validation:

  • cargo test -p parity-smoldot sync::all::tests -- --nocapture
  • cargo test -p parity-smoldot

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Raw Paseo chain_getFinalizedHead can panic in all.rs:851

1 participant