build: ⬆️ Upgrade to StorageHub release 0.1.4 (#298)

Upgrades to StorageHub release
[v0.1.4](https://github.com/Moonsong-Labs/storage-hub/releases/tag/v0.1.4).

## ⚠️ Breaking Changes ⚠️
- A DB migration for the indexer DB. Should be auto-applied by the
indexer node on startup, if this is not disabled by the env var
`SH_INDEXER_DB_AUTO_MIGRATE`. By default, it applies them.
- A new runtime API (`shp_tx_implicits_runtime_api::TxImplicitsApi`)
needed for StorageHub's Blockchain Service to build transactions using
the runtime spec version from the currently run runtime.

---------

Co-authored-by: Steve Degosserie <723552+stiiifff@users.noreply.github.com>
This commit is contained in:
Facundo Farall 2025-11-16 16:44:17 +01:00 committed by GitHub
parent 4c8384499f
commit ae9eef7307
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 160 additions and 111 deletions

86
operator/Cargo.lock generated
View file

@ -3008,6 +3008,7 @@ dependencies = [
"shp-forest-verifier",
"shp-traits",
"shp-treasury-funding",
"shp-tx-implicits-runtime-api",
"smallvec",
"snowbridge-beacon-primitives 0.7.0",
"snowbridge-core 0.7.0",
@ -3298,6 +3299,7 @@ dependencies = [
"shp-forest-verifier",
"shp-traits",
"shp-treasury-funding",
"shp-tx-implicits-runtime-api",
"smallvec",
"snowbridge-beacon-primitives 0.7.0",
"snowbridge-core 0.7.0",
@ -3448,6 +3450,7 @@ dependencies = [
"shp-forest-verifier",
"shp-traits",
"shp-treasury-funding",
"shp-tx-implicits-runtime-api",
"smallvec",
"snowbridge-beacon-primitives 0.7.0",
"snowbridge-core 0.7.0",
@ -8989,7 +8992,7 @@ dependencies = [
[[package]]
name = "pallet-bucket-nfts"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.3#e3bf4fc81660ab1f4e2a72024ec8682654075496"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"frame-benchmarking",
"frame-support",
@ -9065,7 +9068,7 @@ dependencies = [
[[package]]
name = "pallet-cr-randomness"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.3#e3bf4fc81660ab1f4e2a72024ec8682654075496"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"frame-support",
"frame-system",
@ -9325,7 +9328,7 @@ dependencies = [
[[package]]
name = "pallet-evm-precompile-file-system"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.3#e3bf4fc81660ab1f4e2a72024ec8682654075496"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"fp-account",
"fp-evm",
@ -9578,7 +9581,7 @@ dependencies = [
[[package]]
name = "pallet-file-system"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.3#e3bf4fc81660ab1f4e2a72024ec8682654075496"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"frame-benchmarking",
"frame-support",
@ -9605,7 +9608,7 @@ dependencies = [
[[package]]
name = "pallet-file-system-runtime-api"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.3#e3bf4fc81660ab1f4e2a72024ec8682654075496"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"parity-scale-codec",
"scale-info",
@ -9801,7 +9804,7 @@ dependencies = [
[[package]]
name = "pallet-payment-streams"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.3#e3bf4fc81660ab1f4e2a72024ec8682654075496"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"frame-benchmarking",
"frame-support",
@ -9821,7 +9824,7 @@ dependencies = [
[[package]]
name = "pallet-payment-streams-runtime-api"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.3#e3bf4fc81660ab1f4e2a72024ec8682654075496"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"parity-scale-codec",
"scale-info",
@ -9849,7 +9852,7 @@ dependencies = [
[[package]]
name = "pallet-proofs-dealer"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.3#e3bf4fc81660ab1f4e2a72024ec8682654075496"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"frame-benchmarking",
"frame-support",
@ -9871,7 +9874,7 @@ dependencies = [
[[package]]
name = "pallet-proofs-dealer-runtime-api"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.3#e3bf4fc81660ab1f4e2a72024ec8682654075496"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"parity-scale-codec",
"scale-info",
@ -9893,7 +9896,7 @@ dependencies = [
[[package]]
name = "pallet-randomness"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.3#e3bf4fc81660ab1f4e2a72024ec8682654075496"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"frame-benchmarking",
"frame-support",
@ -10034,7 +10037,7 @@ dependencies = [
[[package]]
name = "pallet-storage-providers"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.3#e3bf4fc81660ab1f4e2a72024ec8682654075496"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"frame-benchmarking",
"frame-support",
@ -10056,7 +10059,7 @@ dependencies = [
[[package]]
name = "pallet-storage-providers-runtime-api"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.3#e3bf4fc81660ab1f4e2a72024ec8682654075496"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"parity-scale-codec",
"scale-info",
@ -15164,7 +15167,7 @@ dependencies = [
[[package]]
name = "shc-actors-derive"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.3#e3bf4fc81660ab1f4e2a72024ec8682654075496"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"once_cell",
"proc-macro2",
@ -15177,7 +15180,7 @@ dependencies = [
[[package]]
name = "shc-actors-framework"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.3#e3bf4fc81660ab1f4e2a72024ec8682654075496"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"anyhow",
"bincode",
@ -15195,7 +15198,7 @@ dependencies = [
[[package]]
name = "shc-blockchain-service"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.3#e3bf4fc81660ab1f4e2a72024ec8682654075496"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"anyhow",
"array-bytes",
@ -15234,6 +15237,7 @@ dependencies = [
"shp-constants",
"shp-file-key-verifier",
"shp-file-metadata",
"shp-tx-implicits-runtime-api",
"sp-api",
"sp-blockchain",
"sp-core",
@ -15247,7 +15251,7 @@ dependencies = [
[[package]]
name = "shc-client"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.3#e3bf4fc81660ab1f4e2a72024ec8682654075496"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"anyhow",
"array-bytes",
@ -15313,7 +15317,7 @@ dependencies = [
[[package]]
name = "shc-common"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.3#e3bf4fc81660ab1f4e2a72024ec8682654075496"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"anyhow",
"bigdecimal",
@ -15358,6 +15362,7 @@ dependencies = [
"shp-forest-verifier",
"shp-opaque",
"shp-traits",
"shp-tx-implicits-runtime-api",
"shp-types",
"sp-api",
"sp-block-builder",
@ -15377,7 +15382,7 @@ dependencies = [
[[package]]
name = "shc-file-manager"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.3#e3bf4fc81660ab1f4e2a72024ec8682654075496"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"bincode",
"hash-db",
@ -15401,7 +15406,7 @@ dependencies = [
[[package]]
name = "shc-file-transfer-service"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.3#e3bf4fc81660ab1f4e2a72024ec8682654075496"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"anyhow",
"array-bytes",
@ -15430,7 +15435,7 @@ dependencies = [
[[package]]
name = "shc-fisherman-service"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.3#e3bf4fc81660ab1f4e2a72024ec8682654075496"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"async-trait",
"diesel",
@ -15460,7 +15465,7 @@ dependencies = [
[[package]]
name = "shc-forest-manager"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.3#e3bf4fc81660ab1f4e2a72024ec8682654075496"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"async-trait",
"bincode",
@ -15485,7 +15490,7 @@ dependencies = [
[[package]]
name = "shc-indexer-db"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.3#e3bf4fc81660ab1f4e2a72024ec8682654075496"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"bigdecimal",
"chrono",
@ -15513,7 +15518,7 @@ dependencies = [
[[package]]
name = "shc-indexer-service"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.3#e3bf4fc81660ab1f4e2a72024ec8682654075496"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"anyhow",
"array-bytes",
@ -15564,7 +15569,7 @@ dependencies = [
[[package]]
name = "shc-rpc"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.3#e3bf4fc81660ab1f4e2a72024ec8682654075496"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"array-bytes",
"async-trait",
@ -15615,7 +15620,7 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
[[package]]
name = "shp-constants"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.3#e3bf4fc81660ab1f4e2a72024ec8682654075496"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"sp-core",
"sp-runtime",
@ -15624,7 +15629,7 @@ dependencies = [
[[package]]
name = "shp-data-price-updater"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.3#e3bf4fc81660ab1f4e2a72024ec8682654075496"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"frame-support",
"parity-scale-codec",
@ -15639,7 +15644,7 @@ dependencies = [
[[package]]
name = "shp-file-key-verifier"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.3#e3bf4fc81660ab1f4e2a72024ec8682654075496"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"frame-support",
"parity-scale-codec",
@ -15657,7 +15662,7 @@ dependencies = [
[[package]]
name = "shp-file-metadata"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.3#e3bf4fc81660ab1f4e2a72024ec8682654075496"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"hex",
"num-bigint",
@ -15673,7 +15678,7 @@ dependencies = [
[[package]]
name = "shp-forest-verifier"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.3#e3bf4fc81660ab1f4e2a72024ec8682654075496"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"frame-support",
"parity-scale-codec",
@ -15690,7 +15695,7 @@ dependencies = [
[[package]]
name = "shp-opaque"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.3#e3bf4fc81660ab1f4e2a72024ec8682654075496"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"parachains-common",
"sp-runtime",
@ -15699,7 +15704,7 @@ dependencies = [
[[package]]
name = "shp-session-keys"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.3#e3bf4fc81660ab1f4e2a72024ec8682654075496"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"async-trait",
"parity-scale-codec",
@ -15714,7 +15719,7 @@ dependencies = [
[[package]]
name = "shp-traits"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.3#e3bf4fc81660ab1f4e2a72024ec8682654075496"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"frame-support",
"parity-scale-codec",
@ -15728,7 +15733,7 @@ dependencies = [
[[package]]
name = "shp-treasury-funding"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.3#e3bf4fc81660ab1f4e2a72024ec8682654075496"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"log",
"shp-traits",
@ -15736,10 +15741,23 @@ dependencies = [
"sp-core",
]
[[package]]
name = "shp-tx-implicits-runtime-api"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"parity-scale-codec",
"scale-info",
"sp-api",
"sp-core",
"sp-runtime",
"sp-std",
]
[[package]]
name = "shp-types"
version = "0.1.0"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.3#e3bf4fc81660ab1f4e2a72024ec8682654075496"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.1.4#18a562abfebeee7159ca9178dfb0a6c36f7fb94e"
dependencies = [
"sp-core",
"sp-runtime",

View file

@ -265,43 +265,44 @@ fc-storage = { git = "https://github.com/polkadot-evm/frontier", branch = "stabl
# StorageHub
## Runtime
pallet-bucket-nfts = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.3", default-features = false }
pallet-cr-randomness = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.3", default-features = false }
pallet-file-system = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.3", default-features = false }
pallet-file-system-runtime-api = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.3", default-features = false }
pallet-payment-streams = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.3", default-features = false }
pallet-payment-streams-runtime-api = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.3", default-features = false }
pallet-proofs-dealer = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.3", default-features = false }
pallet-proofs-dealer-runtime-api = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.3", default-features = false }
pallet-randomness = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.3", default-features = false }
pallet-storage-providers = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.3", default-features = false }
pallet-storage-providers-runtime-api = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.3", default-features = false }
shp-constants = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.3", default-features = false }
shp-data-price-updater = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.3", default-features = false }
shp-file-key-verifier = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.3", default-features = false }
shp-file-metadata = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.3", default-features = false }
shp-forest-verifier = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.3", default-features = false }
shp-traits = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.3", default-features = false }
shp-treasury-funding = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.3", default-features = false }
storage-hub-runtime = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.3", default-features = false }
pallet-bucket-nfts = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
pallet-cr-randomness = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
pallet-file-system = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
pallet-file-system-runtime-api = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
pallet-payment-streams = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
pallet-payment-streams-runtime-api = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
pallet-proofs-dealer = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
pallet-proofs-dealer-runtime-api = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
pallet-randomness = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
pallet-storage-providers = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
pallet-storage-providers-runtime-api = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
shp-constants = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
shp-data-price-updater = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
shp-file-key-verifier = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
shp-file-metadata = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
shp-forest-verifier = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
shp-traits = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
shp-treasury-funding = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
storage-hub-runtime = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
## Client
cumulus-client-service = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false }
shc-actors-derive = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.3", default-features = false }
shc-actors-framework = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.3", default-features = false }
shc-blockchain-service = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.3", default-features = false }
shc-client = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.3", default-features = false }
shc-common = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.3", default-features = false }
shc-file-manager = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.3", default-features = false }
shc-file-transfer-service = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.3", default-features = false }
shc-fisherman-service = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.3", default-features = false }
shc-forest-manager = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.3", default-features = false }
shc-indexer-db = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.3", default-features = false }
shc-indexer-service = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.3", default-features = false }
shc-rpc = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.3", default-features = false }
shp-opaque = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.3", default-features = false }
shp-types = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.3", default-features = false }
shc-actors-derive = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
shc-actors-framework = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
shc-blockchain-service = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
shc-client = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
shc-common = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
shc-file-manager = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
shc-file-transfer-service = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
shc-fisherman-service = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
shc-forest-manager = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
shc-indexer-db = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
shc-indexer-service = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
shc-rpc = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
shp-opaque = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
shp-tx-implicits-runtime-api = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
shp-types = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
## Precompiles
pallet-evm-precompile-file-system = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.3", default-features = false }
pallet-evm-precompile-file-system = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.1.4", default-features = false }
# The list of dependencies below (which can be both direct and indirect dependencies) are crates
# that are suspected to be CPU-intensive, and that are unlikely to require debugging (as some of

View file

@ -159,6 +159,7 @@ shp-file-metadata = { workspace = true }
shp-forest-verifier = { workspace = true }
shp-traits = { workspace = true }
shp-treasury-funding = { workspace = true }
shp-tx-implicits-runtime-api = { workspace = true }
sp-trie = { workspace = true }
[build-dependencies]

View file

@ -51,20 +51,6 @@ impl ExtensionOperations<crate::RuntimeCall, crate::Runtime> for crate::SignedEx
frame_metadata_hash_extension::CheckMetadataHash::new(false),
)
}
fn implicit(genesis_block_hash: Self::Hash, current_block_hash: Self::Hash) -> Self::Implicit {
(
(),
crate::VERSION.spec_version,
crate::VERSION.transaction_version,
genesis_block_hash,
current_block_hash,
(),
(),
(),
None,
)
}
}
// Map the runtime event into the client-facing storage events enum.

View file

@ -1387,6 +1387,29 @@ impl_runtime_apis! {
Ok(sp_runtime::Vec::from_iter(Providers::query_buckets_of_user_stored_by_msp(msp_id, user)?))
}
}
impl shp_tx_implicits_runtime_api::TxImplicitsApi<Block> for Runtime {
fn compute_signed_extra_implicit(
era: sp_runtime::generic::Era,
enable_metadata: bool,
) -> Result<sp_std::vec::Vec<u8>, sp_runtime::transaction_validity::TransactionValidityError> {
// Build the SignedExtra tuple with minimal values; only `era` and `enable_metadata`
// influence the implicit. Other extensions have `()` implicit.
let extra: SignedExtra = (
frame_system::CheckNonZeroSender::<Runtime>::new(),
frame_system::CheckSpecVersion::<Runtime>::new(),
frame_system::CheckTxVersion::<Runtime>::new(),
frame_system::CheckGenesis::<Runtime>::new(),
frame_system::CheckEra::<Runtime>::from(era),
frame_system::CheckNonce::<Runtime>::from(<Nonce as Default>::default()),
frame_system::CheckWeight::<Runtime>::new(),
pallet_transaction_payment::ChargeTransactionPayment::<Runtime>::from(<Balance as Default>::default()),
frame_metadata_hash_extension::CheckMetadataHash::<Runtime>::new(enable_metadata),
);
let implicit = <SignedExtra as sp_runtime::traits::TransactionExtension<RuntimeCall>>::implicit(&extra)?;
Ok(implicit.encode())
}
}
}
// Shorthand for a Get field of a pallet Config.

View file

@ -159,6 +159,7 @@ shp-file-metadata = { workspace = true }
shp-forest-verifier = { workspace = true }
shp-traits = { workspace = true }
shp-treasury-funding = { workspace = true }
shp-tx-implicits-runtime-api = { workspace = true }
sp-trie = { workspace = true }
[build-dependencies]

View file

@ -51,20 +51,6 @@ impl ExtensionOperations<crate::RuntimeCall, crate::Runtime> for crate::SignedEx
frame_metadata_hash_extension::CheckMetadataHash::new(false),
)
}
fn implicit(genesis_block_hash: Self::Hash, current_block_hash: Self::Hash) -> Self::Implicit {
(
(),
crate::VERSION.spec_version,
crate::VERSION.transaction_version,
genesis_block_hash,
current_block_hash,
(),
(),
(),
None,
)
}
}
// Map the runtime event into the client-facing storage events enum.

View file

@ -1391,6 +1391,28 @@ impl_runtime_apis! {
}
}
impl shp_tx_implicits_runtime_api::TxImplicitsApi<Block> for Runtime {
fn compute_signed_extra_implicit(
era: sp_runtime::generic::Era,
enable_metadata: bool,
) -> Result<sp_std::vec::Vec<u8>, sp_runtime::transaction_validity::TransactionValidityError> {
// Build the SignedExtra tuple with minimal values; only `era` and `enable_metadata`
// influence the implicit. Other extensions have `()` implicit.
let extra: SignedExtra = (
frame_system::CheckNonZeroSender::<Runtime>::new(),
frame_system::CheckSpecVersion::<Runtime>::new(),
frame_system::CheckTxVersion::<Runtime>::new(),
frame_system::CheckGenesis::<Runtime>::new(),
frame_system::CheckEra::<Runtime>::from(era),
frame_system::CheckNonce::<Runtime>::from(<Nonce as Default>::default()),
frame_system::CheckWeight::<Runtime>::new(),
pallet_transaction_payment::ChargeTransactionPayment::<Runtime>::from(<Balance as Default>::default()),
frame_metadata_hash_extension::CheckMetadataHash::<Runtime>::new(enable_metadata),
);
let implicit = <SignedExtra as sp_runtime::traits::TransactionExtension<RuntimeCall>>::implicit(&extra)?;
Ok(implicit.encode())
}
}
}
// Shorthand for a Get field of a pallet Config.

View file

@ -159,6 +159,7 @@ shp-file-metadata = { workspace = true }
shp-forest-verifier = { workspace = true }
shp-traits = { workspace = true }
shp-treasury-funding = { workspace = true }
shp-tx-implicits-runtime-api = { workspace = true }
sp-trie = { workspace = true }
[build-dependencies]

View file

@ -51,20 +51,6 @@ impl ExtensionOperations<crate::RuntimeCall, crate::Runtime> for crate::SignedEx
frame_metadata_hash_extension::CheckMetadataHash::new(false),
)
}
fn implicit(genesis_block_hash: Self::Hash, current_block_hash: Self::Hash) -> Self::Implicit {
(
(),
crate::VERSION.spec_version,
crate::VERSION.transaction_version,
genesis_block_hash,
current_block_hash,
(),
(),
(),
None,
)
}
}
// Map the runtime event into the client-facing storage events enum.

View file

@ -1386,6 +1386,29 @@ impl_runtime_apis! {
Ok(sp_runtime::Vec::from_iter(Providers::query_buckets_of_user_stored_by_msp(msp_id, user)?))
}
}
impl shp_tx_implicits_runtime_api::TxImplicitsApi<Block> for Runtime {
fn compute_signed_extra_implicit(
era: sp_runtime::generic::Era,
enable_metadata: bool,
) -> Result<sp_std::vec::Vec<u8>, sp_runtime::transaction_validity::TransactionValidityError> {
// Build the SignedExtra tuple with minimal values; only `era` and `enable_metadata`
// influence the implicit. Other extensions have `()` implicit.
let extra: SignedExtra = (
frame_system::CheckNonZeroSender::<Runtime>::new(),
frame_system::CheckSpecVersion::<Runtime>::new(),
frame_system::CheckTxVersion::<Runtime>::new(),
frame_system::CheckGenesis::<Runtime>::new(),
frame_system::CheckEra::<Runtime>::from(era),
frame_system::CheckNonce::<Runtime>::from(<Nonce as Default>::default()),
frame_system::CheckWeight::<Runtime>::new(),
pallet_transaction_payment::ChargeTransactionPayment::<Runtime>::from(<Balance as Default>::default()),
frame_metadata_hash_extension::CheckMetadataHash::<Runtime>::new(enable_metadata),
);
let implicit = <SignedExtra as sp_runtime::traits::TransactionExtension<RuntimeCall>>::implicit(&extra)?;
Ok(implicit.encode())
}
}
}
// Shorthand for a Get field of a pallet Config.

View file

@ -51,6 +51,7 @@ AUTHORS=(
)
NAMES=(
"ring" # v0.16.20 has null license metadata but contains Apache-2.0 AND ISC LICENSE file
"shp-tx-implicits-runtime-api"
)
licenses_filter=$(printf ' .license != "%s" and' "${LICENSES[@]}")
authors_filter=$(printf ' .authors != "%s" and' "${AUTHORS[@]}")

View file

@ -1,5 +1,5 @@
{
"version": "0.1.0-autogenerated.40127769317338577",
"version": "0.1.0-autogenerated.13402936638329471124",
"name": "@polkadot-api/descriptors",
"files": [
"dist"

Binary file not shown.