Skip to content

Conversation

@basfroman
Copy link
Collaborator

The problem is that if there are no positions, AlphaSqrtPrice is 0.

The current logic checks positions before calculating the price. This approach is compatible with Subtensor before and after the Root Claim implementation.

Subtensor PR with failed tests opentensor/subtensor#2053

@basfroman basfroman requested a review from a team October 23, 2025 02:40
@basfroman basfroman self-assigned this Oct 23, 2025
@basfroman basfroman added the bug Something isn't working label Oct 23, 2025
@basfroman basfroman merged commit 1ee203a into staging Oct 23, 2025
448 of 449 checks passed
@basfroman basfroman deleted the fix/roman/liquidity branch October 23, 2025 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants