Parent Log: http://ci.aztec-labs.com/2aac72a9f0a3e7d4 Command: b818050160cbcbd8 yarn-project/scripts/run_test.sh archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/184d5f7d956dd7251670a2dd6728f313cfdf3caf Env: REF_NAME=gh-readonly-queue/next/pr-14822-e56baa7f24bac54baf9e2f22f6f33ae6fa8b8c0f CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Fri Jun 13 21:16:41 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14822_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next 21:16:43 [21:16:43.591] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:16:44 [21:16:44.818] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:16:46 [21:16:46.038] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:16:47 [21:16:47.021] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: InitialBlockNumberNotSequentialError: Cannot insert new block 2 given previous block number in store is undefined 21:16:47 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 21:16:47 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 21:16:47 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 21:16:47 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 21:16:47 newBlockNumber: 2, 21:16:47 previousBlockNumber: undefined 21:16:47 } 21:16:47 [21:16:47.024] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:16:47 [21:16:47.954] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: BlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in batch is 1 21:16:47 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17 21:16:47 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 21:16:47 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 21:16:47 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) 21:16:47 [21:16:47.963] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:16:49 [21:16:49.087] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:16:49 [21:16:49.919] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:16:50 [21:16:50.896] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: Error: Can only unwind blocks from the tip (requested 5 but current tip is 10) 21:16:50 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15 21:16:50 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 21:16:50 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 21:16:50 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) 21:16:50 [21:16:50.898] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:16:51 [21:16:51.916] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:16:53 [21:16:53.043] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:16:54 [21:16:54.278] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:16:55 [21:16:55.510] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:16:56 [21:16:56.669] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:16:58 [21:16:58.067] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:16:59 [21:16:59.470] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:17:01 [21:17:01.006] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:17:02 [21:17:02.610] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:17:04 [21:17:04.801] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:17:06 [21:17:06.669] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:17:08 [21:17:08.290] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:17:10 [21:17:10.249] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:17:12 [21:17:12.548] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:17:14 [21:17:14.252] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:17:15 [21:17:15.610] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:17:17 [21:17:17.106] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:17:18 [21:17:18.879] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:17:20 [21:17:20.342] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:17:22 [21:17:22.963] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:17:25 [21:17:25.258] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:17:27 [21:17:27.649] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:17:30 [21:17:30.190] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:17:32 [21:17:32.742] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:17:35 [21:17:35.225] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:17:37 [21:17:37.869] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:17:40 [21:17:40.614] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:17:42 [21:17:42.996] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:17:45 [21:17:45.365] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:17:47 [21:17:47.621] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:17:50 [21:17:50.225] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:17:53 [21:17:53.075] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:17:54 [21:17:54.469] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:17:55 [21:17:55.722] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:17:57 [21:17:57.136] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:17:58 [21:17:58.539] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:18:00 [21:18:00.098] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:18:01 [21:18:01.662] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:18:03 [21:18:03.276] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:18:05 [21:18:05.233] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:18:07 [21:18:07.282] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:18:09 [21:18:09.286] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:18:11 [21:18:11.010] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x2987acdc379231fcc83fffc435ee79cd1b03f42b76fe9f03d966290484661455 for L2 block 1 has wrong index 10 (expected 0) 21:18:11 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17 21:18:11 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 21:18:11 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 21:18:11 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 21:18:11 inboxMessage: { 21:18:11 index: 10n, 21:18:11 leaf: Fr<0x2987acdc379231fcc83fffc435ee79cd1b03f42b76fe9f03d966290484661455>, 21:18:11 l2BlockNumber: 1, 21:18:11 l1BlockNumber: 7n, 21:18:11 l1BlockHash: Buffer32<0xa1236f6f02ff9f8f3e2e682bc1cfa20c47635edf05eed941d9aeb824b242db92>, 21:18:11 rollingHash: Buffer16<0x6f0cf575215d4bd33b7a5985f263743f> 21:18:11 } 21:18:11 } 21:18:11 [21:18:11.020] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:18:13 [21:18:13.291] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x1d23f7540950418bf906b1bb3a3f40b4e2c43f9ca206a2c42d146469a23981b8 at block 12 (expected value in range [176, 192)) 21:18:13 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 21:18:13 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 21:18:13 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 21:18:13 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 21:18:13 inboxMessage: { 21:18:13 index: 224n, 21:18:13 leaf: Fr<0x1d23f7540950418bf906b1bb3a3f40b4e2c43f9ca206a2c42d146469a23981b8>, 21:18:13 l2BlockNumber: 12, 21:18:13 l1BlockNumber: 26n, 21:18:13 l1BlockHash: Buffer32<0xc4863a1a7df4ba94154ea5d52c91302668a5c4ecc6f44e412371a3b9de044a49>, 21:18:13 rollingHash: Buffer16<0x87571439b81ae64a2da22043f1d227f4> 21:18:13 } 21:18:13 } 21:18:13 [21:18:13.295] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:18:15 [21:18:15.283] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x17059a9cd39924e630cfa0026933fbf77fa4e094e958b7613c10c3e229432dca with index 16 (expected 0x99b46f369317677e706860aeb194e929 from previous hash 0x1180bd327895e3f2d6633b7360b5661f but got 0xc4c76989b5ec7bdba4988892812bbd2e) 21:18:15 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17 21:18:15 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 21:18:15 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 21:18:15 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 21:18:15 inboxMessage: { 21:18:15 index: 16n, 21:18:15 leaf: Fr<0x17059a9cd39924e630cfa0026933fbf77fa4e094e958b7613c10c3e229432dca>, 21:18:15 l2BlockNumber: 2, 21:18:15 l1BlockNumber: 1n, 21:18:15 l1BlockHash: Buffer32<0x8c34e1dcb7a39082e913bd8f96a85ea13d79965ac826a493a80041ad2c9d847c>, 21:18:15 rollingHash: Buffer16<0xc4c76989b5ec7bdba4988892812bbd2e> 21:18:15 } 21:18:15 } 21:18:15 [21:18:15.287] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:18:17 [21:18:17.296] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x14bf41fc415379f6181f4ec0f2ee7b2887a474a9ee7732081fa5fbd466a92324 with index 32 (expected 0xd239bd2185ca39bcfc9594dbeaa203e3 from previous hash 0xd610382b7a2924a26bd444f0e139ca17 but got 0x2ebdc5b34f04d4333fef34d626525b99) 21:18:17 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17 21:18:17 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 21:18:17 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 21:18:17 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 21:18:17 inboxMessage: { 21:18:17 index: 32n, 21:18:17 leaf: Fr<0x14bf41fc415379f6181f4ec0f2ee7b2887a474a9ee7732081fa5fbd466a92324>, 21:18:17 l2BlockNumber: 3, 21:18:17 l1BlockNumber: 96n, 21:18:17 l1BlockHash: Buffer32<0xa4b136028ca07f86d34ae776ed6aba587599fa2a04f1cb62d4ed998d31310e92>, 21:18:17 rollingHash: Buffer16<0x2ebdc5b34f04d4333fef34d626525b99> 21:18:17 } 21:18:17 } 21:18:17 [21:18:17.299] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:18:19 [21:18:19.005] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x106141745cafff8a406b756719d73180730edfbb45d7b121535457ee08d0d180 at block 17 (expected value in range [256, 272)) 21:18:19 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 21:18:19 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 21:18:19 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 21:18:19 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 21:18:19 inboxMessage: { 21:18:19 index: 356n, 21:18:19 leaf: Fr<0x106141745cafff8a406b756719d73180730edfbb45d7b121535457ee08d0d180>, 21:18:19 l2BlockNumber: 17, 21:18:19 l1BlockNumber: 40n, 21:18:19 l1BlockHash: Buffer32<0x4434019f487445dc79c66206ae1780bb086c7341876b62e4cadda509f33e55f4>, 21:18:19 rollingHash: Buffer16<0x611aa47faf80f3481a52b1167bfc02c5> 21:18:19 } 21:18:19 } 21:18:19 [21:18:19.009] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:18:20 [21:18:20.683] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x02ed66761685412a07c6b65804312f0e3a488efea2fc18c5e3725cc016551c06 for L2 block 15 has wrong index 225 (expected 224) 21:18:20 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17 21:18:20 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 21:18:20 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 21:18:20 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 21:18:20 inboxMessage: { 21:18:20 index: 225n, 21:18:20 leaf: Fr<0x02ed66761685412a07c6b65804312f0e3a488efea2fc18c5e3725cc016551c06>, 21:18:20 l2BlockNumber: 15, 21:18:20 l1BlockNumber: 49n, 21:18:20 l1BlockHash: Buffer32<0x1a3e4e3506ba9b8cd5094fa5d4d5f93a03c6f394eab2ab88810bdaffc030288c>, 21:18:20 rollingHash: Buffer16<0x7f5b7a19bddd4106eb440d55c8b39166> 21:18:20 } 21:18:20 } 21:18:20 [21:18:20.686] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:18:22 [21:18:22.543] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x0c4d1e6b6fe0ef9e3f1b3cb178d406460989f1fa384b91791159fbf72e838fcc at block 2 (expected value in range [16, 32)) 21:18:22 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 21:18:22 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 21:18:22 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 21:18:22 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 21:18:22 inboxMessage: { 21:18:22 index: 32n, 21:18:22 leaf: Fr<0x0c4d1e6b6fe0ef9e3f1b3cb178d406460989f1fa384b91791159fbf72e838fcc>, 21:18:22 l2BlockNumber: 2, 21:18:22 l1BlockNumber: 88n, 21:18:22 l1BlockHash: Buffer32<0x982aeac2aec65d383c56bd0df6272b4c1ac73c2ebf2b6034971ca8d36f1eb6f9>, 21:18:22 rollingHash: Buffer16<0xb8b64a3a60ee507ed28277103cf87f20> 21:18:22 } 21:18:22 } 21:18:22 [21:18:22.546] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:18:24 [21:18:24.643] WARN: archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store 21:18:24 [21:18:24.704] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:18:26 [21:18:26.592] WARN: archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store 21:18:26 [21:18:26.627] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:18:28 [21:18:28.596] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:18:30 [21:18:30.682] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:18:32 [21:18:32.730] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:18:34 [21:18:34.695] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:18:36 [21:18:36.796] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:18:38 [21:18:38.787] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:18:41 [21:18:41.177] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:18:43 [21:18:43.263] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:18:45 [21:18:45.117] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:18:46 [21:18:46.992] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:18:48 [21:18:48.966] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:18:50 [21:18:50.838] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:18:52 [21:18:52.654] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:18:54 [21:18:54.351] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:18:56 [21:18:56.185] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:18:58 [21:18:58.071] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:19:01 [21:19:01.130] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:19:04 [21:19:04.268] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:19:07 [21:19:07.904] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:19:11 [21:19:11.028] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:19:17 [21:19:17.104] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:19:22 [21:19:22.870] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:19:28 [21:19:28.403] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:19:33 [21:19:33.846] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:19:38 [21:19:38.693] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:19:43 [21:19:43.032] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:19:47 [21:19:47.984] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:19:54 PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (191.873 s) 21:19:54 KVArchiverDataStore 21:19:54 ArchiverStore 21:19:54 addBlocks 21:19:54 returns success when adding blocks (1228 ms) 21:19:54 allows duplicate blocks (1220 ms) 21:19:54 throws an error if the previous block does not exist in the store (987 ms) 21:19:54 throws an error if there is a gap in the blocks being added (938 ms) 21:19:54 unwindBlocks 21:19:54 unwinding blocks will remove blocks from the chain (1123 ms) 21:19:54 can unwind multiple empty blocks (832 ms) 21:19:54 refuses to unwind blocks if the tip is not the last block (979 ms) 21:19:54 getBlocks 21:19:54 retrieves previously stored blocks (1017 ms) 21:19:54 retrieves previously stored blocks (1126 ms) 21:19:54 retrieves previously stored blocks (1235 ms) 21:19:54 retrieves previously stored blocks (1230 ms) 21:19:54 retrieves previously stored blocks (1157 ms) 21:19:54 returns an empty array if no blocks are found (1397 ms) 21:19:54 throws an error if limit is invalid (1397 ms) 21:19:54 throws an error if `from` it is out of range (1544 ms) 21:19:54 throws an error if unexpected initial block number is found (1604 ms) 21:19:54 throws an error if a gap is found (2189 ms) 21:19:54 getSyncedL2BlockNumber 21:19:54 returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1868 ms) 21:19:54 returns the most recently added block's number (1620 ms) 21:19:54 getSynchPoint 21:19:54 returns undefined if no blocks have been added (1959 ms) 21:19:54 returns the L1 block number in which the most recent L2 block was published (2298 ms) 21:19:54 returns the L1 block number that most recently added messages from inbox (1690 ms) 21:19:54 returns the latest syncpoint if latest message is behind (1372 ms) 21:19:54 addLogs 21:19:54 adds private & public logs (1490 ms) 21:19:54 deleteLogs 21:19:54 deletes private & public logs (1777 ms) 21:19:54 getPrivateLogs 21:19:54 gets added private logs (1462 ms) 21:19:54 getTxEffect 21:19:54 retrieves a previously stored transaction (2619 ms) 21:19:54 retrieves a previously stored transaction (2295 ms) 21:19:54 retrieves a previously stored transaction (2390 ms) 21:19:54 retrieves a previously stored transaction (2539 ms) 21:19:54 retrieves a previously stored transaction (2552 ms) 21:19:54 returns undefined if tx is not found (2482 ms) 21:19:54 tries to retrieves a previously stored transaction after deleted (2643 ms) 21:19:54 tries to retrieves a previously stored transaction after deleted (2743 ms) 21:19:54 tries to retrieves a previously stored transaction after deleted (2383 ms) 21:19:54 tries to retrieves a previously stored transaction after deleted (2368 ms) 21:19:54 tries to retrieves a previously stored transaction after deleted (2255 ms) 21:19:54 returns undefined if tx is not found (2604 ms) 21:19:54 does not fail if the block is unwound while requesting a tx (2849 ms) 21:19:54 L1 to L2 Messages 21:19:54 stores first message ever (1393 ms) 21:19:54 stores single message (1253 ms) 21:19:54 stores and returns messages across different blocks (1413 ms) 21:19:54 stores the same messages again (1401 ms) 21:19:54 stores and returns messages across different blocks with gaps (1557 ms) 21:19:54 stores and returns messages with block numbers larger than a byte (1563 ms) 21:19:54 stores and returns multiple messages per block (1611 ms) 21:19:54 stores messages in multiple operations (1942 ms) 21:19:54 iterates over messages from start index (2057 ms) 21:19:54 iterates over messages in reverse (2005 ms) 21:19:54 throws if messages are added out of order (1728 ms) 21:19:54 throws if block number for the first message is out of order (2280 ms) 21:19:54 throws if rolling hash is not correct (1990 ms) 21:19:54 throws if rolling hash for first message is not correct (2012 ms) 21:19:54 throws if index is not in the correct range (1708 ms) 21:19:54 throws if first index in block has gaps (1677 ms) 21:19:54 throws if index does not follow previous one (1860 ms) 21:19:54 removes messages up to the given block number (2156 ms) 21:19:54 removes messages starting with the given index (1916 ms) 21:19:54 contractInstances 21:19:54 returns previously stored contract instances (1973 ms) 21:19:54 returns undefined if contract instance is not found (2085 ms) 21:19:54 returns undefined if previously stored contract instances was deleted (2047 ms) 21:19:54 contractInstanceUpdates 21:19:54 gets the correct current class id for a contract not updated yet (1964 ms) 21:19:54 gets the correct current class id for a contract that has just been updated (2099 ms) 21:19:54 gets the correct current class id for a contract that was updated in the past (1990 ms) 21:19:54 ignores updates for the wrong contract (2387 ms) 21:19:54 bounds its search to the right contract if more than than one update exists (2088 ms) 21:19:54 contractClasses 21:19:54 returns previously stored contract class (1849 ms) 21:19:54 returns undefined if the initial deployed contract class was deleted (1878 ms) 21:19:54 returns contract class if later "deployment" class was deleted (1971 ms) 21:19:54 returns undefined if contract class is not found (1868 ms) 21:19:54 adds new private functions (1818 ms) 21:19:54 does not duplicate private functions (1697 ms) 21:19:54 adds new utility functions (1832 ms) 21:19:54 does not duplicate utility functions (1885 ms) 21:19:54 getLogsByTags 21:19:54 is possible to batch request private logs via tags (3059 ms) 21:19:54 is possible to batch request all logs (private and public) via tags (3136 ms) 21:19:54 is possible to batch request logs that have the same tag but different content (3636 ms) 21:19:54 is possible to request logs for non-existing tags and determine their position (3121 ms) 21:19:54 getPublicLogs 21:19:54 no logs returned if deleted ("txHash" filter param is respected variant) (6076 ms) 21:19:54 "txHash" filter param is respected (5766 ms) 21:19:54 "fromBlock" and "toBlock" filter params are respected (5532 ms) 21:19:54 "contractAddress" filter param is respected (5440 ms) 21:19:54 "afterLog" filter param is respected (4844 ms) 21:19:54 "txHash" filter param is ignored when "afterLog" is set (4342 ms) 21:19:54 intersecting works (4950 ms) 21:19:54 "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (6104 ms) 21:19:54 21:19:54 Test Suites: 1 passed, 1 total 21:19:54 Tests: 86 passed, 86 total 21:19:54 Snapshots: 0 total 21:19:54 Time: 191.943 s 21:19:54 Ran all test suites matching /archiver\/src\/archiver\/kv_archiver_store\/kv_archiver_store.test.ts/i. 21:19:54 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?