Skip to content

Conversation

@fforbeck
Copy link
Member

Fix egress queue serialization using DAG-JSON encoding

Replace manual array/object serialization with DAG-JSON encoding for egress tracking queue messages. This properly handles CIDs and Uint8Arrays, fixing "Unexpected end of data" errors in the egress-consumer.

Changes

  • Freeway: Use dagJSON.encode() to serialize queue messages containing invocation data and CIDs
  • Tests: Updated to decode DAG-JSON messages before assertions

@fforbeck fforbeck self-assigned this Nov 18, 2025
@fforbeck fforbeck force-pushed the feat/dagjson-egress-event branch from 9bb98f1 to 6332a33 Compare November 18, 2025 19:55
@fforbeck fforbeck merged commit ae6c857 into main Nov 18, 2025
1 check passed
@fforbeck fforbeck deleted the feat/dagjson-egress-event branch November 18, 2025 19:57
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.

3 participants