Skip to content

test(api): fix the online test suite#156

Merged
nktkas merged 1 commit into
mainfrom
test/fix-online-tests
Jun 19, 2026
Merged

test(api): fix the online test suite#156
nktkas merged 1 commit into
mainfrom
test/fix-online-tests

Conversation

@nktkas

@nktkas nktkas commented Jun 19, 2026

Copy link
Copy Markdown
Owner

What & why

  • exchange/_t.ts: raise the openOrder notional above the $10 minimum.
  • subAccounts, subAccounts2, webData2, spotState: ignore the testnet-absent portfolio-margin / borrow-lend spotState fields.
  • userHistoricalOrders, webData2: ignore the order children subtree.

Type of change

  • Bug fix
  • New API method / feature
  • Schema/type update to match the Hyperliquid API
  • Breaking change

- `exchange/_t.ts`: raise the `openOrder` notional above the $10 minimum.
- `subAccounts`, `subAccounts2`, `webData2`, `spotState`: ignore the testnet-absent portfolio-margin / borrow-lend `spotState` fields.
- `userHistoricalOrders`, `webData2`: ignore the order `children` subtree.

---

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
@nktkas
nktkas merged commit 797ad2c into main Jun 19, 2026
2 checks passed
@nktkas
nktkas deleted the test/fix-online-tests branch June 19, 2026 02:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant