Skip to content

Conversation

amesgen
Copy link
Member

@amesgen amesgen commented Aug 18, 2025

Description

Closes #4917 by relaxing the specification. Now, after an intersection for a point pt was negotiated, the server still must send MsgRollBackward, but it can either send a rollback to pt or to an earlier point.

The motivation for sending MsgRollBackward after MsgIntersectFound (simpler state management on the client side) is preserved by this change, and it simplifies the server implementation, ensuring that the current production ChainSync server implementation actually adheres to the spec.

Checklist

Quality

  • Commit sequence makes sense and have useful messages, see ref.
  • New tests are added and existing tests are updated.
  • Self-reviewed the PR.

Maintenance

  • Linked an issue or added the PR to the current sprint of ouroboros-network project.
  • Added labels.
  • Updated changelog files.
  • The documentation has been properly updated, see ref.

@amesgen amesgen added the documentation Network Documentation related tasks label Aug 18, 2025
@amesgen amesgen requested a review from a team as a code owner August 18, 2025 18:04
@github-project-automation github-project-automation bot moved this to In Progress in Ouroboros Network Aug 18, 2025
@amesgen amesgen enabled auto-merge August 18, 2025 18:04
@amesgen amesgen added this pull request to the merge queue Aug 25, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Aug 25, 2025
@amesgen amesgen added this pull request to the merge queue Aug 26, 2025
github-merge-queue bot pushed a commit that referenced this pull request Aug 26, 2025
network-spec: relax requirement after `MsgIntersectFound`
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Aug 26, 2025
@amesgen amesgen added this pull request to the merge queue Aug 26, 2025
Merged via the queue into main with commit 4ed116a Aug 26, 2025
12 checks passed
@amesgen amesgen deleted the amesgen/chainsync-spec-relax branch August 26, 2025 09:15
@github-project-automation github-project-automation bot moved this from In Progress to Done in Ouroboros Network Aug 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Network Documentation related tasks
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

chainSyncServerExample does not adhere to the spec
2 participants