The test files are more complex and should be handled incrementally. But we need to clean these up too.
Details
Details
- Reviewers
- None
- Group Reviewers
Restricted Project
npm test && arc lint
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- ts-incremental
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 34082 Build 67633: Build Diff cashtab-tests Build 67632: arc lint + arc unit
Event Timeline
Comment Actions
Build Bitcoin ABC Diffs / Diff Testing (cashtab-tests) failed.
Tail of the build log:
Run `npm audit` for details.
> ecash-lib@4.3.1 build
> tsc && tsc -p ./tsconfig.build.json && cp -r ./src/ffi ./dist
/work/modules/ecash-agora /work/abc-ci-builds/cashtab-tests
added 272 packages, and audited 275 packages in 1s
37 packages are looking for funding
run `npm fund` for details
7 vulnerabilities (1 low, 5 moderate, 1 high)
To address all issues, run:
npm audit fix
Run `npm audit` for details.
> ecash-agora@2.1.0 build
> tsc && tsc -p ./tsconfig.build.json
/work/cashtab /work/abc-ci-builds/cashtab-tests
npm warn deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
npm warn deprecated @humanwhocodes/config-array@0.11.14: Use @eslint/config-array instead
npm warn deprecated eslint@8.56.0: This version is no longer supported. Please see https://eslint.org/version-support for other options.
added 1396 packages, and audited 2833 packages in 13s
284 packages are looking for funding
run `npm fund` for details
17 vulnerabilities (3 low, 9 moderate, 2 high, 3 critical)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
> cashtab@3.31.14 build
> node scripts/build.js
Creating an optimized production build...
Failed to compile.
TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ bf24d955f59351e738ecd905966606a6837e478e1982943d724eab10caad82fd: { token: { tokenId: string; tokenType: { protocol: string; type: string; number: number; }; timeFirstSeen: number; genesisInfo: { ...; }; block: { ...; }; }; tx: { ...; }; calculated: { ...; }; }; ... 46 more ...; '16b12bbacdbb8c8a799adbfd782bfff984...'.
No index signature with a parameter of type 'string' was found on type '{ bf24d955f59351e738ecd905966606a6837e478e1982943d724eab10caad82fd: { token: { tokenId: string; tokenType: { protocol: string; type: string; number: number; }; timeFirstSeen: number; genesisInfo: { ...; }; block: { ...; }; }; tx: { ...; }; calculated: { ...; }; }; ... 46 more ...; '16b12bbacdbb8c8a799adbfd782bfff984...'.
[0m [90m 20605 |[39m [36mconst[39m largeTokenCache [33m=[39m [36mnew[39m [33mCashtabCache[39m()[33m.[39mtokens[33m;[39m
[90m 20606 |[39m [36mfor[39m ([36mconst[39m tokenId [36mof[39m [33mObject[39m[33m.[39mkeys(chronikTokenMocks)) {
[31m[1m>[22m[39m[90m 20607 |[39m [36mconst[39m { token[33m,[39m calculated } [33m=[39m chronikTokenMocks[tokenId][33m;[39m
[90m |[39m [31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m
[90m 20608 |[39m [36mconst[39m { timeFirstSeen[33m,[39m genesisInfo[33m,[39m tokenType } [33m=[39m token[33m;[39m
[90m 20609 |[39m [36mconst[39m { genesisSupply[33m,[39m genesisOutputScripts[33m,[39m genesisMintBatons } [33m=[39m
[90m 20610 |[39m calculated[33m;[39m[0m
Build cashtab-tests failed with exit code 1Comment Actions
Build Bitcoin ABC Diffs / Diff Testing (cashtab-tests) failed.
Tail of the build log:
Run `npm audit` for details.
> ecash-lib@4.3.1 build
> tsc && tsc -p ./tsconfig.build.json && cp -r ./src/ffi ./dist
/work/modules/ecash-agora /work/abc-ci-builds/cashtab-tests
added 272 packages, and audited 275 packages in 1s
37 packages are looking for funding
run `npm fund` for details
7 vulnerabilities (1 low, 5 moderate, 1 high)
To address all issues, run:
npm audit fix
Run `npm audit` for details.
> ecash-agora@2.1.0 build
> tsc && tsc -p ./tsconfig.build.json
/work/cashtab /work/abc-ci-builds/cashtab-tests
npm warn deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
npm warn deprecated @humanwhocodes/config-array@0.11.14: Use @eslint/config-array instead
npm warn deprecated eslint@8.56.0: This version is no longer supported. Please see https://eslint.org/version-support for other options.
added 1396 packages, and audited 2833 packages in 14s
284 packages are looking for funding
run `npm fund` for details
17 vulnerabilities (3 low, 9 moderate, 2 high, 3 critical)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
> cashtab@3.31.14 build
> node scripts/build.js
Creating an optimized production build...
Failed to compile.
TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ bf24d955f59351e738ecd905966606a6837e478e1982943d724eab10caad82fd: { token: { tokenId: string; tokenType: { protocol: string; type: string; number: number; }; timeFirstSeen: number; genesisInfo: { ...; }; block: { ...; }; }; tx: { ...; }; calculated: { ...; }; }; ... 46 more ...; '16b12bbacdbb8c8a799adbfd782bfff984...'.
No index signature with a parameter of type 'string' was found on type '{ bf24d955f59351e738ecd905966606a6837e478e1982943d724eab10caad82fd: { token: { tokenId: string; tokenType: { protocol: string; type: string; number: number; }; timeFirstSeen: number; genesisInfo: { ...; }; block: { ...; }; }; tx: { ...; }; calculated: { ...; }; }; ... 46 more ...; '16b12bbacdbb8c8a799adbfd782bfff984...'.
[0m [90m 20605 |[39m [36mconst[39m largeTokenCache [33m=[39m [36mnew[39m [33mCashtabCache[39m()[33m.[39mtokens[33m;[39m
[90m 20606 |[39m [36mfor[39m ([36mconst[39m tokenId [36mof[39m [33mObject[39m[33m.[39mkeys(chronikTokenMocks)) {
[31m[1m>[22m[39m[90m 20607 |[39m [36mconst[39m { token[33m,[39m calculated } [33m=[39m chronikTokenMocks[tokenId][33m;[39m
[90m |[39m [31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m
[90m 20608 |[39m [36mconst[39m { timeFirstSeen[33m,[39m genesisInfo[33m,[39m tokenType } [33m=[39m token[33m;[39m
[90m 20609 |[39m [36mconst[39m { genesisSupply[33m,[39m genesisOutputScripts[33m,[39m genesisMintBatons } [33m=[39m
[90m 20610 |[39m calculated[33m;[39m[0m
Build cashtab-tests failed with exit code 1