Skip to content

Fix sponsor reserve accounting edge cases#7575

Merged
yinyiqian1 merged 8 commits into
XRPLF:xrplf/sponsorfrom
yinyiqian1:fix-sponsir-tickets
Jun 22, 2026
Merged

Fix sponsor reserve accounting edge cases#7575
yinyiqian1 merged 8 commits into
XRPLF:xrplf/sponsorfrom
yinyiqian1:fix-sponsir-tickets

fix vault invariant

09ce53d
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 22, 2026 in 0s

82.2% (target 75.0%)

View this Pull Request on Codecov

82.2% (target 75.0%)

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.2%. Comparing base (d1a77b4) to head (09ce53d).

Additional details and impacted files

Impacted file tree graph

@@               Coverage Diff               @@
##           xrplf/sponsor   #7575     +/-   ##
===============================================
- Coverage           82.2%   82.2%   -0.0%     
===============================================
  Files               1016    1016             
  Lines              78401   78407      +6     
  Branches            9012    9014      +2     
===============================================
+ Hits               64440   64443      +3     
- Misses             13952   13955      +3     
  Partials               9       9             
Files with missing lines Coverage Δ
include/xrpl/protocol/detail/transactions.macro 100.0% <ø> (ø)
...rotocol_autogen/transactions/SponsorshipTransfer.h 100.0% <ø> (ø)
src/libxrpl/tx/invariants/VaultInvariant.cpp 98.4% <100.0%> (+<0.1%) ⬆️
...rpl/tx/transactors/Sponsor/SponsorshipTransfer.cpp 90.2% <100.0%> (+0.1%) ⬆️
src/libxrpl/tx/transactors/payment/Payment.cpp 92.4% <100.0%> (+<0.1%) ⬆️

... and 2 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.