Skip to content

Conversation

@kaf-lamed-beyt
Copy link
Contributor

calculateRequiredAllowances(), supposedly, is the entry point for all the calculate* functions in /core/payments.

calling padSizeToPDPLeaves once in it, shares that converted value with the rest.

closes #213

calculateRequiredAllowances(), supposedly, is the entry point for all the calculate* functions in /core/payments.

calling padSizeToPDPLeaves once in it, shares that converted with the rest.
@kaf-lamed-beyt
Copy link
Contributor Author

how does this look, @SgtPooki?

Copy link
Collaborator

@SgtPooki SgtPooki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@SgtPooki SgtPooki merged commit 4b2b28f into filecoin-project:master Nov 25, 2025
11 of 12 checks passed
@kaf-lamed-beyt
Copy link
Contributor Author

quick one, @SgtPooki, did you eventually find the remaining pieceSize values?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: use padded rawSize for payment calculations

2 participants