From 9562438886f5c6bd92753a1007385e7ed18a9d38 Mon Sep 17 00:00:00 2001 From: simlecode <69969590+simlecode@users.noreply.github.com> Date: Wed, 2 Aug 2023 10:57:37 +0800 Subject: [PATCH] feat: add PieceCID to StorageDealQueryParams --- venus-shared/api/market/v0/method.md | 1 + venus-shared/api/market/v1/method.md | 1 + venus-shared/types/market/storage.go | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/venus-shared/api/market/v0/method.md b/venus-shared/api/market/v0/method.md index 35b68187b8..aa84d88f89 100644 --- a/venus-shared/api/market/v0/method.md +++ b/venus-shared/api/market/v0/method.md @@ -1710,6 +1710,7 @@ Inputs: "Client": "string value", "DiscardFailedDeal": true, "DealID": 5432, + "PieceCID": "string value", "Offset": 123, "Limit": 123 } diff --git a/venus-shared/api/market/v1/method.md b/venus-shared/api/market/v1/method.md index 9245e08808..24522672e6 100644 --- a/venus-shared/api/market/v1/method.md +++ b/venus-shared/api/market/v1/method.md @@ -1711,6 +1711,7 @@ Inputs: "Client": "string value", "DiscardFailedDeal": true, "DealID": 5432, + "PieceCID": "string value", "Offset": 123, "Limit": 123 } diff --git a/venus-shared/types/market/storage.go b/venus-shared/types/market/storage.go index db091b3909..f18c8413d0 100644 --- a/venus-shared/types/market/storage.go +++ b/venus-shared/types/market/storage.go @@ -122,7 +122,8 @@ type StorageDealQueryParams struct { Client string DiscardFailedDeal bool - DealID abi.DealID + DealID abi.DealID + PieceCID string Page }