Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update headers for 2025 #362

Merged
merged 2 commits into from
Feb 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ module.exports = {
2,
'line',
[
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0
{pattern: ' Copyright \\d{4}(-\\d{4})? SubQuery Pte Ltd authors & contributors'},
' SPDX-License-Identifier: GPL-3.0',
Expand Down
2 changes: 2 additions & 0 deletions packages/common-ethereum/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Changed
- Update header year to 2025 (#362)

## [4.6.1] - 2025-01-28
### Changed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import fs from 'fs';
Expand Down Expand Up @@ -279,7 +279,7 @@
};

await expect(
generateAbis([ds], PROJECT_PATH, undefined as any, undefined as any, undefined as any)

Check warning on line 282 in packages/common-ethereum/src/codegen/codegen-controller.spec.ts

View workflow job for this annotation

GitHub Actions / code-style

Unexpected any. Specify a different type

Check warning on line 282 in packages/common-ethereum/src/codegen/codegen-controller.spec.ts

View workflow job for this annotation

GitHub Actions / code-style

Unexpected any. Specify a different type

Check warning on line 282 in packages/common-ethereum/src/codegen/codegen-controller.spec.ts

View workflow job for this annotation

GitHub Actions / code-style

Unexpected any. Specify a different type
).rejects.toThrow(/Asset: "erc20" not found in project/);
});

Expand Down Expand Up @@ -314,7 +314,7 @@
};

await expect(
generateAbis([ds], PROJECT_PATH, undefined as any, undefined as any, undefined as any)

Check warning on line 317 in packages/common-ethereum/src/codegen/codegen-controller.spec.ts

View workflow job for this annotation

GitHub Actions / code-style

Unexpected any. Specify a different type

Check warning on line 317 in packages/common-ethereum/src/codegen/codegen-controller.spec.ts

View workflow job for this annotation

GitHub Actions / code-style

Unexpected any. Specify a different type

Check warning on line 317 in packages/common-ethereum/src/codegen/codegen-controller.spec.ts

View workflow job for this annotation

GitHub Actions / code-style

Unexpected any. Specify a different type
).rejects.toThrow(/Function: "approve222\(address a,uint256 b\)" not found in erc20 contract interface/);
});

Expand Down Expand Up @@ -349,7 +349,7 @@
};

await expect(
generateAbis([ds], PROJECT_PATH, undefined as any, undefined as any, undefined as any)

Check warning on line 352 in packages/common-ethereum/src/codegen/codegen-controller.spec.ts

View workflow job for this annotation

GitHub Actions / code-style

Unexpected any. Specify a different type

Check warning on line 352 in packages/common-ethereum/src/codegen/codegen-controller.spec.ts

View workflow job for this annotation

GitHub Actions / code-style

Unexpected any. Specify a different type

Check warning on line 352 in packages/common-ethereum/src/codegen/codegen-controller.spec.ts

View workflow job for this annotation

GitHub Actions / code-style

Unexpected any. Specify a different type
).rejects.toThrow(/Topic: "NotExist\(address a\)" not found in erc20 contract interface/);
});

Expand Down Expand Up @@ -387,7 +387,7 @@
generateAbis(
[ds],
PROJECT_PATH,
(p) => Promise.resolve(),

Check warning on line 390 in packages/common-ethereum/src/codegen/codegen-controller.spec.ts

View workflow job for this annotation

GitHub Actions / code-style

'p' is defined but never used
(v) => v as any,
() => Promise.resolve()
)
Expand Down
2 changes: 1 addition & 1 deletion packages/common-ethereum/src/codegen/codegen-controller.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import assert from 'assert';
Expand Down
2 changes: 1 addition & 1 deletion packages/common-ethereum/src/codegen/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

export const CUSTOM_EVM_HANDLERS = [
Expand Down
2 changes: 1 addition & 1 deletion packages/common-ethereum/src/codegen/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

export * from './codegen-controller';
Expand Down
2 changes: 1 addition & 1 deletion packages/common-ethereum/src/codegen/utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import {loadFromJsonOrYaml} from '@subql/common';
Expand Down
2 changes: 1 addition & 1 deletion packages/common-ethereum/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

export * from './codegen';
Expand Down
2 changes: 1 addition & 1 deletion packages/common-ethereum/src/project/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

export * from './load';
Expand Down
2 changes: 1 addition & 1 deletion packages/common-ethereum/src/project/load.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import {EthereumProjectManifestVersioned, VersionedProjectManifest} from './versioned';
Expand Down
2 changes: 1 addition & 1 deletion packages/common-ethereum/src/project/models.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import {BaseDataSource} from '@subql/common';
Expand Down
2 changes: 1 addition & 1 deletion packages/common-ethereum/src/project/project.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import fs from 'fs';
Expand Down
2 changes: 1 addition & 1 deletion packages/common-ethereum/src/project/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import {IProjectManifest} from '@subql/types-core';
Expand Down
2 changes: 1 addition & 1 deletion packages/common-ethereum/src/project/utils.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import {isEthereumOrZilliqaAddress} from './utils';
Expand Down
2 changes: 1 addition & 1 deletion packages/common-ethereum/src/project/utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import path from 'path';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import {plainToClass} from 'class-transformer';
Expand Down
2 changes: 1 addition & 1 deletion packages/common-ethereum/src/project/versioned/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

export * from './ProjectManifestVersioned';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

export * from './model';
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import {
Expand Down
2 changes: 2 additions & 0 deletions packages/node/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Changed
- Update header year to 2025 (#362)

## [5.4.0] - 2025-01-28
### Changed
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/app.module.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import { Module } from '@nestjs/common';
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/configure/NodeConfig.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import { IConfig, NodeConfig } from '@subql/node-core';
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/configure/SubqueryProject.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import {
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/configure/configure.module.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import { DynamicModule, Global, Module } from '@nestjs/common';
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/ethereum/api.connection.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import { EventEmitter2 } from '@nestjs/event-emitter';
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/ethereum/api.ethereum.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import path from 'path';
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/ethereum/api.ethereum.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import assert from 'assert';
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/ethereum/api.service.ethereum.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import { INestApplication } from '@nestjs/common';
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/ethereum/api.service.ethereum.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import assert from 'assert';
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/ethereum/block.ethereum.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import { NOT_NULL_FILTER } from '@subql/common-ethereum';
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/ethereum/ethers/celo/celo-provider.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import { WebSocketProvider, BaseProvider } from '@ethersproject/providers';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import { WebSocketProvider } from '@ethersproject/providers';
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/ethereum/ethers/op/op-provider.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import { EthereumReceipt } from '@subql/types-ethereum';
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/ethereum/ethers/op/op-provider.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import {
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/ethereum/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

export * from './api.ethereum';
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/ethereum/safe-api.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import {
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/ethereum/utils.ethereum.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import { Block } from '@ethersproject/abstract-provider';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import { Inject, Injectable, OnApplicationShutdown } from '@nestjs/common';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import { IBlockDispatcher } from '@subql/node-core';
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/indexer/blockDispatcher/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import { BlockDispatcherService } from './block-dispatcher.service';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import path from 'path';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import { Inject, Injectable } from '@nestjs/common';
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/indexer/dictionary/utils.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import {
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/indexer/dictionary/utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import { SubqlRuntimeHandler } from '@subql/types-ethereum';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import { NodeConfig } from '@subql/node-core';
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/indexer/dictionary/v1/ethDictionaryV1.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import { NOT_NULL_FILTER } from '@subql/common-ethereum';
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/indexer/dictionary/v1/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

export * from './ethDictionaryV1';
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import { NOT_NULL_FILTER } from '@subql/common-ethereum';
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/indexer/dictionary/v2/ethDictionaryV2.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import { NOT_NULL_FILTER } from '@subql/common-ethereum';
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/indexer/dictionary/v2/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

export * from './ethDictionaryV2';
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/indexer/dictionary/v2/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import { DictionaryV2QueryEntry } from '@subql/node-core';
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/indexer/dictionary/v2/utils.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import { IBlock } from '@subql/node-core';
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/indexer/dictionary/v2/utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import { Formatter } from '@ethersproject/providers';
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/indexer/ds-processor.service.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import { Injectable } from '@nestjs/common';
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/indexer/dynamic-ds.service.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import { Inject, Injectable } from '@nestjs/common';
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/indexer/fetch.module.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import { Module } from '@nestjs/common';
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/indexer/fetch.service.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import { Inject, Injectable } from '@nestjs/common';
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/indexer/indexer.manager.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import { Injectable } from '@nestjs/common';
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/indexer/project.service.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import { EventEmitter2 } from '@nestjs/event-emitter';
Expand Down
4 changes: 3 additions & 1 deletion packages/node/src/indexer/project.service.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import { isMainThread } from 'worker_threads';
Expand Down Expand Up @@ -68,6 +68,7 @@ export class ProjectService extends BaseProjectService<
);
}

// eslint-disable-next-line @typescript-eslint/require-await
@profiler()
async init(startHeight?: number): Promise<void> {
return super.init(startHeight);
Expand All @@ -84,6 +85,7 @@ export class ProjectService extends BaseProjectService<
this.apiService.updateBlockFetching();
}

// eslint-disable-next-line @typescript-eslint/require-await
protected async initUnfinalized(): Promise<Header | undefined> {
return this.unfinalizedBlockService.init(
this.reindex.bind(this),
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/indexer/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import { EthereumBlock, LightEthereumBlock } from '@subql/types-ethereum';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import { hexZeroPad } from '@ethersproject/bytes';
Expand Down
Loading
Loading