From c099bc4d9972432a568849a0ad90ebaef1c6b771 Mon Sep 17 00:00:00 2001 From: 0x5459 <0x5459@protonmail.com> Date: Fri, 11 Aug 2023 10:03:24 +0800 Subject: [PATCH] feat(market): filter deals by sector lifetime --- venus-shared/types/market/assigner_type.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/venus-shared/types/market/assigner_type.go b/venus-shared/types/market/assigner_type.go index b5f122e8b1..445136982a 100644 --- a/venus-shared/types/market/assigner_type.go +++ b/venus-shared/types/market/assigner_type.go @@ -51,6 +51,10 @@ type GetDealSpec struct { // end epoch limit of the chosen deals // if set, the deals should not be alive after or equal than the this epoch EndEpoch abi.ChainEpoch + + // Filter by sector lifetime + SectorActivation *abi.ChainEpoch + SectorExpiration *abi.ChainEpoch } type DealInfoIncludePath struct {