You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LiquidityProxy quote with deduce fee has some calculation error for xyk-pool.
For example: LiquidityProxy quote that results 10 DAI for 1 XOR with deduced fee for desired input doesn't mean 1 XOR for 10 DAI for desired output.
Description
Steps to reproduce:
LiquidityProxy::quote is called with desired_input and deduce_fee flag is set, then some amount is returned
LiquidityProxy::quote is called with desired output with deduce fee and with the amount from step 1.
the resulting amount from step 2 is different from initial input amount.
Problem statement
LiquidityProxy quote with deduce fee has some calculation error for xyk-pool.
For example: LiquidityProxy quote that results 10 DAI for 1 XOR with deduced fee for desired input doesn't mean 1 XOR for 10 DAI for desired output.
Description
Steps to reproduce:
Definition of Done
Beforementioned test is added and passed.
Requirements
No response
The text was updated successfully, but these errors were encountered: