Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: venus-shared: deal proposal usage #4786

Merged
merged 1 commit into from
Feb 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion venus-shared/types/market/assigner_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (

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

"github.com/filecoin-project/venus/venus-shared/actors/builtin/market"
)
Expand Down Expand Up @@ -38,7 +39,7 @@ type DealInfoIncludePath struct {
PayloadSize abi.UnpaddedPieceSize
DealID abi.DealID
TotalStorageFee abi.TokenAmount
market.DealProposal
market7.DealProposal
FastRetrieval bool
PublishCid cid.Cid
}
Expand Down
3 changes: 2 additions & 1 deletion venus-shared/types/market/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"time"

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

"github.com/filecoin-project/venus/venus-shared/actors/builtin/market"
Expand All @@ -28,7 +29,7 @@ type SectorOffset struct {
type PieceDealInfo struct {
PublishCid *cid.Cid
DealID abi.DealID
DealProposal *market.DealProposal
DealProposal *market7.DealProposal
DealSchedule DealSchedule
KeepUnsealed bool
}
Expand Down