Parent Log: http://ci.aztec-labs.com/29fbaf04147fb1cc Command: 0241ddbeca6635d5 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/4873eb2f8189ef2d21a8b7fcfbfebe4dbc0f4145 Env: REF_NAME=gh-readonly-queue/next/pr-15244-ae57aa9d16f6f3a9e1bc0a5487573e779a4a3ee3 CURRENT_VERSION=0.87.6 CI_FULL=0 Date: Wed Jun 25 19:33:20 UTC 2025 System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15244_arm64_a1-fast Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next 19:33:22 [19:33:22.502] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:33:23 [19:33:23.718] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:33:24 [19:33:24.963] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:33:25 [19:33:25.783] 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 19:33:25 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15 19:33:25 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 19:33:25 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 19:33:25 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 19:33:25 newBlockNumber: 2, 19:33:25 previousBlockNumber: undefined 19:33:25 } 19:33:25 [19:33:25.786] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:33:26 [19:33:26.693] 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 19:33:26 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:96:17 19:33:26 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 19:33:26 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 19:33:26 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) 19:33:26 [19:33:26.695] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:33:27 [19:33:27.801] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:33:28 [19:33:28.569] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:33:29 [19:33:29.627] 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) 19:33:29 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:141:15 19:33:29 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 19:33:29 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 19:33:29 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) 19:33:29 [19:33:29.629] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:33:30 [19:33:30.728] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:33:31 [19:33:31.812] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:33:33 [19:33:33.147] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:33:34 [19:33:34.361] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:33:35 [19:33:35.481] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:33:36 [19:33:36.548] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:33:37 [19:33:37.651] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:33:38 [19:33:38.748] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:33:39 [19:33:39.961] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:33:41 [19:33:41.410] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:33:42 [19:33:42.310] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:33:43 [19:33:43.527] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:33:44 [19:33:44.451] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:33:45 [19:33:45.681] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:33:46 [19:33:46.628] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:33:47 [19:33:47.588] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:33:48 [19:33:48.590] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:33:49 [19:33:49.692] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:33:50 [19:33:50.807] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:33:52 [19:33:52.740] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:33:54 [19:33:54.659] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:33:56 [19:33:56.578] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:33:58 [19:33:58.485] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:00 [19:34:00.427] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:02 [19:34:02.341] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:04 [19:34:04.560] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:06 [19:34:06.662] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:08 [19:34:08.746] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:10 [19:34:10.822] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:12 [19:34:12.929] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:14 [19:34:14.867] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:17 [19:34:17.205] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:18 [19:34:18.313] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:19 [19:34:19.424] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:20 [19:34:20.541] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:21 [19:34:21.673] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:22 [19:34:22.812] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:23 [19:34:23.953] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:25 [19:34:25.141] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:26 [19:34:26.419] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:27 [19:34:27.697] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:28 [19:34:28.974] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:30 [19:34:30.244] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x04e919af76b0fd79726a35079bf890a6bd0aba7b05af8dae82aa3471c6fef47f for L2 block 1 has wrong index 10 (expected 0) 19:34:30 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17 19:34:30 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 19:34:30 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 19:34:30 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 19:34:30 inboxMessage: { 19:34:30 index: 10n, 19:34:30 leaf: Fr<0x04e919af76b0fd79726a35079bf890a6bd0aba7b05af8dae82aa3471c6fef47f>, 19:34:30 l2BlockNumber: 1, 19:34:30 l1BlockNumber: 17n, 19:34:30 l1BlockHash: Buffer32<0x6a8685c735008430aa544cb19d454ac8e38d0f435c33ae651a04a75fde4b00b2>, 19:34:30 rollingHash: Buffer16<0x8ac26ec475ae53c628e15656d8ddb497> 19:34:30 } 19:34:30 } 19:34:30 [19:34:30.246] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:31 [19:34:31.531] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x0eba7c859081a0886ed959dcc6012f4d476df16ae10420fb33c259871bebe4a1 at block 12 (expected value in range [176, 192)) 19:34:31 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 19:34:31 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 19:34:31 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 19:34:31 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 19:34:31 inboxMessage: { 19:34:31 index: 224n, 19:34:31 leaf: Fr<0x0eba7c859081a0886ed959dcc6012f4d476df16ae10420fb33c259871bebe4a1>, 19:34:31 l2BlockNumber: 12, 19:34:31 l1BlockNumber: 97n, 19:34:31 l1BlockHash: Buffer32<0x6807a9144931c3d4b1f0c9bba6d024de6c1738613d653e887c3c69383f9289f4>, 19:34:31 rollingHash: Buffer16<0x7fc58bfe0b92e118f7399b721e1afe2c> 19:34:31 } 19:34:31 } 19:34:31 [19:34:31.533] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:32 [19:34:32.810] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x206d7d4fadfad7d88ac66194332ff8e26e66e7096c98d28dc14883eb51f2db5e with index 16 (expected 0x049694b5339d4ac2bd395afbf4b1b6b4 from previous hash 0x42c699273ef06e45c65d7d1531adb033 but got 0x8371104fa8ac001a4aa51835d3e825b0) 19:34:32 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17 19:34:32 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 19:34:32 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 19:34:32 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 19:34:32 inboxMessage: { 19:34:32 index: 16n, 19:34:32 leaf: Fr<0x206d7d4fadfad7d88ac66194332ff8e26e66e7096c98d28dc14883eb51f2db5e>, 19:34:32 l2BlockNumber: 2, 19:34:32 l1BlockNumber: 42n, 19:34:32 l1BlockHash: Buffer32<0x5ad53f718c5a9d1bb603b989e626cfe61129983722fa1ce3dd79fae75aa8c171>, 19:34:32 rollingHash: Buffer16<0x8371104fa8ac001a4aa51835d3e825b0> 19:34:32 } 19:34:32 } 19:34:32 [19:34:32.812] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:34 [19:34:34.109] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x1fb6e04e4c3d3a1340f3886c7c6f96e69bb52916093ae8681ef9b56dad54cb63 with index 32 (expected 0x2b6f8e8c705199a436335991e526ce01 from previous hash 0x3a17ca2c70a4bfbe11f373fd2de4bfd9 but got 0xef888ddc447dd2d8319e337ab6d2a86f) 19:34:34 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17 19:34:34 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 19:34:34 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 19:34:34 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 19:34:34 inboxMessage: { 19:34:34 index: 32n, 19:34:34 leaf: Fr<0x1fb6e04e4c3d3a1340f3886c7c6f96e69bb52916093ae8681ef9b56dad54cb63>, 19:34:34 l2BlockNumber: 3, 19:34:34 l1BlockNumber: 15n, 19:34:34 l1BlockHash: Buffer32<0x5e4e1b786261c210bdf8100bc3a92c2b5ec13939570c9decf53bf150258d9e07>, 19:34:34 rollingHash: Buffer16<0xef888ddc447dd2d8319e337ab6d2a86f> 19:34:34 } 19:34:34 } 19:34:34 [19:34:34.111] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:35 [19:34:35.400] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x047bc70fd0374ddd4e29c29fd50d1f4ac896bbc33f15036fd4b73e62b417f714 at block 17 (expected value in range [256, 272)) 19:34:35 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 19:34:35 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 19:34:35 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 19:34:35 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 19:34:35 inboxMessage: { 19:34:35 index: 356n, 19:34:35 leaf: Fr<0x047bc70fd0374ddd4e29c29fd50d1f4ac896bbc33f15036fd4b73e62b417f714>, 19:34:35 l2BlockNumber: 17, 19:34:35 l1BlockNumber: 93n, 19:34:35 l1BlockHash: Buffer32<0x71b670162581e5a81cf67d11fb9ffd11d972a2e586bf661a36980f9965a175b0>, 19:34:35 rollingHash: Buffer16<0xc9ba5d51122215e78212408a6af20b8e> 19:34:35 } 19:34:35 } 19:34:35 [19:34:35.402] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:36 [19:34:36.693] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x156b981a4bc71f5af22e5a6a94d4459cb4c6e1b296728b66dcfec14496b4d94b for L2 block 15 has wrong index 225 (expected 224) 19:34:36 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17 19:34:36 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 19:34:36 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 19:34:36 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 19:34:36 inboxMessage: { 19:34:36 index: 225n, 19:34:36 leaf: Fr<0x156b981a4bc71f5af22e5a6a94d4459cb4c6e1b296728b66dcfec14496b4d94b>, 19:34:36 l2BlockNumber: 15, 19:34:36 l1BlockNumber: 72n, 19:34:36 l1BlockHash: Buffer32<0x47f192c39c9de32659ae1eec9aa06778e38263c909af2c68517e640eaa7485d7>, 19:34:36 rollingHash: Buffer16<0xb499375342ee35d82c2cbed3d4149d58> 19:34:36 } 19:34:36 } 19:34:36 [19:34:36.695] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:37 [19:34:37.990] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x003fc6bf1c57f6a0a3014b6dbd79ff67a5b450d3621157c7390b0879f2b351ca at block 2 (expected value in range [16, 32)) 19:34:37 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 19:34:37 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 19:34:37 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 19:34:37 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 19:34:37 inboxMessage: { 19:34:37 index: 32n, 19:34:37 leaf: Fr<0x003fc6bf1c57f6a0a3014b6dbd79ff67a5b450d3621157c7390b0879f2b351ca>, 19:34:37 l2BlockNumber: 2, 19:34:37 l1BlockNumber: 91n, 19:34:37 l1BlockHash: Buffer32<0x4a3a135a2667d6904127a2b78c2827caceb2ff4991b28adc8c7408930b893499>, 19:34:37 rollingHash: Buffer16<0x3007a9103ebffc5b46c4f870038dfc34> 19:34:37 } 19:34:37 } 19:34:37 [19:34:37.992] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:39 [19:34:39.351] WARN: archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store 19:34:39 [19:34:39.384] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:40 [19:34:40.760] WARN: archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store 19:34:40 [19:34:40.779] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:42 [19:34:42.194] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:43 [19:34:43.581] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:45 [19:34:45.011] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:46 [19:34:46.402] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:47 [19:34:47.821] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:49 [19:34:49.290] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:50 [19:34:50.714] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:52 [19:34:52.144] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:53 [19:34:53.560] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:54 [19:34:54.969] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:56 [19:34:56.395] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:58 [19:34:58.132] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:34:59 [19:34:59.618] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:35:01 [19:35:01.051] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:35:02 [19:35:02.515] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:35:03 [19:35:03.984] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:35:06 [19:35:06.471] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:35:09 [19:35:09.018] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:35:11 [19:35:11.877] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:35:14 [19:35:14.403] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:35:19 [19:35:19.028] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:35:23 [19:35:23.146] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:35:27 [19:35:27.271] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:35:31 [19:35:31.421] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:35:35 [19:35:35.768] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:35:40 [19:35:40.182] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:35:44 [19:35:44.724] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 19:35:49 PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (148.057 s) 19:35:49 KVArchiverDataStore 19:35:49 ArchiverStore 19:35:49 addBlocks 19:35:49 returns success when adding blocks (1217 ms) 19:35:49 allows duplicate blocks (1244 ms) 19:35:49 throws an error if the previous block does not exist in the store (823 ms) 19:35:49 throws an error if there is a gap in the blocks being added (908 ms) 19:35:49 unwindBlocks 19:35:49 unwinding blocks will remove blocks from the chain (1106 ms) 19:35:49 can unwind multiple empty blocks (767 ms) 19:35:49 refuses to unwind blocks if the tip is not the last block (1060 ms) 19:35:49 getBlocks 19:35:49 retrieves previously stored blocks (1099 ms) 19:35:49 retrieves previously stored blocks (1084 ms) 19:35:49 retrieves previously stored blocks (1335 ms) 19:35:49 retrieves previously stored blocks (1211 ms) 19:35:49 retrieves previously stored blocks (1121 ms) 19:35:49 returns an empty array if no blocks are found (1067 ms) 19:35:49 throws an error if limit is invalid (1102 ms) 19:35:49 throws an error if `from` it is out of range (1097 ms) 19:35:49 throws an error if unexpected initial block number is found (1213 ms) 19:35:49 throws an error if a gap is found (1448 ms) 19:35:49 getSyncedL2BlockNumber 19:35:49 returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (901 ms) 19:35:49 returns the most recently added block's number (1216 ms) 19:35:49 getSynchPoint 19:35:49 returns undefined if no blocks have been added (924 ms) 19:35:49 returns the L1 block number in which the most recent L2 block was published (1229 ms) 19:35:49 returns the L1 block number that most recently added messages from inbox (947 ms) 19:35:49 returns the latest syncpoint if latest message is behind (960 ms) 19:35:49 addLogs 19:35:49 adds private & public logs (1002 ms) 19:35:49 deleteLogs 19:35:49 deletes private & public logs (1102 ms) 19:35:49 getPrivateLogs 19:35:49 gets added private logs (1114 ms) 19:35:49 getTxEffect 19:35:49 retrieves a previously stored transaction (1933 ms) 19:35:49 retrieves a previously stored transaction (1918 ms) 19:35:49 retrieves a previously stored transaction (1919 ms) 19:35:49 retrieves a previously stored transaction (1908 ms) 19:35:49 retrieves a previously stored transaction (1942 ms) 19:35:49 returns undefined if tx is not found (1914 ms) 19:35:49 tries to retrieves a previously stored transaction after deleted (2218 ms) 19:35:49 tries to retrieves a previously stored transaction after deleted (2101 ms) 19:35:49 tries to retrieves a previously stored transaction after deleted (2085 ms) 19:35:49 tries to retrieves a previously stored transaction after deleted (2075 ms) 19:35:49 tries to retrieves a previously stored transaction after deleted (2106 ms) 19:35:49 returns undefined if tx is not found (1938 ms) 19:35:49 does not fail if the block is unwound while requesting a tx (2337 ms) 19:35:49 L1 to L2 Messages 19:35:49 stores first message ever (1108 ms) 19:35:49 stores single message (1111 ms) 19:35:49 stores and returns messages across different blocks (1117 ms) 19:35:49 stores the same messages again (1129 ms) 19:35:49 stores and returns messages across different blocks with gaps (1142 ms) 19:35:49 stores and returns messages with block numbers larger than a byte (1140 ms) 19:35:49 stores and returns multiple messages per block (1188 ms) 19:35:49 stores messages in multiple operations (1278 ms) 19:35:49 iterates over messages from start index (1278 ms) 19:35:49 iterates over messages in reverse (1275 ms) 19:35:49 throws if messages are added out of order (1273 ms) 19:35:49 throws if block number for the first message is out of order (1287 ms) 19:35:49 throws if rolling hash is not correct (1279 ms) 19:35:49 throws if rolling hash for first message is not correct (1299 ms) 19:35:49 throws if index is not in the correct range (1290 ms) 19:35:49 throws if first index in block has gaps (1293 ms) 19:35:49 throws if index does not follow previous one (1297 ms) 19:35:49 removes messages up to the given block number (1392 ms) 19:35:49 removes messages starting with the given index (1394 ms) 19:35:49 contractInstances 19:35:49 returns previously stored contract instances (1415 ms) 19:35:49 returns undefined if contract instance is not found (1385 ms) 19:35:49 returns undefined if previously stored contract instances was deleted (1431 ms) 19:35:49 contractInstanceUpdates 19:35:49 gets the correct current class id for a contract not updated yet (1391 ms) 19:35:49 gets the correct current class id for a contract that has just been updated (1419 ms) 19:35:49 gets the correct current class id for a contract that was updated in the past (1469 ms) 19:35:49 ignores updates for the wrong contract (1424 ms) 19:35:49 bounds its search to the right contract if more than than one update exists (1428 ms) 19:35:49 contractClasses 19:35:49 returns previously stored contract class (1418 ms) 19:35:49 returns undefined if the initial deployed contract class was deleted (1409 ms) 19:35:49 returns contract class if later "deployment" class was deleted (1425 ms) 19:35:49 returns undefined if contract class is not found (1737 ms) 19:35:49 adds new private functions (1485 ms) 19:35:49 does not duplicate private functions (1431 ms) 19:35:49 adds new utility functions (1464 ms) 19:35:49 does not duplicate utility functions (1468 ms) 19:35:49 getLogsByTags 19:35:49 is possible to batch request private logs via tags (2486 ms) 19:35:49 is possible to batch request all logs (private and public) via tags (2547 ms) 19:35:49 is possible to batch request logs that have the same tag but different content (2860 ms) 19:35:49 is possible to request logs for non-existing tags and determine their position (2525 ms) 19:35:49 getPublicLogs 19:35:49 no logs returned if deleted ("txHash" filter param is respected variant) (4624 ms) 19:35:49 "txHash" filter param is respected (4117 ms) 19:35:49 "fromBlock" and "toBlock" filter params are respected (4124 ms) 19:35:49 "contractAddress" filter param is respected (4150 ms) 19:35:49 "afterLog" filter param is respected (4345 ms) 19:35:49 "txHash" filter param is ignored when "afterLog" is set (4410 ms) 19:35:49 intersecting works (4547 ms) 19:35:49 "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4576 ms) 19:35:49 19:35:49 Test Suites: 1 passed, 1 total 19:35:49 Tests: 86 passed, 86 total 19:35:49 Snapshots: 0 total 19:35:49 Time: 148.135 s 19:35:49 Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts. 19:35:49 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?