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: ✨ enforce file deletion by MSPs #310

Merged
merged 35 commits into from
Jan 14, 2025
Merged

Conversation

TDemeco
Copy link
Contributor

@TDemeco TDemeco commented Jan 7, 2025

This PR adds the logic to remove a MSP from the privileged providers list from the moment a user executes the delete_file extrinsic for a file key (without providing an inclusion proof) up until the MSP executes the pending_file_deletion_request_submit_proof extrinsic to provide an inclusion or non-inclusion proof for that file key.
This way MSPs are incentivized to submit the required proof since otherwise they won't be able to charge any of their users.

@TDemeco TDemeco requested review from ffarall and snowmead January 7, 2025 20:06
@TDemeco TDemeco changed the base branch from main to feat/file-system-benchmark-script January 7, 2025 21:18
Copy link
Contributor

@ffarall ffarall left a comment

Choose a reason for hiding this comment

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

Great work!

Base automatically changed from feat/file-system-benchmark-script to main January 14, 2025 15:22
@TDemeco TDemeco merged commit 4eb2d54 into main Jan 14, 2025
25 checks passed
@TDemeco TDemeco deleted the feat/enforce-file-deletion-msps branch January 14, 2025 18:33
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