Skip to content

feat(platform)!: require fee history for storage refunds and credit their recorded owners - #4706

Open
DCG-Claude wants to merge 13 commits into
v4.3-devfrom
dashvm/r12-02
Open

DCG-Claude wants to merge 13 commits into
v4.3-devfrom
dashvm/r12-02

refactor(drive): read each refund owner once when crediting its balance

f26c668
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Sep 13, 2026 in 0s

82.81% (-1.29%) compared to d020728

View this Pull Request on Codecov

82.81% (-1.29%) compared to d020728

Details

Codecov Report

❌ Patch coverage is 90.14778% with 120 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.81%. Comparing base (d020728) to head (f26c668).

Files with missing lines Patch % Lines
packages/rs-drive/src/drive/group/mod.rs 61.31% 53 Missing ⚠️
packages/rs-drive/src/fees/op.rs 86.99% 32 Missing ⚠️
...dit_storage_refunds_to_owners_operations/v0/mod.rs 98.07% 11 Missing ⚠️
...ration/strip_unknown_document_schema_properties.rs 94.44% 7 Missing ⚠️
packages/rs-drive/src/fees/calculate_fee/v1/mod.rs 75.86% 7 Missing ⚠️
...credit_storage_refunds_to_owners_operations/mod.rs 83.33% 5 Missing ⚠️
packages/rs-drive/src/fees/calculate_fee/mod.rs 94.02% 4 Missing ⚠️
packages/rs-drive/src/drive/document/update/mod.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##           v4.3-dev    #4706      +/-   ##
============================================
- Coverage     84.10%   82.81%   -1.29%     
============================================
  Files          2797     2801       +4     
  Lines        379933   386062    +6129     
============================================
+ Hits         319541   319727     +186     
- Misses        60392    66335    +5943     
Components Coverage Δ
dpp 84.72% <ø> (-0.01%) ⬇️
drive 81.74% <90.14%> (-0.21%) ⬇️
drive-abci 88.12% <ø> (-0.01%) ⬇️
sdk ∅ <ø> (∅)
dapi-client ∅ <ø> (∅)
platform-version ∅ <ø> (∅)
platform-value 66.85% <ø> (-26.08%) ⬇️
platform-wallet ∅ <ø> (∅)
drive-proof-verifier 43.67% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.