From 42d48b53cdddc5b0bc1d812ea6e3b6241fdc0a44 Mon Sep 17 00:00:00 2001 From: JQQQ Date: Fri, 8 Mar 2024 14:54:31 +1300 Subject: [PATCH] header --- packages/node-core/src/indexer/dictionary/v2/dictionaryV2.ts | 4 ---- packages/node/src/indexer/dictionary/index.ts | 2 +- .../src/indexer/dictionary/substrateDictionary.service.ts | 2 +- packages/node/src/indexer/dictionary/types.ts | 2 +- packages/node/src/indexer/dictionary/v1/index.ts | 2 +- .../node/src/indexer/dictionary/v1/substrateDictionaryV1.ts | 2 +- packages/node/src/indexer/dictionary/v2/index.ts | 2 +- .../node/src/indexer/dictionary/v2/substrateDictionaryV2.ts | 2 +- packages/node/src/indexer/dictionary/v2/types.ts | 2 +- 9 files changed, 8 insertions(+), 12 deletions(-) diff --git a/packages/node-core/src/indexer/dictionary/v2/dictionaryV2.ts b/packages/node-core/src/indexer/dictionary/v2/dictionaryV2.ts index b2f4a175d1..565fc5e90f 100644 --- a/packages/node-core/src/indexer/dictionary/v2/dictionaryV2.ts +++ b/packages/node-core/src/indexer/dictionary/v2/dictionaryV2.ts @@ -151,10 +151,6 @@ export abstract class DictionaryV2< } const result = this.convertResponseBlocks(response.data.result); this.metadata.end = response.data.result.BlockRange[1]; - logger.debug( - 'NUM DICT RESULTS', - result?.batchBlocks.map((b) => getBlockHeight(b)) - ); return result; } catch (error: any) { logger.error(error, `Dictionary query failed. request: ${JSON.stringify(requestData, null, 2)}`); diff --git a/packages/node/src/indexer/dictionary/index.ts b/packages/node/src/indexer/dictionary/index.ts index 48b021dc3d..f068f3d4aa 100644 --- a/packages/node/src/indexer/dictionary/index.ts +++ b/packages/node/src/indexer/dictionary/index.ts @@ -1,4 +1,4 @@ -// Copyright 2020-2023 SubQuery Pte Ltd authors & contributors +// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors // SPDX-License-Identifier: GPL-3.0 export * from './types'; diff --git a/packages/node/src/indexer/dictionary/substrateDictionary.service.ts b/packages/node/src/indexer/dictionary/substrateDictionary.service.ts index 9c1c86a548..a479de9643 100644 --- a/packages/node/src/indexer/dictionary/substrateDictionary.service.ts +++ b/packages/node/src/indexer/dictionary/substrateDictionary.service.ts @@ -1,4 +1,4 @@ -// Copyright 2020-2023 SubQuery Pte Ltd authors & contributors +// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors // SPDX-License-Identifier: GPL-3.0 import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/node/src/indexer/dictionary/types.ts b/packages/node/src/indexer/dictionary/types.ts index 10fcc3cfee..0203bf297f 100644 --- a/packages/node/src/indexer/dictionary/types.ts +++ b/packages/node/src/indexer/dictionary/types.ts @@ -1,4 +1,4 @@ -// Copyright 2020-2023 SubQuery Pte Ltd authors & contributors +// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors // SPDX-License-Identifier: GPL-3.0 import { MetaData } from '@subql/utils'; diff --git a/packages/node/src/indexer/dictionary/v1/index.ts b/packages/node/src/indexer/dictionary/v1/index.ts index f6ce2aa22a..bf4424b708 100644 --- a/packages/node/src/indexer/dictionary/v1/index.ts +++ b/packages/node/src/indexer/dictionary/v1/index.ts @@ -1,4 +1,4 @@ -// Copyright 2020-2023 SubQuery Pte Ltd authors & contributors +// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors // SPDX-License-Identifier: GPL-3.0 export * from './substrateDictionaryV1'; diff --git a/packages/node/src/indexer/dictionary/v1/substrateDictionaryV1.ts b/packages/node/src/indexer/dictionary/v1/substrateDictionaryV1.ts index 1a8b4c8034..62f47fb029 100644 --- a/packages/node/src/indexer/dictionary/v1/substrateDictionaryV1.ts +++ b/packages/node/src/indexer/dictionary/v1/substrateDictionaryV1.ts @@ -1,4 +1,4 @@ -// Copyright 2020-2023 SubQuery Pte Ltd authors & contributors +// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors // SPDX-License-Identifier: GPL-3.0 import { gql } from '@apollo/client/core'; diff --git a/packages/node/src/indexer/dictionary/v2/index.ts b/packages/node/src/indexer/dictionary/v2/index.ts index c1efbbcd36..e4646bbc5c 100644 --- a/packages/node/src/indexer/dictionary/v2/index.ts +++ b/packages/node/src/indexer/dictionary/v2/index.ts @@ -1,4 +1,4 @@ -// Copyright 2020-2023 SubQuery Pte Ltd authors & contributors +// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors // SPDX-License-Identifier: GPL-3.0 export * from './substrateDictionaryV2'; diff --git a/packages/node/src/indexer/dictionary/v2/substrateDictionaryV2.ts b/packages/node/src/indexer/dictionary/v2/substrateDictionaryV2.ts index 76208ac6ba..798ac63558 100644 --- a/packages/node/src/indexer/dictionary/v2/substrateDictionaryV2.ts +++ b/packages/node/src/indexer/dictionary/v2/substrateDictionaryV2.ts @@ -1,4 +1,4 @@ -// Copyright 2020-2023 SubQuery Pte Ltd authors & contributors +// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors // SPDX-License-Identifier: GPL-3.0 import { EventEmitter2 } from '@nestjs/event-emitter'; diff --git a/packages/node/src/indexer/dictionary/v2/types.ts b/packages/node/src/indexer/dictionary/v2/types.ts index 35c1ef59c1..d4d4d26e3e 100644 --- a/packages/node/src/indexer/dictionary/v2/types.ts +++ b/packages/node/src/indexer/dictionary/v2/types.ts @@ -1,4 +1,4 @@ -// Copyright 2020-2023 SubQuery Pte Ltd authors & contributors +// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors // SPDX-License-Identifier: GPL-3.0 import { DictionaryV2QueryEntry } from '@subql/node-core';