From cd32c813f63a7848c98641dbb7285ce51f8fad60 Mon Sep 17 00:00:00 2001 From: Scott Twiname Date: Wed, 5 Feb 2025 13:07:13 +1300 Subject: [PATCH] Update copyright headers to 2025 (#102) --- .eslintrc.js | 8 ++++---- packages/common-stellar/src/index.ts | 2 +- packages/common-stellar/src/project/index.ts | 2 +- packages/common-stellar/src/project/load.ts | 2 +- packages/common-stellar/src/project/models.ts | 2 +- packages/common-stellar/src/project/project.spec.ts | 2 +- packages/common-stellar/src/project/types.ts | 2 +- packages/common-stellar/src/project/utils.ts | 2 +- .../src/project/versioned/ProjectManifestVersioned.ts | 2 +- packages/common-stellar/src/project/versioned/index.ts | 2 +- .../common-stellar/src/project/versioned/v1_0_0/index.ts | 2 +- .../common-stellar/src/project/versioned/v1_0_0/model.ts | 2 +- packages/node/src/app.module.ts | 2 +- packages/node/src/configure/SubqueryProject.ts | 2 +- packages/node/src/configure/configure.module.ts | 2 +- .../indexer/blockDispatcher/block-dispatcher.service.ts | 2 +- packages/node/src/indexer/blockDispatcher/index.ts | 2 +- .../indexer/blockDispatcher/stellar-block-dispatcher.ts | 2 +- .../blockDispatcher/worker-block-dispatcher.service.ts | 2 +- packages/node/src/indexer/dictionary/index.ts | 2 +- .../src/indexer/dictionary/stellarDictionary.service.ts | 2 +- packages/node/src/indexer/dictionary/v1/index.ts | 2 +- .../src/indexer/dictionary/v1/stellarDictionaryV1.spec.ts | 2 +- .../node/src/indexer/dictionary/v1/stellarDictionaryV1.ts | 2 +- packages/node/src/indexer/ds-processor.service.ts | 2 +- packages/node/src/indexer/dynamic-ds.service.ts | 2 +- packages/node/src/indexer/fetch.module.ts | 2 +- packages/node/src/indexer/fetch.service.ts | 2 +- packages/node/src/indexer/indexer.manager.ts | 2 +- packages/node/src/indexer/project.service.ts | 2 +- packages/node/src/indexer/types.ts | 2 +- packages/node/src/indexer/unfinalizedBlocks.service.ts | 2 +- packages/node/src/indexer/worker/worker-fetch.module.ts | 2 +- packages/node/src/indexer/worker/worker.module.ts | 2 +- packages/node/src/indexer/worker/worker.service.ts | 2 +- packages/node/src/indexer/worker/worker.ts | 2 +- packages/node/src/init.ts | 2 +- packages/node/src/main.ts | 2 +- packages/node/src/stellar/api.connection.spec.ts | 2 +- packages/node/src/stellar/api.connection.ts | 2 +- packages/node/src/stellar/api.service.stellar.spec.ts | 2 +- packages/node/src/stellar/api.service.stellar.ts | 2 +- packages/node/src/stellar/api.stellar.spec.ts | 2 +- packages/node/src/stellar/api.stellar.ts | 2 +- packages/node/src/stellar/block.stellar.spec.ts | 2 +- packages/node/src/stellar/block.stellar.ts | 2 +- packages/node/src/stellar/index.ts | 2 +- packages/node/src/stellar/safe-api.ts | 2 +- packages/node/src/stellar/soroban.server.spec.ts | 2 +- packages/node/src/stellar/soroban.server.ts | 2 +- packages/node/src/stellar/stellar.server.ts | 2 +- packages/node/src/stellar/utils.stellar.ts | 2 +- packages/node/src/subcommands/forceClean.init.ts | 2 +- packages/node/src/subcommands/forceClean.module.ts | 2 +- packages/node/src/subcommands/reindex.init.ts | 2 +- packages/node/src/subcommands/reindex.module.ts | 2 +- packages/node/src/subcommands/testing.init.ts | 2 +- packages/node/src/subcommands/testing.module.ts | 2 +- packages/node/src/subcommands/testing.service.ts | 2 +- packages/node/src/utils/project.ts | 2 +- packages/node/src/utils/string.ts | 2 +- packages/node/src/yargs.ts | 2 +- packages/types/src/global.ts | 2 +- packages/types/src/index.ts | 2 +- packages/types/src/interfaces.ts | 2 +- packages/types/src/project.ts | 2 +- packages/types/src/stellar/index.ts | 2 +- packages/types/src/stellar/interfaces.ts | 4 ++-- 68 files changed, 72 insertions(+), 72 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index b97df45b..76989f63 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -61,11 +61,11 @@ module.exports = { accessibility: 'no-public', }, ], - '@typescript-eslint/no-namespace': ['error', {allowDeclarations: true}], + '@typescript-eslint/no-namespace': ['error', { allowDeclarations: true }], // "@typescript-eslint/member-ordering": "error", // "@typescript-eslint/naming-convention": "error", // "@typescript-eslint/no-param-reassign": "error", - '@typescript-eslint/promise-function-async': ['error', {checkArrowFunctions: false}], + '@typescript-eslint/promise-function-async': ['error', { checkArrowFunctions: false }], // "arrow-body-style": "error", complexity: ['error', 20], curly: ['error', 'multi-line'], @@ -85,8 +85,8 @@ module.exports = { 2, 'line', [ - //Copyright 2020-2023 SubQuery Pte Ltd authors & contributors - {pattern: ' Copyright \\d{4}(-\\d{4})? SubQuery Pte Ltd authors & contributors'}, + // Copyright 2020-2025 SubQuery Pte Ltd authors & contributors + { pattern: ' Copyright \\d{4}(-\\d{4})? SubQuery Pte Ltd authors & contributors' }, ' SPDX-License-Identifier: GPL-3.0', ], 2, diff --git a/packages/common-stellar/src/index.ts b/packages/common-stellar/src/index.ts index d729fe92..2fbf3b3d 100644 --- a/packages/common-stellar/src/index.ts +++ b/packages/common-stellar/src/index.ts @@ -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 './project'; diff --git a/packages/common-stellar/src/project/index.ts b/packages/common-stellar/src/project/index.ts index 7b738121..c55db159 100644 --- a/packages/common-stellar/src/project/index.ts +++ b/packages/common-stellar/src/project/index.ts @@ -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'; diff --git a/packages/common-stellar/src/project/load.ts b/packages/common-stellar/src/project/load.ts index d176adfb..3592834f 100644 --- a/packages/common-stellar/src/project/load.ts +++ b/packages/common-stellar/src/project/load.ts @@ -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 {StellarProjectManifestVersioned, VersionedProjectManifest} from './versioned'; diff --git a/packages/common-stellar/src/project/models.ts b/packages/common-stellar/src/project/models.ts index 2281f066..70463c8b 100644 --- a/packages/common-stellar/src/project/models.ts +++ b/packages/common-stellar/src/project/models.ts @@ -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 {Horizon} from '@stellar/stellar-sdk'; diff --git a/packages/common-stellar/src/project/project.spec.ts b/packages/common-stellar/src/project/project.spec.ts index fbbd247c..87a1246e 100644 --- a/packages/common-stellar/src/project/project.spec.ts +++ b/packages/common-stellar/src/project/project.spec.ts @@ -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'; diff --git a/packages/common-stellar/src/project/types.ts b/packages/common-stellar/src/project/types.ts index 55a6d508..dc93ceb2 100644 --- a/packages/common-stellar/src/project/types.ts +++ b/packages/common-stellar/src/project/types.ts @@ -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, ProjectNetworkConfig} from '@subql/types-core'; diff --git a/packages/common-stellar/src/project/utils.ts b/packages/common-stellar/src/project/utils.ts index d657c406..d83c3832 100644 --- a/packages/common-stellar/src/project/utils.ts +++ b/packages/common-stellar/src/project/utils.ts @@ -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 { diff --git a/packages/common-stellar/src/project/versioned/ProjectManifestVersioned.ts b/packages/common-stellar/src/project/versioned/ProjectManifestVersioned.ts index 78e84f3d..94943439 100644 --- a/packages/common-stellar/src/project/versioned/ProjectManifestVersioned.ts +++ b/packages/common-stellar/src/project/versioned/ProjectManifestVersioned.ts @@ -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'; diff --git a/packages/common-stellar/src/project/versioned/index.ts b/packages/common-stellar/src/project/versioned/index.ts index e73a2d4a..84face2a 100644 --- a/packages/common-stellar/src/project/versioned/index.ts +++ b/packages/common-stellar/src/project/versioned/index.ts @@ -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'; diff --git a/packages/common-stellar/src/project/versioned/v1_0_0/index.ts b/packages/common-stellar/src/project/versioned/v1_0_0/index.ts index 37369651..09f85b4d 100644 --- a/packages/common-stellar/src/project/versioned/v1_0_0/index.ts +++ b/packages/common-stellar/src/project/versioned/v1_0_0/index.ts @@ -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'; diff --git a/packages/common-stellar/src/project/versioned/v1_0_0/model.ts b/packages/common-stellar/src/project/versioned/v1_0_0/model.ts index 22dcf740..60cb5110 100644 --- a/packages/common-stellar/src/project/versioned/v1_0_0/model.ts +++ b/packages/common-stellar/src/project/versioned/v1_0_0/model.ts @@ -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 { diff --git a/packages/node/src/app.module.ts b/packages/node/src/app.module.ts index e46cbf73..9c05cbc7 100644 --- a/packages/node/src/app.module.ts +++ b/packages/node/src/app.module.ts @@ -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 * as fs from 'fs'; diff --git a/packages/node/src/configure/SubqueryProject.ts b/packages/node/src/configure/SubqueryProject.ts index 51f27c8c..5d7565b2 100644 --- a/packages/node/src/configure/SubqueryProject.ts +++ b/packages/node/src/configure/SubqueryProject.ts @@ -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'; diff --git a/packages/node/src/configure/configure.module.ts b/packages/node/src/configure/configure.module.ts index 9f583fd2..d930392d 100644 --- a/packages/node/src/configure/configure.module.ts +++ b/packages/node/src/configure/configure.module.ts @@ -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'; diff --git a/packages/node/src/indexer/blockDispatcher/block-dispatcher.service.ts b/packages/node/src/indexer/blockDispatcher/block-dispatcher.service.ts index f74e3f98..121ad7ac 100644 --- a/packages/node/src/indexer/blockDispatcher/block-dispatcher.service.ts +++ b/packages/node/src/indexer/blockDispatcher/block-dispatcher.service.ts @@ -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'; diff --git a/packages/node/src/indexer/blockDispatcher/index.ts b/packages/node/src/indexer/blockDispatcher/index.ts index 8172e0a3..3cd7f9e0 100644 --- a/packages/node/src/indexer/blockDispatcher/index.ts +++ b/packages/node/src/indexer/blockDispatcher/index.ts @@ -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'; diff --git a/packages/node/src/indexer/blockDispatcher/stellar-block-dispatcher.ts b/packages/node/src/indexer/blockDispatcher/stellar-block-dispatcher.ts index ef58a28d..3a9686a2 100644 --- a/packages/node/src/indexer/blockDispatcher/stellar-block-dispatcher.ts +++ b/packages/node/src/indexer/blockDispatcher/stellar-block-dispatcher.ts @@ -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'; diff --git a/packages/node/src/indexer/blockDispatcher/worker-block-dispatcher.service.ts b/packages/node/src/indexer/blockDispatcher/worker-block-dispatcher.service.ts index 11ed3bec..199350b1 100644 --- a/packages/node/src/indexer/blockDispatcher/worker-block-dispatcher.service.ts +++ b/packages/node/src/indexer/blockDispatcher/worker-block-dispatcher.service.ts @@ -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'; diff --git a/packages/node/src/indexer/dictionary/index.ts b/packages/node/src/indexer/dictionary/index.ts index 76084ebb..16832e22 100644 --- a/packages/node/src/indexer/dictionary/index.ts +++ b/packages/node/src/indexer/dictionary/index.ts @@ -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 './stellarDictionary.service'; diff --git a/packages/node/src/indexer/dictionary/stellarDictionary.service.ts b/packages/node/src/indexer/dictionary/stellarDictionary.service.ts index 61a09841..b58b7c05 100644 --- a/packages/node/src/indexer/dictionary/stellarDictionary.service.ts +++ b/packages/node/src/indexer/dictionary/stellarDictionary.service.ts @@ -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'; diff --git a/packages/node/src/indexer/dictionary/v1/index.ts b/packages/node/src/indexer/dictionary/v1/index.ts index 2f7f9f90..f0a8bb71 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-2024 SubQuery Pte Ltd authors & contributors +// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors // SPDX-License-Identifier: GPL-3.0 export * from './stellarDictionaryV1'; diff --git a/packages/node/src/indexer/dictionary/v1/stellarDictionaryV1.spec.ts b/packages/node/src/indexer/dictionary/v1/stellarDictionaryV1.spec.ts index 9f049782..c9158e2c 100644 --- a/packages/node/src/indexer/dictionary/v1/stellarDictionaryV1.spec.ts +++ b/packages/node/src/indexer/dictionary/v1/stellarDictionaryV1.spec.ts @@ -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'; diff --git a/packages/node/src/indexer/dictionary/v1/stellarDictionaryV1.ts b/packages/node/src/indexer/dictionary/v1/stellarDictionaryV1.ts index 9dfd070f..a4132750 100644 --- a/packages/node/src/indexer/dictionary/v1/stellarDictionaryV1.ts +++ b/packages/node/src/indexer/dictionary/v1/stellarDictionaryV1.ts @@ -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 { diff --git a/packages/node/src/indexer/ds-processor.service.ts b/packages/node/src/indexer/ds-processor.service.ts index f6ae4a68..40a40d1c 100644 --- a/packages/node/src/indexer/ds-processor.service.ts +++ b/packages/node/src/indexer/ds-processor.service.ts @@ -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'; diff --git a/packages/node/src/indexer/dynamic-ds.service.ts b/packages/node/src/indexer/dynamic-ds.service.ts index 0c8e3343..11f6e64f 100644 --- a/packages/node/src/indexer/dynamic-ds.service.ts +++ b/packages/node/src/indexer/dynamic-ds.service.ts @@ -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'; diff --git a/packages/node/src/indexer/fetch.module.ts b/packages/node/src/indexer/fetch.module.ts index 1c2bf1c5..019e8540 100644 --- a/packages/node/src/indexer/fetch.module.ts +++ b/packages/node/src/indexer/fetch.module.ts @@ -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'; diff --git a/packages/node/src/indexer/fetch.service.ts b/packages/node/src/indexer/fetch.service.ts index 24677b68..8121a55a 100644 --- a/packages/node/src/indexer/fetch.service.ts +++ b/packages/node/src/indexer/fetch.service.ts @@ -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'; diff --git a/packages/node/src/indexer/indexer.manager.ts b/packages/node/src/indexer/indexer.manager.ts index 3ceadd2b..ca953d1c 100644 --- a/packages/node/src/indexer/indexer.manager.ts +++ b/packages/node/src/indexer/indexer.manager.ts @@ -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'; diff --git a/packages/node/src/indexer/project.service.ts b/packages/node/src/indexer/project.service.ts index 5005b0ad..1f6ee98f 100644 --- a/packages/node/src/indexer/project.service.ts +++ b/packages/node/src/indexer/project.service.ts @@ -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'; diff --git a/packages/node/src/indexer/types.ts b/packages/node/src/indexer/types.ts index 83bd64d9..3bcb9655 100644 --- a/packages/node/src/indexer/types.ts +++ b/packages/node/src/indexer/types.ts @@ -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 { StellarBlockWrapper } from '@subql/types-stellar'; diff --git a/packages/node/src/indexer/unfinalizedBlocks.service.ts b/packages/node/src/indexer/unfinalizedBlocks.service.ts index 2b32cdde..b71e794a 100644 --- a/packages/node/src/indexer/unfinalizedBlocks.service.ts +++ b/packages/node/src/indexer/unfinalizedBlocks.service.ts @@ -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'; diff --git a/packages/node/src/indexer/worker/worker-fetch.module.ts b/packages/node/src/indexer/worker/worker-fetch.module.ts index e8cf6481..1ed9a182 100644 --- a/packages/node/src/indexer/worker/worker-fetch.module.ts +++ b/packages/node/src/indexer/worker/worker-fetch.module.ts @@ -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'; diff --git a/packages/node/src/indexer/worker/worker.module.ts b/packages/node/src/indexer/worker/worker.module.ts index f48ffc20..85407341 100644 --- a/packages/node/src/indexer/worker/worker.module.ts +++ b/packages/node/src/indexer/worker/worker.module.ts @@ -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'; diff --git a/packages/node/src/indexer/worker/worker.service.ts b/packages/node/src/indexer/worker/worker.service.ts index 736fc0e9..98d1121f 100644 --- a/packages/node/src/indexer/worker/worker.service.ts +++ b/packages/node/src/indexer/worker/worker.service.ts @@ -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 { threadId } from 'node:worker_threads'; diff --git a/packages/node/src/indexer/worker/worker.ts b/packages/node/src/indexer/worker/worker.ts index 840d073d..1e1c73e0 100644 --- a/packages/node/src/indexer/worker/worker.ts +++ b/packages/node/src/indexer/worker/worker.ts @@ -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 // initlogger and yargs must be imported before all other imports diff --git a/packages/node/src/init.ts b/packages/node/src/init.ts index 5905f099..ba97edfc 100644 --- a/packages/node/src/init.ts +++ b/packages/node/src/init.ts @@ -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 { NestFactory } from '@nestjs/core'; diff --git a/packages/node/src/main.ts b/packages/node/src/main.ts index a0dcda85..d18c28c4 100644 --- a/packages/node/src/main.ts +++ b/packages/node/src/main.ts @@ -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 { initLogger } from '@subql/node-core/logger'; diff --git a/packages/node/src/stellar/api.connection.spec.ts b/packages/node/src/stellar/api.connection.spec.ts index c0d3d7a9..72219288 100644 --- a/packages/node/src/stellar/api.connection.spec.ts +++ b/packages/node/src/stellar/api.connection.spec.ts @@ -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 { diff --git a/packages/node/src/stellar/api.connection.ts b/packages/node/src/stellar/api.connection.ts index 2cfd065d..33c8228b 100644 --- a/packages/node/src/stellar/api.connection.ts +++ b/packages/node/src/stellar/api.connection.ts @@ -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 { diff --git a/packages/node/src/stellar/api.service.stellar.spec.ts b/packages/node/src/stellar/api.service.stellar.spec.ts index b1e4c874..d9872d00 100644 --- a/packages/node/src/stellar/api.service.stellar.spec.ts +++ b/packages/node/src/stellar/api.service.stellar.spec.ts @@ -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'; diff --git a/packages/node/src/stellar/api.service.stellar.ts b/packages/node/src/stellar/api.service.stellar.ts index d206e66c..8a7d775d 100644 --- a/packages/node/src/stellar/api.service.stellar.ts +++ b/packages/node/src/stellar/api.service.stellar.ts @@ -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'; diff --git a/packages/node/src/stellar/api.stellar.spec.ts b/packages/node/src/stellar/api.stellar.spec.ts index a72aef72..5c81db6a 100644 --- a/packages/node/src/stellar/api.stellar.spec.ts +++ b/packages/node/src/stellar/api.stellar.spec.ts @@ -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 { StellarApi } from './api.stellar'; diff --git a/packages/node/src/stellar/api.stellar.ts b/packages/node/src/stellar/api.stellar.ts index bad005f3..c03a741b 100644 --- a/packages/node/src/stellar/api.stellar.ts +++ b/packages/node/src/stellar/api.stellar.ts @@ -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'; diff --git a/packages/node/src/stellar/block.stellar.spec.ts b/packages/node/src/stellar/block.stellar.spec.ts index cb538c6b..e42ca1ba 100644 --- a/packages/node/src/stellar/block.stellar.spec.ts +++ b/packages/node/src/stellar/block.stellar.spec.ts @@ -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 { nativeToScVal, Contract, xdr, Horizon } from '@stellar/stellar-sdk'; diff --git a/packages/node/src/stellar/block.stellar.ts b/packages/node/src/stellar/block.stellar.ts index 789a9bbc..cd2abc54 100644 --- a/packages/node/src/stellar/block.stellar.ts +++ b/packages/node/src/stellar/block.stellar.ts @@ -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 { scValToNative } from '@stellar/stellar-sdk'; diff --git a/packages/node/src/stellar/index.ts b/packages/node/src/stellar/index.ts index 5d4131a5..45490df8 100644 --- a/packages/node/src/stellar/index.ts +++ b/packages/node/src/stellar/index.ts @@ -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.stellar'; diff --git a/packages/node/src/stellar/safe-api.ts b/packages/node/src/stellar/safe-api.ts index 2b68c8b3..c3db09a7 100644 --- a/packages/node/src/stellar/safe-api.ts +++ b/packages/node/src/stellar/safe-api.ts @@ -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 { diff --git a/packages/node/src/stellar/soroban.server.spec.ts b/packages/node/src/stellar/soroban.server.spec.ts index 1d06b302..a68bbfaa 100644 --- a/packages/node/src/stellar/soroban.server.spec.ts +++ b/packages/node/src/stellar/soroban.server.spec.ts @@ -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 { rpc } from '@stellar/stellar-sdk'; diff --git a/packages/node/src/stellar/soroban.server.ts b/packages/node/src/stellar/soroban.server.ts index bb6bcdab..fa4b1ae0 100644 --- a/packages/node/src/stellar/soroban.server.ts +++ b/packages/node/src/stellar/soroban.server.ts @@ -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 { rpc } from '@stellar/stellar-sdk'; diff --git a/packages/node/src/stellar/stellar.server.ts b/packages/node/src/stellar/stellar.server.ts index 34146757..75e4769e 100644 --- a/packages/node/src/stellar/stellar.server.ts +++ b/packages/node/src/stellar/stellar.server.ts @@ -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 { Horizon } from '@stellar/stellar-sdk'; diff --git a/packages/node/src/stellar/utils.stellar.ts b/packages/node/src/stellar/utils.stellar.ts index 46ec4e98..49fc3f58 100644 --- a/packages/node/src/stellar/utils.stellar.ts +++ b/packages/node/src/stellar/utils.stellar.ts @@ -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 { Horizon } from '@stellar/stellar-sdk'; diff --git a/packages/node/src/subcommands/forceClean.init.ts b/packages/node/src/subcommands/forceClean.init.ts index 2fadff28..e8e7314c 100644 --- a/packages/node/src/subcommands/forceClean.init.ts +++ b/packages/node/src/subcommands/forceClean.init.ts @@ -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 { forceClean } from '@subql/node-core'; diff --git a/packages/node/src/subcommands/forceClean.module.ts b/packages/node/src/subcommands/forceClean.module.ts index faa9cbe2..3ba8a8f5 100644 --- a/packages/node/src/subcommands/forceClean.module.ts +++ b/packages/node/src/subcommands/forceClean.module.ts @@ -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'; diff --git a/packages/node/src/subcommands/reindex.init.ts b/packages/node/src/subcommands/reindex.init.ts index 2f9fc100..821d3d44 100644 --- a/packages/node/src/subcommands/reindex.init.ts +++ b/packages/node/src/subcommands/reindex.init.ts @@ -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 { reindexInit as baseReindexInit } from '@subql/node-core'; diff --git a/packages/node/src/subcommands/reindex.module.ts b/packages/node/src/subcommands/reindex.module.ts index c45aa479..105710e5 100644 --- a/packages/node/src/subcommands/reindex.module.ts +++ b/packages/node/src/subcommands/reindex.module.ts @@ -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'; diff --git a/packages/node/src/subcommands/testing.init.ts b/packages/node/src/subcommands/testing.init.ts index 9e6b73d9..1125ad47 100644 --- a/packages/node/src/subcommands/testing.init.ts +++ b/packages/node/src/subcommands/testing.init.ts @@ -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 { exitWithError, getLogger } from '@subql/node-core'; diff --git a/packages/node/src/subcommands/testing.module.ts b/packages/node/src/subcommands/testing.module.ts index ba94e65a..06edece1 100644 --- a/packages/node/src/subcommands/testing.module.ts +++ b/packages/node/src/subcommands/testing.module.ts @@ -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'; diff --git a/packages/node/src/subcommands/testing.service.ts b/packages/node/src/subcommands/testing.service.ts index 749a653e..76a36655 100644 --- a/packages/node/src/subcommands/testing.service.ts +++ b/packages/node/src/subcommands/testing.service.ts @@ -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'; diff --git a/packages/node/src/utils/project.ts b/packages/node/src/utils/project.ts index 3a768a76..25d5b121 100644 --- a/packages/node/src/utils/project.ts +++ b/packages/node/src/utils/project.ts @@ -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 { diff --git a/packages/node/src/utils/string.ts b/packages/node/src/utils/string.ts index 240b2126..f11e9dcd 100644 --- a/packages/node/src/utils/string.ts +++ b/packages/node/src/utils/string.ts @@ -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 function stringNormalizedEq(a: string, b?: string): boolean { diff --git a/packages/node/src/yargs.ts b/packages/node/src/yargs.ts index b9eaf440..b7525245 100644 --- a/packages/node/src/yargs.ts +++ b/packages/node/src/yargs.ts @@ -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 { yargsBuilder } from '@subql/node-core/yargs'; diff --git a/packages/types/src/global.ts b/packages/types/src/global.ts index 562b1470..c0b2498c 100644 --- a/packages/types/src/global.ts +++ b/packages/types/src/global.ts @@ -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 {rpc} from '@stellar/stellar-sdk'; diff --git a/packages/types/src/index.ts b/packages/types/src/index.ts index 01831850..1c69fc73 100644 --- a/packages/types/src/index.ts +++ b/packages/types/src/index.ts @@ -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 './interfaces'; diff --git a/packages/types/src/interfaces.ts b/packages/types/src/interfaces.ts index ed0c8a7b..56f59c9c 100644 --- a/packages/types/src/interfaces.ts +++ b/packages/types/src/interfaces.ts @@ -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 {StellarBlock, StellarEffect, SorobanEvent, StellarOperation, StellarTransaction} from './stellar'; diff --git a/packages/types/src/project.ts b/packages/types/src/project.ts index 9c80fe14..3e902fde 100644 --- a/packages/types/src/project.ts +++ b/packages/types/src/project.ts @@ -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 { diff --git a/packages/types/src/stellar/index.ts b/packages/types/src/stellar/index.ts index 203b0d75..d5c5f4a1 100644 --- a/packages/types/src/stellar/index.ts +++ b/packages/types/src/stellar/index.ts @@ -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 './interfaces'; diff --git a/packages/types/src/stellar/interfaces.ts b/packages/types/src/stellar/interfaces.ts index b01e1840..490d3d03 100644 --- a/packages/types/src/stellar/interfaces.ts +++ b/packages/types/src/stellar/interfaces.ts @@ -1,7 +1,7 @@ -// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors +// Copyright 2020-2025 SubQuery Pte Ltd authors & contributors // SPDX-License-Identifier: GPL-3.0 -import {Contract, xdr, Horizon, rpc} from '@stellar/stellar-sdk'; +import {Horizon, rpc} from '@stellar/stellar-sdk'; import {BlockWrapper} from '../interfaces'; export type StellarBlock = Omit & {