Skip to content

Commit db7abaf

Browse files
committed
chore: logging
1 parent 580626b commit db7abaf

File tree

1 file changed

+6
-1
lines changed
  • packages/indexer-common/src/indexing-fees

1 file changed

+6
-1
lines changed

packages/indexer-common/src/indexing-fees/dips.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,14 @@ export class DipsManager {
127127
const subgraphDeploymentID = new SubgraphDeploymentID(
128128
agreement.subgraph_deployment_id,
129129
)
130+
this.logger.info(
131+
`Checking if indexing rule exists for agreement ${agreement.id}, deployment ${subgraphDeploymentID.toString()}`,
132+
)
130133
// If there is not yet an indexingRule that deems this deployment worth allocating to, make one
131134
if (!(await this.parent.matchingRuleExists(this.logger, subgraphDeploymentID))) {
132-
this.logger.debug(`Creating indexing rule for agreement ${agreement.id}`)
135+
this.logger.info(
136+
`Creating indexing rule for agreement ${agreement.id}, deployment ${agreement.subgraph_deployment_id}`,
137+
)
133138
const indexingRule = {
134139
identifier: agreement.subgraph_deployment_id,
135140
allocationAmount: formatGRT(

0 commit comments

Comments
 (0)