diff --git a/packages/common-cosmos/CHANGELOG.md b/packages/common-cosmos/CHANGELOG.md index c6847cb2..52861d28 100644 --- a/packages/common-cosmos/CHANGELOG.md +++ b/packages/common-cosmos/CHANGELOG.md @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed +- Bump `@subql/common` dependency (#292) + ## [5.0.3] - 2024-08-23 ### Changed - Update deps (#282) diff --git a/packages/common-cosmos/package.json b/packages/common-cosmos/package.json index b76ad0e3..4bee41c7 100644 --- a/packages/common-cosmos/package.json +++ b/packages/common-cosmos/package.json @@ -22,7 +22,7 @@ "@protobufs/google": "^0.0.10", "@protobufs/ibc": "^0.1.0", "@protobufs/tendermint": "^0.0.10", - "@subql/common": "^5.1.1", + "@subql/common": "^5.1.3", "@subql/types-cosmos": "workspace:*", "@subql/x-cosmology-telescope": "^1.4.14", "fs-extra": "^11.1.1", diff --git a/packages/node/CHANGELOG.md b/packages/node/CHANGELOG.md index 734f1641..c1d565eb 100644 --- a/packages/node/CHANGELOG.md +++ b/packages/node/CHANGELOG.md @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Changed - Use tendermint-rpc fork to allow support for finalizeBlockEvents (#291) +- Bump `@subql/common` and `@subql/node-core` dependency (#292) ## [4.1.2] - 2024-09-25 ### Fixed diff --git a/packages/node/package.json b/packages/node/package.json index 3852e3f0..57e93856 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -9,8 +9,8 @@ "build": "tsc -b", "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", "start": "nest start", - "start:dev": "nodemon", - "start:prod": "node dist/main", + "start:dev": "TZ=utc nodemon", + "start:prod": "TZ=utc node dist/main", "changelog:release": "echo \"Updating changelog $npm_package_version\" && npx chan release $npm_package_version --git-url \"https://github.com/subquery/subql-cosmos\" --release-prefix=\"node-cosmos/\"" }, "homepage": "https://github.com/subquery/subql-cosmos", @@ -29,9 +29,9 @@ "@nestjs/event-emitter": "^2.0.0", "@nestjs/platform-express": "^9.4.0", "@nestjs/schedule": "^3.0.1", - "@subql/common": "^5.1.1", + "@subql/common": "^5.1.3", "@subql/common-cosmos": "workspace:*", - "@subql/node-core": "^14.1.3", + "@subql/node-core": "^14.1.6", "@subql/types-cosmos": "workspace:*", "lodash": "^4.17.21", "protobufjs": "^6.11.4", diff --git a/packages/node/src/indexer/fetch.service.ts b/packages/node/src/indexer/fetch.service.ts index 1852bac2..c0119be4 100644 --- a/packages/node/src/indexer/fetch.service.ts +++ b/packages/node/src/indexer/fetch.service.ts @@ -16,7 +16,6 @@ import { Header, StoreCacheService, } from '@subql/node-core'; -import { SubqueryProject } from '../configure/SubqueryProject'; import * as CosmosUtil from '../utils/cosmos'; import { cosmosBlockToHeader } from '../utils/cosmos'; import { ApiService, CosmosClient } from './api.service'; @@ -39,7 +38,6 @@ export class FetchService extends BaseFetchService< private apiService: ApiService, nodeConfig: NodeConfig, @Inject('IProjectService') projectService: ProjectService, - @Inject('ISubqueryProject') project: SubqueryProject, @Inject('IBlockDispatcher') blockDispatcher: ICosmosBlockDispatcher, dictionaryService: DictionaryService, @@ -51,7 +49,6 @@ export class FetchService extends BaseFetchService< super( nodeConfig, projectService, - project.network, blockDispatcher, dictionaryService, eventEmitter, diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index cc17170a..f650532b 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed +- Bump `@subql/types-core` dependency (#292) + ## [3.5.3] - 2024-09-25 ### Changed - Enable strict TS setting (#282) diff --git a/packages/types/package.json b/packages/types/package.json index 805f4998..c1f7ced5 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -19,6 +19,6 @@ "@cosmjs/cosmwasm-stargate": "^0.32.4", "@cosmjs/proto-signing": "^0.32.4", "@cosmjs/stargate": "^0.32.4", - "@subql/types-core": "^1.1.1" + "@subql/types-core": "^2.0.0" } } diff --git a/yarn.lock b/yarn.lock index 78a09758..676ffa1e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4194,7 +4194,7 @@ __metadata: "@protobufs/google": ^0.0.10 "@protobufs/ibc": ^0.1.0 "@protobufs/tendermint": ^0.0.10 - "@subql/common": ^5.1.1 + "@subql/common": ^5.1.3 "@subql/types-cosmos": "workspace:*" "@subql/x-cosmology-telescope": ^1.4.14 "@types/bn.js": 4.11.6 @@ -4217,9 +4217,9 @@ __metadata: languageName: unknown linkType: soft -"@subql/common@npm:5.1.1, @subql/common@npm:^5.1.1": - version: 5.1.1 - resolution: "@subql/common@npm:5.1.1" +"@subql/common@npm:5.1.3, @subql/common@npm:^5.1.3": + version: 5.1.3 + resolution: "@subql/common@npm:5.1.3" dependencies: "@subql/types-core": 1.1.1 axios: ^0.28.0 @@ -4229,19 +4229,19 @@ __metadata: reflect-metadata: ^0.1.14 semver: ^7.6.3 update-notifier: ^5.1.0 - checksum: 7e8eeb5bb0242c178df8f68d38f078799d896837bd260804abcdf44eaa8b2ea1f28823d611d3b1a271e5216d0fc1b4a764a417ad9ac83b5c061e9761cc838ffc + checksum: 8946cca78246460c5a9474548b3e83e276fe29e80b4c654213f43ef5c4a4b2f7f4f06c8e124d6b91855084e4afeef0059df33aa8cd7d372c4586b51cc437dbd3 languageName: node linkType: hard -"@subql/node-core@npm:^14.1.3": - version: 14.1.3 - resolution: "@subql/node-core@npm:14.1.3" +"@subql/node-core@npm:^14.1.6": + version: 14.1.6 + resolution: "@subql/node-core@npm:14.1.6" dependencies: "@apollo/client": ^3.11.2 "@nestjs/common": ^9.4.0 "@nestjs/event-emitter": ^2.0.0 "@nestjs/schedule": ^3.0.1 - "@subql/common": 5.1.1 + "@subql/common": 5.1.3 "@subql/testing": 2.2.1 "@subql/types": 3.11.2 "@subql/utils": 2.14.0 @@ -4261,7 +4261,7 @@ __metadata: toposort-class: ^1.0.1 vm2: ^3.9.19 yargs: ^16.2.0 - checksum: 64059af71e59d1956e6eaae4b2f33268c99c644f56c0cee79bfb4a8c2682c22f000bf636b98938a39a33c1a24449fff58912c4b7f74e7ff715c1a6e2f7a4f273 + checksum: c0096e2567ed3a2aeb09e26a4044e1647948dad583eea07c4f261078ed1001593bd0276ab7a430f711b9ba92a929d333bb206ab624b68ddb55bf7847eba94a74 languageName: node linkType: hard @@ -4281,9 +4281,9 @@ __metadata: "@nestjs/schedule": ^3.0.1 "@nestjs/schematics": ^9.2.0 "@nestjs/testing": ^9.4.0 - "@subql/common": ^5.1.1 + "@subql/common": ^5.1.3 "@subql/common-cosmos": "workspace:*" - "@subql/node-core": ^14.1.3 + "@subql/node-core": ^14.1.6 "@subql/types-cosmos": "workspace:*" "@types/express": ^4.17.13 "@types/jest": ^27.4.0 @@ -4314,7 +4314,7 @@ __metadata: languageName: node linkType: hard -"@subql/types-core@npm:1.1.1, @subql/types-core@npm:^1.1.1": +"@subql/types-core@npm:1.1.1": version: 1.1.1 resolution: "@subql/types-core@npm:1.1.1" checksum: d804ba8f9a9a8bbce36e98ef3dd03e33602495e96ca8e04438c38b6631de102772b5f209de17d78657bcacc9c91f9af02dabd68edb8e6e24a2ca6e681e4636fc @@ -4330,6 +4330,13 @@ __metadata: languageName: node linkType: hard +"@subql/types-core@npm:^2.0.0": + version: 2.0.0 + resolution: "@subql/types-core@npm:2.0.0" + checksum: cb32c8f1eed13eabee65fb9dd0b4b64435ca18e820f640bd29a3e3a0d4c58692df1163fbc66c2dd29b52faab60b4bd895518c5aad63ec81ade5c250bf580619c + languageName: node + linkType: hard + "@subql/types-cosmos@workspace:*, @subql/types-cosmos@workspace:packages/types": version: 0.0.0-use.local resolution: "@subql/types-cosmos@workspace:packages/types" @@ -4337,7 +4344,7 @@ __metadata: "@cosmjs/cosmwasm-stargate": ^0.32.4 "@cosmjs/proto-signing": ^0.32.4 "@cosmjs/stargate": ^0.32.4 - "@subql/types-core": ^1.1.1 + "@subql/types-core": ^2.0.0 languageName: unknown linkType: soft