-
Notifications
You must be signed in to change notification settings - Fork 173
refactor: improve leverage keeper tests and errors #1300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
ca8df09
supply and withdraw tests
toteki d17672e
err--
toteki 3f6e746
make proto-all
toteki 18ad3f9
error improvements and fix cascading client test error DEVX
toteki 01a0d9d
TestCollateralize
toteki 55e0242
++
toteki 3ac25d8
TestDe+Collateralize
toteki fb2465d
case++
toteki 196a2dd
borrow test + more cases
toteki 0c89068
add invariant checks to every msg test case
toteki a7c28ad
move files
toteki c24c19b
++
toteki 7bf90ef
TestRepay
toteki da7a29d
--
toteki 8bdbc1f
Liquidate single-denom test cases
toteki 29075d0
liquidate cases
toteki f4d3fbf
--
toteki b6c065b
remove setupAccount and initBorrowScenario
toteki e0f12e0
Merge branch 'main' into adam/tests
toteki c317fae
imports
toteki 84b454b
lint++
toteki 137b60b
fix test
toteki 16f6087
++
toteki c951541
cl++
toteki abc1520
remove unnecessary interface
toteki 58d3dab
move function
toteki c38f47f
Merge branch 'main' into adam/tests
toteki 357b4c3
apply s.app, s.ctx, and s.Require() shorthands
toteki b0058d0
Merge branch 'adam/tests' of github.com:umee-network/umee into adam/t…
toteki 2d7c253
apply coin shorthand in keeper_test package
toteki 104e8f2
use setReserves helper
toteki f19ad73
improve big number readability
toteki d69a209
Merge branch 'main' into adam/tests
toteki 29464d2
ensure espected value is on the left for all require.Equal
toteki 95aa22b
use borrow and repay helpers
toteki 28c4707
lint++
toteki 2031109
always require.ErrorIs
toteki e4c6f67
use forceBorrow helper rather than SetTokenSettings in high utilizati…
toteki 09daf91
Merge branch 'main' into adam/tests
toteki ed7b666
Merge branch 'main' into adam/tests
toteki 187c0fe
fix #1310
toteki ace8889
Merge branch 'main' into adam/tests
toteki b3379b6
fix sim tests
toteki e526216
Merge branch 'main' into adam/tests
toteki ccec6f0
Merge branch 'main' into adam/tests
toteki File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.