Skip to content

Commit aa4debb

Browse files
authored
Merge pull request #6302 from filecoin-project/fix/market/import-direct-deal
fix: add StartEpoch and EndEpoch to DirectDealParam
2 parents 5c500ab + be02046 commit aa4debb

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

venus-shared/api/market/v1/method.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1221,7 +1221,9 @@ Inputs:
12211221
"PieceCID": {
12221222
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
12231223
},
1224-
"Client": "f01234"
1224+
"Client": "f01234",
1225+
"StartEpoch": 10101,
1226+
"EndEpoch": 10101
12251227
}
12261228
]
12271229
}

venus-shared/types/market/storage.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,8 @@ type DirectDealParam struct {
228228
AllocationID uint64
229229
PieceCID cid.Cid
230230
Client address.Address
231+
StartEpoch abi.ChainEpoch
232+
EndEpoch abi.ChainEpoch
231233
}
232234

233235
type DirectDealQueryParams struct {

0 commit comments

Comments
 (0)