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

how to handle the case where combined oracle price is outside of min/max supported price #7

Open
moodysalem opened this issue Sep 5, 2024 · 0 comments

Comments

@moodysalem
Copy link
Member

the average ticks added up can exceed min/max tick, which means we can't compute the price because it's less than or greater than 2**128/1

currently we just revert, but it's not clear how we should actually handle this edge case. it is unlikely to be beneficial to succeed in the case that the queried token pairing has a negligible price

@EkuboProtocol EkuboProtocol deleted a comment Sep 5, 2024
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

No branches or pull requests

1 participant