Skip to content

broadcast,transport: errors parity + QUIC RS outbound chunks (#48 #49)#52

Merged
ch4r10t33r merged 1 commit into
mainfrom
feat/broadcast-errors-quic-outbound
Apr 16, 2026
Merged

broadcast,transport: errors parity + QUIC RS outbound chunks (#48 #49)#52
ch4r10t33r merged 1 commit into
mainfrom
feat/broadcast-errors-quic-outbound

Conversation

@ch4r10t33r
Copy link
Copy Markdown
Collaborator

#49broadcast/errors.go parity

  • New src/broadcast/errors.zig: stable Error set matching the reference (engine/channel/chunk names).
  • Engine.attachChannelRs uses errors.Error (pub const Error re-exported from engine.zig).
  • Missing session / duplicate publish: InvalidMessage (replaces ad-hoc UnknownMessage / DuplicateMessage in those paths).
  • RelayAsyncVerifier.Error includes errors.Error.

#48 — Origin RS outbound over QUIC

Closes #48
Closes #49

#49)

Add broadcast/errors.zig (Engine/Channel/Chunk names aligned with ethp2p).
Engine.attachChannelRs returns errors.Error; relay paths use InvalidMessage
for unknown session; relay_async_verify merges errors.Error.

peerSendRsChunk opens a CHUNK UNI and writes writeRsShardChunk; SessionRs
drainOutboundOverQuic and ChannelRs.sessionDrainOutboundOverQuic drive the
scheduler with a send callback. EngineQuicHost uses ChannelNotFound.

Integration test: QUIC origin outbound CHUNK over peerSendRsChunk +
sessionDrainOutboundOverQuic.

Closes #48
Closes #49
@ch4r10t33r ch4r10t33r marked this pull request as draft April 16, 2026 19:54
@ch4r10t33r ch4r10t33r marked this pull request as ready for review April 16, 2026 19:56
@ch4r10t33r ch4r10t33r merged commit 9bcca92 into main Apr 16, 2026
6 checks passed
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.

broadcast: typed error parity with ethp2p broadcast/errors.go broadcast, transport: wire origin RS outbound CHUNK sends over QUIC

1 participant