-
Notifications
You must be signed in to change notification settings - Fork 602
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MultihopEstimateInGivenExactAmountOut
and `MultihopEstimateOutGiven…
…ExactAmountIn` panic recovering (#4248) * add panic recovering to multihop estimate functions * unit test for making sure recovery works as expected * change error message * separate tests * refactoring * refactor * add panic catching to RouteExactAmountOut * add panic catching assertions to existing tests * delete old unit tests * remove fmt * hardcoded stableswap to enum * getSetupPoolsStrategy as a helper function * remove callback return * remove redundant swap fee variable * .String rm * docs fix/rename * typo * typo2 * changelog entry
- Loading branch information
Showing
4 changed files
with
210 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters