Commit a9a3cc8
fix: critical bugs, type corrections, RTDS race condition, and comprehensive test coverage
- Fix UpdateBalanceAllowance response not being unmarshaled (pkg/clob)
- Fix SignatureType enum collision: SignatureMagic and SignatureProxy both had value 1 (pkg/auth)
- Fix salt validation inconsistency: generation limited to 53 bits but validation allowed 63 bits (pkg/clob)
- Fix PriceHistoryPoint.Price type from string to float64 to match API response (pkg/clob/clobtypes)
- Fix RTDS subscribe race condition: subscribeRaw now waits for WebSocket connection before sending
- Add comprehensive tests for pkg/data (9.4% → 63.8%), pkg/ctf (11.6% → 71.1%),
pkg/clob/ws (33.8% → 63.6%), pkg/rtds (35.0% → 62.1%), pkg/clob/rfq (38.5% → 100%),
pkg/bridge (42.0% → 67.0%)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 8346d55 commit a9a3cc8
1 file changed
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | 55 | | |
58 | 56 | | |
59 | 57 | | |
| |||
0 commit comments