Parent Log: http://ci.aztec-labs.com/cd44163f3616f4c5 Command: b71f9d6a9e3f68ca 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/ee24aac96469b4f1cb8d70e614b2dd27bf0eb134 Env: REF_NAME=gh-readonly-queue/next/pr-15242-1c2c2ee2949dbe31742cc9501a31bf3bce8083cf CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Tue Jun 24 14:07:03 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15242_amd64_x4-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next 14:07:05 [14:07:05.470] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:06 [14:07:06.845] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:08 [14:07:08.680] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:09 [14:07:09.736] 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 14:07:09 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15 14:07:09 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 14:07:09 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 14:07:09 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 14:07:09 newBlockNumber: 2, 14:07:09 previousBlockNumber: undefined 14:07:09 } 14:07:09 [14:07:09.740] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:10 [14:07:10.752] 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 14:07:10 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:96:17 14:07:10 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 14:07:10 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 14:07:10 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) 14:07:10 [14:07:10.755] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:12 [14:07:12.078] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:12 [14:07:12.933] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:14 [14:07:14.142] 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) 14:07:14 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:141:15 14:07:14 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 14:07:14 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 14:07:14 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) 14:07:14 [14:07:14.146] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:15 [14:07:15.483] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:16 [14:07:16.859] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:18 [14:07:18.341] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:19 [14:07:19.658] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:20 [14:07:20.929] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:22 [14:07:22.354] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:24 [14:07:24.007] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:25 [14:07:25.596] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:27 [14:07:27.895] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:30 [14:07:30.441] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:32 [14:07:32.080] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:33 [14:07:33.848] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:35 [14:07:35.350] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:37 [14:07:37.028] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:38 [14:07:38.505] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:39 [14:07:39.985] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:41 [14:07:41.652] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:43 [14:07:43.292] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:44 [14:07:44.822] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:47 [14:07:47.540] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:50 [14:07:50.173] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:52 [14:07:52.855] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:55 [14:07:55.526] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:57 [14:07:57.958] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:08:00 [14:08:00.216] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:08:02 [14:08:02.801] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:08:05 [14:08:05.470] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:08:07 [14:08:08.000] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:08:10 [14:08:10.747] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:08:13 [14:08:13.492] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:08:16 [14:08:16.068] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:08:19 [14:08:19.002] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:08:20 [14:08:20.372] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:08:21 [14:08:21.778] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:08:23 [14:08:23.277] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:08:24 [14:08:24.796] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:08:26 [14:08:26.354] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:08:27 [14:08:27.959] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:08:29 [14:08:29.691] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:08:31 [14:08:31.394] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:08:33 [14:08:33.103] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:08:34 [14:08:34.901] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:08:36 [14:08:36.815] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x2a697b9c37204614586e3a22fea92369c39380ef3250f53298b44de190813b9e for L2 block 1 has wrong index 10 (expected 0) 14:08:36 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17 14:08:36 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 14:08:36 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 14:08:36 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 14:08:36 inboxMessage: { 14:08:36 index: 10n, 14:08:36 leaf: Fr<0x2a697b9c37204614586e3a22fea92369c39380ef3250f53298b44de190813b9e>, 14:08:36 l2BlockNumber: 1, 14:08:36 l1BlockNumber: 60n, 14:08:36 l1BlockHash: Buffer32<0xa15ca88aa455759e668052fedbeab810580d6775ffd5f45b829dfe00d57a8a14>, 14:08:36 rollingHash: Buffer16<0xdafe19eb5507a71917a8a040aeb8a629> 14:08:36 } 14:08:36 } 14:08:36 [14:08:36.818] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:08:38 [14:08:38.615] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x2bc55769ac3929ba97e3d85aab228217ccdafdc507cf40cef34aa5a365ea7bfa at block 12 (expected value in range [176, 192)) 14:08:38 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 14:08:38 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 14:08:38 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 14:08:38 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 14:08:38 inboxMessage: { 14:08:38 index: 224n, 14:08:38 leaf: Fr<0x2bc55769ac3929ba97e3d85aab228217ccdafdc507cf40cef34aa5a365ea7bfa>, 14:08:38 l2BlockNumber: 12, 14:08:38 l1BlockNumber: 90n, 14:08:38 l1BlockHash: Buffer32<0xac36fdc5d9bf5c76517f7cf049f23d2be1dcffa7bc20937cf2c0691c9a78b772>, 14:08:38 rollingHash: Buffer16<0x9085e84b78b711fb38451cac04cfa627> 14:08:38 } 14:08:38 } 14:08:38 [14:08:38.619] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:08:40 [14:08:40.499] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x021a5a0ccfc27cba1f71ca1b494571b117cef8e2b7bfc7cfc2e9c3392da5786b with index 16 (expected 0x62757ca283529299bde85d259593dcf8 from previous hash 0xafc848b46c87ba94f487667d5da4618d but got 0xbf94f8f1bc1d299e9c1b09e841b047db) 14:08:40 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17 14:08:40 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 14:08:40 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 14:08:40 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 14:08:40 inboxMessage: { 14:08:40 index: 16n, 14:08:40 leaf: Fr<0x021a5a0ccfc27cba1f71ca1b494571b117cef8e2b7bfc7cfc2e9c3392da5786b>, 14:08:40 l2BlockNumber: 2, 14:08:40 l1BlockNumber: 36n, 14:08:40 l1BlockHash: Buffer32<0x9b4681123b0230500b838534f86b486b152c7a99c54722d86ae0323a4ebedad7>, 14:08:40 rollingHash: Buffer16<0xbf94f8f1bc1d299e9c1b09e841b047db> 14:08:40 } 14:08:40 } 14:08:40 [14:08:40.504] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:08:42 [14:08:42.400] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x1c29c9ec39561230f3ff4d708f8f34b88cbca103c60965590080f40c8ad81649 with index 32 (expected 0x88f56b327da48cac1c3c8d5f2e573bfe from previous hash 0x9ffb215760867471a90f686be3bb6d2f but got 0x08b13f88f51443234d311715a2f74f0d) 14:08:42 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17 14:08:42 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 14:08:42 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 14:08:42 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 14:08:42 inboxMessage: { 14:08:42 index: 32n, 14:08:42 leaf: Fr<0x1c29c9ec39561230f3ff4d708f8f34b88cbca103c60965590080f40c8ad81649>, 14:08:42 l2BlockNumber: 3, 14:08:42 l1BlockNumber: 74n, 14:08:42 l1BlockHash: Buffer32<0xc232b108862a255f7b3728cfdc855eb4c17a899af80f2dd5570dfc6a5366f287>, 14:08:42 rollingHash: Buffer16<0x08b13f88f51443234d311715a2f74f0d> 14:08:42 } 14:08:42 } 14:08:42 [14:08:42.404] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:08:44 [14:08:44.188] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x15acc1329cd8766ee6f04ea1d2ff91dcdc476b32646de505c06a5adeabf75b2a at block 17 (expected value in range [256, 272)) 14:08:44 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 14:08:44 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 14:08:44 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 14:08:44 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 14:08:44 inboxMessage: { 14:08:44 index: 356n, 14:08:44 leaf: Fr<0x15acc1329cd8766ee6f04ea1d2ff91dcdc476b32646de505c06a5adeabf75b2a>, 14:08:44 l2BlockNumber: 17, 14:08:44 l1BlockNumber: 37n, 14:08:44 l1BlockHash: Buffer32<0x42d39306931798a896ac51182e389357de05d7875a27d4a3bedc1fa9bad53b21>, 14:08:44 rollingHash: Buffer16<0xfea424b008073120f479d4d8ffd7365a> 14:08:44 } 14:08:44 } 14:08:44 [14:08:44.193] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:08:46 [14:08:46.010] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x289931836ca0accfcbcb20dda1f793e74d40e59868d2fbd05a096df3964eead9 for L2 block 15 has wrong index 225 (expected 224) 14:08:46 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17 14:08:46 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 14:08:46 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 14:08:46 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 14:08:46 inboxMessage: { 14:08:46 index: 225n, 14:08:46 leaf: Fr<0x289931836ca0accfcbcb20dda1f793e74d40e59868d2fbd05a096df3964eead9>, 14:08:46 l2BlockNumber: 15, 14:08:46 l1BlockNumber: 43n, 14:08:46 l1BlockHash: Buffer32<0x86dcff91389a6460da33b444eaca28fc47e62c165494c6074ee7d158eb93d3e3>, 14:08:46 rollingHash: Buffer16<0x59594f1969a2d8a3a3411182aa73ebb2> 14:08:46 } 14:08:46 } 14:08:46 [14:08:46.013] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:08:47 [14:08:47.779] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x1319409da30591c658f3c8a6fa87864aedcfaafd213d7d84912e691799225ebf at block 2 (expected value in range [16, 32)) 14:08:47 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 14:08:47 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 14:08:47 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 14:08:47 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 14:08:47 inboxMessage: { 14:08:47 index: 32n, 14:08:47 leaf: Fr<0x1319409da30591c658f3c8a6fa87864aedcfaafd213d7d84912e691799225ebf>, 14:08:47 l2BlockNumber: 2, 14:08:47 l1BlockNumber: 57n, 14:08:47 l1BlockHash: Buffer32<0x793e77422e88085c2f3c2144b06e038c4b8ed51f01cdcd64f6b6e52213d3208d>, 14:08:47 rollingHash: Buffer16<0xde547cc4bf93353dfdf58294a3f99201> 14:08:47 } 14:08:47 } 14:08:47 [14:08:47.783] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:08:49 [14:08:49.505] WARN: archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store 14:08:49 [14:08:49.546] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:08:51 [14:08:51.493] WARN: archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store 14:08:51 [14:08:51.514] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:08:53 [14:08:53.474] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:08:55 [14:08:55.293] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:08:57 [14:08:57.280] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:08:59 [14:08:59.131] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:09:01 [14:09:01.095] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:09:02 [14:09:02.976] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:09:04 [14:09:04.778] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:09:06 [14:09:06.564] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:09:08 [14:09:08.343] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:09:10 [14:09:10.104] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:09:11 [14:09:11.859] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:09:13 [14:09:13.677] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:09:15 [14:09:15.662] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:09:17 [14:09:17.560] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:09:19 [14:09:19.305] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:09:21 [14:09:21.197] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:09:24 [14:09:24.325] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:09:27 [14:09:27.653] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:09:31 [14:09:31.512] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:09:34 [14:09:34.829] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:09:40 [14:09:40.317] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:09:45 [14:09:45.922] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:09:50 [14:09:50.519] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:09:55 [14:09:55.811] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:10:01 [14:10:01.019] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:10:05 [14:10:05.671] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:10:10 [14:10:10.415] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:10:14 PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (190.193 s) 14:10:14 KVArchiverDataStore 14:10:14 ArchiverStore 14:10:14 addBlocks 14:10:14 returns success when adding blocks (1374 ms) 14:10:14 allows duplicate blocks (1834 ms) 14:10:14 throws an error if the previous block does not exist in the store (1061 ms) 14:10:14 throws an error if there is a gap in the blocks being added (1014 ms) 14:10:14 unwindBlocks 14:10:14 unwinding blocks will remove blocks from the chain (1323 ms) 14:10:14 can unwind multiple empty blocks (854 ms) 14:10:14 refuses to unwind blocks if the tip is not the last block (1212 ms) 14:10:14 getBlocks 14:10:14 retrieves previously stored blocks (1336 ms) 14:10:14 retrieves previously stored blocks (1375 ms) 14:10:14 retrieves previously stored blocks (1482 ms) 14:10:14 retrieves previously stored blocks (1314 ms) 14:10:14 retrieves previously stored blocks (1273 ms) 14:10:14 returns an empty array if no blocks are found (1424 ms) 14:10:14 throws an error if limit is invalid (1652 ms) 14:10:14 throws an error if `from` it is out of range (1590 ms) 14:10:14 throws an error if unexpected initial block number is found (2297 ms) 14:10:14 throws an error if a gap is found (2543 ms) 14:10:14 getSyncedL2BlockNumber 14:10:14 returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1640 ms) 14:10:14 returns the most recently added block's number (1766 ms) 14:10:14 getSynchPoint 14:10:14 returns undefined if no blocks have been added (1502 ms) 14:10:14 returns the L1 block number in which the most recent L2 block was published (1677 ms) 14:10:14 returns the L1 block number that most recently added messages from inbox (1476 ms) 14:10:14 returns the latest syncpoint if latest message is behind (1479 ms) 14:10:14 addLogs 14:10:14 adds private & public logs (1658 ms) 14:10:14 deleteLogs 14:10:14 deletes private & public logs (1648 ms) 14:10:14 getPrivateLogs 14:10:14 gets added private logs (1527 ms) 14:10:14 getTxEffect 14:10:14 retrieves a previously stored transaction (2719 ms) 14:10:14 retrieves a previously stored transaction (2631 ms) 14:10:14 retrieves a previously stored transaction (2681 ms) 14:10:14 retrieves a previously stored transaction (2674 ms) 14:10:14 retrieves a previously stored transaction (2416 ms) 14:10:14 returns undefined if tx is not found (2272 ms) 14:10:14 tries to retrieves a previously stored transaction after deleted (2585 ms) 14:10:14 tries to retrieves a previously stored transaction after deleted (2668 ms) 14:10:14 tries to retrieves a previously stored transaction after deleted (2530 ms) 14:10:14 tries to retrieves a previously stored transaction after deleted (2747 ms) 14:10:14 tries to retrieves a previously stored transaction after deleted (2745 ms) 14:10:14 returns undefined if tx is not found (2575 ms) 14:10:14 does not fail if the block is unwound while requesting a tx (2933 ms) 14:10:14 L1 to L2 Messages 14:10:14 stores first message ever (1369 ms) 14:10:14 stores single message (1406 ms) 14:10:14 stores and returns messages across different blocks (1498 ms) 14:10:14 stores the same messages again (1520 ms) 14:10:14 stores and returns messages across different blocks with gaps (1554 ms) 14:10:14 stores and returns messages with block numbers larger than a byte (1607 ms) 14:10:14 stores and returns multiple messages per block (1731 ms) 14:10:14 stores messages in multiple operations (1700 ms) 14:10:14 iterates over messages from start index (1711 ms) 14:10:14 iterates over messages in reverse (1793 ms) 14:10:14 throws if messages are added out of order (1920 ms) 14:10:14 throws if block number for the first message is out of order (1799 ms) 14:10:14 throws if rolling hash is not correct (1884 ms) 14:10:14 throws if rolling hash for first message is not correct (1900 ms) 14:10:14 throws if index is not in the correct range (1788 ms) 14:10:14 throws if first index in block has gaps (1819 ms) 14:10:14 throws if index does not follow previous one (1769 ms) 14:10:14 removes messages up to the given block number (1762 ms) 14:10:14 removes messages starting with the given index (1967 ms) 14:10:14 contractInstances 14:10:14 returns previously stored contract instances (1960 ms) 14:10:14 returns undefined if contract instance is not found (1818 ms) 14:10:14 returns undefined if previously stored contract instances was deleted (1987 ms) 14:10:14 contractInstanceUpdates 14:10:14 gets the correct current class id for a contract not updated yet (1850 ms) 14:10:14 gets the correct current class id for a contract that has just been updated (1963 ms) 14:10:14 gets the correct current class id for a contract that was updated in the past (1881 ms) 14:10:14 ignores updates for the wrong contract (1800 ms) 14:10:14 bounds its search to the right contract if more than than one update exists (1786 ms) 14:10:14 contractClasses 14:10:14 returns previously stored contract class (1778 ms) 14:10:14 returns undefined if the initial deployed contract class was deleted (1760 ms) 14:10:14 returns contract class if later "deployment" class was deleted (1752 ms) 14:10:14 returns undefined if contract class is not found (1818 ms) 14:10:14 adds new private functions (1982 ms) 14:10:14 does not duplicate private functions (1899 ms) 14:10:14 adds new utility functions (1743 ms) 14:10:14 does not duplicate utility functions (1891 ms) 14:10:14 getLogsByTags 14:10:14 is possible to batch request private logs via tags (3128 ms) 14:10:14 is possible to batch request all logs (private and public) via tags (3327 ms) 14:10:14 is possible to batch request logs that have the same tag but different content (3858 ms) 14:10:14 is possible to request logs for non-existing tags and determine their position (3317 ms) 14:10:14 getPublicLogs 14:10:14 no logs returned if deleted ("txHash" filter param is respected variant) (5486 ms) 14:10:14 "txHash" filter param is respected (5605 ms) 14:10:14 "fromBlock" and "toBlock" filter params are respected (4596 ms) 14:10:14 "contractAddress" filter param is respected (5291 ms) 14:10:14 "afterLog" filter param is respected (5207 ms) 14:10:14 "txHash" filter param is ignored when "afterLog" is set (4650 ms) 14:10:14 intersecting works (4744 ms) 14:10:14 "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (3979 ms) 14:10:14 14:10:14 Test Suites: 1 passed, 1 total 14:10:14 Tests: 86 passed, 86 total 14:10:14 Snapshots: 0 total 14:10:14 Time: 190.263 s 14:10:14 Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts. 14:10:14 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?