From dd64de4d826681a3a6f5e38bdeeab4a6aed50f4b Mon Sep 17 00:00:00 2001 From: Kyle Scott Date: Mon, 13 Nov 2023 17:41:57 -0500 Subject: [PATCH] print deployment_head --- benchmarks/src/subgraph.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/benchmarks/src/subgraph.ts b/benchmarks/src/subgraph.ts index 6944fabe7..3acec7f31 100644 --- a/benchmarks/src/subgraph.ts +++ b/benchmarks/src/subgraph.ts @@ -83,9 +83,9 @@ const waitForSyncComplete = async () => { `Latest synced block number: ${latestSyncedBlockNumber}/${END_BLOCK}`, ); - // for (const m of await fetchSubgraphMetrics()) { - // console.log(JSON.stringify(m)); - // } + for (const m of await fetchSubgraphMetrics()) { + if (m["name"] === "deployment_head") console.log(JSON.stringify(m)); + } if (latestSyncedBlockNumber >= END_BLOCK) { duration = endClock();