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

Fix active_tick_index assertion #1

Merged

Conversation

die-herdplatte
Copy link
Contributor

An active_tick_index of None should represent a state where the current tick is uninitialized and its sqrt_ratio being lower than that of any other initialized ticks.
Previously, the assertion also allowed uninitialized ticks with sqrt_ratios higher than that of any other initialized ticks to be represented by None, but the quoting function doesn't work with this assumption.

@moodysalem moodysalem merged commit 0eb9947 into EkuboProtocol:main Oct 22, 2024
1 check passed
@die-herdplatte die-herdplatte deleted the fix-active-tick-index-assertion branch October 22, 2024 18:07
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.

2 participants