From d5c9b520e1de083cf7c6bbc154471528412d3eec Mon Sep 17 00:00:00 2001 From: Jay Ji Date: Fri, 3 May 2024 14:27:31 +1200 Subject: [PATCH] [release] 20240503 (#69) --- .github/workflows/release.yml | 3 +-- packages/node/CHANGELOG.md | 6 +++++- packages/node/package.json | 5 +++-- packages/node/src/stellar/block.stellar.ts | 1 + yarn.lock | 12 ++++++------ 5 files changed, 16 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9efa0f79..830c4976 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,12 +29,11 @@ jobs: run: | if [ -n "${{ github.event.head_commit.message }}" ] then - echo "commit-message=\"${{ github.event.head_commit.message }}\"" >> "$GITHUB_OUTPUT" + echo "commit-message='$(echo "${{ github.event.head_commit.message }}" | head -n 1)'" >> "$GITHUB_OUTPUT" else echo "commit-message=\"$(git log -1 --pretty=%B | head -n 1)\"" >> "$GITHUB_OUTPUT" fi - Build-Publish: name: Build-Publish needs: pre-ci diff --git a/packages/node/CHANGELOG.md b/packages/node/CHANGELOG.md index f22882b0..8fef3e6e 100644 --- a/packages/node/CHANGELOG.md +++ b/packages/node/CHANGELOG.md @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [3.11.2] - 2024-05-03 +### Fixed +- temp fixed version for node-core, to fix stellar-sdk `Uinit8Array` in sandbox issue. ## [3.11.1] - 2024-05-02 ### Fixed @@ -130,7 +133,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - rename `soroban` to `sorobanEndpoint` in network config (#16) ## [2.12.0] - 2023-09-12 -[Unreleased]: https://github.com/subquery/subql-stellar/compare/node-stellar/3.11.1...HEAD +[Unreleased]: https://github.com/subquery/subql-stellar/compare/node-stellar/3.11.2...HEAD +[3.11.2]: https://github.com/subquery/subql-stellar/compare/node-stellar/3.11.1...node-stellar/3.11.2 [3.11.1]: https://github.com/subquery/subql-stellar/compare/node-stellar/3.11.0...node-stellar/3.11.1 [3.11.0]: https://github.com/subquery/subql-stellar/compare/node-stellar/3.10.1...node-stellar/3.11.0 [3.10.1]: https://github.com/subquery/subql-stellar/compare/node-stellar/3.10.0...node-stellar/3.10.1 diff --git a/packages/node/package.json b/packages/node/package.json index 5aaf9899..9974ec29 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -1,6 +1,6 @@ { "name": "@subql/node-stellar", - "version": "3.11.1", + "version": "3.11.2", "description": "", "author": "Ian He", "license": "GPL-3.0", @@ -26,10 +26,11 @@ "@nestjs/schedule": "^3.0.1", "@subql/common": "^3.5.1", "@subql/common-stellar": "workspace:*", - "@subql/node-core": "^10.1.2", + "@subql/node-core": "10.1.0", "@subql/testing": "^2.0.0", "@subql/types-stellar": "workspace:*", "lodash": "^4.17.21", + "pg": "^8.11.5", "reflect-metadata": "^0.1.13", "rimraf": "^3.0.2", "stellar-sdk": "^11.2.2", diff --git a/packages/node/src/stellar/block.stellar.ts b/packages/node/src/stellar/block.stellar.ts index 364052b2..b07a51da 100644 --- a/packages/node/src/stellar/block.stellar.ts +++ b/packages/node/src/stellar/block.stellar.ts @@ -53,6 +53,7 @@ export class StellarBlockWrapped implements StellarBlockWrapper { filter: StellarBlockFilter, address?: string, ): boolean { + if (!filter) return true; if (filter?.modulo && block.sequence % filter.modulo !== 0) { return false; } diff --git a/yarn.lock b/yarn.lock index a55b71d8..453f77d0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2762,9 +2762,9 @@ __metadata: languageName: node linkType: hard -"@subql/node-core@npm:^10.1.2": - version: 10.1.2 - resolution: "@subql/node-core@npm:10.1.2" +"@subql/node-core@npm:10.1.0": + version: 10.1.0 + resolution: "@subql/node-core@npm:10.1.0" dependencies: "@apollo/client": ^3.8.8 "@nestjs/common": ^9.4.0 @@ -2784,14 +2784,13 @@ __metadata: lodash: ^4.17.21 lru-cache: 10.1.0 merkle-tools: ^1.4.1 - pg: ^8.11.5 prom-client: ^14.0.1 source-map: ^0.7.4 tar: ^6.2.1 toposort-class: ^1.0.1 vm2: ^3.9.19 yargs: ^16.2.0 - checksum: 30c76d1f416cff13c602643f42d9a1f8bfd73ddc83c25911e0ea222c23c85cf7fb7a00ef31c367e6e9b97972fffd85eb7d00b2745e2d238de7bf6e13c13dc4a8 + checksum: b7df8c672e93bc6339d47c4a8c806dd8fca7c1a24e0ce0ac065925928151bc476b8cf9f6149e85c472085f81800d601a79ea6fd8e1e0ca09636b09fdc3371dd0 languageName: node linkType: hard @@ -2808,7 +2807,7 @@ __metadata: "@nestjs/testing": ^9.4.0 "@subql/common": ^3.5.1 "@subql/common-stellar": "workspace:*" - "@subql/node-core": ^10.1.2 + "@subql/node-core": 10.1.0 "@subql/testing": ^2.0.0 "@subql/types-stellar": "workspace:*" "@types/express": ^4.17.13 @@ -2820,6 +2819,7 @@ __metadata: dotenv: ^15.0.1 lodash: ^4.17.21 nodemon: ^2.0.15 + pg: ^8.11.5 reflect-metadata: ^0.1.13 rimraf: ^3.0.2 stellar-sdk: ^11.2.2