Skip to content

Fix IntersectNotFound CBOR encoding#575

Merged
scarmuega merged 1 commit into
txpipe:mainfrom
KtorZ:patch-1
Jan 9, 2025
Merged

Fix IntersectNotFound CBOR encoding#575
scarmuega merged 1 commit into
txpipe:mainfrom
KtorZ:patch-1

Conversation

@KtorZ
Copy link
Copy Markdown
Member

@KtorZ KtorZ commented Jan 9, 2025

IntersectNotFound carries both a label/tag and the tip of the node; so the size of the array must be of length 2.

See also: https://github.com/IntersectMBO/ouroboros-network/blob/efb64c78b8eb56027d9af12e3e786c5261ad5bd3/ouroboros-network-protocols/src/Ouroboros/Network/Protocol/ChainSync/Codec.hs#L144

IntersectNotFound carries both a label/tag and the tip of the node; so the size of the array must be of length 2. 

See also: https://github.com/IntersectMBO/ouroboros-network/blob/efb64c78b8eb56027d9af12e3e786c5261ad5bd3/ouroboros-network-protocols/src/Ouroboros/Network/Protocol/ChainSync/Codec.hs#L144

Signed-off-by: Matthias Benkort <5680256+KtorZ@users.noreply.github.com>
@scarmuega scarmuega merged commit fd8fdc9 into txpipe:main Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

3 participants