You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently panic when there is an issue with the solver or core AMM math. We should catch these panics at the keeper level and return errors as we do with spot prices for balancer pools.
Suggested Design
Catch panics and turn into errors with appropriate error messages
Acceptance Criteria
All new and existing tests pass
The text was updated successfully, but these errors were encountered:
Background
We currently panic when there is an issue with the solver or core AMM math. We should catch these panics at the keeper level and return errors as we do with spot prices for balancer pools.
Suggested Design
Acceptance Criteria
The text was updated successfully, but these errors were encountered: