-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* WIP implement blockchain service * Update tests * Fix runtime issues * Update node core with fix * Update changelogs and nodejs to lts
- Loading branch information
Showing
36 changed files
with
1,153 additions
and
1,223 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,43 +3,43 @@ on: | |
workflow_dispatch: | ||
inputs: | ||
cpus: | ||
description: 'docker cpus ' | ||
description: "docker cpus " | ||
default: 2 | ||
require: true | ||
memory: | ||
description: 'docker memory' | ||
default: '4g' | ||
description: "docker memory" | ||
default: "4g" | ||
require: true | ||
benchmark-time: | ||
description: 'Benchmark time(h/m/s)' | ||
description: "Benchmark time(h/m/s)" | ||
default: 30m | ||
require: true | ||
indexerVersion: | ||
description: 'indexer version' | ||
default: 'latest' | ||
description: "indexer version" | ||
default: "latest" | ||
require: true | ||
deployment: | ||
description: 'Deployment' | ||
default: 'QmUiVCsuBKrPetipdQBDBPLZFqm87gzyRPQsYEfzzS3jzt' #Archway starter project | ||
description: "Deployment" | ||
default: "QmUiVCsuBKrPetipdQBDBPLZFqm87gzyRPQsYEfzzS3jzt" #Archway starter project | ||
require: false | ||
network-endpoint: | ||
description: 'Network endpoint' | ||
default: 'https://rpc.mainnet.archway.io:443' | ||
description: "Network endpoint" | ||
default: "https://rpc.mainnet.archway.io:443" | ||
require: true | ||
use-network-api-key: | ||
description: 'Use api endpoint key' | ||
description: "Use api endpoint key" | ||
default: false | ||
required: true | ||
batch-size: | ||
description: 'batch-size' | ||
description: "batch-size" | ||
default: 30 | ||
require: false | ||
workers: | ||
description: 'workers' | ||
description: "workers" | ||
default: 4 | ||
require: false | ||
others: | ||
description: 'Other flags' | ||
description: "Other flags" | ||
require: false | ||
|
||
jobs: | ||
|
@@ -48,7 +48,7 @@ jobs: | |
# Containers must run in Linux based operating systems | ||
runs-on: ubuntu-latest | ||
# Docker Hub image that `container-job` executes in | ||
container: node:18 | ||
container: node:lts-alpine | ||
services: | ||
# Label used to access the service container | ||
postgres: | ||
|
@@ -70,7 +70,6 @@ jobs: | |
fetch-depth: 100 | ||
token: ${{ secrets.REPO_TOKEN }} | ||
|
||
|
||
- name: Prepare Network Endpoint | ||
id: prepare-network-endpoint | ||
run: | | ||
|
@@ -82,12 +81,12 @@ jobs: | |
echo "::set-output name=network-endpoint::${NETWORK_ENDPOINT}" | ||
echo "::add-mask::${NETWORK_ENDPOINT}" | ||
# Store the prepared NETWORK_ENDPOINT in an environment variable | ||
echo "NETWORK_ENDPOINT=${NETWORK_ENDPOINT}" >> $GITHUB_ENV | ||
echo "NETWORK_ENDPOINT=${NETWORK_ENDPOINT}" >> $GITHUB_ENV | ||
- name: Install Docker inside the container | ||
run: | | ||
apt-get update | ||
apt-get install -y docker.io | ||
apt-get install -y docker.io | ||
- name: Install PostgreSQL client | ||
run: | | ||
|
@@ -176,15 +175,14 @@ jobs: | |
name: benchmark-${{steps.current-time.outputs.formattedTime}}-${{steps.query_meta.outputs.indexer_version}} | ||
path: output/benchmark/ | ||
|
||
|
||
- name: Post to a Slack channel | ||
id: slack | ||
uses: slackapi/[email protected] | ||
with: | ||
# Slack channel id, channel name, or user id to post message. | ||
# See also: https://api.slack.com/methods/chat.postMessage#channels | ||
# channel for sq-benchmark | ||
channel-id: 'C05JF51F1MJ' | ||
channel-id: "C05JF51F1MJ" | ||
# For posting a rich message using Block Kit | ||
payload: | | ||
{ | ||
|
@@ -201,4 +199,3 @@ jobs: | |
} | ||
env: | ||
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,14 +24,14 @@ | |
"@cosmjs/stargate": "npm:@subql/[email protected]", | ||
"@cosmjs/tendermint-rpc": "npm:@subql/[email protected]", | ||
"@kyvejs/sdk": "^1.3.2", | ||
"@nestjs/common": "^9.4.0", | ||
"@nestjs/core": "^9.4.0", | ||
"@nestjs/common": "^11.0.10", | ||
"@nestjs/core": "^11.0.10", | ||
"@nestjs/event-emitter": "^2.0.0", | ||
"@nestjs/platform-express": "^9.4.0", | ||
"@nestjs/schedule": "^3.0.1", | ||
"@subql/common": "^5.3.1", | ||
"@nestjs/platform-express": "^11.0.10", | ||
"@nestjs/schedule": "^5.0.1", | ||
"@subql/common": "^5.4.0", | ||
"@subql/common-cosmos": "workspace:*", | ||
"@subql/node-core": "^16.2.1", | ||
"@subql/node-core": "^17.0.2", | ||
"@subql/types-cosmos": "workspace:*", | ||
"lodash": "^4.17.21", | ||
"protobufjs": "^6.11.4", | ||
|
@@ -40,8 +40,8 @@ | |
"yargs": "^16.2.0" | ||
}, | ||
"devDependencies": { | ||
"@nestjs/schematics": "^9.2.0", | ||
"@nestjs/testing": "^9.4.0", | ||
"@nestjs/schematics": "^11.0.1", | ||
"@nestjs/testing": "^11.0.10", | ||
"@types/express": "^4.17.13", | ||
"@types/jest": "^27.4.0", | ||
"@types/lodash": "^4.14.178", | ||
|
Oops, something went wrong.