From 2c2546d36fae34550b474bee6c187a1cb2e72292 Mon Sep 17 00:00:00 2001 From: Ahmad Kaouk <56095276+ahmadkaouk@users.noreply.github.com> Date: Mon, 19 Jan 2026 19:41:12 +0100 Subject: [PATCH] fix: Increase MaxBatchConfirmStorageRequests from 10 to 100 (#400) - Increase `MaxBatchConfirmStorageRequests` runtime constant from 10 to 100 - Applied across all runtime environments: mainnet, stagenet, and testnet - [x] Verify builds pass for all runtime configurations (cherry picked from commit db4608f9dd21c4991d18bca036baa41d32fe097b) --- operator/runtime/mainnet/src/configs/storagehub/mod.rs | 2 +- operator/runtime/stagenet/src/configs/storagehub/mod.rs | 2 +- operator/runtime/testnet/src/configs/storagehub/mod.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/operator/runtime/mainnet/src/configs/storagehub/mod.rs b/operator/runtime/mainnet/src/configs/storagehub/mod.rs index 1ee11431..ca2f1d30 100644 --- a/operator/runtime/mainnet/src/configs/storagehub/mod.rs +++ b/operator/runtime/mainnet/src/configs/storagehub/mod.rs @@ -502,7 +502,7 @@ impl pallet_file_system::Config for Runtime { type CollectionInspector = BucketNfts; type BspStopStoringFilePenalty = runtime_config::BspStopStoringFilePenalty; type TreasuryAccount = TreasuryAccount; - type MaxBatchConfirmStorageRequests = ConstU32<10>; + type MaxBatchConfirmStorageRequests = ConstU32<100>; type MaxFilePathSize = ConstU32<512u32>; type MaxPeerIdSize = ConstU32<100>; type MaxNumberOfPeerIds = ConstU32<5>; diff --git a/operator/runtime/stagenet/src/configs/storagehub/mod.rs b/operator/runtime/stagenet/src/configs/storagehub/mod.rs index 1ee11431..ca2f1d30 100644 --- a/operator/runtime/stagenet/src/configs/storagehub/mod.rs +++ b/operator/runtime/stagenet/src/configs/storagehub/mod.rs @@ -502,7 +502,7 @@ impl pallet_file_system::Config for Runtime { type CollectionInspector = BucketNfts; type BspStopStoringFilePenalty = runtime_config::BspStopStoringFilePenalty; type TreasuryAccount = TreasuryAccount; - type MaxBatchConfirmStorageRequests = ConstU32<10>; + type MaxBatchConfirmStorageRequests = ConstU32<100>; type MaxFilePathSize = ConstU32<512u32>; type MaxPeerIdSize = ConstU32<100>; type MaxNumberOfPeerIds = ConstU32<5>; diff --git a/operator/runtime/testnet/src/configs/storagehub/mod.rs b/operator/runtime/testnet/src/configs/storagehub/mod.rs index 1ee11431..ca2f1d30 100644 --- a/operator/runtime/testnet/src/configs/storagehub/mod.rs +++ b/operator/runtime/testnet/src/configs/storagehub/mod.rs @@ -502,7 +502,7 @@ impl pallet_file_system::Config for Runtime { type CollectionInspector = BucketNfts; type BspStopStoringFilePenalty = runtime_config::BspStopStoringFilePenalty; type TreasuryAccount = TreasuryAccount; - type MaxBatchConfirmStorageRequests = ConstU32<10>; + type MaxBatchConfirmStorageRequests = ConstU32<100>; type MaxFilePathSize = ConstU32<512u32>; type MaxPeerIdSize = ConstU32<100>; type MaxNumberOfPeerIds = ConstU32<5>;