Skip to content
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

Max deposit and repay #166

Open
wants to merge 2 commits into
base: upcoming
Choose a base branch
from
Open

Max deposit and repay #166

wants to merge 2 commits into from

Conversation

0xripleys
Copy link

support u64::MAX in the deposit_obligation_collateral, deposit_reserve_liquidity, repay_obligation_liquidity instructions. account for token balances when figuring out the maximum amount too.

@codecov-commenter
Copy link

codecov-commenter commented Sep 15, 2023

Codecov Report

Attention: Patch coverage is 96.27329% with 6 lines in your changes missing coverage. Please review.

Project coverage is 83.71%. Comparing base (8674673) to head (021d988).
Report is 5 commits behind head on upcoming.

Files Patch % Lines
token-lending/program/src/processor.rs 75.00% 6 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##           upcoming     #166      +/-   ##
============================================
+ Coverage     83.62%   83.71%   +0.09%     
============================================
  Files            50       50              
  Lines         18704    18863     +159     
============================================
+ Hits          15641    15792     +151     
- Misses         3063     3071       +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants