Skip to content

Commit 963b9c4

Browse files
authored
fix: 🐛 multiple fixes to avoid the fisherman incorrectly deleting a file from a bucket (#600)
* fix: 🐛 multiple fixes to avoid the fisherman incorrectly deleting a file from a bucket The fisherman could end up incorrectly deleting a file from a bucket on-chain in the case where a storage request issued for redundancy was revoked by the user, since we couldn't track whether the MSP accepted it with an inclusion or a non-inclusion proof. We fix that here by adding that functionality plus some fisherman and indexer changes to acompany it so we keep the fisherman consistent and the indexer DB clean * chore: 🏷️ run pnpm typegen * style: 🎨 improve msp acceptance tracking flag name * chore: 🏷️ run typegen * fix: 🩹 minor fixes after merging from main * fix: 🩹 amend review (make deletion validation more efficient) * test: ✅ fix file-system incomplete storage request test * chore: 🔖 bump api-augment * chore: 🔖 run typegen * fix: 🩹 make it so we don't delete a file record by its ID but instead delete the latest one * fix: 🩹 make it so we don't delete a msp-file association by id but instead the latest one * refactor: 🎨 refactor multiple fields into single MSP status enum * style: 🎨 run cargo fmt * chore: 🏷️ run typegen * chore: 🏷️ update types-bundle * chore: 🏷️ update api-augment
1 parent df2db9d commit 963b9c4

File tree

47 files changed

+1626
-552
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+1626
-552
lines changed

api-augment/dist/parachain/interfaces/lookup.js

Lines changed: 50 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api-augment/dist/parachain/interfaces/lookup.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)