Skip to content

Commit 50e20c4

Browse files
authored
fix: use DealProposal inside specs-actors (#4786)
1 parent 81ff96a commit 50e20c4

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

venus-shared/types/market/assigner_type.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import (
55

66
"github.com/filecoin-project/go-fil-markets/piecestore"
77
"github.com/filecoin-project/go-state-types/abi"
8+
market7 "github.com/filecoin-project/specs-actors/v7/actors/builtin/market"
89

910
"github.com/filecoin-project/venus/venus-shared/actors/builtin/market"
1011
)
@@ -38,7 +39,7 @@ type DealInfoIncludePath struct {
3839
PayloadSize abi.UnpaddedPieceSize
3940
DealID abi.DealID
4041
TotalStorageFee abi.TokenAmount
41-
market.DealProposal
42+
market7.DealProposal
4243
FastRetrieval bool
4344
PublishCid cid.Cid
4445
}

venus-shared/types/market/storage.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import (
44
"time"
55

66
"github.com/filecoin-project/go-state-types/abi"
7+
market7 "github.com/filecoin-project/specs-actors/v7/actors/builtin/market"
78
"github.com/ipfs/go-cid"
89

910
"github.com/filecoin-project/venus/venus-shared/actors/builtin/market"
@@ -28,7 +29,7 @@ type SectorOffset struct {
2829
type PieceDealInfo struct {
2930
PublishCid *cid.Cid
3031
DealID abi.DealID
31-
DealProposal *market.DealProposal
32+
DealProposal *market7.DealProposal
3233
DealSchedule DealSchedule
3334
KeepUnsealed bool
3435
}

0 commit comments

Comments
 (0)