mirror of
https://github.com/luxfi/dex.git
synced 2026-09-24 00:26:31 +00:00
- Add io.LimitReader on all HTTP response body reads (1MB broker, 4KB EVM) - Add http.MaxBytesReader on all POST handlers (1MB request bodies) - Add Swapper field to SwapRequest, use as tx From address - Fix writeJSON to log encoding errors - Remove dead code: isNativeVenue, unused fmt import, amount blank assign - Document stub endpoints (handleSwapStatus, handleCheckApproval) - Clarify V3 fee conversion (BPS * 100 = V3 fee units) - Remove duplicate precompile address constants from venue_native.go - Add uint256 overflow panic in padUint256 Coverage: 77.1% (40 tests, all pass)