Skip to content

Commit a9a3cc8

Browse files
dongowuclaude
andcommitted
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

File tree

pkg/data/impl_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ func (d *staticDoer) Do(req *http.Request) (*http.Response, error) {
5252

5353
func intPtr(v int) *int { return &v }
5454
func int64Ptr(v int64) *int64 { return &v }
55-
func strPtr(v string) *string { return &v }
56-
func boolPtr(v bool) *bool { return &v }
5755

5856
func TestNewClientNilTransport(t *testing.T) {
5957
// Should not panic with nil transport.

0 commit comments

Comments
 (0)