Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Penalize BSP for stop storing a file and transfer to Treasury account #247

Merged
merged 5 commits into from
Nov 6, 2024

Conversation

snowmead
Copy link
Contributor

@snowmead snowmead commented Nov 1, 2024

Penalize the BSP for stopping to store a file. The extrinsic will fail if they do not have enough funds to pay for the fee. The fee is then transfered to the treasury account.

@snowmead snowmead requested review from ffarall and TDemeco November 1, 2024 20:44
Copy link
Contributor

@TDemeco TDemeco left a comment

Choose a reason for hiding this comment

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

Looks good! Just a minor nitpick

pallets/file-system/src/utils.rs Outdated Show resolved Hide resolved
runtime/src/configs/runtime_params.rs Outdated Show resolved Hide resolved
@ffarall ffarall merged commit 5c11888 into main Nov 6, 2024
23 checks passed
@ffarall ffarall deleted the feat/penalise-bsp-stop-storing-file branch November 6, 2024 13:07
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.

3 participants