Skip to content

Commit

Permalink
add TODO for genState fix
Browse files Browse the repository at this point in the history
  • Loading branch information
czarcas7ic committed Apr 11, 2023
1 parent 3ff88f7 commit 8436cd0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions x/concentrated-liquidity/position.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,10 @@ func (k Keeper) SetPosition(ctx sdk.Context,
Liquidity: liquidity,
}

// TODO: The following state mappings are not properly implemented in genState.
// (i.e. if you state export, these mappings are not retained.)
// https://github.com/osmosis-labs/osmosis/issues/4875

// Set the position ID to position mapping.
key := types.KeyPositionId(positionId)
osmoutils.MustSet(store, key, &position)
Expand Down

0 comments on commit 8436cd0

Please sign in to comment.