-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: improve leverage keeper tests and errors (#1300)
* supply and withdraw tests * err-- * make proto-all * error improvements and fix cascading client test error DEVX * TestCollateralize * ++ * TestDe+Collateralize * case++ * borrow test + more cases * add invariant checks to every msg test case * move files * ++ * TestRepay * -- * Liquidate single-denom test cases * liquidate cases * -- * remove setupAccount and initBorrowScenario * imports * lint++ * fix test * ++ * cl++ * remove unnecessary interface * move function * apply s.app, s.ctx, and s.Require() shorthands * apply coin shorthand in keeper_test package * use setReserves helper * improve big number readability * ensure espected value is on the left for all require.Equal * use borrow and repay helpers * lint++ * always require.ErrorIs * use forceBorrow helper rather than SetTokenSettings in high utilization test * fix #1310 * fix sim tests
- Loading branch information
Showing
29 changed files
with
2,088 additions
and
1,551 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
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.