Skip to content

StorageHub v0.2.2

Choose a tag to compare

@ffarall ffarall released this 03 Dec 16:42
· 2 commits to release/v0.2 since this release
5e53d4c

Summary

StorageHub v0.2.2 includes a hotfix for how the indexer handles the fact that there can be multiple entries in the Indexer DB for the same file_key, which happens when there are multiple storage requests for that file_key over time. For instance, when a user wants to increase redundancy.

Components

  • Client code: v0.2.0
  • Pallets code: v0.2.0
  • Runtime code: v0.2.0 (spec_name/spec_version: parachain 1, solochain-evm 1)
  • SH Backend Docker image: v0.2.1 (image: ghcr.io/<org>/storage-hub-msp-backend:v0.2.1)
  • SH SDK (npm): v0.3.3 (@storagehub-sdk/core, @storagehub-sdk/msp-client)
  • types-bundle/api-augment (npm): @storagehub/types-bundle v0.2.7, @storagehub/api-augment v0.2.10

Changes since last tag

Base: 25e8dbbc679b46fc7c955ee5a2707dfcaab1ca2b

  • Highlights:
    • Fix indexer handling multiple file records: The indexer now properly handles the fact that there can be multiple file records in the DB for the same file_key, which happens when there are multiple storage requests for that file_key over time. For instance, when a user wants to increase redundancy.
    • Additional success/failure logs in tasks and RPCs: Now all tasks and RPCs log both on failure and successful execution.
  • Full diff: 25e8dbb...5e53d4c
  • PRs included:
    • ci: 📝 Enforce breaking changes doc structure #590
    • feat: 🔊 Add success logs to all tasks and RPCs #591
    • fix: 🚑 Handle multiple file records for same file_key #593

⚠️ Breaking Changes ⚠️

No breaking changes.

Client

  • Behaviour changes:
    • Fix indexer handling multiple file records: The indexer now properly handles the fact that there can be multiple file records in the DB for the same file_key, which happens when there are multiple storage requests for that file_key over time. For instance, when a user wants to increase redundancy.
    • Additional success/failure logs in tasks and RPCs: Now all tasks and RPCs log both on failure and successful execution.

Versions

  • Polkadot SDK: polkadot-stable2412-6
  • Rust: 1.87 (from rust-toolchain.toml)

Compatibility

  • SH Backend v0.2.0 → compatible with pallets/runtime v0.2.0 and client v0.2.0 (all built from this release).
  • SDK v0.3.3 → compatible with backend v0.2.0, client v0.2.0, and pallets/runtime v0.2.0.

Upgrade Guide

From v0.2.1, just a version bump is required, nothing more.