Skip to content

Conversation

crocodile-dentist
Copy link
Contributor

@crocodile-dentist crocodile-dentist commented Oct 2, 2025

Description

Using maybeToList will cause the accumulator to hold the trailing bytes twice.
This will result in the annotator grabbing the wrong
fragments in raw format. The messages will decode properly; however
if these raw fragments are forwarded to other peers, they will be
rejected and the remote will close the connection.

Formerly there were changes to testing code in this PR, but a different approach will be taken
after input-output-hk/typed-protocols#76

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.

@crocodile-dentist crocodile-dentist self-assigned this Oct 2, 2025
@crocodile-dentist crocodile-dentist requested a review from a team as a code owner October 2, 2025 14:27
@github-project-automation github-project-automation bot moved this to In Progress in Ouroboros Network Oct 2, 2025
@crocodile-dentist crocodile-dentist force-pushed the mw/bugfix-runannotateddecoder branch 2 times, most recently from 09bd875 to 7659b22 Compare October 3, 2025 07:16
Using maybeToList will cause the accumulator to hold the trailing
bytes twice. This will result in the annotator grabbing the wrong
fragments in raw format. The messages will decode properly; however
if these raw fragments are forwarded to other peers, they will be
rejected and the remote will close the connection.
@crocodile-dentist crocodile-dentist force-pushed the mw/bugfix-runannotateddecoder branch from 7659b22 to 7f73f2a Compare October 4, 2025 11:47
@crocodile-dentist crocodile-dentist requested a review from a team as a code owner October 4, 2025 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

1 participant