Skip to content

fix: ESLint rules for crypto package - allow require() and relax rules #14

fix: ESLint rules for crypto package - allow require() and relax rules

fix: ESLint rules for crypto package - allow require() and relax rules #14

Triggered via push September 7, 2026 12:39
Status Failure
Total duration 55s
Artifacts

ci.yml

on: push
Contract Service — TypeScript Tests
47s
Contract Service — TypeScript Tests
test-crypto-integration
13s
test-crypto-integration
test-crypto-examples
18s
test-crypto-examples
FIPS 140-2 Compliance Validation
14s
FIPS 140-2 Compliance Validation
Soroban Contract — WASM Build & Test
26s
Soroban Contract — WASM Build & Test
security-scan
22s
security-scan
all-checks-passed
4s
all-checks-passed
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 18 warnings
test-crypto-integration
Process completed with exit code 1.
FIPS 140-2 Compliance Validation
Process completed with exit code 1.
test-crypto-examples
Process completed with exit code 1.
security-scan
Process completed with exit code 1.
Soroban Contract — WASM Build & Test
Process completed with exit code 101.
test
Process completed with exit code 1.
test
command (/home/runner/work/core/core/apps/backend) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test exited (1)
all-checks-passed
Process completed with exit code 1.
test-crypto-integration
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
FIPS 140-2 Compliance Validation
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
lint
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
lint: packages/crypto/tests/keyManagement.test.ts#L24
'KeyManager' is defined but never used
lint: packages/crypto/tests/fipsCompliance.test.ts#L5
'FIPSValidationResult' is defined but never used
lint: packages/crypto/tests/AnonVoteClient.test.ts#L55
'authToken' is assigned a value but never used
lint: packages/crypto/src/zkp/paillier.ts#L49
'p' is never reassigned. Use 'const' instead
lint: packages/crypto/src/fipsValidator.ts#L415
'error' is defined but never used
lint: packages/crypto/src/cryptoAdapter.ts#L3
'bytesToHex' is defined but never used
lint: packages/crypto/src/crypto.ts#L314
'_parseBallotKey' is defined but never used
lint: packages/crypto/src/crypto.ts#L2
'ValidationError' is defined but never used
lint: packages/crypto/src/crypto.ts#L2
'CryptoError' is defined but never used
lint: packages/crypto/src/client.ts#L28
'KeyManager' is defined but never used
test-crypto-examples
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
security-scan
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Soroban Contract — WASM Build & Test
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Contract Service — TypeScript Tests
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/