Skip to content

Commit

Permalink
fix offline deals (filecoin-project#383)
Browse files Browse the repository at this point in the history
* fix: offline deals

* refactor: split online and offline deal commands
  • Loading branch information
dirkmc authored Mar 31, 2022
1 parent 40de533 commit 18ea4d8
Show file tree
Hide file tree
Showing 14 changed files with 402 additions and 282 deletions.
2 changes: 1 addition & 1 deletion api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type Boost interface {

// MethodGroup: Boost
BoostIndexerAnnounceAllDeals(ctx context.Context) error //perm:admin
BoostOfflineDealWithData(dealUuid uuid.UUID, filePath string) (*ProviderDealRejectionInfo, error) //perm:admin
BoostOfflineDealWithData(ctx context.Context, dealUuid uuid.UUID, filePath string) (*ProviderDealRejectionInfo, error) //perm:admin
BoostDeal(ctx context.Context, dealUuid uuid.UUID) (*smtypes.ProviderDealState, error) //perm:admin
BoostDummyDeal(context.Context, smtypes.DealParams) (*ProviderDealRejectionInfo, error) //perm:admin
BoostDagstoreInitializeShard(ctx context.Context, key string) error //perm:admin
Expand Down
8 changes: 4 additions & 4 deletions api/proxy_gen.go

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

Binary file modified build/openrpc/boost.json.gz
Binary file not shown.
Loading

0 comments on commit 18ea4d8

Please sign in to comment.