Skip to content

Commit

Permalink
Revert temp logs
Browse files Browse the repository at this point in the history
  • Loading branch information
KanievskyiDanylo committed Jun 7, 2024
1 parent 518223b commit 51e7070
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ export async function getSuccessfulSwaps({
: {},
);

console.log('fetcSwaps', subgraphURL, JSON.stringify(variables));
const { data } = await thegraphClient.post<SwapsGQLRespose>(subgraphURL, {
query: regorgBlockHashes ? SwapsQueryBlockHash : SwapsQuery,
variables,
Expand Down
15 changes: 0 additions & 15 deletions src/lib/block-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -104,11 +99,6 @@ export class BlockInfo {
block,
};
try {
console.log(
'getBlockTimeStamp',
this.subgraphURL,
JSON.stringify(variables),
);
const {
data: { data },
} = await thegraphClient.post(
Expand Down Expand Up @@ -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(
Expand Down
1 change: 0 additions & 1 deletion src/lib/swaps-tracker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ export class SwapsTracker {
number_lt: toBlock,
};

console.log('indexSwaps', this.subgraphURL, JSON.stringify(variables));
const {
data: { data },
} = await Utils._post(
Expand Down
5 changes: 0 additions & 5 deletions src/lib/utils/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,6 @@ export async function fetchBlocksTimestamps({
blocks: blockNumberSliced,
};

console.log(
'fetchBlocksTimestamps',
subgraphURL,
JSON.stringify(variables),
);
const {
data: { data },
} = await thegraphClient.post<{
Expand Down

0 comments on commit 51e7070

Please sign in to comment.