Files
zeekay 3c2f7408ae warp: drop codec/wrappers — inline firstErr helper
Replaces github.com/luxfi/codec/wrappers.Errs with a tiny per-package
firstErr helper that preserves the historical "first error wins"
semantics:

  - warp.firstErr (eventsocket.go, chainipc.go)
  - socket.firstErr (socket/socket.go)

No package in this module used wrappers.Packer; only wrappers.Errs. The
new helper is identity-equal for the same input sequence so on-disk /
on-wire behavior is unchanged.

Adds firsterr_test.go in both packages with:
  - referenceFirstErr mirroring the historical wrappers.Errs.Add
    behavior
  - cross-check across nil / single / multi / seeded cases including
    the seeded socket.Close pattern

Drops github.com/luxfi/codec from the direct require in go.mod.
2026-06-04 21:30:49 -07:00
..