mirror of
https://github.com/hanzoai/base.git
synced 2026-10-21 03:41:50 +00:00
* feat(base): HIP-0110 ZAP server (Forward + reverse Push) * refactor(base): tighten HIP-0110 ZAP server * fix(zap): MsgType IDs must fit in uint8 — type<<8 overflows uint16 Aligns base internal/zap/server.go with github.com/hanzoai/gateway/zap_wire.go. Constants were 0x1010/0x1020/0x1030; zap.FinishWithFlags shifts type<<8 into the upper byte of a uint16, so types > 0xFF overflow. Repinned to 0x80/0x81/0x82 to match the gateway side.