From 9c8cf35b05f5a1ff5c2efe815e5b1c4f16502b7e Mon Sep 17 00:00:00 2001 From: Scott Twiname Date: Mon, 27 Nov 2023 16:05:30 +1300 Subject: [PATCH] [release] 20231127 (#94) * [release] 20231127 * fix changelog --- .github/workflows/gh-release.yml | 4 ++-- .github/workflows/node-docker.yml | 6 +++--- .github/workflows/pr.yml | 4 ++-- .github/workflows/prerelease.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- packages/node/CHANGELOG.md | 7 ++++++- packages/node/package.json | 4 ++-- .../blockDispatcher/block-dispatcher.service.ts | 3 --- .../blockDispatcher/worker-block-dispatcher.service.ts | 3 --- packages/node/src/indexer/fetch.module.ts | 4 ---- yarn.lock | 10 +++++----- 11 files changed, 24 insertions(+), 29 deletions(-) diff --git a/.github/workflows/gh-release.yml b/.github/workflows/gh-release.yml index 0388b742..d95956ad 100644 --- a/.github/workflows/gh-release.yml +++ b/.github/workflows/gh-release.yml @@ -8,12 +8,12 @@ jobs: runs-on: ubuntu-latest steps: #Check out - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: Setup Node.js environment - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: 18 diff --git a/.github/workflows/node-docker.yml b/.github/workflows/node-docker.yml index 42cc6203..263f658d 100644 --- a/.github/workflows/node-docker.yml +++ b/.github/workflows/node-docker.yml @@ -16,7 +16,7 @@ jobs: outputs: changes_found: ${{ steps.check_changes.outputs.changes_found }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 2 - name: Check for package changes and commit message @@ -40,7 +40,7 @@ jobs: if: needs.check.outputs.changes_found == 'true' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 100 token: ${{ secrets.REPO_TOKEN }} @@ -98,7 +98,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 100 token: ${{ secrets.REPO_TOKEN }} diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index ce03c066..f99e17b2 100755 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -14,7 +14,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Setup Node.js environment - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: 18 - run: yarn @@ -48,7 +48,7 @@ jobs: - uses: actions/checkout@v3 - name: Use Node 18 - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: 18 diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 9e292767..0c3e89cd 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -25,13 +25,13 @@ jobs: if: "!startsWith(github.event.head_commit.message, '[SKIP CI]') && !startsWith(github.event.head_commit.message, '[release]') && github.repository == 'subquery/subql-algorand'" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 100 token: ${{ secrets.REPO_TOKEN }} - name: Setup Node.js environment - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: 18 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dc72f634..deb4e74e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,12 +26,12 @@ jobs: runs-on: ubuntu-latest steps: #Check out - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: Setup Node.js environment - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: 18 diff --git a/packages/node/CHANGELOG.md b/packages/node/CHANGELOG.md index b8bf69ee..f0b49e17 100644 --- a/packages/node/CHANGELOG.md +++ b/packages/node/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [3.4.2] - 2023-11-27 +### Changed +- Update `@subql/node-core` with minor fixes + ## [3.4.1] - 2023-11-16 ### Fixed - Sync with `node-core` 6.4.2, Fix incorrect enqueuedBlocks, dictionaries timing out by updating `@subql/apollo-links` (#93) @@ -180,7 +184,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Synced latest changes from main repo. (#10) ## [1.6.0] - 2022-08-04 -[Unreleased]: https://github.com/subquery/subql-algorand/compare/node-algorand/3.4.1...HEAD +[Unreleased]: https://github.com/subquery/subql-algorand/compare/node-algorand/3.4.2...HEAD +[3.4.2]: https://github.com/subquery/subql-algorand/compare/node-algorand/3.4.1...node-algorand/3.4.2 [3.4.1]: https://github.com/subquery/subql-algorand/compare/node-algorand/3.4.0...node-algorand/3.4.1 [3.4.0]: https://github.com/subquery/subql-algorand/compare/node-algorand/3.3.0...node-algorand/3.4.0 [3.3.0]: https://github.com/subquery/subql-algorand/compare/node-algorand/3.2.0...node-algorand/3.3.0 diff --git a/packages/node/package.json b/packages/node/package.json index 20598668..acb18b94 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -1,6 +1,6 @@ { "name": "@subql/node-algorand", - "version": "3.4.1", + "version": "3.4.2", "description": "", "author": "Ian He", "license": "GPL-3.0", @@ -27,7 +27,7 @@ "@nestjs/schedule": "^3.0.1", "@subql/common": "^3.3.0", "@subql/common-algorand": "workspace:*", - "@subql/node-core": "^6.4.2", + "@subql/node-core": "^7.0.0", "@subql/types-algorand": "workspace:*", "algosdk": "^2.2.0", "axios": "^1.3.4", diff --git a/packages/node/src/indexer/blockDispatcher/block-dispatcher.service.ts b/packages/node/src/indexer/blockDispatcher/block-dispatcher.service.ts index e4bd3039..204d5356 100644 --- a/packages/node/src/indexer/blockDispatcher/block-dispatcher.service.ts +++ b/packages/node/src/indexer/blockDispatcher/block-dispatcher.service.ts @@ -9,7 +9,6 @@ import { StoreCacheService, StoreService, IProjectService, - PoiService, PoiSyncService, BlockDispatcher, ProcessBlockResponse, @@ -44,7 +43,6 @@ export class BlockDispatcherService smartBatchService: SmartBatchService, storeService: StoreService, storeCacheService: StoreCacheService, - poiService: PoiService, poiSyncService: PoiSyncService, @Inject('ISubqueryProject') project: SubqueryProject, dynamicDsService: DynamicDsService, @@ -57,7 +55,6 @@ export class BlockDispatcherService smartBatchService, storeService, storeCacheService, - poiService, poiSyncService, project, dynamicDsService, 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 e79eddf9..ede0a04d 100644 --- a/packages/node/src/indexer/blockDispatcher/worker-block-dispatcher.service.ts +++ b/packages/node/src/indexer/blockDispatcher/worker-block-dispatcher.service.ts @@ -8,7 +8,6 @@ import { NodeConfig, SmartBatchService, StoreService, - PoiService, PoiSyncService, StoreCacheService, IProjectService, @@ -48,7 +47,6 @@ export class WorkerBlockDispatcherService cacheService: InMemoryCacheService, storeService: StoreService, storeCacheService: StoreCacheService, - poiService: PoiService, poiSyncService: PoiSyncService, @Inject('ISubqueryProject') project: SubqueryProject, dynamicDsService: DynamicDsService, @@ -63,7 +61,6 @@ export class WorkerBlockDispatcherService smartBatchService, storeService, storeCacheService, - poiService, poiSyncService, project, dynamicDsService, diff --git a/packages/node/src/indexer/fetch.module.ts b/packages/node/src/indexer/fetch.module.ts index 54ea0ed6..0c1b3f4a 100644 --- a/packages/node/src/indexer/fetch.module.ts +++ b/packages/node/src/indexer/fetch.module.ts @@ -78,7 +78,6 @@ import { UnfinalizedBlocksService } from './unfinalizedBlocks.service'; cacheService: InMemoryCacheService, storeService: StoreService, storeCacheService: StoreCacheService, - poiService: PoiService, poiSyncService: PoiSyncService, project: SubqueryProject, dynamicDsService: DynamicDsService, @@ -95,7 +94,6 @@ import { UnfinalizedBlocksService } from './unfinalizedBlocks.service'; cacheService, storeService, storeCacheService, - poiService, poiSyncService, project, dynamicDsService, @@ -112,7 +110,6 @@ import { UnfinalizedBlocksService } from './unfinalizedBlocks.service'; smartBatchService, storeService, storeCacheService, - poiService, poiSyncService, project, dynamicDsService, @@ -128,7 +125,6 @@ import { UnfinalizedBlocksService } from './unfinalizedBlocks.service'; InMemoryCacheService, StoreService, StoreCacheService, - PoiService, PoiSyncService, 'ISubqueryProject', DynamicDsService, diff --git a/yarn.lock b/yarn.lock index c58ebc6d..f324aafb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3110,7 +3110,7 @@ __metadata: "@nestjs/testing": ^9.4.0 "@subql/common": ^3.3.0 "@subql/common-algorand": "workspace:*" - "@subql/node-core": ^6.4.2 + "@subql/node-core": ^7.0.0 "@subql/types-algorand": "workspace:*" "@types/express": ^4.17.13 "@types/jest": ^27.4.0 @@ -3139,9 +3139,9 @@ __metadata: languageName: unknown linkType: soft -"@subql/node-core@npm:^6.4.2": - version: 6.4.2 - resolution: "@subql/node-core@npm:6.4.2" +"@subql/node-core@npm:^7.0.0": + version: 7.0.0 + resolution: "@subql/node-core@npm:7.0.0" dependencies: "@apollo/client": ^3.7.16 "@nestjs/common": ^9.4.0 @@ -3166,7 +3166,7 @@ __metadata: tar: ^6.1.11 vm2: ^3.9.19 yargs: ^16.2.0 - checksum: 93f7e2c1e1f855645496d92d4a5ad5970eee092dee7f2274687285b15bae87139ffdd61e979a33fe7470cd8abc4b660786e2148cfa003ad2566c9f5a4c1676a2 + checksum: 0c83ef7d7540c6ae667faaec69c7ad542880c481c763199bccaa22bb4110ee9a516cc29a4dc74e99be48157b1ccc0668cad24f8fb3910977146e2293ff3f5a91 languageName: node linkType: hard