From 759d3a3baf7d5bc3a7c0c92de4844fb16c93b4aa Mon Sep 17 00:00:00 2001 From: Ford Date: Tue, 23 Jan 2024 22:12:13 -0800 Subject: [PATCH] agent, common: Use large network subgraph max block distance for tests --- packages/indexer-agent/src/__tests__/indexer.ts | 3 ++- .../indexer-common/src/indexer-management/__tests__/util.ts | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/indexer-agent/src/__tests__/indexer.ts b/packages/indexer-agent/src/__tests__/indexer.ts index c449f04c6..d1b22a5c7 100644 --- a/packages/indexer-agent/src/__tests__/indexer.ts +++ b/packages/indexer-agent/src/__tests__/indexer.ts @@ -163,8 +163,9 @@ const setup = async () => { url: 'http://test-indexer.xyz', }, subgraphs: { + maxBlockDistance: 10000, networkSubgraph: { - url: 'http://test-url.xyz', + url: 'https://api.thegraph.com/subgraphs/name/graphprotocol/graph-network-goerli', }, epochSubgraph: { url: 'http://test-url.xyz', diff --git a/packages/indexer-common/src/indexer-management/__tests__/util.ts b/packages/indexer-common/src/indexer-management/__tests__/util.ts index 610cef629..99ce92b51 100644 --- a/packages/indexer-common/src/indexer-management/__tests__/util.ts +++ b/packages/indexer-common/src/indexer-management/__tests__/util.ts @@ -35,6 +35,7 @@ export const testNetworkSpecification: specification.NetworkSpecification = url: 'http://test-indexer.xyz', }, subgraphs: { + maxBlockDistance: 10000, networkSubgraph: { url: 'https://api.thegraph.com/subgraphs/name/graphprotocol/graph-network-goerli', },