Skip to content

Conversation

@divhead
Copy link
Contributor

@divhead divhead commented Dec 4, 2025

Note

Adds an AB flag that, when enabled, forces useOpenInterestInTokensForBalance to true in the markets constants hook, overriding the on-chain value.

  • AB Config:
    • Adds useOpenInterestInTokensForBalance flag to src/config/ab.ts.
  • Markets:
    • In useMarketsConstantsRequest, reads the new AB flag and overrides useOpenInterestInTokensForBalance to true when enabled, otherwise uses the on-chain DataStore value.
    • Minor refactor: extracts on-chain return value before assignment.

Written by Cursor Bugbot for commit 1dab47d. This will update automatically on new commits. Configure here.

@cloudflare-workers-and-pages
Copy link

Deploying gmx-interface with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1dab47d
Status: ✅  Deploy successful!
Preview URL: https://3bd121a3.gmx-interface.pages.dev
Branch Preview URL: https://oi-skew-debug.gmx-interface.pages.dev

View logs

@cloudflare-workers-and-pages
Copy link

Deploying gmx-interface-home with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1dab47d
Status: ✅  Deploy successful!
Preview URL: https://283903cd.gmx-interface-home.pages.dev
Branch Preview URL: https://oi-skew-debug.gmx-interface-home.pages.dev

View logs

@xhiroz
Copy link
Contributor

xhiroz commented Dec 6, 2025

@cursor review

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no bugs!


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.

3 participants