-
Notifications
You must be signed in to change notification settings - Fork 12
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
I'm testing pools/mode/v2/0x7c86a44778c52a0aad17860924b53bf3f35dc932000200000000000000000007/remove-liquidity
impersonated with 0x652AB9e3577eD85d7fC9A41fAFf68E9DA4Db00Ff
Going to single token shows the 25% warning but still shows an error:
We should avoid running the priceImpact
and simulation
if the 25% condition is true.
Tested again with the same pool/user. Now it works as expected but we are still getting some BAL#306 errors in price impact query when moving the slider to less than 25%. |
fixes #1096
Note: I added the warning as a
disabledReason
first so I created a TooltipWithTouch component to get the tooltips to show on mobile. However PK asked me to move the warning msg closer to the input but still keep the tooltips available on mobile in the remove-liquidity flow. So keep that change here or take it out and do another PR for it?