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

MultihopEstimateInGivenExactAmountOut and MultihopEstimateOutGivenExactAmountIn panic recovering (backport #4248) #4258

Merged
merged 1 commit into from
Feb 8, 2023

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Feb 8, 2023

This is an automatic backport of pull request #4248 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

…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

(cherry picked from commit a33893d)
@mergify mergify bot assigned pysel Feb 8, 2023
@github-actions github-actions bot added C:app-wiring Changes to the app folder C:x/poolmanager labels Feb 8, 2023
@p0mvn p0mvn merged commit e81b86d into v15.x Feb 8, 2023
@p0mvn p0mvn deleted the mergify/bp/v15.x/pr-4248 branch February 8, 2023 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C:app-wiring Changes to the app folder C:x/poolmanager
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants