Skip to content

Handle /quotes 500 error when the input amount exceeds the swap-pool reserves #628

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

Open
1 task
Sharqiewicz opened this issue May 8, 2025 · 0 comments · May be fixed by #661
Open
1 task

Handle /quotes 500 error when the input amount exceeds the swap-pool reserves #628

Sharqiewicz opened this issue May 8, 2025 · 0 comments · May be fixed by #661
Assignees

Comments

@Sharqiewicz
Copy link
Member

Now when an user inputs an amount that exceeds the Swap Pool Reserves and the output cannot be calculated - we don't show any response on the frontend - it is just loading endlessly.

Todo:

  • Show an error on the frontend with a user-friendly message
@Sharqiewicz Sharqiewicz self-assigned this May 8, 2025
@Sharqiewicz Sharqiewicz linked a pull request May 22, 2025 that will close this issue
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 a pull request may close this issue.

1 participant