-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add fuzz testing for swap functionality, add rounding up (SC-48…
…2) (#22) * feat: update swap to swapExactAmountIn * feat: add preview test coverage * feat: add new function * feat: create new file, failure tests passing * ci: add coverage backgp * feat: get new swap tests passing * feat: set up initial test * feat: refactor code to add returns * feat: add return value assertions * feat: working fuzz test * feat: add swap exact out, show that rounding is against user * fix: update natspec * feat: refactor to round up on swap exact out * feat: all tests passing * fix: merge conflicts * fix: cleanup * feat: update tolerances * fix: update tolerance * fix: increase fuzz tolerance * fix: updat to totalAssets * fix: review changes
- Loading branch information
1 parent
e62dac2
commit 039ae15
Showing
4 changed files
with
355 additions
and
50 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.