Skip to content

feat: align mint quote accounting with NUT-04#2119

Open
thesimplekid wants to merge 2 commits into
cashubtc:mainfrom
thesimplekid:nut04_amount_paid
Open

feat: align mint quote accounting with NUT-04#2119
thesimplekid wants to merge 2 commits into
cashubtc:mainfrom
thesimplekid:nut04_amount_paid

fix(wallet): handle stale mint quote updates

d5257c1
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 17, 2026 in 0s

71.53% (+0.05%) compared to bfb5b8d

View this Pull Request on Codecov

71.53% (+0.05%) compared to bfb5b8d

Details

Codecov Report

❌ Patch coverage is 78.01609% with 82 lines in your changes missing coverage. Please review.
✅ Project coverage is 71.53%. Comparing base (bfb5b8d) to head (d5257c1).

Files with missing lines Patch % Lines
crates/cdk/src/wallet/streams/payment.rs 70.31% 38 Missing ⚠️
crates/cdk/src/wallet/issue/mod.rs 88.52% 14 Missing ⚠️
crates/cdk-ffi/src/types/quote.rs 10.00% 9 Missing ⚠️
crates/cdk-common/src/mint.rs 77.41% 7 Missing ⚠️
crates/cdk-common/src/mint_quote.rs 42.85% 4 Missing ⚠️
crates/cashu/src/nuts/nut23.rs 50.00% 3 Missing ⚠️
crates/cashu/src/nuts/nut25.rs 0.00% 2 Missing ⚠️
crates/cdk-supabase/src/wallet.rs 0.00% 2 Missing ⚠️
crates/cashu/src/nuts/nut04.rs 75.00% 1 Missing ⚠️
crates/cashu/src/nuts/nut17/mod.rs 96.55% 1 Missing ⚠️
... and 1 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2119      +/-   ##
==========================================
+ Coverage   71.48%   71.53%   +0.05%     
==========================================
  Files         356      356              
  Lines       73857    74154     +297     
==========================================
+ Hits        52798    53049     +251     
- Misses      21059    21105      +46     

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

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