Skip to content

Commit

Permalink
print deployment_head
Browse files Browse the repository at this point in the history
  • Loading branch information
kyscott18 committed Nov 13, 2023
1 parent fa0825b commit dd64de4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions benchmarks/src/subgraph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit dd64de4

Please sign in to comment.