Skip to content

Commit

Permalink
[release] 20231127 (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
stwiname authored Nov 27, 2023
1 parent f83f3c0 commit 4b29094
Show file tree
Hide file tree
Showing 14 changed files with 40 additions and 42 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,42 +5,42 @@ on:
cpus:
description: 'docker cpus '
default: 2
require: true
required: true
memory:
description: 'docker memory'
default: '4g'
require: true
required: true
benchmark-time:
description: 'Benchmark time(h/m/s)'
default: 30m
require: true
required: true
indexerVersion:
description: 'indexer version'
default: 'latest'
require: true
required: true
deployment:
description: 'Deployment'
default: 'QmY4koPD2LXyLGa9saKg4dihgNe26uEsk1VyNUi3ofb7fU'
require: false
required: false
network-endpoint:
description: 'Network endpoint'
default: 'https://archival-rpc.mainnet.near.org'
require: true
required: true
disableHistorical:
description: 'Disable historical'
default: 'true'
require: false
required: false
batch-size:
description: 'batch-size'
default: 30
require: false
required: false
workers:
description: 'workers'
default: 4
require: false
required: false
others:
description: 'Other flags'
require: false
required: false

jobs:
# Label of the container job
Expand All @@ -65,7 +65,7 @@ jobs:

steps:
#Check out
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 100
token: ${{ secrets.REPO_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gh-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/node-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down Expand Up @@ -98,7 +98,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 }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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-near'"
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

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/query-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ on:
isLatest:
description: 'Add latest tag'
default: 'true'
require: true
required: true

jobs:
query-build-push-docker:

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 100
token: ${{ secrets.REPO_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 3 additions & 0 deletions .yarn/versions/22d93201.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
undecided:
- "@subql/common-near"
- "@subql/types-near"
7 changes: 6 additions & 1 deletion packages/node/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [3.4.3] - 2023-11-27
### Changed
- Update `@subql/node-core` with minor fixes

## [3.4.2] - 2023-11-16
### Fixed
- Sync with `node-core` 6.4.2, Fix incorrect enqueuedBlocks, dictionaries timing out by updating `@subql/apollo-links` (#86)
Expand Down Expand Up @@ -168,7 +172,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Add `toJson` method to function args (#9)

## 1.18.0 - 2023-01-26
[Unreleased]: https://github.com/subquery/subql-near/compare/node-near/3.4.2...HEAD
[Unreleased]: https://github.com/subquery/subql-near/compare/node-near/3.4.3...HEAD
[3.4.3]: https://github.com/subquery/subql-near/compare/node-near/3.4.2...node-near/3.4.3
[3.4.2]: https://github.com/subquery/subql-near/compare/node-near/3.4.1...node-near/3.4.2
[3.4.1]: https://github.com/subquery/subql-near/compare/node-near/3.4.0...node-near/3.4.1
[3.4.0]: https://github.com/subquery/subql-near/compare/node-near/3.3.0...node-near/3.4.0
Expand Down
4 changes: 2 additions & 2 deletions packages/node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@subql/node-near",
"version": "3.4.2",
"version": "3.4.3",
"description": "",
"author": "Ian He",
"license": "GPL-3.0",
Expand All @@ -27,7 +27,7 @@
"@nestjs/schedule": "^3.0.1",
"@subql/common": "^3.3.0",
"@subql/common-near": "workspace:*",
"@subql/node-core": "^6.4.2",
"@subql/node-core": "^7.0.0",
"@subql/types-near": "workspace:*",
"cron-converter": "^1.0.2",
"eventemitter2": "^6.4.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
StoreCacheService,
StoreService,
IProjectService,
PoiService,
BlockDispatcher,
ProcessBlockResponse,
IProjectUpgradeService,
Expand Down Expand Up @@ -43,7 +42,6 @@ export class BlockDispatcherService
smartBatchService: SmartBatchService,
storeService: StoreService,
storeCacheService: StoreCacheService,
poiService: PoiService,
poiSyncService: PoiSyncService,
@Inject('ISubqueryProject') project: SubqueryProject,
dynamicDsService: DynamicDsService,
Expand All @@ -56,7 +54,6 @@ export class BlockDispatcherService
smartBatchService,
storeService,
storeCacheService,
poiService,
poiSyncService,
project,
dynamicDsService,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
NodeConfig,
SmartBatchService,
StoreService,
PoiService,
StoreCacheService,
IProjectService,
WorkerBlockDispatcher,
Expand Down Expand Up @@ -48,7 +47,6 @@ export class WorkerBlockDispatcherService
cacheService: InMemoryCacheService,
storeService: StoreService,
storeCacheService: StoreCacheService,
poiService: PoiService,
poiSyncService: PoiSyncService,
@Inject('ISubqueryProject') project: SubqueryProject,
dynamicDsService: DynamicDsService,
Expand All @@ -63,7 +61,6 @@ export class WorkerBlockDispatcherService
smartBatchService,
storeService,
storeCacheService,
poiService,
poiSyncService,
project,
dynamicDsService,
Expand Down
4 changes: 0 additions & 4 deletions packages/node/src/indexer/fetch.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ import { UnfinalizedBlocksService } from './unfinalizedBlocks.service';
cacheService: InMemoryCacheService,
storeService: StoreService,
storeCacheService: StoreCacheService,
poiService: PoiService,
poiSyncService: PoiSyncService,
project: SubqueryProject,
dynamicDsService: DynamicDsService,
Expand All @@ -79,7 +78,6 @@ import { UnfinalizedBlocksService } from './unfinalizedBlocks.service';
cacheService,
storeService,
storeCacheService,
poiService,
poiSyncService,
project,
dynamicDsService,
Expand All @@ -96,7 +94,6 @@ import { UnfinalizedBlocksService } from './unfinalizedBlocks.service';
smartBatchService,
storeService,
storeCacheService,
poiService,
poiSyncService,
project,
dynamicDsService,
Expand All @@ -112,7 +109,6 @@ import { UnfinalizedBlocksService } from './unfinalizedBlocks.service';
InMemoryCacheService,
StoreService,
StoreCacheService,
PoiService,
PoiSyncService,
'ISubqueryProject',
DynamicDsService,
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3303,9 +3303,9 @@ __metadata:
languageName: node
linkType: hard

"@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
Expand All @@ -3330,7 +3330,7 @@ __metadata:
tar: ^6.1.11
vm2: ^3.9.19
yargs: ^16.2.0
checksum: 93f7e2c1e1f855645496d92d4a5ad5970eee092dee7f2274687285b15bae87139ffdd61e979a33fe7470cd8abc4b660786e2148cfa003ad2566c9f5a4c1676a2
checksum: 0c83ef7d7540c6ae667faaec69c7ad542880c481c763199bccaa22bb4110ee9a516cc29a4dc74e99be48157b1ccc0668cad24f8fb3910977146e2293ff3f5a91
languageName: node
linkType: hard

Expand All @@ -3348,7 +3348,7 @@ __metadata:
"@nestjs/testing": ^9.4.0
"@subql/common": ^3.3.0
"@subql/common-near": "workspace:*"
"@subql/node-core": ^6.4.2
"@subql/node-core": ^7.0.0
"@subql/types-near": "workspace:*"
"@types/express": ^4.17.13
"@types/jest": ^27.4.0
Expand Down

0 comments on commit 4b29094

Please sign in to comment.