Files
zeekay 3cbd39e2b7 coreth/network + tests/warp/aggregator: drop github.com/luxfi/codec
Wave 2C of codec rip (#101). Two leaf migrations in coreth that do
not depend on the atomic/ rip (Wave 2B):

network/network_test.go:
  Replace the linearcodec+codec.NewManager test scaffold with a
  test-local testCodec implementing message.Manager (the only surface
  network.NewNetwork actually consumes from its codec parameter).
  Hand-rolled wire: u16 version, optional u32 typeID for
  pointer-to-interface marshalling, u16-length-prefixed strings for
  the small closed set of test types (Hello/Greeting Request/Response,
  TestMessage, HelloGossip). Production network.go already wired to
  message.Manager — this just removes the last codec.Manager smell
  from the test surface.

tests/warp/aggregator/signature_getter.go:
  Drop the unused networkCodec field and constructor parameter. The
  field was stored but never read — request/response framing goes
  through warp.MarshalSignatureRequest / warp.UnmarshalSignatureResponse
  and never touched the codec. NewSignatureGetter has no callers in
  the tree (the only consumer in tests/warp/warp_test.go uses
  apiSignatureGetter), so dropping the parameter has no callsite
  fallout.

Tests pass: network/ and tests/warp/aggregator/.
2026-06-06 00:38:06 -07:00
..
2025-07-31 21:45:39 +00:00