Parent Log: http://ci.aztec-labs.com/2bc89da969d757b0 Command: cc29e5be8dda3ca3 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/d3bba2d69dbc070d51bcd50607354193573876ba Env: REF_NAME=gh-readonly-queue/next/pr-14877-314d7622c6bacc8333ae49fe9583967cab78349b CURRENT_VERSION=0.87.6 CI_FULL=0 Date: Fri Jun 13 12:55:54 UTC 2025 System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-14877_arm64_a1-fast Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next 12:55:56 [12:55:56.440] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:55:57 [12:55:57.556] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:55:58 [12:55:58.679] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:55:59 [12:55:59.451] 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 12:55:59 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 12:55:59 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 12:55:59 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 12:55:59 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 12:55:59 newBlockNumber: 2, 12:55:59 previousBlockNumber: undefined 12:55:59 } 12:55:59 [12:55:59.454] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:00 [12:56:00.299] 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 12:56:00 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17 12:56:00 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 12:56:00 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 12:56:00 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) 12:56:00 [12:56:00.303] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:01 [12:56:01.325] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:02 [12:56:02.049] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:03 [12:56:03.011] 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) 12:56:03 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15 12:56:03 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 12:56:03 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 12:56:03 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) 12:56:03 [12:56:03.012] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:04 [12:56:04.010] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:04 [12:56:05.000] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:06 [12:56:06.187] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:07 [12:56:07.280] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:08 [12:56:08.292] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:09 [12:56:09.281] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:10 [12:56:10.289] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:11 [12:56:11.280] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:12 [12:56:12.401] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:13 [12:56:13.766] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:14 [12:56:14.643] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:15 [12:56:15.762] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:16 [12:56:16.650] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:17 [12:56:17.778] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:18 [12:56:18.691] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:19 [12:56:19.604] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:20 [12:56:20.567] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:21 [12:56:21.632] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:22 [12:56:22.691] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:24 [12:56:24.550] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:26 [12:56:26.283] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:28 [12:56:28.040] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:29 [12:56:29.781] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:31 [12:56:31.521] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:33 [12:56:33.292] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:35 [12:56:35.194] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:37 [12:56:37.085] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:39 [12:56:39.013] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:40 [12:56:40.904] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:42 [12:56:42.795] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:44 [12:56:44.607] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:46 [12:56:46.829] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:47 [12:56:47.908] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:48 [12:56:48.990] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:50 [12:56:50.094] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:51 [12:56:51.187] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:52 [12:56:52.283] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:53 [12:56:53.397] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:54 [12:56:54.579] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:55 [12:56:55.838] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:57 [12:56:57.080] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:58 [12:56:58.328] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:59 [12:56:59.586] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x2a24f8aee1c2ec330d1381fe873fe5a7151cb16d61a87a01c5e0d2c5533afba3 for L2 block 1 has wrong index 10 (expected 0) 12:56:59 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17 12:56:59 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 12:56:59 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 12:56:59 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 12:56:59 inboxMessage: { 12:56:59 index: 10n, 12:56:59 leaf: Fr<0x2a24f8aee1c2ec330d1381fe873fe5a7151cb16d61a87a01c5e0d2c5533afba3>, 12:56:59 l2BlockNumber: 1, 12:56:59 l1BlockNumber: 19n, 12:56:59 l1BlockHash: Buffer32<0xac2b690c6eab8bb5c5721e6e10fe3d28133a143bc8c7492e42565d5fd95f3d45>, 12:56:59 rollingHash: Buffer16<0x2c65f9b75bc5f3d492c962b2a90f9921> 12:56:59 } 12:56:59 } 12:56:59 [12:56:59.588] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:00 [12:57:00.863] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x162c395f45e8e4ef8bbbf71932a06c0ed1b33eb5d6b0b5ba88aada3104ec05a3 at block 12 (expected value in range [176, 192)) 12:57:00 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 12:57:00 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 12:57:00 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 12:57:00 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 12:57:00 inboxMessage: { 12:57:00 index: 224n, 12:57:00 leaf: Fr<0x162c395f45e8e4ef8bbbf71932a06c0ed1b33eb5d6b0b5ba88aada3104ec05a3>, 12:57:00 l2BlockNumber: 12, 12:57:00 l1BlockNumber: 36n, 12:57:00 l1BlockHash: Buffer32<0x356b147161732e0eb7b64ffc4ecaff97d10d652789a146cdb39d9b7a8d0f58d3>, 12:57:00 rollingHash: Buffer16<0x73187e5cd58274bfb3fcf24dfda9b60e> 12:57:00 } 12:57:00 } 12:57:00 [12:57:00.865] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:02 [12:57:02.139] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x1ef94935bcd81f421006c519cb92ce681a45b7a7fbd1deb69b10b74910c634f8 with index 16 (expected 0xbcde901b3549f6692a6b7a774ef81cee from previous hash 0xdec66c638e4d467605b5551dfd9902eb but got 0xc9b391660f6368007715b47ebd54bf71) 12:57:02 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17 12:57:02 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 12:57:02 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 12:57:02 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 12:57:02 inboxMessage: { 12:57:02 index: 16n, 12:57:02 leaf: Fr<0x1ef94935bcd81f421006c519cb92ce681a45b7a7fbd1deb69b10b74910c634f8>, 12:57:02 l2BlockNumber: 2, 12:57:02 l1BlockNumber: 56n, 12:57:02 l1BlockHash: Buffer32<0x6bec17dd93f00a41844a91ab3147d728c803c7b76490e94c831a8cf4aa890ca0>, 12:57:02 rollingHash: Buffer16<0xc9b391660f6368007715b47ebd54bf71> 12:57:02 } 12:57:02 } 12:57:02 [12:57:02.141] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:03 [12:57:03.434] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x227e37556f28a7f81c14c6c9ebb9f6f5d70b94d8a02459949b2a63086b49365e with index 32 (expected 0x8f7c214700af55d4c2e8dbc087672785 from previous hash 0x81858832c47ed5bd34bea8518454db83 but got 0xe6d855cb222fb12c7324ef2980b45371) 12:57:03 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17 12:57:03 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 12:57:03 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 12:57:03 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 12:57:03 inboxMessage: { 12:57:03 index: 32n, 12:57:03 leaf: Fr<0x227e37556f28a7f81c14c6c9ebb9f6f5d70b94d8a02459949b2a63086b49365e>, 12:57:03 l2BlockNumber: 3, 12:57:03 l1BlockNumber: 11n, 12:57:03 l1BlockHash: Buffer32<0xa4cf1c2b446a13590cddaf2d604fabd949f6fdb27a0cf06f7b0db8401f3e4ba7>, 12:57:03 rollingHash: Buffer16<0xe6d855cb222fb12c7324ef2980b45371> 12:57:03 } 12:57:03 } 12:57:03 [12:57:03.436] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:04 [12:57:04.735] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x15abb257fd24ff30739c2729a155fab0b9c34f6b426a796beae3a4e00974f304 at block 17 (expected value in range [256, 272)) 12:57:04 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 12:57:04 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 12:57:04 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 12:57:04 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 12:57:04 inboxMessage: { 12:57:04 index: 356n, 12:57:04 leaf: Fr<0x15abb257fd24ff30739c2729a155fab0b9c34f6b426a796beae3a4e00974f304>, 12:57:04 l2BlockNumber: 17, 12:57:04 l1BlockNumber: 47n, 12:57:04 l1BlockHash: Buffer32<0xc6a79ceba0099550325b94108d875025a121e9dc3d27d3698056175433f18f0c>, 12:57:04 rollingHash: Buffer16<0xd39ff3d26b9d3e131e2b4eb2c246aaf9> 12:57:04 } 12:57:04 } 12:57:04 [12:57:04.739] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:06 [12:57:06.074] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x102c46a6d21915760e793d19e7c1327bd181d40a4cc3227c4eaf14b37dfeab52 for L2 block 15 has wrong index 225 (expected 224) 12:57:06 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17 12:57:06 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 12:57:06 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 12:57:06 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 12:57:06 inboxMessage: { 12:57:06 index: 225n, 12:57:06 leaf: Fr<0x102c46a6d21915760e793d19e7c1327bd181d40a4cc3227c4eaf14b37dfeab52>, 12:57:06 l2BlockNumber: 15, 12:57:06 l1BlockNumber: 77n, 12:57:06 l1BlockHash: Buffer32<0x35fee8bb1baf65363c74bffdd33ab2414a9d16d58d1ffc2941353f71bf9319e3>, 12:57:06 rollingHash: Buffer16<0x69c0ef8515819a26e63c482236494805> 12:57:06 } 12:57:06 } 12:57:06 [12:57:06.078] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:07 [12:57:07.370] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x2bc3146ab7cb7bc997b4cd9b4c9ad40506f34d76f454abb0b2275b81d194c97a at block 2 (expected value in range [16, 32)) 12:57:07 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 12:57:07 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 12:57:07 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 12:57:07 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 12:57:07 inboxMessage: { 12:57:07 index: 32n, 12:57:07 leaf: Fr<0x2bc3146ab7cb7bc997b4cd9b4c9ad40506f34d76f454abb0b2275b81d194c97a>, 12:57:07 l2BlockNumber: 2, 12:57:07 l1BlockNumber: 47n, 12:57:07 l1BlockHash: Buffer32<0x88dee3c3586d32884c18d090d0343788239770b1bbeb88a8e0c144621d92dc4e>, 12:57:07 rollingHash: Buffer16<0xd8b2cc232db03885e705b447f7d6f8ee> 12:57:07 } 12:57:07 } 12:57:07 [12:57:07.375] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:08 [12:57:08.710] WARN: archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store 12:57:08 [12:57:08.745] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:10 [12:57:10.034] WARN: archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store 12:57:10 [12:57:10.052] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:11 [12:57:11.340] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:12 [12:57:12.646] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:13 [12:57:13.977] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:15 [12:57:15.343] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:16 [12:57:16.711] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:18 [12:57:18.107] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:19 [12:57:19.484] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:20 [12:57:20.893] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:22 [12:57:22.284] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:23 [12:57:23.735] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:25 [12:57:25.134] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:26 [12:57:26.575] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:27 [12:57:27.955] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:29 [12:57:29.387] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:30 [12:57:30.791] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:32 [12:57:32.196] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:34 [12:57:34.547] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:36 [12:57:36.905] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:39 [12:57:39.600] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:41 [12:57:41.987] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:46 [12:57:46.355] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:50 [12:57:50.248] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:54 [12:57:54.287] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:58 [12:57:58.302] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:58:02 [12:58:02.276] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:58:06 [12:58:06.284] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:58:10 [12:58:10.413] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:58:14 PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (139.558 s) 12:58:14 KVArchiverDataStore 12:58:14 ArchiverStore 12:58:14 addBlocks 12:58:14 returns success when adding blocks (1117 ms) 12:58:14 allows duplicate blocks (1123 ms) 12:58:14 throws an error if the previous block does not exist in the store (775 ms) 12:58:14 throws an error if there is a gap in the blocks being added (847 ms) 12:58:14 unwindBlocks 12:58:14 unwinding blocks will remove blocks from the chain (1023 ms) 12:58:14 can unwind multiple empty blocks (725 ms) 12:58:14 refuses to unwind blocks if the tip is not the last block (963 ms) 12:58:14 getBlocks 12:58:14 retrieves previously stored blocks (994 ms) 12:58:14 retrieves previously stored blocks (990 ms) 12:58:14 retrieves previously stored blocks (1189 ms) 12:58:14 retrieves previously stored blocks (1093 ms) 12:58:14 retrieves previously stored blocks (1011 ms) 12:58:14 returns an empty array if no blocks are found (989 ms) 12:58:14 throws an error if limit is invalid (1007 ms) 12:58:14 throws an error if `from` it is out of range (992 ms) 12:58:14 throws an error if unexpected initial block number is found (1120 ms) 12:58:14 throws an error if a gap is found (1365 ms) 12:58:14 getSyncedL2BlockNumber 12:58:14 returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (877 ms) 12:58:14 returns the most recently added block's number (1118 ms) 12:58:14 getSynchPoint 12:58:14 returns undefined if no blocks have been added (888 ms) 12:58:14 returns the L1 block number in which the most recent L2 block was published (1128 ms) 12:58:14 returns the L1 block number that most recently added messages from inbox (912 ms) 12:58:14 returns the latest syncpoint if latest message is behind (910 ms) 12:58:14 addLogs 12:58:14 adds private & public logs (966 ms) 12:58:14 deleteLogs 12:58:14 deletes private & public logs (1065 ms) 12:58:14 getPrivateLogs 12:58:14 gets added private logs (1059 ms) 12:58:14 getTxEffect 12:58:14 retrieves a previously stored transaction (1858 ms) 12:58:14 retrieves a previously stored transaction (1732 ms) 12:58:14 retrieves a previously stored transaction (1758 ms) 12:58:14 retrieves a previously stored transaction (1741 ms) 12:58:14 retrieves a previously stored transaction (1738 ms) 12:58:14 returns undefined if tx is not found (1771 ms) 12:58:14 tries to retrieves a previously stored transaction after deleted (1901 ms) 12:58:14 tries to retrieves a previously stored transaction after deleted (1892 ms) 12:58:14 tries to retrieves a previously stored transaction after deleted (1928 ms) 12:58:14 tries to retrieves a previously stored transaction after deleted (1891 ms) 12:58:14 tries to retrieves a previously stored transaction after deleted (1891 ms) 12:58:14 returns undefined if tx is not found (1811 ms) 12:58:14 does not fail if the block is unwound while requesting a tx (2223 ms) 12:58:14 L1 to L2 Messages 12:58:14 stores first message ever (1078 ms) 12:58:14 stores single message (1082 ms) 12:58:14 stores and returns messages across different blocks (1103 ms) 12:58:14 stores the same messages again (1092 ms) 12:58:14 stores and returns messages across different blocks with gaps (1096 ms) 12:58:14 stores and returns messages with block numbers larger than a byte (1114 ms) 12:58:14 stores and returns multiple messages per block (1181 ms) 12:58:14 stores messages in multiple operations (1258 ms) 12:58:14 iterates over messages from start index (1242 ms) 12:58:14 iterates over messages in reverse (1247 ms) 12:58:14 throws if messages are added out of order (1259 ms) 12:58:14 throws if block number for the first message is out of order (1277 ms) 12:58:14 throws if rolling hash is not correct (1276 ms) 12:58:14 throws if rolling hash for first message is not correct (1295 ms) 12:58:14 throws if index is not in the correct range (1300 ms) 12:58:14 throws if first index in block has gaps (1339 ms) 12:58:14 throws if index does not follow previous one (1296 ms) 12:58:14 removes messages up to the given block number (1373 ms) 12:58:14 removes messages starting with the given index (1307 ms) 12:58:14 contractInstances 12:58:14 returns previously stored contract instances (1288 ms) 12:58:14 returns undefined if contract instance is not found (1306 ms) 12:58:14 returns undefined if previously stored contract instances was deleted (1325 ms) 12:58:14 contractInstanceUpdates 12:58:14 gets the correct current class id for a contract not updated yet (1371 ms) 12:58:14 gets the correct current class id for a contract that has just been updated (1368 ms) 12:58:14 gets the correct current class id for a contract that was updated in the past (1395 ms) 12:58:14 ignores updates for the wrong contract (1377 ms) 12:58:14 bounds its search to the right contract if more than than one update exists (1408 ms) 12:58:14 contractClasses 12:58:14 returns previously stored contract class (1389 ms) 12:58:14 returns undefined if the initial deployed contract class was deleted (1452 ms) 12:58:14 returns contract class if later "deployment" class was deleted (1396 ms) 12:58:14 returns undefined if contract class is not found (1441 ms) 12:58:14 adds new private functions (1379 ms) 12:58:14 does not duplicate private functions (1431 ms) 12:58:14 adds new utility functions (1404 ms) 12:58:14 does not duplicate utility functions (1404 ms) 12:58:14 getLogsByTags 12:58:14 is possible to batch request private logs via tags (2351 ms) 12:58:14 is possible to batch request all logs (private and public) via tags (2358 ms) 12:58:14 is possible to batch request logs that have the same tag but different content (2694 ms) 12:58:14 is possible to request logs for non-existing tags and determine their position (2386 ms) 12:58:14 getPublicLogs 12:58:14 no logs returned if deleted ("txHash" filter param is respected variant) (4366 ms) 12:58:14 "txHash" filter param is respected (3893 ms) 12:58:14 "fromBlock" and "toBlock" filter params are respected (4039 ms) 12:58:14 "contractAddress" filter param is respected (4015 ms) 12:58:14 "afterLog" filter param is respected (3974 ms) 12:58:14 "txHash" filter param is ignored when "afterLog" is set (4008 ms) 12:58:14 intersecting works (4128 ms) 12:58:14 "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4350 ms) 12:58:14 12:58:14 Test Suites: 1 passed, 1 total 12:58:14 Tests: 86 passed, 86 total 12:58:14 Snapshots: 0 total 12:58:14 Time: 139.631 s 12:58:14 Ran all test suites matching /archiver\/src\/archiver\/kv_archiver_store\/kv_archiver_store.test.ts/i. 12:58:14 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?