Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(bonsai-ui): migrate markets #1483

Merged
merged 5 commits into from
Jan 30, 2025
Merged

feat(bonsai-ui): migrate markets #1483

merged 5 commits into from
Jan 30, 2025

Conversation

tyleroooo
Copy link
Contributor

No description provided.

@tyleroooo tyleroooo requested a review from a team as a code owner January 29, 2025 22:25
Copy link

vercel bot commented Jan 29, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
v4-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 29, 2025 10:50pm
v4-testnet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 29, 2025 10:50pm

@@ -88,7 +88,7 @@ export const useTradingView = ({
[marketId: string]: number | undefined;
}>({});
const { tickSizeDecimals: tickSizeDecimalsAbacus } = orEmptyObj(
useAppSelector(getCurrentMarketConfig)
useAppSelector(BonsaiHelpers.currentMarket.stableMarketInfo)
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a weird hook. It is expecting indexer tickSizeDecimals as well as Abacus ones. I understand replacing the tickSizeDecimalsAbacus but maybe we can deprecate needing a fallback here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oh yeah what is happening here. Why would it load the tick size manually from the indexer instead of waiting for abacus to load it????? huuuh

@tyleroooo tyleroooo merged commit 48bcad3 into main Jan 30, 2025
9 checks passed
@tyleroooo tyleroooo deleted the tu/migrate-markets branch January 30, 2025 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants