Merge branch 'main' into fix/dont-pop-slash-on-failure

This commit is contained in:
Gonza Montiel 2026-01-23 13:20:28 -03:00 committed by GitHub
commit b731903eb0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 727 additions and 721 deletions

View file

@ -1 +1 @@
4100628445dfb9e17fa167eb425d16bcad0ebc5f
711490494719593c219c35ca496cd28b86d9f54a

File diff suppressed because one or more lines are too long

264
operator/Cargo.lock generated
View file

@ -1521,7 +1521,7 @@ dependencies = [
"pallet-message-queue",
"parity-scale-codec",
"scale-info",
"snowbridge-core 0.13.0",
"snowbridge-core 0.20.0",
"sp-core",
"sp-runtime",
"sp-std",
@ -2607,7 +2607,7 @@ dependencies = [
[[package]]
name = "datahaven-mainnet-runtime"
version = "0.13.0"
version = "0.20.0"
dependencies = [
"alloy-core",
"bridge-hub-common 0.13.1",
@ -2716,8 +2716,8 @@ dependencies = [
"shp-treasury-funding",
"shp-tx-implicits-runtime-api",
"smallvec",
"snowbridge-beacon-primitives 0.13.0",
"snowbridge-core 0.13.0",
"snowbridge-beacon-primitives 0.20.0",
"snowbridge-core 0.20.0",
"snowbridge-inbound-queue-primitives",
"snowbridge-merkle-tree",
"snowbridge-outbound-queue-primitives",
@ -2760,7 +2760,7 @@ dependencies = [
[[package]]
name = "datahaven-node"
version = "0.13.0"
version = "0.20.0"
dependencies = [
"async-channel 1.9.0",
"clap",
@ -2871,7 +2871,7 @@ dependencies = [
[[package]]
name = "datahaven-runtime-common"
version = "0.13.0"
version = "0.20.0"
dependencies = [
"alloy-core",
"fp-account",
@ -2905,7 +2905,7 @@ dependencies = [
[[package]]
name = "datahaven-stagenet-runtime"
version = "0.13.0"
version = "0.20.0"
dependencies = [
"alloy-core",
"bridge-hub-common 0.13.1",
@ -3014,8 +3014,8 @@ dependencies = [
"shp-treasury-funding",
"shp-tx-implicits-runtime-api",
"smallvec",
"snowbridge-beacon-primitives 0.13.0",
"snowbridge-core 0.13.0",
"snowbridge-beacon-primitives 0.20.0",
"snowbridge-core 0.20.0",
"snowbridge-inbound-queue-primitives",
"snowbridge-merkle-tree",
"snowbridge-outbound-queue-primitives",
@ -3058,7 +3058,7 @@ dependencies = [
[[package]]
name = "datahaven-testnet-runtime"
version = "0.13.0"
version = "0.20.0"
dependencies = [
"alloy-core",
"bridge-hub-common 0.13.1",
@ -3167,8 +3167,8 @@ dependencies = [
"shp-treasury-funding",
"shp-tx-implicits-runtime-api",
"smallvec",
"snowbridge-beacon-primitives 0.13.0",
"snowbridge-core 0.13.0",
"snowbridge-beacon-primitives 0.20.0",
"snowbridge-core 0.20.0",
"snowbridge-inbound-queue-primitives",
"snowbridge-merkle-tree",
"snowbridge-outbound-queue-primitives",
@ -3360,7 +3360,7 @@ dependencies = [
[[package]]
name = "dhp-bridge"
version = "0.13.0"
version = "0.20.0"
dependencies = [
"frame-support",
"frame-system",
@ -3368,7 +3368,7 @@ dependencies = [
"pallet-datahaven-native-transfer",
"pallet-external-validators",
"parity-scale-codec",
"snowbridge-core 0.13.0",
"snowbridge-core 0.20.0",
"snowbridge-inbound-queue-primitives",
"sp-core",
"sp-std",
@ -8618,8 +8618,8 @@ dependencies = [
[[package]]
name = "pallet-bucket-nfts"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"frame-benchmarking",
"frame-support",
@ -8675,8 +8675,8 @@ dependencies = [
[[package]]
name = "pallet-cr-randomness"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"frame-support",
"frame-system",
@ -8695,7 +8695,7 @@ dependencies = [
[[package]]
name = "pallet-datahaven-native-transfer"
version = "0.13.0"
version = "0.20.0"
dependencies = [
"frame-benchmarking",
"frame-support",
@ -8703,7 +8703,7 @@ dependencies = [
"pallet-balances",
"parity-scale-codec",
"scale-info",
"snowbridge-core 0.13.0",
"snowbridge-core 0.20.0",
"snowbridge-outbound-queue-primitives",
"sp-core",
"sp-io",
@ -8807,7 +8807,7 @@ dependencies = [
[[package]]
name = "pallet-evm-precompile-balances-erc20"
version = "0.13.0"
version = "0.20.0"
dependencies = [
"fp-evm",
"frame-support",
@ -8830,7 +8830,7 @@ dependencies = [
[[package]]
name = "pallet-evm-precompile-batch"
version = "0.13.0"
version = "0.20.0"
dependencies = [
"evm",
"fp-evm",
@ -8869,7 +8869,7 @@ dependencies = [
[[package]]
name = "pallet-evm-precompile-call-permit"
version = "0.13.0"
version = "0.20.0"
dependencies = [
"evm",
"fp-evm",
@ -8935,7 +8935,7 @@ dependencies = [
[[package]]
name = "pallet-evm-precompile-datahaven-native-transfer"
version = "0.13.0"
version = "0.20.0"
dependencies = [
"evm",
"fp-evm",
@ -8949,7 +8949,7 @@ dependencies = [
"parity-scale-codec",
"precompile-utils",
"scale-info",
"snowbridge-core 0.13.0",
"snowbridge-core 0.20.0",
"snowbridge-outbound-queue-primitives",
"sp-core",
"sp-io",
@ -8959,8 +8959,8 @@ dependencies = [
[[package]]
name = "pallet-evm-precompile-file-system"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"fp-account",
"fp-evm",
@ -9028,7 +9028,7 @@ dependencies = [
[[package]]
name = "pallet-evm-precompile-proxy"
version = "0.13.0"
version = "0.20.0"
dependencies = [
"evm",
"fp-evm",
@ -9072,7 +9072,7 @@ dependencies = [
[[package]]
name = "pallet-evm-precompile-registry"
version = "0.13.0"
version = "0.20.0"
dependencies = [
"fp-evm",
"frame-support",
@ -9123,7 +9123,7 @@ dependencies = [
"parity-scale-codec",
"scale-info",
"serde",
"snowbridge-core 0.13.0",
"snowbridge-core 0.20.0",
"snowbridge-outbound-queue-primitives",
"sp-core",
"sp-io",
@ -9133,7 +9133,7 @@ dependencies = [
[[package]]
name = "pallet-external-validators"
version = "0.13.0"
version = "0.20.0"
dependencies = [
"frame-benchmarking",
"frame-support",
@ -9157,7 +9157,7 @@ dependencies = [
[[package]]
name = "pallet-external-validators-rewards"
version = "0.13.0"
version = "0.20.0"
dependencies = [
"frame-benchmarking",
"frame-support",
@ -9170,7 +9170,7 @@ dependencies = [
"pallet-timestamp",
"parity-scale-codec",
"scale-info",
"snowbridge-core 0.13.0",
"snowbridge-core 0.20.0",
"snowbridge-outbound-queue-primitives",
"sp-core",
"sp-io",
@ -9199,8 +9199,8 @@ dependencies = [
[[package]]
name = "pallet-file-system"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"frame-benchmarking",
"frame-support",
@ -9226,8 +9226,8 @@ dependencies = [
[[package]]
name = "pallet-file-system-runtime-api"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"parity-scale-codec",
"scale-info",
@ -9394,7 +9394,7 @@ dependencies = [
[[package]]
name = "pallet-outbound-commitment-store"
version = "0.13.0"
version = "0.20.0"
dependencies = [
"frame-support",
"frame-system",
@ -9422,8 +9422,8 @@ dependencies = [
[[package]]
name = "pallet-payment-streams"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"frame-benchmarking",
"frame-support",
@ -9442,8 +9442,8 @@ dependencies = [
[[package]]
name = "pallet-payment-streams-runtime-api"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"parity-scale-codec",
"scale-info",
@ -9470,8 +9470,8 @@ dependencies = [
[[package]]
name = "pallet-proofs-dealer"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"frame-benchmarking",
"frame-support",
@ -9492,8 +9492,8 @@ dependencies = [
[[package]]
name = "pallet-proofs-dealer-runtime-api"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"parity-scale-codec",
"scale-info",
@ -9514,8 +9514,8 @@ dependencies = [
[[package]]
name = "pallet-randomness"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"frame-benchmarking",
"frame-support",
@ -9655,8 +9655,8 @@ dependencies = [
[[package]]
name = "pallet-storage-providers"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"frame-benchmarking",
"frame-support",
@ -9677,8 +9677,8 @@ dependencies = [
[[package]]
name = "pallet-storage-providers-runtime-api"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"parity-scale-codec",
"scale-info",
@ -13840,8 +13840,8 @@ dependencies = [
[[package]]
name = "shc-actors-derive"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"once_cell",
"proc-macro2",
@ -13853,8 +13853,8 @@ dependencies = [
[[package]]
name = "shc-actors-framework"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"anyhow",
"bincode",
@ -13872,8 +13872,8 @@ dependencies = [
[[package]]
name = "shc-blockchain-service"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"anyhow",
"array-bytes",
@ -13928,8 +13928,8 @@ dependencies = [
[[package]]
name = "shc-blockchain-service-db"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"chrono",
"diesel",
@ -13952,8 +13952,8 @@ dependencies = [
[[package]]
name = "shc-client"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"anyhow",
"array-bytes",
@ -14026,8 +14026,8 @@ dependencies = [
[[package]]
name = "shc-common"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"anyhow",
"bigdecimal",
@ -14090,8 +14090,8 @@ dependencies = [
[[package]]
name = "shc-file-manager"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"bincode",
"hash-db",
@ -14114,8 +14114,8 @@ dependencies = [
[[package]]
name = "shc-file-transfer-service"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"anyhow",
"array-bytes",
@ -14143,8 +14143,8 @@ dependencies = [
[[package]]
name = "shc-fisherman-service"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"async-trait",
"diesel",
@ -14174,8 +14174,8 @@ dependencies = [
[[package]]
name = "shc-forest-manager"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"anyhow",
"async-trait",
@ -14200,8 +14200,8 @@ dependencies = [
[[package]]
name = "shc-indexer-db"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"bigdecimal",
"chrono",
@ -14228,8 +14228,8 @@ dependencies = [
[[package]]
name = "shc-indexer-service"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"anyhow",
"array-bytes",
@ -14279,8 +14279,8 @@ dependencies = [
[[package]]
name = "shc-rpc"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"array-bytes",
"async-trait",
@ -14325,8 +14325,8 @@ dependencies = [
[[package]]
name = "shc-telemetry"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"log",
"substrate-prometheus-endpoint",
@ -14342,8 +14342,8 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
[[package]]
name = "shp-constants"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"sp-core",
"sp-runtime",
@ -14351,8 +14351,8 @@ dependencies = [
[[package]]
name = "shp-data-price-updater"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"frame-support",
"parity-scale-codec",
@ -14366,8 +14366,8 @@ dependencies = [
[[package]]
name = "shp-file-key-verifier"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"frame-support",
"parity-scale-codec",
@ -14384,8 +14384,8 @@ dependencies = [
[[package]]
name = "shp-file-metadata"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"hex",
"num-bigint",
@ -14400,8 +14400,8 @@ dependencies = [
[[package]]
name = "shp-forest-verifier"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"frame-support",
"parity-scale-codec",
@ -14417,16 +14417,16 @@ dependencies = [
[[package]]
name = "shp-opaque"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"sp-runtime",
]
[[package]]
name = "shp-session-keys"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"async-trait",
"parity-scale-codec",
@ -14440,8 +14440,8 @@ dependencies = [
[[package]]
name = "shp-traits"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"frame-support",
"parity-scale-codec",
@ -14454,8 +14454,8 @@ dependencies = [
[[package]]
name = "shp-treasury-funding"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"log",
"shp-traits",
@ -14465,8 +14465,8 @@ dependencies = [
[[package]]
name = "shp-tx-implicits-runtime-api"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"parity-scale-codec",
"scale-info",
@ -14478,8 +14478,8 @@ dependencies = [
[[package]]
name = "shp-types"
version = "0.3.2"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.2#1ec90c1a0a8579f9041011e0799e1126156b2ae2"
version = "0.3.3"
source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.3.3#57d2a195d58d39e0d6e38a927ec312dd0f640522"
dependencies = [
"sp-core",
"sp-runtime",
@ -14759,7 +14759,7 @@ dependencies = [
[[package]]
name = "snowbridge-beacon-primitives"
version = "0.13.0"
version = "0.20.0"
dependencies = [
"byte-slice-cast",
"frame-support",
@ -14804,7 +14804,7 @@ dependencies = [
[[package]]
name = "snowbridge-core"
version = "0.13.0"
version = "0.20.0"
dependencies = [
"bp-relayers",
"ethabi-decode",
@ -14881,8 +14881,8 @@ dependencies = [
"log",
"parity-scale-codec",
"scale-info",
"snowbridge-beacon-primitives 0.13.0",
"snowbridge-core 0.13.0",
"snowbridge-beacon-primitives 0.20.0",
"snowbridge-core 0.20.0",
"snowbridge-verification-primitives",
"sp-core",
"sp-io",
@ -14895,7 +14895,7 @@ dependencies = [
[[package]]
name = "snowbridge-merkle-tree"
version = "0.13.0"
version = "0.20.0"
dependencies = [
"array-bytes",
"hex",
@ -14936,7 +14936,7 @@ dependencies = [
[[package]]
name = "snowbridge-outbound-queue-primitives"
version = "0.13.0"
version = "0.20.0"
dependencies = [
"alloy-core",
"ethabi-decode",
@ -14948,7 +14948,7 @@ dependencies = [
"parity-scale-codec",
"polkadot-parachain-primitives",
"scale-info",
"snowbridge-core 0.13.0",
"snowbridge-core 0.20.0",
"snowbridge-verification-primitives",
"sp-arithmetic",
"sp-core",
@ -14962,12 +14962,12 @@ dependencies = [
[[package]]
name = "snowbridge-outbound-queue-v2-runtime-api"
version = "0.13.0"
version = "0.20.0"
dependencies = [
"frame-support",
"parity-scale-codec",
"scale-info",
"snowbridge-core 0.13.0",
"snowbridge-core 0.20.0",
"snowbridge-merkle-tree",
"snowbridge-outbound-queue-primitives",
"sp-api",
@ -14977,7 +14977,7 @@ dependencies = [
[[package]]
name = "snowbridge-pallet-ethereum-client"
version = "0.13.0"
version = "0.20.0"
dependencies = [
"frame-benchmarking",
"frame-support",
@ -14990,8 +14990,8 @@ dependencies = [
"scale-info",
"serde",
"serde_json",
"snowbridge-beacon-primitives 0.13.0",
"snowbridge-core 0.13.0",
"snowbridge-beacon-primitives 0.20.0",
"snowbridge-core 0.20.0",
"snowbridge-ethereum 0.3.0",
"snowbridge-inbound-queue-primitives",
"snowbridge-pallet-ethereum-client-fixtures",
@ -15007,8 +15007,8 @@ name = "snowbridge-pallet-ethereum-client-fixtures"
version = "0.9.0"
dependencies = [
"hex-literal 0.3.4",
"snowbridge-beacon-primitives 0.13.0",
"snowbridge-core 0.13.0",
"snowbridge-beacon-primitives 0.20.0",
"snowbridge-core 0.20.0",
"snowbridge-inbound-queue-primitives",
"sp-core",
"sp-std",
@ -15016,7 +15016,7 @@ dependencies = [
[[package]]
name = "snowbridge-pallet-inbound-queue-v2"
version = "0.13.0"
version = "0.20.0"
dependencies = [
"alloy-core",
"bp-relayers",
@ -15030,8 +15030,8 @@ dependencies = [
"parity-scale-codec",
"scale-info",
"serde",
"snowbridge-beacon-primitives 0.13.0",
"snowbridge-core 0.13.0",
"snowbridge-beacon-primitives 0.20.0",
"snowbridge-core 0.20.0",
"snowbridge-inbound-queue-primitives",
"snowbridge-pallet-ethereum-client",
"snowbridge-pallet-inbound-queue-v2-fixtures",
@ -15052,8 +15052,8 @@ name = "snowbridge-pallet-inbound-queue-v2-fixtures"
version = "0.10.0"
dependencies = [
"hex-literal 0.3.4",
"snowbridge-beacon-primitives 0.13.0",
"snowbridge-core 0.13.0",
"snowbridge-beacon-primitives 0.20.0",
"snowbridge-core 0.20.0",
"snowbridge-inbound-queue-primitives",
"sp-core",
"sp-std",
@ -15083,7 +15083,7 @@ dependencies = [
[[package]]
name = "snowbridge-pallet-outbound-queue-v2"
version = "0.13.0"
version = "0.20.0"
dependencies = [
"alloy-core",
"bp-relayers",
@ -15097,8 +15097,8 @@ dependencies = [
"parity-scale-codec",
"scale-info",
"serde",
"snowbridge-beacon-primitives 0.13.0",
"snowbridge-core 0.13.0",
"snowbridge-beacon-primitives 0.20.0",
"snowbridge-core 0.20.0",
"snowbridge-inbound-queue-primitives",
"snowbridge-merkle-tree",
"snowbridge-outbound-queue-primitives",
@ -15129,7 +15129,7 @@ dependencies = [
"parity-scale-codec",
"polkadot-primitives",
"scale-info",
"snowbridge-core 0.13.0",
"snowbridge-core 0.20.0",
"snowbridge-outbound-queue-primitives",
"snowbridge-pallet-outbound-queue",
"sp-core",
@ -15142,7 +15142,7 @@ dependencies = [
[[package]]
name = "snowbridge-pallet-system-v2"
version = "0.13.0"
version = "0.20.0"
dependencies = [
"frame-benchmarking",
"frame-support",
@ -15154,7 +15154,7 @@ dependencies = [
"parity-scale-codec",
"polkadot-primitives",
"scale-info",
"snowbridge-core 0.13.0",
"snowbridge-core 0.20.0",
"snowbridge-outbound-queue-primitives",
"snowbridge-pallet-outbound-queue-v2",
"snowbridge-pallet-system",
@ -15170,10 +15170,10 @@ dependencies = [
[[package]]
name = "snowbridge-system-v2-runtime-api"
version = "0.13.0"
version = "0.20.0"
dependencies = [
"parity-scale-codec",
"snowbridge-core 0.13.0",
"snowbridge-core 0.20.0",
"sp-api",
"sp-std",
"staging-xcm",
@ -15181,7 +15181,7 @@ dependencies = [
[[package]]
name = "snowbridge-test-utils"
version = "0.13.0"
version = "0.20.0"
dependencies = [
"frame-benchmarking",
"frame-support",
@ -15201,12 +15201,12 @@ dependencies = [
[[package]]
name = "snowbridge-verification-primitives"
version = "0.13.0"
version = "0.20.0"
dependencies = [
"frame-support",
"parity-scale-codec",
"scale-info",
"snowbridge-beacon-primitives 0.13.0",
"snowbridge-beacon-primitives 0.20.0",
"sp-core",
"sp-std",
]

View file

@ -5,7 +5,7 @@ edition = "2021"
homepage = "https://datahaven.xyz/"
license = "GPL-3"
repository = "https://github.com/datahavenxyz/datahaven"
version = "0.13.0"
version = "0.20.0"
[workspace]
members = [
@ -265,42 +265,42 @@ 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.3.2", default-features = false }
pallet-cr-randomness = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.2", default-features = false }
pallet-file-system = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.2", default-features = false }
pallet-file-system-runtime-api = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.2", default-features = false }
pallet-payment-streams = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.2", default-features = false }
pallet-payment-streams-runtime-api = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.2", default-features = false }
pallet-proofs-dealer = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.2", default-features = false }
pallet-proofs-dealer-runtime-api = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.2", default-features = false }
pallet-randomness = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.2", default-features = false }
pallet-storage-providers = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.2", default-features = false }
pallet-storage-providers-runtime-api = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.2", default-features = false }
shp-constants = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.2", default-features = false }
shp-data-price-updater = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.2", default-features = false }
shp-file-key-verifier = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.2", default-features = false }
shp-file-metadata = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.2", default-features = false }
shp-forest-verifier = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.2", default-features = false }
shp-traits = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.2", default-features = false }
shp-treasury-funding = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.2", default-features = false }
pallet-bucket-nfts = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.3", default-features = false }
pallet-cr-randomness = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.3", default-features = false }
pallet-file-system = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.3", default-features = false }
pallet-file-system-runtime-api = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.3", default-features = false }
pallet-payment-streams = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.3", default-features = false }
pallet-payment-streams-runtime-api = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.3", default-features = false }
pallet-proofs-dealer = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.3", default-features = false }
pallet-proofs-dealer-runtime-api = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.3", default-features = false }
pallet-randomness = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.3", default-features = false }
pallet-storage-providers = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.3", default-features = false }
pallet-storage-providers-runtime-api = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.3", default-features = false }
shp-constants = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.3", default-features = false }
shp-data-price-updater = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.3", default-features = false }
shp-file-key-verifier = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.3", default-features = false }
shp-file-metadata = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.3", default-features = false }
shp-forest-verifier = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.3", default-features = false }
shp-traits = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.3", default-features = false }
shp-treasury-funding = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.3", default-features = false }
## Client
shc-actors-derive = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.2", default-features = false }
shc-actors-framework = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.2", default-features = false }
shc-blockchain-service = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.2", default-features = false }
shc-client = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.2", default-features = false }
shc-common = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.2", default-features = false }
shc-file-manager = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.2", default-features = false }
shc-file-transfer-service = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.2", default-features = false }
shc-fisherman-service = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.2", default-features = false }
shc-forest-manager = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.2", default-features = false }
shc-indexer-db = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.2", default-features = false }
shc-indexer-service = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.2", default-features = false }
shc-rpc = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.2", default-features = false }
shp-opaque = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.2", default-features = false }
shp-tx-implicits-runtime-api = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.2", default-features = false }
shp-types = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.2", default-features = false }
shc-actors-derive = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.3", default-features = false }
shc-actors-framework = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.3", default-features = false }
shc-blockchain-service = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.3", default-features = false }
shc-client = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.3", default-features = false }
shc-common = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.3", default-features = false }
shc-file-manager = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.3", default-features = false }
shc-file-transfer-service = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.3", default-features = false }
shc-fisherman-service = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.3", default-features = false }
shc-forest-manager = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.3", default-features = false }
shc-indexer-db = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.3", default-features = false }
shc-indexer-service = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.3", default-features = false }
shc-rpc = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.3", default-features = false }
shp-opaque = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.3", default-features = false }
shp-tx-implicits-runtime-api = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.3", default-features = false }
shp-types = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.3", default-features = false }
## Precompiles
pallet-evm-precompile-file-system = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.2", default-features = false }
pallet-evm-precompile-file-system = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.3.3", default-features = false }
# Static linking

View file

@ -499,7 +499,9 @@ pub mod pallet {
base_weight.deconstruct() * 100 / Perbill::ACCURACY
);
// Calculate and award points for each validator
let mut rewards = Vec::new();
// Calculate points for each validator
for validator in validators.iter() {
// Skip whitelisted validators - they don't participate in performance rewards
if whitelisted_validators.contains(validator) {
@ -596,10 +598,14 @@ pub mod pallet {
points
);
Self::reward_by_ids([(validator.clone(), points)].into_iter());
rewards.push((validator.clone(), points));
}
}
if !rewards.is_empty() {
Self::reward_by_ids(rewards.into_iter());
}
// Clear session tracking storage
let _ = BlocksAuthoredInSession::<T>::clear(u32::MAX, None);
}

View file

@ -142,7 +142,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// `spec_version`, and `authoring_version` are the same between Wasm and native.
// This value is set to 200 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
// the compatible custom types.
spec_version: 910,
spec_version: 1000,
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
@ -1254,6 +1254,12 @@ impl_runtime_apis! {
fn list_incomplete_storage_request_keys(start_after: Option<H256>, limit: u32) -> Vec<H256> {
FileSystem::list_incomplete_storage_request_keys(start_after, limit)
}
fn query_pending_bsp_confirm_storage_requests(
bsp_id: BackupStorageProviderId<Runtime>,
file_keys: Vec<H256>,
) -> Vec<H256> {
FileSystem::query_pending_bsp_confirm_storage_requests(bsp_id, file_keys)
}
}
impl pallet_payment_streams_runtime_api::PaymentStreamsApi<Block, ProviderIdFor<Runtime>, Balance, AccountId> for Runtime {

View file

@ -145,7 +145,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// `spec_version`, and `authoring_version` are the same between Wasm and native.
// This value is set to 200 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
// the compatible custom types.
spec_version: 910,
spec_version: 1000,
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
@ -1257,6 +1257,12 @@ impl_runtime_apis! {
fn list_incomplete_storage_request_keys(start_after: Option<H256>, limit: u32) -> Vec<H256> {
FileSystem::list_incomplete_storage_request_keys(start_after, limit)
}
fn query_pending_bsp_confirm_storage_requests(
bsp_id: BackupStorageProviderId<Runtime>,
file_keys: Vec<H256>,
) -> Vec<H256> {
FileSystem::query_pending_bsp_confirm_storage_requests(bsp_id, file_keys)
}
}
impl pallet_payment_streams_runtime_api::PaymentStreamsApi<Block, ProviderIdFor<Runtime>, Balance, AccountId> for Runtime {

View file

@ -142,7 +142,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// `spec_version`, and `authoring_version` are the same between Wasm and native.
// This value is set to 200 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
// the compatible custom types.
spec_version: 910,
spec_version: 1000,
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
@ -1254,6 +1254,12 @@ impl_runtime_apis! {
fn list_incomplete_storage_request_keys(start_after: Option<H256>, limit: u32) -> Vec<H256> {
FileSystem::list_incomplete_storage_request_keys(start_after, limit)
}
fn query_pending_bsp_confirm_storage_requests(
bsp_id: BackupStorageProviderId<Runtime>,
file_keys: Vec<H256>,
) -> Vec<H256> {
FileSystem::query_pending_bsp_confirm_storage_requests(bsp_id, file_keys)
}
}
impl pallet_payment_streams_runtime_api::PaymentStreamsApi<Block, ProviderIdFor<Runtime>, Balance, AccountId> for Runtime {

View file

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

Binary file not shown.