From 51e707034d710d8d6069d28b79be6c46e72fbe6c Mon Sep 17 00:00:00 2001 From: Danylo Kanievskyi Date: Fri, 7 Jun 2024 12:36:13 +0300 Subject: [PATCH] Revert temp logs --- .../transactions-indexing/swaps-subgraph.ts | 1 - src/lib/block-info.ts | 15 --------------- src/lib/swaps-tracker.ts | 1 - src/lib/utils/helpers.ts | 5 ----- 4 files changed, 22 deletions(-) diff --git a/scripts/gas-refund-program/transactions-indexing/swaps-subgraph.ts b/scripts/gas-refund-program/transactions-indexing/swaps-subgraph.ts index b8ee9e82..4be4fc0d 100644 --- a/scripts/gas-refund-program/transactions-indexing/swaps-subgraph.ts +++ b/scripts/gas-refund-program/transactions-indexing/swaps-subgraph.ts @@ -129,7 +129,6 @@ export async function getSuccessfulSwaps({ : {}, ); - console.log('fetcSwaps', subgraphURL, JSON.stringify(variables)); const { data } = await thegraphClient.post(subgraphURL, { query: regorgBlockHashes ? SwapsQueryBlockHash : SwapsQuery, variables, diff --git a/src/lib/block-info.ts b/src/lib/block-info.ts index ed102d9b..37c4bc9c 100644 --- a/src/lib/block-info.ts +++ b/src/lib/block-info.ts @@ -66,11 +66,6 @@ export class BlockInfo { number_lt: lastFetchedBlock + 100, }; try { - console.log( - 'updateBlockInfo', - this.subgraphURL, - JSON.stringify(variables), - ); const { data: { data }, } = await Utils._post( @@ -104,11 +99,6 @@ export class BlockInfo { block, }; try { - console.log( - 'getBlockTimeStamp', - this.subgraphURL, - JSON.stringify(variables), - ); const { data: { data }, } = await thegraphClient.post( @@ -138,11 +128,6 @@ export class BlockInfo { time_gte: time, }; try { - console.log( - 'getBlockAfterTimeStamp', - this.subgraphURL, - JSON.stringify(variables), - ); const { data: { data }, } = await Utils._post( diff --git a/src/lib/swaps-tracker.ts b/src/lib/swaps-tracker.ts index 8bd81cc2..3eeb6ff6 100644 --- a/src/lib/swaps-tracker.ts +++ b/src/lib/swaps-tracker.ts @@ -154,7 +154,6 @@ export class SwapsTracker { number_lt: toBlock, }; - console.log('indexSwaps', this.subgraphURL, JSON.stringify(variables)); const { data: { data }, } = await Utils._post( diff --git a/src/lib/utils/helpers.ts b/src/lib/utils/helpers.ts index a870f901..a4ff4f14 100644 --- a/src/lib/utils/helpers.ts +++ b/src/lib/utils/helpers.ts @@ -103,11 +103,6 @@ export async function fetchBlocksTimestamps({ blocks: blockNumberSliced, }; - console.log( - 'fetchBlocksTimestamps', - subgraphURL, - JSON.stringify(variables), - ); const { data: { data }, } = await thegraphClient.post<{