-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat/exotic repayment settlement tests (#76)
* update for simple interest pricing to ensure old and new decimals are the same, update _settleLoan helper, add exotic repayment/settlement testing with custom pricing and settlement modules * update fuzzers with random erc20 and decimals, update applyRefinanceConsideration to just override the debt based on incoming payment data from getRefinanceConsideration * simply return from applyRefinanceConsideration * chore: snapshot * update order of operations to account for changes to the applyRefinanceConsiderationToLoan method accessing memory directly
- Loading branch information
1 parent
92c45f0
commit 4e0b967
Showing
8 changed files
with
551 additions
and
177 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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.