Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release] 20240729 #274

Merged
merged 2 commits into from
Jul 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions packages/node/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [4.0.0] - 2024-07-29
### Changed
- Update cosmos and subql dependencies (#270)
- Use Subquery Project code from node core
- Use Subquery Project code from node core
- Breaking change: Update to latest `@subql/node-core`, require indexing environment timezone set to UTC (#272)

### Fixed
- Fix testing service missing inject nodeConfig
- Fix testing service not injecting NodeConfig
- Bump `@subql/node-core` with fixes for data consitstency issue (#274)
- Docker images not having TZ set to UTC (#274)

### Added
- Detection of Cosmos SDK version to use correct client type (#270)
Expand Down Expand Up @@ -432,7 +436,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Init release

[Unreleased]: https://github.com/subquery/subql-cosmos/compare/node-cosmos/3.12.1...HEAD
[Unreleased]: https://github.com/subquery/subql-cosmos/compare/node-cosmos/4.0.0...HEAD
[4.0.0]: https://github.com/subquery/subql-cosmos/compare/node-cosmos/3.12.1...node-cosmos/4.0.0
[3.12.1]: https://github.com/subquery/subql-cosmos/compare/node-cosmos/3.12.0...node-cosmos/3.12.1
[3.12.0]: https://github.com/subquery/subql-cosmos/compare/node-cosmos/3.11.2...node-cosmos/3.12.0
[3.11.2]: https://github.com/subquery/subql-cosmos/compare/node-cosmos/3.11.1...node-cosmos/3.11.2
Expand Down
2 changes: 1 addition & 1 deletion packages/node/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Build stage
FROM node:18-alpine as builder
ENV TZ ='UTC'
# Set working directory
WORKDIR /app

Expand Down Expand Up @@ -41,6 +40,7 @@ RUN mkdir -p .monitor && \

# Make the user not ROOT
USER 1000
ENV TZ=utc

# Set Entry point and command
ENTRYPOINT ["/sbin/tini", "--", "/usr/local/lib/node_modules/@subql/node-cosmos/bin/run"]
Expand Down
7 changes: 3 additions & 4 deletions packages/node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@subql/node-cosmos",
"version": "3.12.2-3",
"version": "4.0.0",
"description": "",
"author": "SubQuery Pte Ltd",
"license": "GPL-3.0",
Expand Down Expand Up @@ -31,7 +31,7 @@
"@nestjs/schedule": "^3.0.1",
"@subql/common": "^4.1.1",
"@subql/common-cosmos": "workspace:*",
"@subql/node-core": "^13.0.0",
"@subql/node-core": "^13.0.1",
"@subql/types-cosmos": "workspace:*",
"lodash": "^4.17.21",
"protobufjs": "^6.11.4",
Expand All @@ -57,6 +57,5 @@
"files": [
"/dist",
"/bin"
],
"stableVersion": "3.12.2-2"
]
}
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6402,9 +6402,9 @@ __metadata:
languageName: node
linkType: hard

"@subql/node-core@npm:^13.0.0":
version: 13.0.0
resolution: "@subql/node-core@npm:13.0.0"
"@subql/node-core@npm:^13.0.1":
version: 13.0.1
resolution: "@subql/node-core@npm:13.0.1"
dependencies:
"@apollo/client": ^3.8.8
"@nestjs/common": ^9.4.0
Expand All @@ -6431,7 +6431,7 @@ __metadata:
toposort-class: ^1.0.1
vm2: ^3.9.19
yargs: ^16.2.0
checksum: 91ebd7999da59470ef13923db694b81353e810892d63aa15174ff1c2688e61d6b0860fb53efdb31700fccf0772a42fbe19afff66efac5fb9ca258c9aa4012b2f
checksum: 6946a95cd4ec14c9d1a00ecb830a8d92174923db85b89ba340c76afa5fa96bc07c83f6051dbd87ccb65085f43093437ebd2e24ee9de4285a576f84f5e5e5cda3
languageName: node
linkType: hard

Expand All @@ -6453,7 +6453,7 @@ __metadata:
"@nestjs/testing": ^9.4.0
"@subql/common": ^4.1.1
"@subql/common-cosmos": "workspace:*"
"@subql/node-core": ^13.0.0
"@subql/node-core": ^13.0.1
"@subql/types-cosmos": "workspace:*"
"@types/express": ^4.17.13
"@types/jest": ^27.4.0
Expand Down
Loading