Skip to content

Correct storage cost and fee calculations - #946

Open
hugomrdias wants to merge 1 commit into
masterfrom
hugomrdias/audit-costs-and-fee-calculations
Open

Correct storage cost and fee calculations#946
hugomrdias wants to merge 1 commit into
masterfrom
hugomrdias/audit-costs-and-fee-calculations

Conversation

@hugomrdias

Copy link
Copy Markdown
Member

Summary

  • Audit and correct warm-storage cost, deposit, lockup, reserve, and upload-fee calculations
  • Add PDP dataset size and leaf-count helpers plus related exports and mocks
  • Update multi-context storage cost handling and refresh storage documentation
  • Expand unit test coverage across core calculations and storage services

Testing

  • Added and updated unit tests for cost calculations, dataset sizing, PDP helpers, and storage workflows

@hugomrdias
hugomrdias requested review from a team, BigLep, jennijuju, rjan90 and rvagg as code owners August 27, 2026 14:21
@github-project-automation github-project-automation Bot moved this to 📌 Triage in FOC Aug 27, 2026
@pkg-pr-new

pkg-pr-new Bot commented Aug 27, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@filoz/synapse-core@946
npm i https://pkg.pr.new/@filoz/synapse-react@946
npm i https://pkg.pr.new/@filoz/synapse-sdk@946

commit: 0c729da

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 27, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
synapse-dev 0c729da Commit Preview URL

Branch Preview URL
Aug 27 2026, 02:37 PM

@hugomrdias hugomrdias added this to the 202608 Contract Release milestone Aug 27, 2026
@BigLep BigLep moved this from 📌 Triage to 🔎 Awaiting review in FOC Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🔎 Awaiting review

2 participants