Skip to content

fix(dpp): return error instead of panicking on storage-fee refund div-by-zero - #3799

Merged
QuantumExplorer merged 2 commits into
v3.1-devfrom
claude/fix-storage-fee-divide-by-zero
Jun 7, 2026
Merged

QuantumExplorer merged 2 commits into
v3.1-devfrom
claude/fix-storage-fee-divide-by-zero

fix(dpp): restore liveness when storage-fee refund spans the full window

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

87.17% (-0.02%) compared to 9eca622

View this Pull Request on Codecov

87.17% (-0.02%) compared to 9eca622

Details

Codecov Report

❌ Patch coverage is 92.30769% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.17%. Comparing base (9eca622) to head (b4f2b1c).
⚠️ Report is 11 commits behind head on v3.1-dev.

Files with missing lines Patch % Lines
packages/rs-dpp/src/fee/epoch/distribution.rs 92.30% 7 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##           v3.1-dev    #3799      +/-   ##
============================================
- Coverage     87.18%   87.17%   -0.02%     
============================================
  Files          2624     2627       +3     
  Lines        321014   321631     +617     
============================================
+ Hits         279892   280366     +474     
- Misses        41122    41265     +143     
Components Coverage Δ
dpp 87.69% <92.30%> (-0.05%) ⬇️
drive 86.07% <ø> (+0.01%) ⬆️
drive-abci 89.48% <ø> (-0.06%) ⬇️
sdk ∅ <ø> (∅)
dapi-client ∅ <ø> (∅)
platform-version ∅ <ø> (∅)
platform-value 92.17% <ø> (ø)
platform-wallet ∅ <ø> (∅)
drive-proof-verifier 47.85% <ø> (ø)
🚀 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.