-
Notifications
You must be signed in to change notification settings - Fork 607
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
feat: partial superfluid undelegate #5162
Merged
czarcas7ic
merged 30 commits into
adam/MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition-audit
from
adam/partial-superfluid-unstake
May 20, 2023
+627
−245
Merged
Changes from 2 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
61e3741
partial superfluid undelegate
czarcas7ic ac83d9f
further reduction of gas
czarcas7ic b72ea48
Update x/superfluid/keeper/migrate.go
czarcas7ic ec3672d
Merge branch 'adam/MsgUnlockAndMigrateSharesToFullRangeConcentratedPo…
czarcas7ic 749b82d
reduce code duplication lock and lockNoSend
czarcas7ic d783cd5
lockNoSend as default
czarcas7ic c7fd2bb
add bug fix with expanded tests
czarcas7ic eb8b67d
unit test for CreateLockNoSend
czarcas7ic 2a619ad
Update x/superfluid/keeper/migrate.go
czarcas7ic 03b1074
fix merge
czarcas7ic 0d1e2c5
partialSuperfluidUndelegate named return values
czarcas7ic d71ad69
expand test checks for migrateDelegated
czarcas7ic a7cd212
expanded bonded checks
czarcas7ic c20dded
check new lock and exact amount
czarcas7ic 91911c8
assign vars directly
czarcas7ic efb468c
Merge branch 'adam/MsgUnlockAndMigrateSharesToFullRangeConcentratedPo…
czarcas7ic 2c96b6d
update merge
czarcas7ic 1aa1f05
check newly created lock
czarcas7ic ff187c6
add extra logic branch for fail case
czarcas7ic 9a91185
split up partial superfluid undelegate func
czarcas7ic 83e6725
expand partial undelegate test case
czarcas7ic ead576b
roman's review
p0mvn ad73380
Update x/lockup/keeper/lock_test.go
p0mvn d596854
nit
p0mvn 38ae310
Merge branch 'adam/partial-superfluid-unstake' of github.com:osmosis-…
p0mvn 5ecec51
Merge branch 'adam/MsgUnlockAndMigrateSharesToFullRangeConcentratedPo…
czarcas7ic dfe204b
fix test
czarcas7ic c59c387
expand CreateLockNoSend comment
czarcas7ic d1c7b6f
rename lockNoSend back to lock
czarcas7ic 315e8a0
expand partial unlock comment
czarcas7ic File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you elaborate in the comment why this is needed? That is why we have
CreateLockNoSend
andCreateLock
. I would also copy this context intoCreateLock
godocThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment expanded here c59c387