feat(CL): gamm refactor, switch to swaprouter for pool creation & swaps (merge to main 4) #3504
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes: #XXX
What is the purpose of the change
We would like to drop
concentrated-liquidity-main
branch to avoid branch synching overhead. As part of that, we are going to be incrementally merging the current concentrated liquidity feature state tomain
.All this logic has already been given a round of reviews since we treated
concentrated-liqudiity-main
branch asmain
with appropriate review processes.This particular PR does the following:
swaprouter
moduleAll deleted tests have been ported from
gamm
toswaprouter
in previous PRs:main
#1) #3489main
2) #3491This is the final swaprouter PR. As soon as we merge gamm refactor, the swap router can be fully enabled.
For the latest state of the feature that we are merging, see: https://github.com/osmosis-labs/osmosis/tree/concentrated-liquidity-main
See spec: https://github.com/osmosis-labs/osmosis/pull/3052/files