Skip to content

Store validated ledgers inside a persistent DB #1115

Store validated ledgers inside a persistent DB

Store validated ledgers inside a persistent DB #1115

Triggered via pull request August 21, 2025 23:41
Status Failure
Total duration 1m 2s
Artifacts

node.js.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 20 warnings
build (18.x): src/connection-manager/connections.ts#L273
Unsafe member access ['ledger_index'] on an `any` value
build (18.x): src/connection-manager/connections.ts#L272
["ledger_index"] is better written in dot notation
build (18.x): src/connection-manager/connections.ts#L272
Unsafe member access [i + 1] on an `any` value
build (18.x): src/connection-manager/connections.ts#L269
Unsafe member access [i] on an `any` value
build (18.x): src/connection-manager/connections.ts#L268
Unsafe member access .length on an `any` value
build (18.x): src/connection-manager/connections.ts#L27
`../shared/database/validatedLedgers` import should occur before import of `../shared/types`
build (18.x): src/connection-manager/connections.ts#L21
There should be at least one empty line between import groups
build (18.x): src/api/routes/v1/validated-ledgers.ts#L16
Unexpected use of 'isNaN'
build (18.x): src/api/routes/v1/index.ts#L18
`./missing-ledgers` import should occur before import of `./networks`
build (18.x): src/api/routes/v1/index.ts#L17
`./validated-ledgers` import should occur before import of `./validator`
build (20.x): src/connection-manager/connections.ts#L273
Unsafe member access ['ledger_index'] on an `any` value
build (20.x): src/connection-manager/connections.ts#L272
["ledger_index"] is better written in dot notation
build (20.x): src/connection-manager/connections.ts#L272
Unsafe member access [i + 1] on an `any` value
build (20.x): src/connection-manager/connections.ts#L269
Unsafe member access [i] on an `any` value
build (20.x): src/connection-manager/connections.ts#L268
Unsafe member access .length on an `any` value
build (20.x): src/connection-manager/connections.ts#L27
`../shared/database/validatedLedgers` import should occur before import of `../shared/types`
build (20.x): src/connection-manager/connections.ts#L21
There should be at least one empty line between import groups
build (20.x): src/api/routes/v1/validated-ledgers.ts#L16
Unexpected use of 'isNaN'
build (20.x): src/api/routes/v1/index.ts#L18
`./missing-ledgers` import should occur before import of `./networks`
build (20.x): src/api/routes/v1/index.ts#L17
`./validated-ledgers` import should occur before import of `./validator`
build (20.x)
The strategy configuration was canceled because "build._18_x" failed
build (18.x): src/shared/database/validatedLedgers.ts#L23
Missing JSDoc comment
build (18.x): src/shared/database/validatedLedgers.ts#L4
Missing JSDoc comment
build (18.x): src/connection-manager/connections.ts#L275
Unexpected console statement
build (18.x): src/connection-manager/connections.ts#L266
Unexpected console statement
build (18.x): src/connection-manager/connections.ts#L253
exported declaration 'checkForMissingLedgers' not used within other modules
build (18.x): src/connection-manager/connections.ts#L244
exported declaration 'pruneValidatedLedgersTable' not used within other modules
build (18.x): src/api/routes/v1/validated-ledgers.ts#L34
'err' is defined but never used. Allowed unused vars must match /^_/u
build (18.x): src/api/routes/v1/validated-ledgers.ts#L6
Missing JSDoc comment
build (18.x): src/api/routes/v1/missing-ledgers.ts#L19
'err' is defined but never used. Allowed unused vars must match /^_/u
build (18.x): src/api/routes/v1/missing-ledgers.ts#L5
Missing JSDoc comment
build (20.x): src/shared/database/validatedLedgers.ts#L23
Missing JSDoc comment
build (20.x): src/shared/database/validatedLedgers.ts#L4
Missing JSDoc comment
build (20.x): src/connection-manager/connections.ts#L275
Unexpected console statement
build (20.x): src/connection-manager/connections.ts#L266
Unexpected console statement
build (20.x): src/connection-manager/connections.ts#L253
exported declaration 'checkForMissingLedgers' not used within other modules
build (20.x): src/connection-manager/connections.ts#L244
exported declaration 'pruneValidatedLedgersTable' not used within other modules
build (20.x): src/api/routes/v1/validated-ledgers.ts#L34
'err' is defined but never used. Allowed unused vars must match /^_/u
build (20.x): src/api/routes/v1/validated-ledgers.ts#L6
Missing JSDoc comment
build (20.x): src/api/routes/v1/missing-ledgers.ts#L19
'err' is defined but never used. Allowed unused vars must match /^_/u
build (20.x): src/api/routes/v1/missing-ledgers.ts#L5
Missing JSDoc comment