@@ -27,15 +27,15 @@ import (
27
27
"go.uber.org/fx"
28
28
)
29
29
30
- func NewGraphqlServer (cfg * config.Boost ) func (lc fx.Lifecycle , r repo.LockedRepo , h host.Host , prov * storagemarket.Provider , dealsDB * db.DealsDB , logsDB * db.LogsDB , retDB * rtvllog.RetrievalLogDB , plDB * db.ProposalLogsDB , fundsDB * db.FundsDB , fundMgr * fundmanager.FundManager , storageMgr * storagemanager.StorageManager , publisher * storageadapter.DealPublisher , spApi sealingpipeline.API , legacyDeals legacy.LegacyDealManager , piecedirectory * piecedirectory.PieceDirectory , indexProv provider.Interface , idxProvWrapper * indexprovider.Wrapper , fullNode v1api.FullNode , bg BlockGetter , ssm * sectorstatemgr.SectorStateMgr , mpool * mpoolmonitor.MpoolMonitor , mma * lib.MultiMinerAccessor , sask storedask.StoredAsk ) * Server {
31
- return func (lc fx.Lifecycle , r repo.LockedRepo , h host.Host , prov * storagemarket.Provider , dealsDB * db.DealsDB , logsDB * db.LogsDB , retDB * rtvllog.RetrievalLogDB , plDB * db.ProposalLogsDB , fundsDB * db.FundsDB , fundMgr * fundmanager.FundManager ,
30
+ func NewGraphqlServer (cfg * config.Boost ) func (lc fx.Lifecycle , r repo.LockedRepo , h host.Host , prov * storagemarket.Provider , ddProv * storagemarket. DirectDealsProvider , dealsDB * db.DealsDB , directDealsDB * db. DirectDealsDB , logsDB * db.LogsDB , retDB * rtvllog.RetrievalLogDB , plDB * db.ProposalLogsDB , fundsDB * db.FundsDB , fundMgr * fundmanager.FundManager , storageMgr * storagemanager.StorageManager , publisher * storageadapter.DealPublisher , spApi sealingpipeline.API , legacyDeals legacy.LegacyDealManager , piecedirectory * piecedirectory.PieceDirectory , indexProv provider.Interface , idxProvWrapper * indexprovider.Wrapper , fullNode v1api.FullNode , bg BlockGetter , ssm * sectorstatemgr.SectorStateMgr , mpool * mpoolmonitor.MpoolMonitor , mma * lib.MultiMinerAccessor , sask storedask.StoredAsk ) * Server {
31
+ return func (lc fx.Lifecycle , r repo.LockedRepo , h host.Host , prov * storagemarket.Provider , ddProv * storagemarket. DirectDealsProvider , dealsDB * db.DealsDB , directDealsDB * db. DirectDealsDB , logsDB * db.LogsDB , retDB * rtvllog.RetrievalLogDB , plDB * db.ProposalLogsDB , fundsDB * db.FundsDB , fundMgr * fundmanager.FundManager ,
32
32
storageMgr * storagemanager.StorageManager , publisher * storageadapter.DealPublisher , spApi sealingpipeline.API ,
33
33
legacyDeals legacy.LegacyDealManager , piecedirectory * piecedirectory.PieceDirectory ,
34
34
indexProv provider.Interface , idxProvWrapper * indexprovider.Wrapper , fullNode v1api.FullNode , bg BlockGetter ,
35
35
ssm * sectorstatemgr.SectorStateMgr , mpool * mpoolmonitor.MpoolMonitor , mma * lib.MultiMinerAccessor , sask storedask.StoredAsk ) * Server {
36
36
37
37
resolverCtx , cancel := context .WithCancel (context .Background ())
38
- resolver := NewResolver (resolverCtx , cfg , r , h , dealsDB , logsDB , retDB , plDB , fundsDB , fundMgr , storageMgr , spApi , prov , legacyDeals , piecedirectory , publisher , indexProv , idxProvWrapper , fullNode , ssm , mpool , mma , sask )
38
+ resolver := NewResolver (resolverCtx , cfg , r , h , dealsDB , directDealsDB , logsDB , retDB , plDB , fundsDB , fundMgr , storageMgr , spApi , prov , ddProv , legacyDeals , piecedirectory , publisher , indexProv , idxProvWrapper , fullNode , ssm , mpool , mma , sask )
39
39
svr := NewServer (cfg , resolver , bg )
40
40
41
41
lc .Append (fx.Hook {
0 commit comments