File tree Expand file tree Collapse file tree
indexer-common/src/indexing-fees Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -296,10 +296,12 @@ export class Agent {
296296 if ( ! operator . dipsManager ) {
297297 throw new Error ( 'DipsManager is not available' )
298298 }
299- logger . trace ( 'Ensuring indexing rules for DIPS ' , {
299+ logger . debug ( 'Ensuring indexing rules for DIPs ' , {
300300 protocolNetwork : network . specification . networkIdentifier ,
301301 } )
302302 await operator . dipsManager . ensureAgreementRules ( )
303+ } else {
304+ logger . debug ( 'DIPs is disabled, skipping indexing rule enforcement' )
303305 }
304306 logger . trace ( 'Fetching indexing rules' , {
305307 protocolNetwork : network . specification . networkIdentifier ,
@@ -357,7 +359,7 @@ export class Agent {
357359 return assignments . map ( assignment => assignment . id )
358360 } else {
359361 logger . info (
360- "Skipping fetching active deployments fetch since DeploymentManagementMode = 'manual' and POI tracking is disabled" ,
362+ "Skipping fetching active deployments fetch since DeploymentManagementMode = 'manual' and DIPs is disabled" ,
361363 )
362364 return [ ]
363365 }
Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ export class DipsManager {
127127 cancelled_at : null ,
128128 } ,
129129 } )
130+ this . logger . debug ( `Ensuring indexing rules for ${ indexingAgreements . length } agreement${ indexingAgreements . length === 1 ? '' : 's' } ` )
130131 // For each agreement, check that there is an indexing rule to always
131132 // allocate to the agreement's subgraphDeploymentId, and if not, create one
132133 for ( const agreement of indexingAgreements ) {
You can’t perform that action at this time.
0 commit comments