squeeth-monorepo icon indicating copy to clipboard operation
squeeth-monorepo copied to clipboard

Tests for controller helper should all test with slippage included

Open aleone opened this issue 2 years ago • 0 comments

Tests for controller helper should all test with slippage included. This pattern ensures that we test the refund/burn/etc of excess eth/weth/oSQTH. It is also best to explicitly check if the user receives the correct amount back (difference between the static call of a swap vs the amount with slippage included)

aleone avatar Apr 11 '22 04:04 aleone