fix: consolidate CRANK_KEYPAIR into a singleton to reduce secretKey heap allocations - #355
Open
Ayomisco wants to merge 1 commit into
Open
fix: consolidate CRANK_KEYPAIR into a singleton to reduce secretKey heap allocations#355Ayomisco wants to merge 1 commit into
Ayomisco wants to merge 1 commit into
Annotations
10 errors and 1 warning
|
Run pnpm test:
tests/services/crank.test.ts#L800
AssertionError: expected undefined to be true // Object.is equality
- Expected:
true
+ Received:
undefined
❯ tests/services/crank.test.ts:800:40
|
|
Run pnpm test:
tests/services/crank.test.ts#L764
AssertionError: expected undefined to be true // Object.is equality
- Expected:
true
+ Received:
undefined
❯ tests/services/crank.test.ts:764:49
|
|
Run pnpm test:
tests/services/crank.test.ts#L650
AssertionError: expected 'failed' to be 'success' // Object.is equality
Expected: "success"
Received: "failed"
❯ tests/services/crank.test.ts:650:59
|
|
Run pnpm test:
tests/services/crank.test.ts#L522
AssertionError: expected 11 to be 10 // Object.is equality
- Expected
+ Received
- 10
+ 11
❯ tests/services/crank.test.ts:522:54
|
|
Run pnpm test:
tests/services/crank.test.ts#L444
AssertionError: expected 'failed' to be 'success' // Object.is equality
Expected: "success"
Received: "failed"
❯ tests/services/crank.test.ts:444:22
|
|
Run pnpm test:
tests/services/crank.test.ts#L407
AssertionError: expected "vi.fn()" to be called 1 times, but got 0 times
❯ tests/services/crank.test.ts:407:36
|
|
Run pnpm test:
tests/services/crank.b-fixes.test.ts#L208
AssertionError: expected 4 to be +0 // Object.is equality
- Expected
+ Received
- 0
+ 4
❯ tests/services/crank.b-fixes.test.ts:208:39
|
|
Run pnpm test:
tests/services/crank.b-fixes.test.ts#L181
AssertionError: expected 7 to be +0 // Object.is equality
- Expected
+ Received
- 0
+ 7
❯ tests/services/crank.b-fixes.test.ts:181:66
|
|
Run pnpm test:
tests/v17-risk-params.poc.test.ts#L72
AssertionError: expected function to throw an error, but it didn't
❯ tests/v17-risk-params.poc.test.ts:72:60
|
|
Run pnpm test:
src/lib/keypair-singleton.ts#L22
Error: CRANK_KEYPAIR is not set
❯ getKeeperKeypair src/lib/keypair-singleton.ts:22:21
❯ CrankService.get _keypair [as _keypair] src/services/crank.ts:809:35
❯ CrankService.crankAll src/services/crank.ts:1682:26
❯ tests/services/crank.test.ts:2005:34
This error originated in "tests/services/crank.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "#339: LP-vault tasks are skipped when _isRunning is false at launch time". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
Complete job
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5, actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020, pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
background
wait
wait-all
cancel
parallel
Loading