From b2f1c197d42c3dc101a138c84682e3ac74e9fe04 Mon Sep 17 00:00:00 2001 From: Alexandru Murtaza Date: Wed, 13 Nov 2024 02:53:08 +0200 Subject: [PATCH] update doc comment --- pallets/file-system/src/types.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pallets/file-system/src/types.rs b/pallets/file-system/src/types.rs index 5c1d4db4..77969d39 100644 --- a/pallets/file-system/src/types.rs +++ b/pallets/file-system/src/types.rs @@ -180,9 +180,10 @@ impl Debug for StorageRequestMspBucketResponse { /// Input for MSPs to respond to storage request(s). /// -/// The input is a list of ([BucketIdFor], [MspStorageRequestResponse]) elements, -/// where the [MspStorageRequestResponse] contains the file keys that are accepted -/// or rejected by the MSP. +/// The input is a list of bucket responses, where each response contains: +/// - The bucket ID +/// - Optional accepted file keys and proof for the whole list +/// - List of rejected file keys and rejection reasons pub type StorageRequestMspResponse = BoundedVec, MaxBatchMspRespondStorageRequests>;