-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Increased rounding in swapTokensForExactTokens to cover 1-2 wei lost with stETH transfers Added test_SwapTokensForExactTokens_Steth_Transfer_Truncated test Added test modifiers disableCaps, setPrices and setArmBalances * Updated fuzz tests for SwapTokensForExactTokens * Added to SwapExactTokensForTokens fuzz tests * Added workaround to swapExactTokensForTokens fuzz test * fix: adjust test structure. * fix: initialize `accountCapEnabled` to false. * fix: adjust lastTotalAsset check after swap. --------- Co-authored-by: Clément <clemmoller@gmail.com>
- Loading branch information
1 parent
18b96c8
commit 6427782
Showing
11 changed files
with
406 additions
and
178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.