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

refactor: reduce number of returns for creating full range position #6004

Merged
merged 2 commits into from
Aug 9, 2023

Conversation

p0mvn
Copy link
Member

@p0mvn p0mvn commented Aug 9, 2023

Progress towards: #5984

What is the purpose of the change

Refactoring full range position creation to return 1 struct instead of 4 values.

Testing and Verifying

This change is already covered by existing tests

Documentation and Release Note

  • Does this pull request introduce a new feature or user-facing behavior changes?
  • Changelog entry added to Unreleased section of CHANGELOG.md?

Where is the change documented?

  • Specification (x/{module}/README.md)
  • Osmosis documentation site
  • Code comments?
  • N/A

@github-actions github-actions bot added C:x/lockup C:x/gamm Changes, features and bugs related to the gamm module. C:x/superfluid C:app-wiring Changes to the app folder C:x/concentrated-liquidity labels Aug 9, 2023
@p0mvn
Copy link
Member Author

p0mvn commented Aug 9, 2023

devbot add changelog api reduce number of returns for creating full range position

@p0mvn p0mvn added V:state/compatible/backport State machine compatible PR, should be backported A:backport/v16.x backport patches to v16.x branch labels Aug 9, 2023
@p0mvn p0mvn marked this pull request as ready for review August 9, 2023 16:27
Copy link
Member

@ValarDragon ValarDragon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great!

Copy link
Member

@czarcas7ic czarcas7ic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super nice, merging, thanks for doing this!

@czarcas7ic czarcas7ic merged commit 07c8556 into main Aug 9, 2023
@czarcas7ic czarcas7ic deleted the roman/full-range-return-reduce branch August 9, 2023 21:08
mergify bot pushed a commit that referenced this pull request Aug 9, 2023
…6004)

* refactor: reduce number of returns for creating full range position

* update changelog

---------

Co-authored-by: devbot-wizard <141283918+devbot-wizard@users.noreply.github.com>
(cherry picked from commit 07c8556)

# Conflicts:
#	CHANGELOG.md
#	app/upgrades/v17/upgrades.go
#	x/concentrated-liquidity/lp_test.go
#	x/concentrated-liquidity/position.go
#	x/concentrated-liquidity/position_test.go
#	x/superfluid/keeper/export_test.go
#	x/superfluid/keeper/migrate.go
p0mvn added a commit that referenced this pull request Aug 10, 2023
…backport #6004) (#6009)

* refactor: reduce number of returns for creating full range position (backport #6004)

* changelog

---------

Co-authored-by: Roman <roman@osmosis.team>
p0mvn added a commit that referenced this pull request Aug 29, 2023
…6004)

* refactor: reduce number of returns for creating full range position

* update changelog

---------

Co-authored-by: devbot-wizard <141283918+devbot-wizard@users.noreply.github.com>
@github-actions github-actions bot mentioned this pull request Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:backport/v16.x backport patches to v16.x branch C:app-wiring Changes to the app folder C:x/concentrated-liquidity C:x/gamm Changes, features and bugs related to the gamm module. C:x/lockup C:x/superfluid V:state/compatible/backport State machine compatible PR, should be backported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants