Parent Log: http://ci.aztec-labs.com/9033354ff6409726 Command: d2b17a71056754a7 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/b70544b6d50e3ecb6598361f1990bd51745c7b55 Env: REF_NAME=gh-readonly-queue/next/pr-15046-96a426245731b3f48fcb6dd5e2a683c858706602 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 16 22:38:19 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15046_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next 22:38:22 [22:38:22.899] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:24 [22:38:24.479] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:25 [22:38:25.948] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:26 [22:38:26.980] 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 22:38:26 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 22:38:26 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 22:38:26 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 22:38:26 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 22:38:26 newBlockNumber: 2, 22:38:26 previousBlockNumber: undefined 22:38:26 } 22:38:26 [22:38:26.984] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:28 [22:38:28.055] 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 22:38:28 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17 22:38:28 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 22:38:28 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 22:38:28 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) 22:38:28 [22:38:28.058] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:29 [22:38:29.668] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:31 [22:38:31.047] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:32 [22:38:32.692] 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) 22:38:32 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15 22:38:32 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 22:38:32 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 22:38:32 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) 22:38:32 [22:38:32.698] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:34 [22:38:34.295] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:35 [22:38:35.776] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:37 [22:38:37.664] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:39 [22:38:39.109] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:40 [22:38:40.615] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:42 [22:38:42.123] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:43 [22:38:43.934] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:46 [22:38:46.534] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:49 [22:38:49.075] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:51 [22:38:51.714] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:53 [22:38:53.616] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:55 [22:38:55.351] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:56 [22:38:56.658] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:58 [22:38:58.903] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:39:00 [22:39:00.091] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:39:01 [22:39:01.238] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:39:02 [22:39:02.581] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:39:04 [22:39:04.069] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:39:05 [22:39:05.620] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:39:08 [22:39:08.484] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:39:11 [22:39:11.286] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:39:13 [22:39:13.934] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:39:16 [22:39:16.490] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:39:19 [22:39:19.152] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:39:21 [22:39:21.667] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:39:24 [22:39:24.598] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:39:26 [22:39:26.962] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:39:29 [22:39:29.485] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:39:31 [22:39:31.865] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:39:34 [22:39:34.442] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:39:37 [22:39:37.161] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:39:40 [22:39:40.485] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:39:41 [22:39:41.786] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:39:43 [22:39:43.028] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:39:44 [22:39:44.578] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:39:46 [22:39:46.212] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:39:47 [22:39:47.869] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:39:49 [22:39:49.399] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:39:50 [22:39:50.927] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:39:52 [22:39:52.639] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:39:54 [22:39:54.562] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:39:56 [22:39:56.601] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:39:58 [22:39:58.564] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x2f5e2b3b11b23fd9fef84db8772e4490ad3dc6be1d3635564c35b21474abb8fa for L2 block 1 has wrong index 10 (expected 0) 22:39:58 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17 22:39:58 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 22:39:58 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 22:39:58 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 22:39:58 inboxMessage: { 22:39:58 index: 10n, 22:39:58 leaf: Fr<0x2f5e2b3b11b23fd9fef84db8772e4490ad3dc6be1d3635564c35b21474abb8fa>, 22:39:58 l2BlockNumber: 1, 22:39:58 l1BlockNumber: 81n, 22:39:58 l1BlockHash: Buffer32<0x4b405ab0183256edb28875b8161c038cbb4e717f0ab49d82af9c1fa2a81d74fd>, 22:39:58 rollingHash: Buffer16<0x783c634f625b107f5ab1b9f2fe144ecc> 22:39:58 } 22:39:58 } 22:39:58 [22:39:58.571] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:40:00 [22:40:00.292] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x2ad1ad8a69ebaeb239a38096be5ba46128469f8c0f37f121437856c9ca75813e at block 12 (expected value in range [176, 192)) 22:40:00 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 22:40:00 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 22:40:00 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 22:40:00 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 22:40:00 inboxMessage: { 22:40:00 index: 224n, 22:40:00 leaf: Fr<0x2ad1ad8a69ebaeb239a38096be5ba46128469f8c0f37f121437856c9ca75813e>, 22:40:00 l2BlockNumber: 12, 22:40:00 l1BlockNumber: 33n, 22:40:00 l1BlockHash: Buffer32<0x7800f95591ca9f614324d774cf36a0f2741619506ce059288f0a99419b1f3673>, 22:40:00 rollingHash: Buffer16<0x809fb6b5ba5ea908bd429a422ecd674a> 22:40:00 } 22:40:00 } 22:40:00 [22:40:00.300] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:40:02 [22:40:02.172] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x2b59cee4ab9d155ba6314a123f1d633121d9a69a17eff729573c1dda987751e0 with index 16 (expected 0xf4d8706b6d23910e1f0772eb24f74018 from previous hash 0xdcdf349a1b51c5e6ad310f007a359d63 but got 0x9d8ba84423a7b3ccbfde68b81ceafe06) 22:40:02 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17 22:40:02 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 22:40:02 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 22:40:02 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 22:40:02 inboxMessage: { 22:40:02 index: 16n, 22:40:02 leaf: Fr<0x2b59cee4ab9d155ba6314a123f1d633121d9a69a17eff729573c1dda987751e0>, 22:40:02 l2BlockNumber: 2, 22:40:02 l1BlockNumber: 78n, 22:40:02 l1BlockHash: Buffer32<0x6ddcc149803ee9c0004c647bf52d8acc19273d27fa0743d2d5eabb045169a023>, 22:40:02 rollingHash: Buffer16<0x9d8ba84423a7b3ccbfde68b81ceafe06> 22:40:02 } 22:40:02 } 22:40:02 [22:40:02.180] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:40:04 [22:40:04.129] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x0cfec299f5abd45a79698908753c1b062b2676723255228ce847ce74f9b42c8d with index 32 (expected 0xb5d498a984ba637fbb7bd1be5d66c07a from previous hash 0xd6c47e7fd187a9c331e1754e2327296d but got 0x5e7942bb8b3b5b6a17a799615fe442e5) 22:40:04 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17 22:40:04 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 22:40:04 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 22:40:04 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 22:40:04 inboxMessage: { 22:40:04 index: 32n, 22:40:04 leaf: Fr<0x0cfec299f5abd45a79698908753c1b062b2676723255228ce847ce74f9b42c8d>, 22:40:04 l2BlockNumber: 3, 22:40:04 l1BlockNumber: 40n, 22:40:04 l1BlockHash: Buffer32<0x8145a3101694b96f03631c773dfe8a4f28f571528c6b2b96d87df57a33ba8216>, 22:40:04 rollingHash: Buffer16<0x5e7942bb8b3b5b6a17a799615fe442e5> 22:40:04 } 22:40:04 } 22:40:04 [22:40:04.133] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:40:05 [22:40:05.881] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x0096a851612dc4964a9e7b6a7b68ab6bb87624750d550c5f8bdcbbca88c7a2a5 at block 17 (expected value in range [256, 272)) 22:40:05 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 22:40:05 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 22:40:05 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 22:40:05 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 22:40:05 inboxMessage: { 22:40:05 index: 356n, 22:40:05 leaf: Fr<0x0096a851612dc4964a9e7b6a7b68ab6bb87624750d550c5f8bdcbbca88c7a2a5>, 22:40:05 l2BlockNumber: 17, 22:40:05 l1BlockNumber: 16n, 22:40:05 l1BlockHash: Buffer32<0x8bb75dd2a4f1e4bc0d0fdd69cbb6eeeb604bdec5db6c39b263637b99c0b0eb34>, 22:40:05 rollingHash: Buffer16<0x5e6b7f78a620943f0e785be52bfb78d9> 22:40:05 } 22:40:05 } 22:40:05 [22:40:05.886] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:40:07 [22:40:07.929] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x2985a5387f10df129fca3d0f6eef75c1fba76c382c9ffc4478182acd505d4081 for L2 block 15 has wrong index 225 (expected 224) 22:40:07 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17 22:40:07 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 22:40:07 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 22:40:07 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 22:40:07 inboxMessage: { 22:40:07 index: 225n, 22:40:07 leaf: Fr<0x2985a5387f10df129fca3d0f6eef75c1fba76c382c9ffc4478182acd505d4081>, 22:40:07 l2BlockNumber: 15, 22:40:07 l1BlockNumber: 32n, 22:40:07 l1BlockHash: Buffer32<0x0337809557beb85e54c07457862654473ba734ec299f66aa80b1e0573ee84300>, 22:40:07 rollingHash: Buffer16<0xb50267cde39fdac0381eefe7055fdaf6> 22:40:07 } 22:40:07 } 22:40:07 [22:40:07.932] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:40:09 [22:40:09.995] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x1a7a02c61b4bf473cb8782048c48e71956870206e3be79c3723e604c997d24cc at block 2 (expected value in range [16, 32)) 22:40:09 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 22:40:09 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 22:40:09 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 22:40:09 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 22:40:09 inboxMessage: { 22:40:09 index: 32n, 22:40:09 leaf: Fr<0x1a7a02c61b4bf473cb8782048c48e71956870206e3be79c3723e604c997d24cc>, 22:40:09 l2BlockNumber: 2, 22:40:09 l1BlockNumber: 86n, 22:40:09 l1BlockHash: Buffer32<0x9feb4745887e79ac5381b2f1f3ab411d70632efd06245271908c2e58665f9568>, 22:40:09 rollingHash: Buffer16<0xff0929ab8338b9f42ca0c7aa52d6da8a> 22:40:09 } 22:40:09 } 22:40:09 [22:40:09.999] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:40:12 [22:40:12.043] WARN: archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store 22:40:12 [22:40:12.087] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:40:14 [22:40:14.109] WARN: archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store 22:40:14 [22:40:14.134] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:40:15 [22:40:15.912] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:40:17 [22:40:17.608] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:40:19 [22:40:19.410] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:40:21 [22:40:21.348] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:40:23 [22:40:23.319] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:40:25 [22:40:25.362] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:40:27 [22:40:27.144] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:40:28 [22:40:28.911] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:40:30 [22:40:30.556] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:40:32 [22:40:32.350] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:40:34 [22:40:34.117] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:40:35 [22:40:35.924] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:40:37 [22:40:37.624] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:40:39 [22:40:39.419] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:40:41 [22:40:41.425] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:40:43 [22:40:43.541] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:40:46 [22:40:46.733] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:40:49 [22:40:49.621] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:40:53 [22:40:53.670] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:40:56 [22:40:56.997] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:41:02 [22:41:02.970] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:41:07 [22:41:07.626] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:41:11 [22:41:11.823] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:41:16 [22:41:16.740] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:41:22 [22:41:22.341] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:41:27 [22:41:27.693] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:41:32 [22:41:32.052] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:41:36 PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (195.548 s) 22:41:36 KVArchiverDataStore 22:41:36 ArchiverStore 22:41:36 addBlocks 22:41:36 returns success when adding blocks (1604 ms) 22:41:36 allows duplicate blocks (1469 ms) 22:41:36 throws an error if the previous block does not exist in the store (1036 ms) 22:41:36 throws an error if there is a gap in the blocks being added (1073 ms) 22:41:36 unwindBlocks 22:41:36 unwinding blocks will remove blocks from the chain (1609 ms) 22:41:36 can unwind multiple empty blocks (1377 ms) 22:41:36 refuses to unwind blocks if the tip is not the last block (1651 ms) 22:41:36 getBlocks 22:41:36 retrieves previously stored blocks (1594 ms) 22:41:36 retrieves previously stored blocks (1482 ms) 22:41:36 retrieves previously stored blocks (1884 ms) 22:41:36 retrieves previously stored blocks (1448 ms) 22:41:36 retrieves previously stored blocks (1503 ms) 22:41:36 returns an empty array if no blocks are found (1509 ms) 22:41:36 throws an error if limit is invalid (1800 ms) 22:41:36 throws an error if `from` it is out of range (2610 ms) 22:41:36 throws an error if unexpected initial block number is found (2541 ms) 22:41:36 throws an error if a gap is found (2630 ms) 22:41:36 getSyncedL2BlockNumber 22:41:36 returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1909 ms) 22:41:36 returns the most recently added block's number (1734 ms) 22:41:36 getSynchPoint 22:41:36 returns undefined if no blocks have been added (1307 ms) 22:41:36 returns the L1 block number in which the most recent L2 block was published (2244 ms) 22:41:36 returns the L1 block number that most recently added messages from inbox (1187 ms) 22:41:36 returns the latest syncpoint if latest message is behind (1143 ms) 22:41:36 addLogs 22:41:36 adds private & public logs (1347 ms) 22:41:36 deleteLogs 22:41:36 deletes private & public logs (1487 ms) 22:41:36 getPrivateLogs 22:41:36 gets added private logs (1550 ms) 22:41:36 getTxEffect 22:41:36 retrieves a previously stored transaction (2863 ms) 22:41:36 retrieves a previously stored transaction (2801 ms) 22:41:36 retrieves a previously stored transaction (2650 ms) 22:41:36 retrieves a previously stored transaction (2555 ms) 22:41:36 retrieves a previously stored transaction (2658 ms) 22:41:36 returns undefined if tx is not found (2517 ms) 22:41:36 tries to retrieves a previously stored transaction after deleted (2930 ms) 22:41:36 tries to retrieves a previously stored transaction after deleted (2364 ms) 22:41:36 tries to retrieves a previously stored transaction after deleted (2522 ms) 22:41:36 tries to retrieves a previously stored transaction after deleted (2379 ms) 22:41:36 tries to retrieves a previously stored transaction after deleted (2578 ms) 22:41:36 returns undefined if tx is not found (2713 ms) 22:41:36 does not fail if the block is unwound while requesting a tx (3327 ms) 22:41:36 L1 to L2 Messages 22:41:36 stores first message ever (1294 ms) 22:41:36 stores single message (1245 ms) 22:41:36 stores and returns messages across different blocks (1547 ms) 22:41:36 stores the same messages again (1636 ms) 22:41:36 stores and returns messages across different blocks with gaps (1656 ms) 22:41:36 stores and returns messages with block numbers larger than a byte (1530 ms) 22:41:36 stores and returns multiple messages per block (1526 ms) 22:41:36 stores messages in multiple operations (1712 ms) 22:41:36 iterates over messages from start index (1913 ms) 22:41:36 iterates over messages in reverse (2046 ms) 22:41:36 throws if messages are added out of order (1969 ms) 22:41:36 throws if block number for the first message is out of order (1724 ms) 22:41:36 throws if rolling hash is not correct (1880 ms) 22:41:36 throws if rolling hash for first message is not correct (1957 ms) 22:41:36 throws if index is not in the correct range (1751 ms) 22:41:36 throws if first index in block has gaps (2047 ms) 22:41:36 throws if index does not follow previous one (2066 ms) 22:41:36 removes messages up to the given block number (2088 ms) 22:41:36 removes messages starting with the given index (2044 ms) 22:41:36 contractInstances 22:41:36 returns previously stored contract instances (1778 ms) 22:41:36 returns undefined if contract instance is not found (1696 ms) 22:41:36 returns undefined if previously stored contract instances was deleted (1799 ms) 22:41:36 contractInstanceUpdates 22:41:36 gets the correct current class id for a contract not updated yet (1937 ms) 22:41:36 gets the correct current class id for a contract that has just been updated (1966 ms) 22:41:36 gets the correct current class id for a contract that was updated in the past (2044 ms) 22:41:36 ignores updates for the wrong contract (1784 ms) 22:41:36 bounds its search to the right contract if more than than one update exists (1766 ms) 22:41:36 contractClasses 22:41:36 returns previously stored contract class (1644 ms) 22:41:36 returns undefined if the initial deployed contract class was deleted (1792 ms) 22:41:36 returns contract class if later "deployment" class was deleted (1766 ms) 22:41:36 returns undefined if contract class is not found (1806 ms) 22:41:36 adds new private functions (1700 ms) 22:41:36 does not duplicate private functions (1793 ms) 22:41:36 adds new utility functions (2002 ms) 22:41:36 does not duplicate utility functions (2117 ms) 22:41:36 getLogsByTags 22:41:36 is possible to batch request private logs via tags (3192 ms) 22:41:36 is possible to batch request all logs (private and public) via tags (2887 ms) 22:41:36 is possible to batch request logs that have the same tag but different content (4046 ms) 22:41:36 is possible to request logs for non-existing tags and determine their position (3328 ms) 22:41:36 getPublicLogs 22:41:36 no logs returned if deleted ("txHash" filter param is respected variant) (5971 ms) 22:41:36 "txHash" filter param is respected (4657 ms) 22:41:36 "fromBlock" and "toBlock" filter params are respected (4194 ms) 22:41:36 "contractAddress" filter param is respected (4917 ms) 22:41:36 "afterLog" filter param is respected (5601 ms) 22:41:36 "txHash" filter param is ignored when "afterLog" is set (5350 ms) 22:41:36 intersecting works (4359 ms) 22:41:36 "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4651 ms) 22:41:36 22:41:36 Test Suites: 1 passed, 1 total 22:41:36 Tests: 86 passed, 86 total 22:41:36 Snapshots: 0 total 22:41:36 Time: 195.653 s 22:41:36 Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts. 22:41:36 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?