Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
0315c44
upgrade packages
stefangutica May 4, 2026
5df0eac
lint + workflow versions upgrade
stefangutica May 11, 2026
03a3f3f
remove node engine requirement
stefangutica May 11, 2026
722a66c
add package lock
stefangutica May 12, 2026
53609c7
use node 24
stefangutica May 12, 2026
d2d3de5
fix
stefangutica May 12, 2026
f0a6eec
Merge branch 'development' into upgrade-packages
stefangutica May 12, 2026
38c94c4
remove whitespate
stefangutica May 14, 2026
516a0a5
add logs
stefangutica May 19, 2026
e3b8c6b
edit log
stefangutica May 19, 2026
bca44e0
add git
stefangutica May 19, 2026
9252355
edit log
stefangutica May 19, 2026
7d7e495
edit log
stefangutica May 19, 2026
e8865f3
edit log
stefangutica May 19, 2026
5564b83
edit log
stefangutica May 19, 2026
ffa4d1e
fix metrics
stefangutica May 20, 2026
11327a9
global metrics module
stefangutica May 20, 2026
5a25c79
import metrics module for every individual nest app
stefangutica May 20, 2026
3b40302
remove logs + comment
stefangutica May 20, 2026
e2d54d4
Merge pull request #1602 from multiversx/fix-metrics
stefangutica May 20, 2026
49a3ca0
use latest patch for sdk-nestjs
stefangutica May 22, 2026
5ea8ea8
add log
stefangutica May 22, 2026
1a5d8c1
increase ws e2e waiting time + remove log
stefangutica May 22, 2026
fd0a186
config git ignore
stefangutica May 25, 2026
7ce5cb9
package-lock
stefangutica May 26, 2026
e4d8ae7
remove duplicate imports
stefangutica May 27, 2026
ea0a560
use forRoot imports only at the root module
stefangutica May 27, 2026
90058da
add manual trigger for github actions tests
stefangutica May 27, 2026
8cc0377
Merge pull request #1604 from multiversx/fix-nest-modules
stefangutica May 27, 2026
73fbb4b
rename import naming
stefangutica May 27, 2026
1318dc4
remove workflow dispatch triggering
stefangutica May 27, 2026
f07996c
fix unit tests
stefangutica May 27, 2026
40e0f11
fix lint
stefangutica May 27, 2026
0d99560
remove schedule module from public app
stefangutica May 27, 2026
4827d6c
update dockerfile
stefangutica May 28, 2026
9ef7205
increase wait ws messages time
stefangutica May 28, 2026
57bc165
test
stefangutica May 28, 2026
9fec2aa
revert test commit
stefangutica May 28, 2026
ec60647
use latest git actions tools
stefangutica May 28, 2026
f392348
upgrade dev tools + linter
stefangutica May 28, 2026
ce4fc80
use && instead of & for sequential operations
stefangutica May 28, 2026
9878a67
use native fetch in accounts cs tests
stefangutica May 28, 2026
d599687
set axios connection to close after request
stefangutica May 29, 2026
9878cb0
use custom axios config for all cs-e2e tests
stefangutica May 29, 2026
732017e
add log
stefangutica May 29, 2026
7450c4a
add axios config in preparation scripts
stefangutica May 29, 2026
14c7c02
fixes after review
stefangutica May 29, 2026
217937d
remove forceExit for cs tests
stefangutica May 29, 2026
4127576
upgrade elastic version
stefangutica May 29, 2026
21a3113
use specific node versions for actions
stefangutica May 29, 2026
025e59e
allow new patches for node version in github actions
stefangutica May 29, 2026
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
34 changes: 0 additions & 34 deletions .eslintrc.js

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/build-docker-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
attestations: write
steps:
- name: Check out the repo
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Set up Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v6
with:
node-version: '18' # Specify your Node.js version
node-version: '24.14' # Specify your Node.js version

- name: Log in to Docker Hub
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/chain-simulator-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
node-version: [24.14.x]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [24.14.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run lint
- run: npm run lint
26 changes: 13 additions & 13 deletions .github/workflows/load-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.base.sha }}

- name: Set up Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v6
with:
node-version: '20'
node-version: '24.14'

- name: Install dependencies
run: npm ci
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
run: k6 run ./k6/script.js

- name: Upload result file for base branch
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: base-results
path: k6/output/summary.json
Expand All @@ -70,14 +70,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Set up Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v6
with:
node-version: '20'
node-version: '24.14'

- name: Install dependencies
run: npm ci
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
run: k6 run ./k6/script.js

- name: Upload result file for head branch
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: head-results
path: k6/output/summary.json
Expand All @@ -132,17 +132,17 @@ jobs:

needs: [test-base, test-head]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6

- name: Download all artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v7
with:
path: artifacts

- name: Set up Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v6
with:
node-version: '20'
node-version: '24.14'

- name: Compare test results
run: |
Expand All @@ -159,7 +159,7 @@ jobs:
head: ${{ github.event.pull_request.head.sha }}

- name: Upload the report markdown
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
if: github.event_name == 'pull_request'
with:
name: report-markdown
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/unit.tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [24.14.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
Expand Down
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
/dist
/node_modules
/config/config.yaml
/config/config.custom.yaml
/config/config.custom.devnet.yaml
/config/config.custom.testnet.yaml
/config/config.custom.mainnet.yaml
/config/config.custom.*
__snapshots__

# Logs
Expand Down
18 changes: 13 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18.19-alpine AS build
FROM node:24.14.0-alpine AS build

WORKDIR /app
RUN chown -R node:node /app
Expand All @@ -7,27 +7,35 @@ USER node
RUN mkdir -p /app/dist/src
COPY --chown=node . /app

RUN npm install
RUN npm install

# should be removed if you are using custom plugins
RUN npm run init

RUN npm run build

FROM node:18.19-alpine
FROM node:24.14.0-alpine

ENV PYTHONUNBUFFERED=1
RUN apk add --no-cache python3 py3-pip py3-ruamel.yaml
RUN apk add --no-cache python3 py3-pip py3-ruamel.yaml git ffmpeg

WORKDIR /app
RUN mkdir -p /app/src/plugins

RUN chown -R node:node /app


COPY --from=build --chown=node /app/*.json /app/
COPY --from=build --chown=node /app/dist /app/dist
COPY --from=build --chown=node /app/node_modules /app/node_modules
COPY --from=build --chown=node /app/config /app/config
COPY --from=build --chown=node /app/.git /app/.git
COPY --from=build --chown=node /app/src/plugins /app/src/plugins


COPY entrypoint.py /app/entrypoint.py

USER node

EXPOSE 3001
CMD ["python", "entrypoint.py"]

42 changes: 42 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
const tsParser = require('@typescript-eslint/parser');
const tsPlugin = require('@typescript-eslint/eslint-plugin');

module.exports = [
{
ignores: [
'dist/**',
'node_modules/**',
'eslint.config.js'
],
},
{
files: ['**/*.ts', '**/*.tsx'],
languageOptions: {
parser: tsParser,
parserOptions: {
project: './tsconfig.json',
sourceType: 'module'
},
},
plugins: {
'@typescript-eslint': tsPlugin
},
rules: {
"require-await": ["error"],
"max-len": ["off"],
"semi": ["error"],
"comma-dangle": ["error", "only-multiline"],
"eol-last": ["error"],

"@typescript-eslint/no-explicit-any": ["off"],
"@typescript-eslint/no-unused-vars": ["off"],
"@typescript-eslint/ban-ts-comment": ["off"],
"@typescript-eslint/no-empty-function": ["off"],
"@typescript-eslint/ban-types": ["off"],
"@typescript-eslint/no-var-requires": ["off"],
"@typescript-eslint/no-inferrable-types": ["off"],
"@typescript-eslint/no-floating-promises": ["error"],
"@typescript-eslint/await-thenable": ["error"],
},
},
];
Loading
Loading