Parent Log: http://ci.aztec-labs.com/cbf3ddc3cc40e3b7 Command: b2a342c9d927fff0 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/3c1b9d57eadcc8fb03a7ed42610cf0a1ae4a32eb Env: REF_NAME=gh-readonly-queue/next/pr-14858-4b0e4dc09fa55f0bc808fa0c7c3e95e8fa997069 CURRENT_VERSION=0.87.6 CI_FULL=0 Date: Tue Jun 17 21:40:20 UTC 2025 System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-14858_arm64_a1-fast Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next 21:40:23 [21:40:23.017] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:40:24 [21:40:24.275] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:40:25 [21:40:25.580] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:40:26 [21:40:26.422] 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:40:26 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 21:40:26 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 21:40:26 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 21:40:26 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 21:40:26 newBlockNumber: 2, 21:40:26 previousBlockNumber: undefined 21:40:26 } 21:40:26 [21:40:26.425] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:40:27 [21:40:27.360] 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:40:27 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17 21:40:27 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 21:40:27 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 21:40:27 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) 21:40:27 [21:40:27.362] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:40:28 [21:40:28.505] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:40:29 [21:40:29.295] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:40:30 [21:40:30.382] 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:40:30 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15 21:40:30 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 21:40:30 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 21:40:30 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) 21:40:30 [21:40:30.384] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:40:31 [21:40:31.510] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:40:32 [21:40:32.691] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:40:34 [21:40:34.108] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:40:35 [21:40:35.408] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:40:36 [21:40:36.559] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:40:37 [21:40:37.664] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:40:38 [21:40:38.805] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:40:39 [21:40:39.927] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:40:41 [21:40:41.185] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:40:42 [21:40:42.707] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:40:43 [21:40:43.655] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:40:44 [21:40:44.903] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:40:45 [21:40:45.858] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:40:47 [21:40:47.104] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:40:48 [21:40:48.085] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:40:49 [21:40:49.065] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:40:50 [21:40:50.104] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:40:51 [21:40:51.325] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:40:52 [21:40:52.480] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:40:54 [21:40:54.438] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:40:56 [21:40:56.373] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:40:58 [21:40:58.336] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:00 [21:41:00.286] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:02 [21:41:02.247] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:04 [21:41:04.224] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:06 [21:41:06.349] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:08 [21:41:08.468] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:10 [21:41:10.637] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:12 [21:41:12.779] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:14 [21:41:14.912] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:16 [21:41:16.908] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:19 [21:41:19.392] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:20 [21:41:20.546] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:21 [21:41:21.701] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:22 [21:41:22.860] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:24 [21:41:24.027] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:25 [21:41:25.203] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:26 [21:41:26.372] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:27 [21:41:27.601] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:28 [21:41:28.921] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:30 [21:41:30.216] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:31 [21:41:31.524] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:32 [21:41:32.841] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x188458e1ea010aaf3e9c0029736a4a083ac2d6bee013511a630c1a38e3f7f447 for L2 block 1 has wrong index 10 (expected 0) 21:41:32 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17 21:41:32 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 21:41:32 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 21:41:32 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 21:41:32 inboxMessage: { 21:41:32 index: 10n, 21:41:32 leaf: Fr<0x188458e1ea010aaf3e9c0029736a4a083ac2d6bee013511a630c1a38e3f7f447>, 21:41:32 l2BlockNumber: 1, 21:41:32 l1BlockNumber: 61n, 21:41:32 l1BlockHash: Buffer32<0xf694a1860cccbf420ef4e650b8b46e5563e63742d372caa38d1ca48a76f476ed>, 21:41:32 rollingHash: Buffer16<0x6c675ab3ee4d88667c360f70069d29a0> 21:41:32 } 21:41:32 } 21:41:32 [21:41:32.843] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:34 [21:41:34.173] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x1d04bf65670d7fd0741a5edbf7bb4971436158d72f0b3df2aa03a8030b224f92 at block 12 (expected value in range [176, 192)) 21:41:34 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 21:41:34 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 21:41:34 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 21:41:34 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 21:41:34 inboxMessage: { 21:41:34 index: 224n, 21:41:34 leaf: Fr<0x1d04bf65670d7fd0741a5edbf7bb4971436158d72f0b3df2aa03a8030b224f92>, 21:41:34 l2BlockNumber: 12, 21:41:34 l1BlockNumber: 8n, 21:41:34 l1BlockHash: Buffer32<0x18e6f03b5e28337edeb787f52c42774fe49567309d9dc0e80c2bc9be7552ac3e>, 21:41:34 rollingHash: Buffer16<0x8436f390a9336a31c99983f70f2e7c64> 21:41:34 } 21:41:34 } 21:41:34 [21:41:34.176] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:35 [21:41:35.493] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x29d85989ce1683052f2ae680cfc245f5efaeec14df46d7b265ad9d28d1bc566c with index 16 (expected 0x4b32f2cc1f74b2122e733526670145bb from previous hash 0x513230992a8f4aad2c6804ed44368085 but got 0xb2dd239dec01eaae86e0ff59f30e170b) 21:41:35 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17 21:41:35 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 21:41:35 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 21:41:35 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 21:41:35 inboxMessage: { 21:41:35 index: 16n, 21:41:35 leaf: Fr<0x29d85989ce1683052f2ae680cfc245f5efaeec14df46d7b265ad9d28d1bc566c>, 21:41:35 l2BlockNumber: 2, 21:41:35 l1BlockNumber: 65n, 21:41:35 l1BlockHash: Buffer32<0x6a5406f3b1cb28f9de496e6e6abda9de138152840cf10859512da5bacebacf90>, 21:41:35 rollingHash: Buffer16<0xb2dd239dec01eaae86e0ff59f30e170b> 21:41:35 } 21:41:35 } 21:41:35 [21:41:35.495] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:36 [21:41:36.805] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x1db65f792c39880900379a81ca3c8bfc3cb4ab01ffbc58ad0b09142d3389ecbc with index 32 (expected 0x13f88e516bc8eec142068f6c29a8c794 from previous hash 0x1d19f9efd6086d1259d52696eb9e244c but got 0xe71d05cd4191ac16ab31a0d1b0321799) 21:41:36 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17 21:41:36 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 21:41:36 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 21:41:36 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 21:41:36 inboxMessage: { 21:41:36 index: 32n, 21:41:36 leaf: Fr<0x1db65f792c39880900379a81ca3c8bfc3cb4ab01ffbc58ad0b09142d3389ecbc>, 21:41:36 l2BlockNumber: 3, 21:41:36 l1BlockNumber: 92n, 21:41:36 l1BlockHash: Buffer32<0xc911b7a33051dbf818c5eb610310d50396700b9de51c5617a3804cddc8300895>, 21:41:36 rollingHash: Buffer16<0xe71d05cd4191ac16ab31a0d1b0321799> 21:41:36 } 21:41:36 } 21:41:36 [21:41:36.807] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:38 [21:41:38.125] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x24095fab8daed43cb4b3c875d64605d6dc4f3882dca44e4620a12ef38b746360 at block 17 (expected value in range [256, 272)) 21:41:38 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 21:41:38 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 21:41:38 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 21:41:38 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 21:41:38 inboxMessage: { 21:41:38 index: 356n, 21:41:38 leaf: Fr<0x24095fab8daed43cb4b3c875d64605d6dc4f3882dca44e4620a12ef38b746360>, 21:41:38 l2BlockNumber: 17, 21:41:38 l1BlockNumber: 37n, 21:41:38 l1BlockHash: Buffer32<0x9449fd5ee9e2b5fa3ba2bd70c3fdb20d1a0625e9624bd38ff51c8c376a3dff79>, 21:41:38 rollingHash: Buffer16<0x39a4d69ed76b66ffee220c320eea4f32> 21:41:38 } 21:41:38 } 21:41:38 [21:41:38.128] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:39 [21:41:39.462] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x0bb49aaceb890be97895bf4f094bdbf4ac6665387af8cd49a76138b1e132202c for L2 block 15 has wrong index 225 (expected 224) 21:41:39 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17 21:41:39 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 21:41:39 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 21:41:39 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 21:41:39 inboxMessage: { 21:41:39 index: 225n, 21:41:39 leaf: Fr<0x0bb49aaceb890be97895bf4f094bdbf4ac6665387af8cd49a76138b1e132202c>, 21:41:39 l2BlockNumber: 15, 21:41:39 l1BlockNumber: 99n, 21:41:39 l1BlockHash: Buffer32<0xaf620d0b315a40d6d3588f0fc13d435462b40e8ea29e81ee73c077f104d93f37>, 21:41:39 rollingHash: Buffer16<0x9b7a79b5c42b32614ad808cef231f8c3> 21:41:39 } 21:41:39 } 21:41:39 [21:41:39.465] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:40 [21:41:40.822] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x07da6ca7891ac5d19290aca62dceaeafb91c7386f1d6e035bbbf127cb091b71b at block 2 (expected value in range [16, 32)) 21:41:40 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 21:41:40 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 21:41:40 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 21:41:40 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 21:41:40 inboxMessage: { 21:41:40 index: 32n, 21:41:40 leaf: Fr<0x07da6ca7891ac5d19290aca62dceaeafb91c7386f1d6e035bbbf127cb091b71b>, 21:41:40 l2BlockNumber: 2, 21:41:40 l1BlockNumber: 100n, 21:41:40 l1BlockHash: Buffer32<0x46cc850c7cadde7a448fccfc99bc4bf1a893c908edd47a54d266ea77a7390c87>, 21:41:40 rollingHash: Buffer16<0x7129ff9a37f9661ee24bf288bcf4b908> 21:41:40 } 21:41:40 } 21:41:40 [21:41:40.826] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:42 [21:41:42.371] WARN: archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store 21:41:42 [21:41:42.406] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:43 [21:41:43.985] WARN: archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store 21:41:44 [21:41:44.003] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:45 [21:41:45.549] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:46 [21:41:46.963] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:48 [21:41:48.360] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:49 [21:41:49.773] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:51 [21:41:51.205] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:52 [21:41:52.657] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:54 [21:41:54.126] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:55 [21:41:55.581] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:57 [21:41:57.053] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:41:58 [21:41:58.517] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:42:00 [21:42:00.022] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:42:01 [21:42:01.474] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:42:02 [21:42:02.920] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:42:04 [21:42:04.366] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:42:05 [21:42:05.823] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:42:07 [21:42:07.301] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:42:09 [21:42:09.771] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:42:12 [21:42:12.293] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:42:15 [21:42:15.187] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:42:17 [21:42:17.729] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:42:22 [21:42:22.491] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:42:26 [21:42:26.904] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:42:31 [21:42:31.360] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:42:35 [21:42:35.773] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:42:40 [21:42:40.065] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:42:44 [21:42:44.435] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:42:49 [21:42:49.017] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:42:54 PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (152.496 s) 21:42:54 KVArchiverDataStore 21:42:54 ArchiverStore 21:42:54 addBlocks 21:42:54 returns success when adding blocks (1257 ms) 21:42:54 allows duplicate blocks (1305 ms) 21:42:54 throws an error if the previous block does not exist in the store (845 ms) 21:42:54 throws an error if there is a gap in the blocks being added (936 ms) 21:42:54 unwindBlocks 21:42:54 unwinding blocks will remove blocks from the chain (1142 ms) 21:42:54 can unwind multiple empty blocks (789 ms) 21:42:54 refuses to unwind blocks if the tip is not the last block (1089 ms) 21:42:54 getBlocks 21:42:54 retrieves previously stored blocks (1126 ms) 21:42:54 retrieves previously stored blocks (1180 ms) 21:42:54 retrieves previously stored blocks (1417 ms) 21:42:54 retrieves previously stored blocks (1300 ms) 21:42:54 retrieves previously stored blocks (1150 ms) 21:42:54 returns an empty array if no blocks are found (1105 ms) 21:42:54 throws an error if limit is invalid (1140 ms) 21:42:54 throws an error if `from` it is out of range (1123 ms) 21:42:54 throws an error if unexpected initial block number is found (1258 ms) 21:42:54 throws an error if a gap is found (1521 ms) 21:42:54 getSyncedL2BlockNumber 21:42:54 returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (948 ms) 21:42:54 returns the most recently added block's number (1246 ms) 21:42:54 getSynchPoint 21:42:54 returns undefined if no blocks have been added (955 ms) 21:42:54 returns the L1 block number in which the most recent L2 block was published (1246 ms) 21:42:54 returns the L1 block number that most recently added messages from inbox (981 ms) 21:42:54 returns the latest syncpoint if latest message is behind (979 ms) 21:42:54 addLogs 21:42:54 adds private & public logs (1040 ms) 21:42:54 deleteLogs 21:42:54 deletes private & public logs (1220 ms) 21:42:54 getPrivateLogs 21:42:54 gets added private logs (1154 ms) 21:42:54 getTxEffect 21:42:54 retrieves a previously stored transaction (1958 ms) 21:42:54 retrieves a previously stored transaction (1933 ms) 21:42:54 retrieves a previously stored transaction (1964 ms) 21:42:54 retrieves a previously stored transaction (1949 ms) 21:42:54 retrieves a previously stored transaction (1961 ms) 21:42:54 returns undefined if tx is not found (1977 ms) 21:42:54 tries to retrieves a previously stored transaction after deleted (2125 ms) 21:42:54 tries to retrieves a previously stored transaction after deleted (2119 ms) 21:42:54 tries to retrieves a previously stored transaction after deleted (2169 ms) 21:42:54 tries to retrieves a previously stored transaction after deleted (2140 ms) 21:42:54 tries to retrieves a previously stored transaction after deleted (2132 ms) 21:42:54 returns undefined if tx is not found (1996 ms) 21:42:54 does not fail if the block is unwound while requesting a tx (2483 ms) 21:42:54 L1 to L2 Messages 21:42:54 stores first message ever (1154 ms) 21:42:54 stores single message (1155 ms) 21:42:54 stores and returns messages across different blocks (1158 ms) 21:42:54 stores the same messages again (1167 ms) 21:42:54 stores and returns messages across different blocks with gaps (1174 ms) 21:42:54 stores and returns messages with block numbers larger than a byte (1170 ms) 21:42:54 stores and returns multiple messages per block (1228 ms) 21:42:54 stores messages in multiple operations (1320 ms) 21:42:54 iterates over messages from start index (1295 ms) 21:42:54 iterates over messages in reverse (1307 ms) 21:42:54 throws if messages are added out of order (1319 ms) 21:42:54 throws if block number for the first message is out of order (1332 ms) 21:42:54 throws if rolling hash is not correct (1320 ms) 21:42:54 throws if rolling hash for first message is not correct (1312 ms) 21:42:54 throws if index is not in the correct range (1320 ms) 21:42:54 throws if first index in block has gaps (1336 ms) 21:42:54 throws if index does not follow previous one (1360 ms) 21:42:54 removes messages up to the given block number (1582 ms) 21:42:54 removes messages starting with the given index (1597 ms) 21:42:54 contractInstances 21:42:54 returns previously stored contract instances (1545 ms) 21:42:54 returns undefined if contract instance is not found (1414 ms) 21:42:54 returns undefined if previously stored contract instances was deleted (1396 ms) 21:42:54 contractInstanceUpdates 21:42:54 gets the correct current class id for a contract not updated yet (1414 ms) 21:42:54 gets the correct current class id for a contract that has just been updated (1432 ms) 21:42:54 gets the correct current class id for a contract that was updated in the past (1450 ms) 21:42:54 ignores updates for the wrong contract (1469 ms) 21:42:54 bounds its search to the right contract if more than than one update exists (1451 ms) 21:42:54 contractClasses 21:42:54 returns previously stored contract class (1474 ms) 21:42:54 returns undefined if the initial deployed contract class was deleted (1463 ms) 21:42:54 returns contract class if later "deployment" class was deleted (1505 ms) 21:42:54 returns undefined if contract class is not found (1450 ms) 21:42:54 adds new private functions (1448 ms) 21:42:54 does not duplicate private functions (1445 ms) 21:42:54 adds new utility functions (1456 ms) 21:42:54 does not duplicate utility functions (1475 ms) 21:42:54 getLogsByTags 21:42:54 is possible to batch request private logs via tags (2471 ms) 21:42:54 is possible to batch request all logs (private and public) via tags (2520 ms) 21:42:54 is possible to batch request logs that have the same tag but different content (2894 ms) 21:42:54 is possible to request logs for non-existing tags and determine their position (2542 ms) 21:42:54 getPublicLogs 21:42:54 no logs returned if deleted ("txHash" filter param is respected variant) (4762 ms) 21:42:54 "txHash" filter param is respected (4412 ms) 21:42:54 "fromBlock" and "toBlock" filter params are respected (4456 ms) 21:42:54 "contractAddress" filter param is respected (4413 ms) 21:42:54 "afterLog" filter param is respected (4291 ms) 21:42:54 "txHash" filter param is ignored when "afterLog" is set (4369 ms) 21:42:54 intersecting works (4582 ms) 21:42:54 "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (5025 ms) 21:42:54 21:42:54 Test Suites: 1 passed, 1 total 21:42:54 Tests: 86 passed, 86 total 21:42:54 Snapshots: 0 total 21:42:54 Time: 152.591 s 21:42:54 Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts. 21:42:54 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?