Skip to content
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
2 changes: 1 addition & 1 deletion builtin/v12/gen/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func main() {
market.WithdrawBalanceParams{},
market.PublishStorageDealsParams{},
market.PublishStorageDealsReturn{},
market.ActivateDealsParams{},
market.BatchActivateDealsParams{},
market.ActivateDealsResult{},
market.VerifyDealsForActivationParams{},
market.VerifyDealsForActivationReturn{},
Expand Down
113 changes: 56 additions & 57 deletions builtin/v12/market/cbor_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions builtin/v12/market/market_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ type VerifyDealsForActivationParams struct {
}

type SectorDeals struct {
SectorNumber abi.SectorNumber
SectorType abi.RegisteredSealProof
SectorExpiry abi.ChainEpoch
DealIDs []abi.DealID
Expand All @@ -42,9 +43,9 @@ type VerifyDealsForActivationReturn struct {
UnsealedCIDs []*cid.Cid
}

type ActivateDealsParams struct {
DealIDs []abi.DealID
SectorExpiry abi.ChainEpoch
type BatchActivateDealsParams struct {
Sectors []SectorDeals
ComputeCid bool
}

type ActivateDealsResult struct {
Expand Down
2 changes: 1 addition & 1 deletion builtin/v12/market/methods.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var Methods = map[abi.MethodNum]builtin.MethodMeta{
4: builtin.NewMethodMeta("PublishStorageDeals", *new(func(*PublishStorageDealsParams) *PublishStorageDealsReturn)), // PublishStorageDeals
builtin.MustGenerateFRCMethodNum("PublishStorageDeals"): builtin.NewMethodMeta("PublishStorageDealsExported", *new(func(*PublishStorageDealsParams) *PublishStorageDealsReturn)), // PublishStorageDealsExported
5: builtin.NewMethodMeta("VerifyDealsForActivation", *new(func(*VerifyDealsForActivationParams) *VerifyDealsForActivationReturn)), // VerifyDealsForActivation
6: builtin.NewMethodMeta("ActivateDeals", *new(func(*ActivateDealsParams) *abi.EmptyValue)), // ActivateDeals
6: builtin.NewMethodMeta("BatchActivateDeals", *new(func(*BatchActivateDealsParams) *abi.EmptyValue)), // BatchActivateDeals
7: builtin.NewMethodMeta("OnMinerSectorsTerminate", *new(func(*OnMinerSectorsTerminateParams) *abi.EmptyValue)), // OnMinerSectorsTerminate
8: builtin.NewMethodMeta("ComputeDataCommitment", nil), // deprecated
9: builtin.NewMethodMeta("CronTick", *new(func(*abi.EmptyValue) *abi.EmptyValue)), // CronTick
Expand Down
2 changes: 1 addition & 1 deletion builtin/v13/gen/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func main() {
market.WithdrawBalanceParams{},
market.PublishStorageDealsParams{},
market.PublishStorageDealsReturn{},
market.ActivateDealsParams{},
market.BatchActivateDealsParams{},
market.ActivateDealsResult{},
market.VerifyDealsForActivationParams{},
market.VerifyDealsForActivationReturn{},
Expand Down
Loading
Loading