diff --git a/packages/indexer-common/src/indexer-management/allocations.ts b/packages/indexer-common/src/indexer-management/allocations.ts index cec0c6088..da4379dbb 100644 --- a/packages/indexer-common/src/indexer-management/allocations.ts +++ b/packages/indexer-common/src/indexer-management/allocations.ts @@ -326,7 +326,7 @@ export class AllocationManager { await this.subgraphManager.ensure( logger, this.models, - `${deployment.ipfsHash.slice(0, 23)}/${deployment.ipfsHash.slice(23)}`, + `indexer-agent/${deployment.ipfsHash.slice(-10)}`, deployment, indexNode, ) diff --git a/packages/indexer-common/src/indexer-management/resolvers/allocations.ts b/packages/indexer-common/src/indexer-management/resolvers/allocations.ts index 590631b36..1fc65bf7f 100644 --- a/packages/indexer-common/src/indexer-management/resolvers/allocations.ts +++ b/packages/indexer-common/src/indexer-management/resolvers/allocations.ts @@ -482,9 +482,7 @@ export default { await subgraphManager.ensure( logger, models, - `${subgraphDeployment.ipfsHash.slice(0, 23)}/${subgraphDeployment.ipfsHash.slice( - 23, - )}`, + `indexer-agent/${subgraphDeployment.ipfsHash.slice(-10)}`, subgraphDeployment, indexNode, )