-
Notifications
You must be signed in to change notification settings - Fork 608
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) (#4258) * 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 (cherry picked from commit a33893d) Co-authored-by: Ruslan Akhtariev <[email protected]>
- Loading branch information
1 parent
55d9dc9
commit e81b86d
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