Parent Log: http://ci.aztec-labs.com/af1e240df4354864 Command: 7e183daba6e4e4c5 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/712835e3cfa2ed6f980f2d482aa4b0ae767046a7 Env: REF_NAME=gh-readonly-queue/next/pr-15077-4b0e4dc09fa55f0bc808fa0c7c3e95e8fa997069 CURRENT_VERSION=0.87.6 CI_FULL=0 Date: Tue Jun 17 21:10:32 UTC 2025 System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15077_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:10:34 [21:10:34.472] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:10:35 [21:10:35.712] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:10:37 [21:10:37.163] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:10:38 [21:10:38.203] 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:10:38 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 21:10:38 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 21:10:38 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 21:10:38 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 21:10:38 newBlockNumber: 2, 21:10:38 previousBlockNumber: undefined 21:10:38 } 21:10:38 [21:10:38.206] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:10:39 [21:10:39.324] 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:10:39 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17 21:10:39 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 21:10:39 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 21:10:39 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) 21:10:39 [21:10:39.327] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:10:40 [21:10:40.632] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:10:41 [21:10:41.617] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:10:42 [21:10:42.870] 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:10:42 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15 21:10:42 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 21:10:42 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 21:10:42 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) 21:10:42 [21:10:42.872] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:10:44 [21:10:44.184] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:10:45 [21:10:45.475] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:10:47 [21:10:47.036] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:10:48 [21:10:48.420] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:10:49 [21:10:49.730] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:10:51 [21:10:51.007] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:10:52 [21:10:52.298] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:10:53 [21:10:53.574] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:10:55 [21:10:55.022] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:10:56 [21:10:56.729] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:10:57 [21:10:57.810] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:10:59 [21:10:59.233] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:00 [21:11:00.336] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:01 [21:11:01.732] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:02 [21:11:02.882] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:04 [21:11:04.019] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:05 [21:11:05.203] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:06 [21:11:06.496] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:07 [21:11:07.774] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:09 [21:11:09.876] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:12 [21:11:12.016] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:14 [21:11:14.123] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:16 [21:11:16.204] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:18 [21:11:18.308] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:20 [21:11:20.397] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:22 [21:11:22.646] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:24 [21:11:24.878] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:27 [21:11:27.123] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:29 [21:11:29.350] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:31 [21:11:31.598] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:33 [21:11:33.709] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:36 [21:11:36.261] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:37 [21:11:37.552] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:38 [21:11:38.826] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:40 [21:11:40.109] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:41 [21:11:41.403] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:42 [21:11:42.707] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:44 [21:11:44.035] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:45 [21:11:45.444] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:46 [21:11:46.921] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:48 [21:11:48.415] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:49 [21:11:49.890] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:51 [21:11:51.389] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x0ee97c8c667a1373a87c5b6d03484b2c5e0d32c8b48558962b6f1220e36f5907 for L2 block 1 has wrong index 10 (expected 0) 21:11:51 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17 21:11:51 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 21:11:51 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 21:11:51 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 21:11:51 inboxMessage: { 21:11:51 index: 10n, 21:11:51 leaf: Fr<0x0ee97c8c667a1373a87c5b6d03484b2c5e0d32c8b48558962b6f1220e36f5907>, 21:11:51 l2BlockNumber: 1, 21:11:51 l1BlockNumber: 6n, 21:11:51 l1BlockHash: Buffer32<0x4faa5824b7525f96dc7cc1c16a40e5655d5cfbb8b207993a1bd74ccfa4069892>, 21:11:51 rollingHash: Buffer16<0xd1d2268cd1e8f33d8f1a7cad69e95ee0> 21:11:51 } 21:11:51 } 21:11:51 [21:11:51.392] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:52 [21:11:52.907] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x1c092d15e8c6f66e08cfb1877196e1f242166e13bfcee98e8dca6553338f76d2 at block 12 (expected value in range [176, 192)) 21:11:52 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 21:11:52 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 21:11:52 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 21:11:52 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 21:11:52 inboxMessage: { 21:11:52 index: 224n, 21:11:52 leaf: Fr<0x1c092d15e8c6f66e08cfb1877196e1f242166e13bfcee98e8dca6553338f76d2>, 21:11:52 l2BlockNumber: 12, 21:11:52 l1BlockNumber: 89n, 21:11:52 l1BlockHash: Buffer32<0x8f90d5911acc48d8ebb0dfd31bbab6a556ab1947df094dc55c4855503253a96e>, 21:11:52 rollingHash: Buffer16<0xf2960d4d6f9264955f9b553573473b27> 21:11:52 } 21:11:52 } 21:11:52 [21:11:52.913] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:54 [21:11:54.406] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x1cc6dd5999d5bcf0491172ff03b6f62efea7f9619bd2d2d0844f3e9ee4bad967 with index 16 (expected 0x3f5b71cbeec0fdd1c052cc915463b3af from previous hash 0xcb28519d0270cbe08e4ce3a2553592a1 but got 0x42d4d277b32a9e2ce41115bd7ac58a9b) 21:11:54 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17 21:11:54 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 21:11:54 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 21:11:54 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 21:11:54 inboxMessage: { 21:11:54 index: 16n, 21:11:54 leaf: Fr<0x1cc6dd5999d5bcf0491172ff03b6f62efea7f9619bd2d2d0844f3e9ee4bad967>, 21:11:54 l2BlockNumber: 2, 21:11:54 l1BlockNumber: 27n, 21:11:54 l1BlockHash: Buffer32<0x5e8abeec411157fdd72b58b86935c871ec3aac5821545ed0be9093f4e7477fbc>, 21:11:54 rollingHash: Buffer16<0x42d4d277b32a9e2ce41115bd7ac58a9b> 21:11:54 } 21:11:54 } 21:11:54 [21:11:54.408] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:55 [21:11:55.946] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x0bf349ba81175f44dcef3caa856dce7c6d66589c129601514a2e9a16c6965a46 with index 32 (expected 0x9305ce2b6a2792024704ef2be97f4a31 from previous hash 0x4605e2a0d66dd6c1719048c995492f46 but got 0xb0a6439ce2c18e084f7a04b7fff27160) 21:11:55 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17 21:11:55 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 21:11:55 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 21:11:55 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 21:11:55 inboxMessage: { 21:11:55 index: 32n, 21:11:55 leaf: Fr<0x0bf349ba81175f44dcef3caa856dce7c6d66589c129601514a2e9a16c6965a46>, 21:11:55 l2BlockNumber: 3, 21:11:55 l1BlockNumber: 90n, 21:11:55 l1BlockHash: Buffer32<0x9111c6fa4de78dc69644064ecc474dac2cb7fff8f8733e16322e8bff50a7570d>, 21:11:55 rollingHash: Buffer16<0xb0a6439ce2c18e084f7a04b7fff27160> 21:11:55 } 21:11:55 } 21:11:55 [21:11:55.950] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:57 [21:11:57.441] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x2e0909bc095d71d1340b61015087268242261110bab9aca2b00f314e4a8ac88a at block 17 (expected value in range [256, 272)) 21:11:57 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 21:11:57 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 21:11:57 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 21:11:57 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 21:11:57 inboxMessage: { 21:11:57 index: 356n, 21:11:57 leaf: Fr<0x2e0909bc095d71d1340b61015087268242261110bab9aca2b00f314e4a8ac88a>, 21:11:57 l2BlockNumber: 17, 21:11:57 l1BlockNumber: 70n, 21:11:57 l1BlockHash: Buffer32<0x7c0c4310448581f3a190a4698c23e8956e8032e262a845d2f4688adea5955267>, 21:11:57 rollingHash: Buffer16<0x22a3ab5e84f8e0fb7c07c2f22c52d654> 21:11:57 } 21:11:57 } 21:11:57 [21:11:57.443] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:11:58 [21:11:58.946] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x0ee54895435348a3cf766d43b4410a2bf91b7067fd953841832627800223d852 for L2 block 15 has wrong index 225 (expected 224) 21:11:58 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17 21:11:58 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 21:11:58 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 21:11:58 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 21:11:58 inboxMessage: { 21:11:58 index: 225n, 21:11:58 leaf: Fr<0x0ee54895435348a3cf766d43b4410a2bf91b7067fd953841832627800223d852>, 21:11:58 l2BlockNumber: 15, 21:11:58 l1BlockNumber: 81n, 21:11:58 l1BlockHash: Buffer32<0x200a0c1dc4f6fede294ef3fbdab261603658e37f78956a6a0b857badd51f6b48>, 21:11:58 rollingHash: Buffer16<0x205833667d68df802f37a5f4e1799ed0> 21:11:58 } 21:11:58 } 21:11:58 [21:11:58.949] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:12:00 [21:12:00.472] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x1ba698d6e70fd02c25ca1cccf21c6f85dc646d286ac87b211eec055ae18ec2c4 at block 2 (expected value in range [16, 32)) 21:12:00 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 21:12:00 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 21:12:00 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 21:12:00 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 21:12:00 inboxMessage: { 21:12:00 index: 32n, 21:12:00 leaf: Fr<0x1ba698d6e70fd02c25ca1cccf21c6f85dc646d286ac87b211eec055ae18ec2c4>, 21:12:00 l2BlockNumber: 2, 21:12:00 l1BlockNumber: 35n, 21:12:00 l1BlockHash: Buffer32<0x8ee7abe209810bc244cb3c61d11b989b811c3fce484d44eaff0b016b25bd4f13>, 21:12:00 rollingHash: Buffer16<0xb572da716dbe963aa7282300031ad463> 21:12:00 } 21:12:00 } 21:12:00 [21:12:00.477] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:12:02 [21:12:02.033] WARN: archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store 21:12:02 [21:12:02.063] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:12:03 [21:12:03.605] WARN: archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store 21:12:03 [21:12:03.621] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:12:05 [21:12:05.138] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:12:06 [21:12:06.642] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:12:08 [21:12:08.153] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:12:09 [21:12:09.667] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:12:11 [21:12:11.182] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:12:12 [21:12:12.691] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:12:14 [21:12:14.224] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:12:15 [21:12:15.776] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:12:17 [21:12:17.329] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:12:18 [21:12:18.906] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:12:20 [21:12:20.498] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:12:22 [21:12:22.079] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:12:23 [21:12:23.676] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:12:25 [21:12:25.294] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:12:26 [21:12:26.891] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:12:28 [21:12:28.494] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:12:31 [21:12:31.233] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:12:33 [21:12:33.986] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:12:37 [21:12:37.115] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:12:39 [21:12:39.817] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:12:44 [21:12:44.689] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:12:49 [21:12:49.217] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:12:53 [21:12:53.912] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:12:58 [21:12:58.675] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:13:03 [21:13:03.391] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:13:08 [21:13:08.038] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:13:12 [21:13:12.625] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:13:17 PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (164.271 s) 21:13:17 KVArchiverDataStore 21:13:17 ArchiverStore 21:13:17 addBlocks 21:13:17 returns success when adding blocks (1241 ms) 21:13:17 allows duplicate blocks (1451 ms) 21:13:17 throws an error if the previous block does not exist in the store (1043 ms) 21:13:17 throws an error if there is a gap in the blocks being added (1121 ms) 21:13:17 unwindBlocks 21:13:17 unwinding blocks will remove blocks from the chain (1305 ms) 21:13:17 can unwind multiple empty blocks (985 ms) 21:13:17 refuses to unwind blocks if the tip is not the last block (1254 ms) 21:13:17 getBlocks 21:13:17 retrieves previously stored blocks (1312 ms) 21:13:17 retrieves previously stored blocks (1290 ms) 21:13:17 retrieves previously stored blocks (1560 ms) 21:13:17 retrieves previously stored blocks (1385 ms) 21:13:17 retrieves previously stored blocks (1309 ms) 21:13:17 returns an empty array if no blocks are found (1277 ms) 21:13:17 throws an error if limit is invalid (1289 ms) 21:13:17 throws an error if `from` it is out of range (1277 ms) 21:13:17 throws an error if unexpected initial block number is found (1448 ms) 21:13:17 throws an error if a gap is found (1707 ms) 21:13:17 getSyncedL2BlockNumber 21:13:17 returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1080 ms) 21:13:17 returns the most recently added block's number (1423 ms) 21:13:17 getSynchPoint 21:13:17 returns undefined if no blocks have been added (1102 ms) 21:13:17 returns the L1 block number in which the most recent L2 block was published (1395 ms) 21:13:17 returns the L1 block number that most recently added messages from inbox (1150 ms) 21:13:17 returns the latest syncpoint if latest message is behind (1137 ms) 21:13:17 addLogs 21:13:17 adds private & public logs (1184 ms) 21:13:17 deleteLogs 21:13:17 deletes private & public logs (1292 ms) 21:13:17 getPrivateLogs 21:13:17 gets added private logs (1277 ms) 21:13:17 getTxEffect 21:13:17 retrieves a previously stored transaction (2100 ms) 21:13:17 retrieves a previously stored transaction (2137 ms) 21:13:17 retrieves a previously stored transaction (2109 ms) 21:13:17 retrieves a previously stored transaction (2080 ms) 21:13:17 retrieves a previously stored transaction (2104 ms) 21:13:17 returns undefined if tx is not found (2087 ms) 21:13:17 tries to retrieves a previously stored transaction after deleted (2249 ms) 21:13:17 tries to retrieves a previously stored transaction after deleted (2232 ms) 21:13:17 tries to retrieves a previously stored transaction after deleted (2245 ms) 21:13:17 tries to retrieves a previously stored transaction after deleted (2227 ms) 21:13:17 tries to retrieves a previously stored transaction after deleted (2247 ms) 21:13:17 returns undefined if tx is not found (2109 ms) 21:13:17 does not fail if the block is unwound while requesting a tx (2552 ms) 21:13:17 L1 to L2 Messages 21:13:17 stores first message ever (1291 ms) 21:13:17 stores single message (1274 ms) 21:13:17 stores and returns messages across different blocks (1282 ms) 21:13:17 stores the same messages again (1292 ms) 21:13:17 stores and returns messages across different blocks with gaps (1303 ms) 21:13:17 stores and returns messages with block numbers larger than a byte (1327 ms) 21:13:17 stores and returns multiple messages per block (1409 ms) 21:13:17 stores messages in multiple operations (1476 ms) 21:13:17 iterates over messages from start index (1494 ms) 21:13:17 iterates over messages in reverse (1474 ms) 21:13:17 throws if messages are added out of order (1501 ms) 21:13:17 throws if block number for the first message is out of order (1517 ms) 21:13:17 throws if rolling hash is not correct (1498 ms) 21:13:17 throws if rolling hash for first message is not correct (1540 ms) 21:13:17 throws if index is not in the correct range (1495 ms) 21:13:17 throws if first index in block has gaps (1505 ms) 21:13:17 throws if index does not follow previous one (1526 ms) 21:13:17 removes messages up to the given block number (1587 ms) 21:13:17 removes messages starting with the given index (1558 ms) 21:13:17 contractInstances 21:13:17 returns previously stored contract instances (1514 ms) 21:13:17 returns undefined if contract instance is not found (1505 ms) 21:13:17 returns undefined if previously stored contract instances was deleted (1511 ms) 21:13:17 contractInstanceUpdates 21:13:17 gets the correct current class id for a contract not updated yet (1513 ms) 21:13:17 gets the correct current class id for a contract that has just been updated (1514 ms) 21:13:17 gets the correct current class id for a contract that was updated in the past (1510 ms) 21:13:17 ignores updates for the wrong contract (1532 ms) 21:13:17 bounds its search to the right contract if more than than one update exists (1551 ms) 21:13:17 contractClasses 21:13:17 returns previously stored contract class (1552 ms) 21:13:17 returns undefined if the initial deployed contract class was deleted (1576 ms) 21:13:17 returns contract class if later "deployment" class was deleted (1592 ms) 21:13:17 returns undefined if contract class is not found (1582 ms) 21:13:17 adds new private functions (1597 ms) 21:13:17 does not duplicate private functions (1618 ms) 21:13:17 adds new utility functions (1596 ms) 21:13:17 does not duplicate utility functions (1602 ms) 21:13:17 getLogsByTags 21:13:17 is possible to batch request private logs via tags (2739 ms) 21:13:17 is possible to batch request all logs (private and public) via tags (2752 ms) 21:13:17 is possible to batch request logs that have the same tag but different content (3129 ms) 21:13:17 is possible to request logs for non-existing tags and determine their position (2701 ms) 21:13:17 getPublicLogs 21:13:17 no logs returned if deleted ("txHash" filter param is respected variant) (4871 ms) 21:13:17 "txHash" filter param is respected (4527 ms) 21:13:17 "fromBlock" and "toBlock" filter params are respected (4695 ms) 21:13:17 "contractAddress" filter param is respected (4763 ms) 21:13:17 "afterLog" filter param is respected (4715 ms) 21:13:17 "txHash" filter param is ignored when "afterLog" is set (4646 ms) 21:13:17 intersecting works (4586 ms) 21:13:17 "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4824 ms) 21:13:17 21:13:17 Test Suites: 1 passed, 1 total 21:13:17 Tests: 86 passed, 86 total 21:13:17 Snapshots: 0 total 21:13:17 Time: 164.363 s 21:13:17 Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts. 21:13:17 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?