Skip to content

Commit

Permalink
Merge pull request #6094 from filecoin-project/cherry-pick-pr-6093-to…
Browse files Browse the repository at this point in the history
…-release-v1.12

Cherry pick #6093 to release v1.12
  • Loading branch information
simlecode authored Aug 15, 2023
2 parents 60ff306 + 56b36c6 commit 856aa30
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
6 changes: 4 additions & 2 deletions venus-shared/api/market/v0/method.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,8 @@ Inputs:
"MinPieceSize": 42,
"MinUsedSpace": 42,
"StartEpoch": 10101,
"EndEpoch": 10101
"EndEpoch": 10101,
"SectorExpiration": 10101
}
]
```
Expand Down Expand Up @@ -1019,7 +1020,8 @@ Inputs:
"MinPieceSize": 42,
"MinUsedSpace": 42,
"StartEpoch": 10101,
"EndEpoch": 10101
"EndEpoch": 10101,
"SectorExpiration": 10101
}
]
```
Expand Down
6 changes: 4 additions & 2 deletions venus-shared/api/market/v1/method.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,8 @@ Inputs:
"MinPieceSize": 42,
"MinUsedSpace": 42,
"StartEpoch": 10101,
"EndEpoch": 10101
"EndEpoch": 10101,
"SectorExpiration": 10101
}
]
```
Expand Down Expand Up @@ -1020,7 +1021,8 @@ Inputs:
"MinPieceSize": 42,
"MinUsedSpace": 42,
"StartEpoch": 10101,
"EndEpoch": 10101
"EndEpoch": 10101,
"SectorExpiration": 10101
}
]
```
Expand Down
3 changes: 3 additions & 0 deletions venus-shared/types/market/assigner_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ 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, for snapdeal
SectorExpiration *abi.ChainEpoch
}

type DealInfoIncludePath struct {
Expand Down

0 comments on commit 856aa30

Please sign in to comment.