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
IndexPool is currently failing on swap. The _getAmountOut function is returning an unexpectedly large number that causes an overflow when outRecord.amount is updated.
Also appears to be a logic error in the y value calculation - dividing tokenbalanceIn by itself
Isolated test here: https://github.com/sushiswap/trident/blob/master/test/IndexPool.test.ts
IndexPool is currently failing on swap. The _getAmountOut function is returning an unexpectedly large number that causes an overflow when outRecord.amount is updated.
Also appears to be a logic error in the y value calculation - dividing tokenbalanceIn by itself
The text was updated successfully, but these errors were encountered: