-
Notifications
You must be signed in to change notification settings - Fork 308
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
pcli tx lp order sell
gives a mispriced position when used with delegation tokens
#2579
Closed
Tracked by
#1724
Comments
I think this is probably related to denom metadata issues? |
Added some debug statements:
Looks like the |
The |
hdevalence
added a commit
that referenced
this issue
May 18, 2023
This causes #2579, in combination with our (bad) behavior of the asset registry silently inventing new assets: the denom got truncated, and interpreted as a new and unknown asset.
erwanor
pushed a commit
that referenced
this issue
May 19, 2023
This causes #2579, in combination with our (bad) behavior of the asset registry silently inventing new assets: the denom got truncated, and interpreted as a new and unknown asset.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To Reproduce
Create a position selling one delegation token for another at a 1:1 price:
The position has a price off by a factor of 1,000,000:
Expected behavior
p
andq
should be identical, since the price is supposed to be 1.The text was updated successfully, but these errors were encountered: