Commit 963b9c4
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-augment1 parent df2db9d commit 963b9c4
File tree
47 files changed
+1626
-552
lines changed- api-augment
- dist
- parachain/interfaces
- solochain-evm/interfaces
- types
- parachain/interfaces
- storagehubclient
- solochain-evm/interfaces
- storagehubclient
- src
- parachain/interfaces
- storagehubclient
- solochain-evm/interfaces
- storagehubclient
- client
- blockchain-service/src
- indexer-db/src/models
- indexer-service/src
- handler
- src/tasks
- pallets/file-system/src
- types-bundle
- dist
- src
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 changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments