Skip to content

Conversation

@Tapanito
Copy link
Collaborator

@Tapanito Tapanito commented Dec 3, 2025

Fixes small bugs:

  • Changes LoanPay to handle errors returned by the call to unimpairLoan in LoanPay.

ximinez and others added 7 commits December 1, 2025 14:40
- Exclude LogicError lines in ApplyView.cpp (specifically directory
  operations) from code coverage.
- Replace the ability to set the next page on a new directory page with
  an assert, because nothing uses it right now.
- Early return with success for batch inner transactions in preflight2.
…iminez/lending-XLS-66-2

* XRPLF/ximinez/develop-nolending:
  Revert "Implement Lending Protocol (unsupported) (5270)"
  Implement Lending Protocol (unsupported) (5270)
- Originally defined as uint64_t, but the testIssuerLoan() test called
  it with a negative number, causing an overflow to a very large number
  that in some circumstances could be silently cast back to an int64_t,
  but might not be. I believe this is UB, and we don't want to rely on
  that.
@Tapanito Tapanito requested a review from ximinez December 3, 2025 14:06
@Tapanito Tapanito changed the title Adds check to handle errors occured in LoanPay::unimpairLoan Lending Protocol: minor bug-fixes Dec 3, 2025
@Tapanito Tapanito force-pushed the tapanito/lending-check-error branch 2 times, most recently from d258a0c to 55d2502 Compare December 3, 2025 14:18
@Tapanito Tapanito force-pushed the tapanito/lending-check-error branch from 55d2502 to 7f7fda5 Compare December 3, 2025 14:19
@codecov
Copy link

codecov bot commented Dec 3, 2025

Codecov Report

❌ Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 79.0%. Comparing base (43a6f10) to head (4526d6b).

Files with missing lines Patch % Lines
src/xrpld/app/tx/detail/LoanPay.cpp 75.0% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@                       Coverage Diff                        @@
##           ximinez/lending-XLS-66-ongoing   #6101     +/-   ##
================================================================
- Coverage                            79.1%   79.0%   -0.0%     
================================================================
  Files                                 839     839             
  Lines                               71376   71379      +3     
  Branches                             8336    8339      +3     
================================================================
+ Hits                                56424   56425      +1     
- Misses                              14952   14954      +2     
Files with missing lines Coverage Δ
src/xrpld/app/tx/detail/LoanPay.cpp 95.1% <75.0%> (-0.4%) ⬇️

... and 4 files with indirect coverage changes

Impacted file tree graph

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ximinez ximinez force-pushed the ximinez/lending-XLS-66-2 branch from 335b9be to c953073 Compare December 3, 2025 17:37
@ximinez ximinez requested a review from a team as a code owner December 3, 2025 17:37
@ximinez ximinez changed the base branch from ximinez/lending-XLS-66-2 to ximinez/lending-XLS-66-ongoing December 3, 2025 18:09
@Tapanito Tapanito force-pushed the tapanito/lending-check-error branch from 335a1ac to 372fa71 Compare December 8, 2025 12:52
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.

3 participants