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

[CL]: Export state mappings to GenesisState #4875

Closed
czarcas7ic opened this issue Apr 10, 2023 · 0 comments
Closed

[CL]: Export state mappings to GenesisState #4875

czarcas7ic opened this issue Apr 10, 2023 · 0 comments
Assignees
Labels
F: concentrated-liquidity Tracking the development of concentrated liquidity feature to improve filtering on the project board

Comments

@czarcas7ic
Copy link
Member

czarcas7ic commented Apr 10, 2023

Background

We currently have five state mappings in CL:

  • PositionID to position
  • Address/Pool/PositionID to position
  • PoolID to positionID
  • PositionID to LockID
  • Full range total liquidity

These all need an entry in genesisState in order to allow us to properly export/import these connections

Added a TODO in code here 8436cd0

Suggested Design

  1. Add entries into genesisState for CL
  2. Edit genesis_test to ensure these connections are persisted

Acceptance Criteria

All four connections persist after export / init genesis

@czarcas7ic czarcas7ic added the F: concentrated-liquidity Tracking the development of concentrated liquidity feature to improve filtering on the project board label Apr 10, 2023
@stackman27 stackman27 self-assigned this Apr 13, 2023
@p0mvn p0mvn closed this as completed Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F: concentrated-liquidity Tracking the development of concentrated liquidity feature to improve filtering on the project board
Projects
Archived in project
Development

No branches or pull requests

3 participants