-
Notifications
You must be signed in to change notification settings - Fork 170
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
feat: special asset pairs full implementation #2178
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2178 +/- ##
==========================================
- Coverage 75.38% 69.18% -6.21%
==========================================
Files 100 166 +66
Lines 8025 12551 +4526
==========================================
+ Hits 6050 8683 +2633
- Misses 1589 3316 +1727
- Partials 386 552 +166
|
// also check collateral value vs weighted borrow (borrow factor limit) | ||
otherCollateralValue, err := k.VisibleCollateralValue(ctx, otherCollateral, types.PriceModeLow) | ||
if err != nil { | ||
maxWithdraw := coin.Zero(uDenom) |
Check warning
Code scanning / CodeQL
Useless assignment to local variable Warning
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have given my approval and left some comments. Please have someone review this pull request as an extra precaution.
See TODO comments in code