Parent Log: http://ci.aztec-labs.com/f5af067f63e151d9 Command: 82bb85c5736da104 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/a1fcc6d25d2ef5242bc875b44f6b8c627357a0d1 Env: REF_NAME=gh-readonly-queue/next/pr-15124-2fb1dd1c3a73b872ba2c6e24ff0303eb2f7ac0fc CURRENT_VERSION=0.87.6 CI_FULL=0 Date: Thu Jun 19 09:09:06 UTC 2025 System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15124_arm64_a1-fast Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next 09:09:08 [09:09:08.336] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:09 [09:09:09.590] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:10 [09:09:10.867] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:11 [09:09:11.709] 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 09:09:11 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15 09:09:11 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 09:09:11 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 09:09:11 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 09:09:11 newBlockNumber: 2, 09:09:11 previousBlockNumber: undefined 09:09:11 } 09:09:11 [09:09:11.713] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:12 [09:09:12.637] 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 09:09:12 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:96:17 09:09:12 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 09:09:12 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 09:09:12 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) 09:09:12 [09:09:12.640] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:13 [09:09:13.760] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:14 [09:09:14.538] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:15 [09:09:15.617] 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) 09:09:15 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:141:15 09:09:15 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 09:09:15 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 09:09:15 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) 09:09:15 [09:09:15.619] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:16 [09:09:16.735] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:17 [09:09:17.837] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:19 [09:09:19.193] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:20 [09:09:20.410] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:21 [09:09:21.551] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:22 [09:09:22.656] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:23 [09:09:23.777] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:24 [09:09:24.876] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:26 [09:09:26.128] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:27 [09:09:27.635] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:28 [09:09:28.574] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:29 [09:09:29.812] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:30 [09:09:30.756] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:32 [09:09:32.016] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:33 [09:09:33.001] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:34 [09:09:34.007] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:35 [09:09:35.082] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:36 [09:09:36.208] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:37 [09:09:37.337] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:39 [09:09:39.260] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:41 [09:09:41.208] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:43 [09:09:43.122] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:45 [09:09:45.058] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:47 [09:09:47.052] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:49 [09:09:49.008] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:51 [09:09:51.122] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:53 [09:09:53.255] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:55 [09:09:55.377] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:57 [09:09:57.512] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:09:59 [09:09:59.685] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:01 [09:10:01.689] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:04 [09:10:04.077] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:05 [09:10:05.230] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:06 [09:10:06.381] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:07 [09:10:07.546] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:08 [09:10:08.721] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:09 [09:10:09.890] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:11 [09:10:11.066] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:12 [09:10:12.295] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:13 [09:10:13.611] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:14 [09:10:14.918] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:16 [09:10:16.229] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:17 [09:10:17.547] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x03c3b40c79b754f107a5a788e98c5776dc5389d1b1503a00c3213975392f7f4f for L2 block 1 has wrong index 10 (expected 0) 09:10:17 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17 09:10:17 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 09:10:17 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 09:10:17 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 09:10:17 inboxMessage: { 09:10:17 index: 10n, 09:10:17 leaf: Fr<0x03c3b40c79b754f107a5a788e98c5776dc5389d1b1503a00c3213975392f7f4f>, 09:10:17 l2BlockNumber: 1, 09:10:17 l1BlockNumber: 45n, 09:10:17 l1BlockHash: Buffer32<0xf0c2669712ef3b7ceca9f0c726439f4ddc50caf660fccdf492b831ea9a79e6ec>, 09:10:17 rollingHash: Buffer16<0x7a9644bd760382704051c0ababfbd30c> 09:10:17 } 09:10:17 } 09:10:17 [09:10:17.552] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:18 [09:10:18.866] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x0f496e9d06477f06c27b0b21f272e7d6eb9c81818f7a99bad9471258e4fd4cc9 at block 12 (expected value in range [176, 192)) 09:10:18 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 09:10:18 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 09:10:18 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 09:10:18 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 09:10:18 inboxMessage: { 09:10:18 index: 224n, 09:10:18 leaf: Fr<0x0f496e9d06477f06c27b0b21f272e7d6eb9c81818f7a99bad9471258e4fd4cc9>, 09:10:18 l2BlockNumber: 12, 09:10:18 l1BlockNumber: 35n, 09:10:18 l1BlockHash: Buffer32<0x8a90660cbb50b3e98571b3601cc3587accae1bd1beb68bb07c06988ef912e456>, 09:10:18 rollingHash: Buffer16<0x447499558c82df6f9b3e5c3d316731ce> 09:10:18 } 09:10:18 } 09:10:18 [09:10:18.868] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:20 [09:10:20.169] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x301b0b547b4399a749af7388d468f7ed5566fb1c36c1bfc50ab2574cf24c3518 with index 16 (expected 0xd304d6be14cc6386d761fe53055da999 from previous hash 0x542f2d7e252ed1de8f5e81bdb9f770d5 but got 0xb2dd73f3b85926006109d714fe8a10ff) 09:10:20 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17 09:10:20 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 09:10:20 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 09:10:20 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 09:10:20 inboxMessage: { 09:10:20 index: 16n, 09:10:20 leaf: Fr<0x301b0b547b4399a749af7388d468f7ed5566fb1c36c1bfc50ab2574cf24c3518>, 09:10:20 l2BlockNumber: 2, 09:10:20 l1BlockNumber: 79n, 09:10:20 l1BlockHash: Buffer32<0x68c000026bb4143d414517171d8858aa84dd96b315c7dd0cf2d08322a1932384>, 09:10:20 rollingHash: Buffer16<0xb2dd73f3b85926006109d714fe8a10ff> 09:10:20 } 09:10:20 } 09:10:20 [09:10:20.171] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:21 [09:10:21.482] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x27d9ac00c323d62160eda41276be414e3a85348cecde58346c065186a58cb47f with index 32 (expected 0x0e92d787347d7b84afaee47a1331ea0a from previous hash 0x8027fd5166f6335968562df12f5d1cc5 but got 0x5a20eab09f32264615e707764def37a9) 09:10:21 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17 09:10:21 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 09:10:21 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 09:10:21 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 09:10:21 inboxMessage: { 09:10:21 index: 32n, 09:10:21 leaf: Fr<0x27d9ac00c323d62160eda41276be414e3a85348cecde58346c065186a58cb47f>, 09:10:21 l2BlockNumber: 3, 09:10:21 l1BlockNumber: 61n, 09:10:21 l1BlockHash: Buffer32<0x6fdcf6acd693a81db698082611bd1f93dc625ca2ffd43684e04bc01e50072cfb>, 09:10:21 rollingHash: Buffer16<0x5a20eab09f32264615e707764def37a9> 09:10:21 } 09:10:21 } 09:10:21 [09:10:21.484] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:22 [09:10:22.788] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x161bcb9c44ee0191da83a4c57ca80dc6e72a6bbf25f4c268ea0f49fecb15c802 at block 17 (expected value in range [256, 272)) 09:10:22 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 09:10:22 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 09:10:22 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 09:10:22 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 09:10:22 inboxMessage: { 09:10:22 index: 356n, 09:10:22 leaf: Fr<0x161bcb9c44ee0191da83a4c57ca80dc6e72a6bbf25f4c268ea0f49fecb15c802>, 09:10:22 l2BlockNumber: 17, 09:10:22 l1BlockNumber: 91n, 09:10:22 l1BlockHash: Buffer32<0x7b3082e16a1f9c159661969cc5256a9b557641a011a049e74653e586bd263f16>, 09:10:22 rollingHash: Buffer16<0xa783f15c5d606ffb843f0dd5134d5991> 09:10:22 } 09:10:22 } 09:10:22 [09:10:22.790] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:24 [09:10:24.120] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x1651d9b07f75818d3973d9273d0b376958626a582aaee2511c30234d1898096a for L2 block 15 has wrong index 225 (expected 224) 09:10:24 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17 09:10:24 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 09:10:24 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 09:10:24 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 09:10:24 inboxMessage: { 09:10:24 index: 225n, 09:10:24 leaf: Fr<0x1651d9b07f75818d3973d9273d0b376958626a582aaee2511c30234d1898096a>, 09:10:24 l2BlockNumber: 15, 09:10:24 l1BlockNumber: 19n, 09:10:24 l1BlockHash: Buffer32<0xeb38fe4e24507cfce344e123d68a2ea776bdd21071af77df92b4c670a3dbbfe0>, 09:10:24 rollingHash: Buffer16<0x9bc3a00f2a580da7ad4d1827109644c5> 09:10:24 } 09:10:24 } 09:10:24 [09:10:24.122] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:25 [09:10:25.451] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x055caec6ea8f2d270f5e80d2e3c91ab005e6098703b07c5df43c3de6d8a14187 at block 2 (expected value in range [16, 32)) 09:10:25 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 09:10:25 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 09:10:25 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 09:10:25 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 09:10:25 inboxMessage: { 09:10:25 index: 32n, 09:10:25 leaf: Fr<0x055caec6ea8f2d270f5e80d2e3c91ab005e6098703b07c5df43c3de6d8a14187>, 09:10:25 l2BlockNumber: 2, 09:10:25 l1BlockNumber: 15n, 09:10:25 l1BlockHash: Buffer32<0x2b81ffeb2e157494b1e12eb4f04d91322e7345419926f9805e8edeaa533f8a13>, 09:10:25 rollingHash: Buffer16<0xa7c3f26c6be35d88aa9de91049271e31> 09:10:25 } 09:10:25 } 09:10:25 [09:10:25.453] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:26 [09:10:26.842] WARN: archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store 09:10:26 [09:10:26.871] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:28 [09:10:28.228] WARN: archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store 09:10:28 [09:10:28.243] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:29 [09:10:29.616] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:30 [09:10:30.996] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:32 [09:10:32.402] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:33 [09:10:33.879] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:35 [09:10:35.324] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:36 [09:10:36.748] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:38 [09:10:38.228] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:39 [09:10:39.679] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:41 [09:10:41.128] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:42 [09:10:42.591] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:44 [09:10:44.022] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:45 [09:10:45.460] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:46 [09:10:46.912] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:48 [09:10:48.363] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:49 [09:10:49.840] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:51 [09:10:51.321] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:53 [09:10:53.821] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:56 [09:10:56.348] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:10:59 [09:10:59.284] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:11:01 [09:11:01.857] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:11:06 [09:11:06.640] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:11:10 [09:11:10.982] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:11:15 [09:11:15.189] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:11:19 [09:11:19.289] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:11:23 [09:11:23.432] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:11:27 [09:11:27.677] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:11:32 [09:11:32.099] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 09:11:36 PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (149.675 s) 09:11:36 KVArchiverDataStore 09:11:36 ArchiverStore 09:11:36 addBlocks 09:11:36 returns success when adding blocks (1256 ms) 09:11:36 allows duplicate blocks (1276 ms) 09:11:36 throws an error if the previous block does not exist in the store (846 ms) 09:11:36 throws an error if there is a gap in the blocks being added (926 ms) 09:11:36 unwindBlocks 09:11:36 unwinding blocks will remove blocks from the chain (1120 ms) 09:11:36 can unwind multiple empty blocks (778 ms) 09:11:36 refuses to unwind blocks if the tip is not the last block (1080 ms) 09:11:36 getBlocks 09:11:36 retrieves previously stored blocks (1115 ms) 09:11:36 retrieves previously stored blocks (1102 ms) 09:11:36 retrieves previously stored blocks (1355 ms) 09:11:36 retrieves previously stored blocks (1217 ms) 09:11:36 retrieves previously stored blocks (1140 ms) 09:11:36 returns an empty array if no blocks are found (1100 ms) 09:11:36 throws an error if limit is invalid (1123 ms) 09:11:36 throws an error if `from` it is out of range (1098 ms) 09:11:36 throws an error if unexpected initial block number is found (1254 ms) 09:11:36 throws an error if a gap is found (1506 ms) 09:11:36 getSyncedL2BlockNumber 09:11:36 returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (939 ms) 09:11:36 returns the most recently added block's number (1236 ms) 09:11:36 getSynchPoint 09:11:36 returns undefined if no blocks have been added (944 ms) 09:11:36 returns the L1 block number in which the most recent L2 block was published (1259 ms) 09:11:36 returns the L1 block number that most recently added messages from inbox (980 ms) 09:11:36 returns the latest syncpoint if latest message is behind (1010 ms) 09:11:36 addLogs 09:11:36 adds private & public logs (1075 ms) 09:11:36 deleteLogs 09:11:36 deletes private & public logs (1126 ms) 09:11:36 getPrivateLogs 09:11:36 gets added private logs (1128 ms) 09:11:36 getTxEffect 09:11:36 retrieves a previously stored transaction (1921 ms) 09:11:36 retrieves a previously stored transaction (1949 ms) 09:11:36 retrieves a previously stored transaction (1914 ms) 09:11:36 retrieves a previously stored transaction (1935 ms) 09:11:36 retrieves a previously stored transaction (1995 ms) 09:11:36 returns undefined if tx is not found (1956 ms) 09:11:36 tries to retrieves a previously stored transaction after deleted (2112 ms) 09:11:36 tries to retrieves a previously stored transaction after deleted (2135 ms) 09:11:36 tries to retrieves a previously stored transaction after deleted (2121 ms) 09:11:36 tries to retrieves a previously stored transaction after deleted (2134 ms) 09:11:36 tries to retrieves a previously stored transaction after deleted (2172 ms) 09:11:36 returns undefined if tx is not found (2004 ms) 09:11:36 does not fail if the block is unwound while requesting a tx (2388 ms) 09:11:36 L1 to L2 Messages 09:11:36 stores first message ever (1152 ms) 09:11:36 stores single message (1151 ms) 09:11:36 stores and returns messages across different blocks (1165 ms) 09:11:36 stores the same messages again (1175 ms) 09:11:36 stores and returns messages across different blocks with gaps (1169 ms) 09:11:36 stores and returns messages with block numbers larger than a byte (1175 ms) 09:11:36 stores and returns multiple messages per block (1228 ms) 09:11:36 stores messages in multiple operations (1317 ms) 09:11:36 iterates over messages from start index (1306 ms) 09:11:36 iterates over messages in reverse (1311 ms) 09:11:36 throws if messages are added out of order (1320 ms) 09:11:36 throws if block number for the first message is out of order (1318 ms) 09:11:36 throws if rolling hash is not correct (1302 ms) 09:11:36 throws if rolling hash for first message is not correct (1313 ms) 09:11:36 throws if index is not in the correct range (1306 ms) 09:11:36 throws if first index in block has gaps (1332 ms) 09:11:36 throws if index does not follow previous one (1331 ms) 09:11:36 removes messages up to the given block number (1417 ms) 09:11:36 removes messages starting with the given index (1371 ms) 09:11:36 contractInstances 09:11:36 returns previously stored contract instances (1372 ms) 09:11:36 returns undefined if contract instance is not found (1380 ms) 09:11:36 returns undefined if previously stored contract instances was deleted (1404 ms) 09:11:36 contractInstanceUpdates 09:11:36 gets the correct current class id for a contract not updated yet (1474 ms) 09:11:36 gets the correct current class id for a contract that has just been updated (1448 ms) 09:11:36 gets the correct current class id for a contract that was updated in the past (1424 ms) 09:11:36 ignores updates for the wrong contract (1479 ms) 09:11:36 bounds its search to the right contract if more than than one update exists (1448 ms) 09:11:36 contractClasses 09:11:36 returns previously stored contract class (1450 ms) 09:11:36 returns undefined if the initial deployed contract class was deleted (1462 ms) 09:11:36 returns contract class if later "deployment" class was deleted (1431 ms) 09:11:36 returns undefined if contract class is not found (1438 ms) 09:11:36 adds new private functions (1449 ms) 09:11:36 does not duplicate private functions (1452 ms) 09:11:36 adds new utility functions (1477 ms) 09:11:36 does not duplicate utility functions (1480 ms) 09:11:36 getLogsByTags 09:11:36 is possible to batch request private logs via tags (2500 ms) 09:11:36 is possible to batch request all logs (private and public) via tags (2527 ms) 09:11:36 is possible to batch request logs that have the same tag but different content (2935 ms) 09:11:36 is possible to request logs for non-existing tags and determine their position (2572 ms) 09:11:36 getPublicLogs 09:11:36 no logs returned if deleted ("txHash" filter param is respected variant) (4784 ms) 09:11:36 "txHash" filter param is respected (4342 ms) 09:11:36 "fromBlock" and "toBlock" filter params are respected (4207 ms) 09:11:36 "contractAddress" filter param is respected (4099 ms) 09:11:36 "afterLog" filter param is respected (4143 ms) 09:11:36 "txHash" filter param is ignored when "afterLog" is set (4244 ms) 09:11:36 intersecting works (4418 ms) 09:11:36 "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4618 ms) 09:11:36 09:11:36 Test Suites: 1 passed, 1 total 09:11:36 Tests: 86 passed, 86 total 09:11:36 Snapshots: 0 total 09:11:36 Time: 149.752 s 09:11:36 Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts. 09:11:36 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?