Skip to content

feat: implement Stellar sequence number management #55

feat: implement Stellar sequence number management

feat: implement Stellar sequence number management #55

Status Failure
Total duration 1m 14s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 12 warnings
Test
Process completed with exit code 1.
tests/unit/services/sep10-auth.test.ts > AuthService - SEP-10 Verification > verifyChallenge > should reject when signature is invalid: tests/unit/services/sep10-auth.test.ts#L178
AssertionError: expected [Function] to throw error including 'Signature verification failed' but got 'Invalid signature' Expected: "Signature verification failed" Received: "Invalid signature" ❯ tests/unit/services/sep10-auth.test.ts:178:7
tests/unit/services/process-reward-claim.test.ts: src/config/stellar.ts#L5
Error: [vitest] No "Horizon" export is defined on the "@stellar/stellar-sdk" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("@stellar/stellar-sdk"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ getHorizonServer src/config/stellar.ts:5:25 ❯ new StellarClient src/stellar/client.ts:28:20 ❯ src/stellar/client.ts:125:30
tests/unit/services/concurrent-safety.test.ts: src/config/stellar.ts#L5
Error: [vitest] No "Horizon" export is defined on the "@stellar/stellar-sdk" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("@stellar/stellar-sdk"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ getHorizonServer src/config/stellar.ts:5:25 ❯ new StellarClient src/stellar/client.ts:28:20 ❯ src/stellar/client.ts:125:30 ❯ src/modules/rewards/reward.service.ts:17:1
Lint & Typecheck
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/
Lint & Typecheck: src/modules/auth/auth.controller.ts#L31
Unexpected any. Specify a different type
Lint & Typecheck: src/modules/auth/auth.controller.ts#L14
Unexpected any. Specify a different type
Lint & Typecheck: src/middleware/validation.ts#L41
Unexpected any. Specify a different type
Lint & Typecheck: src/middleware/validation.ts#L32
Unexpected any. Specify a different type
Lint & Typecheck: src/middleware/validation.ts#L23
Unexpected any. Specify a different type
Lint & Typecheck: src/middleware/rate-limit.ts#L51
Unexpected any. Specify a different type
Lint & Typecheck: src/middleware/rate-limit.ts#L20
Unexpected any. Specify a different type
Lint & Typecheck: src/middleware/auth.ts#L13
'reply' is defined but never used. Allowed unused args must match /^_/u
Lint & Typecheck: src/database/seed.ts#L53
'course3' is assigned a value but never used. Allowed unused vars must match /^_/u
Lint & Typecheck: src/config/index.ts#L88
Unexpected any. Specify a different type
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. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/