Parent Log: http://ci.aztec-labs.com/64815db951c4de2c Command: 6a9c991c4402d14c 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/47c749527b1c3cce3edd9defedc46e89ea00c69e Env: REF_NAME=gh-readonly-queue/next/pr-15009-00cd67e98e76d3202a0219baf301d59ef4211872 CURRENT_VERSION=0.87.6 CI_FULL=0 Date: Fri Jun 13 15:59:20 UTC 2025 System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15009_arm64_a1-fast Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next 15:59:22 [15:59:22.701] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:59:23 [15:59:23.815] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:59:24 [15:59:24.955] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:59:25 [15:59:25.744] 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 15:59:25 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 15:59:25 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 15:59:25 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 15:59:25 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 15:59:25 newBlockNumber: 2, 15:59:25 previousBlockNumber: undefined 15:59:25 } 15:59:25 [15:59:25.747] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:59:26 [15:59:26.615] 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 15:59:26 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17 15:59:26 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 15:59:26 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 15:59:26 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) 15:59:26 [15:59:26.617] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:59:27 [15:59:27.633] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:59:28 [15:59:28.374] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:59:29 [15:59:29.351] 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) 15:59:29 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15 15:59:29 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 15:59:29 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 15:59:29 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) 15:59:29 [15:59:29.353] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:59:30 [15:59:30.369] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:59:31 [15:59:31.375] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:59:32 [15:59:32.579] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:59:33 [15:59:33.683] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:59:34 [15:59:34.710] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:59:35 [15:59:35.694] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:59:36 [15:59:36.770] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:59:37 [15:59:37.793] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:59:38 [15:59:38.948] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:59:40 [15:59:40.335] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:59:41 [15:59:41.217] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:59:42 [15:59:42.339] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:59:43 [15:59:43.236] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:59:44 [15:59:44.356] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:59:45 [15:59:45.319] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:59:46 [15:59:46.252] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:59:47 [15:59:47.219] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:59:48 [15:59:48.294] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:59:49 [15:59:49.364] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:59:51 [15:59:51.142] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:59:52 [15:59:52.903] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:59:54 [15:59:54.682] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:59:56 [15:59:56.481] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:59:58 [15:59:58.298] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:00 [16:00:00.074] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:01 [16:00:01.965] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:03 [16:00:03.849] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:05 [16:00:05.794] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:07 [16:00:07.696] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:09 [16:00:09.610] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:11 [16:00:11.440] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:13 [16:00:13.614] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:14 [16:00:14.682] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:15 [16:00:15.769] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:16 [16:00:16.867] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:17 [16:00:17.969] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:19 [16:00:19.082] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:20 [16:00:20.201] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:21 [16:00:21.380] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:22 [16:00:22.611] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:23 [16:00:23.831] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:25 [16:00:25.060] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:26 [16:00:26.294] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x12041f6cd4c18a74ea97dd62cc396fb45f8ac3b80b9ada1fa802bb60310abd84 for L2 block 1 has wrong index 10 (expected 0) 16:00:26 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17 16:00:26 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 16:00:26 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 16:00:26 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 16:00:26 inboxMessage: { 16:00:26 index: 10n, 16:00:26 leaf: Fr<0x12041f6cd4c18a74ea97dd62cc396fb45f8ac3b80b9ada1fa802bb60310abd84>, 16:00:26 l2BlockNumber: 1, 16:00:26 l1BlockNumber: 51n, 16:00:26 l1BlockHash: Buffer32<0xdbd327a179dcb960863e6bd620f5ea5e485f0167fa119d790b1dd840682521f9>, 16:00:26 rollingHash: Buffer16<0xc2140c585fca2b15e53942fa6d657da9> 16:00:26 } 16:00:26 } 16:00:26 [16:00:26.297] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:27 [16:00:27.533] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x1a12e753f634ccf47aad414c312e7c9bc5138d6e70d66abfef07b491873c37a2 at block 12 (expected value in range [176, 192)) 16:00:27 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 16:00:27 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 16:00:27 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 16:00:27 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 16:00:27 inboxMessage: { 16:00:27 index: 224n, 16:00:27 leaf: Fr<0x1a12e753f634ccf47aad414c312e7c9bc5138d6e70d66abfef07b491873c37a2>, 16:00:27 l2BlockNumber: 12, 16:00:27 l1BlockNumber: 92n, 16:00:27 l1BlockHash: Buffer32<0x671257ea351c5e711ac770232c38a7292711bf2c55c1a953126769766713b95f>, 16:00:27 rollingHash: Buffer16<0xa97ffce57698c0deb958089e0f0e8e79> 16:00:27 } 16:00:27 } 16:00:27 [16:00:27.535] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:28 [16:00:28.762] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x0985da93f74fcc1d316af41ff05497b06685e38b1b6df7d847ce21ec13486957 with index 16 (expected 0x5061a2f8f186e8cc5bf80748ae4e774d from previous hash 0x889a863cd555490a55f9eae8700bbd4a but got 0x7b71a9cb0439a5d93bd55029807a2998) 16:00:28 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17 16:00:28 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 16:00:28 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 16:00:28 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 16:00:28 inboxMessage: { 16:00:28 index: 16n, 16:00:28 leaf: Fr<0x0985da93f74fcc1d316af41ff05497b06685e38b1b6df7d847ce21ec13486957>, 16:00:28 l2BlockNumber: 2, 16:00:28 l1BlockNumber: 79n, 16:00:28 l1BlockHash: Buffer32<0xb9508052447b150e6af20b81897982f600820c77156c0097419c2234bb5eb9b3>, 16:00:28 rollingHash: Buffer16<0x7b71a9cb0439a5d93bd55029807a2998> 16:00:28 } 16:00:28 } 16:00:28 [16:00:28.764] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:30 [16:00:30.019] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x1ce5e9dcd3863694cfb2672927a9a46eb85c07bba22fda66d299f38220e0a3f8 with index 32 (expected 0xca511d22be8567416eb0e53a53d728c3 from previous hash 0xa111e884d9b0d7c5828d45348b148b94 but got 0xb17a61ed5a220ea50beac60d38367811) 16:00:30 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17 16:00:30 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 16:00:30 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 16:00:30 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 16:00:30 inboxMessage: { 16:00:30 index: 32n, 16:00:30 leaf: Fr<0x1ce5e9dcd3863694cfb2672927a9a46eb85c07bba22fda66d299f38220e0a3f8>, 16:00:30 l2BlockNumber: 3, 16:00:30 l1BlockNumber: 89n, 16:00:30 l1BlockHash: Buffer32<0x2a953ad57ad028ac6b0207eeadca45e52e073ca74a517f424d1f5dc28f312e1f>, 16:00:30 rollingHash: Buffer16<0xb17a61ed5a220ea50beac60d38367811> 16:00:30 } 16:00:30 } 16:00:30 [16:00:30.022] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:31 [16:00:31.269] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x117ea3b5114729a0f188c1233baf9bab06a348e78c8b9ff159f727d3f7a8a893 at block 17 (expected value in range [256, 272)) 16:00:31 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 16:00:31 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 16:00:31 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 16:00:31 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 16:00:31 inboxMessage: { 16:00:31 index: 356n, 16:00:31 leaf: Fr<0x117ea3b5114729a0f188c1233baf9bab06a348e78c8b9ff159f727d3f7a8a893>, 16:00:31 l2BlockNumber: 17, 16:00:31 l1BlockNumber: 15n, 16:00:31 l1BlockHash: Buffer32<0x7c61fe4e606fcca4f73c824381de471bfe386bc29ef11e882478a2c5b61cc190>, 16:00:31 rollingHash: Buffer16<0x45f1fe1f2b31d20e1005029b8b7db9b4> 16:00:31 } 16:00:31 } 16:00:31 [16:00:31.273] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:32 [16:00:32.537] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x15988e0e7c85ace894f584aeab44bf34f9acb566ffa189a2cb1c691c28c6f0b7 for L2 block 15 has wrong index 225 (expected 224) 16:00:32 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17 16:00:32 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 16:00:32 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 16:00:32 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 16:00:32 inboxMessage: { 16:00:32 index: 225n, 16:00:32 leaf: Fr<0x15988e0e7c85ace894f584aeab44bf34f9acb566ffa189a2cb1c691c28c6f0b7>, 16:00:32 l2BlockNumber: 15, 16:00:32 l1BlockNumber: 6n, 16:00:32 l1BlockHash: Buffer32<0x128220c82dbeea82f3b392dd52e5feff4746524d9707fca795a9908df2b7d215>, 16:00:32 rollingHash: Buffer16<0x187c35b57292471a04235f96e926a006> 16:00:32 } 16:00:32 } 16:00:32 [16:00:32.541] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:33 [16:00:33.795] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x26d046e4e824a8747925772f9720c03d65c54693ab71066af4039cc45d400e05 at block 2 (expected value in range [16, 32)) 16:00:33 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 16:00:33 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 16:00:33 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 16:00:33 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 16:00:33 inboxMessage: { 16:00:33 index: 32n, 16:00:33 leaf: Fr<0x26d046e4e824a8747925772f9720c03d65c54693ab71066af4039cc45d400e05>, 16:00:33 l2BlockNumber: 2, 16:00:33 l1BlockNumber: 94n, 16:00:33 l1BlockHash: Buffer32<0xed632147d6a458d761e083310ef7bc643435aa51995eeb575b9e58b7fae5bad7>, 16:00:33 rollingHash: Buffer16<0x58195c0864539e3c70adf830eb6fbaa7> 16:00:33 } 16:00:33 } 16:00:33 [16:00:33.797] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:35 [16:00:35.133] WARN: archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store 16:00:35 [16:00:35.169] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:36 [16:00:36.451] WARN: archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store 16:00:36 [16:00:36.468] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:37 [16:00:37.768] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:39 [16:00:39.083] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:40 [16:00:40.422] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:41 [16:00:41.790] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:43 [16:00:43.144] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:44 [16:00:44.497] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:45 [16:00:45.863] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:47 [16:00:47.243] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:48 [16:00:48.638] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:50 [16:00:50.014] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:51 [16:00:51.404] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:52 [16:00:52.800] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:54 [16:00:54.207] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:55 [16:00:55.623] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:57 [16:00:57.001] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:00:58 [16:00:58.396] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:01:00 [16:01:00.720] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:01:03 [16:01:03.056] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:01:05 [16:01:05.731] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:01:08 [16:01:08.097] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:01:12 [16:01:12.520] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:01:16 [16:01:16.559] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:01:20 [16:01:20.653] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:01:24 [16:01:24.799] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:01:28 [16:01:28.908] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:01:33 [16:01:33.031] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:01:37 [16:01:37.213] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:01:41 PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (140.192 s) 16:01:41 KVArchiverDataStore 16:01:41 ArchiverStore 16:01:41 addBlocks 16:01:41 returns success when adding blocks (1116 ms) 16:01:41 allows duplicate blocks (1140 ms) 16:01:41 throws an error if the previous block does not exist in the store (792 ms) 16:01:41 throws an error if there is a gap in the blocks being added (870 ms) 16:01:41 unwindBlocks 16:01:41 unwinding blocks will remove blocks from the chain (1015 ms) 16:01:41 can unwind multiple empty blocks (741 ms) 16:01:41 refuses to unwind blocks if the tip is not the last block (978 ms) 16:01:41 getBlocks 16:01:41 retrieves previously stored blocks (1014 ms) 16:01:41 retrieves previously stored blocks (1008 ms) 16:01:41 retrieves previously stored blocks (1202 ms) 16:01:41 retrieves previously stored blocks (1103 ms) 16:01:41 retrieves previously stored blocks (1027 ms) 16:01:41 returns an empty array if no blocks are found (984 ms) 16:01:41 throws an error if limit is invalid (1075 ms) 16:01:41 throws an error if `from` it is out of range (1024 ms) 16:01:41 throws an error if unexpected initial block number is found (1155 ms) 16:01:41 throws an error if a gap is found (1384 ms) 16:01:41 getSyncedL2BlockNumber 16:01:41 returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (884 ms) 16:01:41 returns the most recently added block's number (1122 ms) 16:01:41 getSynchPoint 16:01:41 returns undefined if no blocks have been added (896 ms) 16:01:41 returns the L1 block number in which the most recent L2 block was published (1120 ms) 16:01:41 returns the L1 block number that most recently added messages from inbox (963 ms) 16:01:41 returns the latest syncpoint if latest message is behind (932 ms) 16:01:41 addLogs 16:01:41 adds private & public logs (967 ms) 16:01:41 deleteLogs 16:01:41 deletes private & public logs (1074 ms) 16:01:41 getPrivateLogs 16:01:41 gets added private logs (1069 ms) 16:01:41 getTxEffect 16:01:41 retrieves a previously stored transaction (1772 ms) 16:01:41 retrieves a previously stored transaction (1766 ms) 16:01:41 retrieves a previously stored transaction (1779 ms) 16:01:41 retrieves a previously stored transaction (1797 ms) 16:01:41 retrieves a previously stored transaction (1816 ms) 16:01:41 returns undefined if tx is not found (1777 ms) 16:01:41 tries to retrieves a previously stored transaction after deleted (1890 ms) 16:01:41 tries to retrieves a previously stored transaction after deleted (1884 ms) 16:01:41 tries to retrieves a previously stored transaction after deleted (1943 ms) 16:01:41 tries to retrieves a previously stored transaction after deleted (1902 ms) 16:01:41 tries to retrieves a previously stored transaction after deleted (1914 ms) 16:01:41 returns undefined if tx is not found (1830 ms) 16:01:41 does not fail if the block is unwound while requesting a tx (2173 ms) 16:01:41 L1 to L2 Messages 16:01:41 stores first message ever (1067 ms) 16:01:41 stores single message (1087 ms) 16:01:41 stores and returns messages across different blocks (1097 ms) 16:01:41 stores the same messages again (1102 ms) 16:01:41 stores and returns messages across different blocks with gaps (1113 ms) 16:01:41 stores and returns messages with block numbers larger than a byte (1113 ms) 16:01:41 stores and returns multiple messages per block (1183 ms) 16:01:41 stores messages in multiple operations (1230 ms) 16:01:41 iterates over messages from start index (1219 ms) 16:01:41 iterates over messages in reverse (1230 ms) 16:01:41 throws if messages are added out of order (1236 ms) 16:01:41 throws if block number for the first message is out of order (1238 ms) 16:01:41 throws if rolling hash is not correct (1229 ms) 16:01:41 throws if rolling hash for first message is not correct (1256 ms) 16:01:41 throws if index is not in the correct range (1250 ms) 16:01:41 throws if first index in block has gaps (1266 ms) 16:01:41 throws if index does not follow previous one (1257 ms) 16:01:41 removes messages up to the given block number (1372 ms) 16:01:41 removes messages starting with the given index (1298 ms) 16:01:41 contractInstances 16:01:41 returns previously stored contract instances (1299 ms) 16:01:41 returns undefined if contract instance is not found (1316 ms) 16:01:41 returns undefined if previously stored contract instances was deleted (1338 ms) 16:01:41 contractInstanceUpdates 16:01:41 gets the correct current class id for a contract not updated yet (1367 ms) 16:01:41 gets the correct current class id for a contract that has just been updated (1355 ms) 16:01:41 gets the correct current class id for a contract that was updated in the past (1353 ms) 16:01:41 ignores updates for the wrong contract (1366 ms) 16:01:41 bounds its search to the right contract if more than than one update exists (1379 ms) 16:01:41 contractClasses 16:01:41 returns previously stored contract class (1393 ms) 16:01:41 returns undefined if the initial deployed contract class was deleted (1378 ms) 16:01:41 returns contract class if later "deployment" class was deleted (1390 ms) 16:01:41 returns undefined if contract class is not found (1395 ms) 16:01:41 adds new private functions (1407 ms) 16:01:41 does not duplicate private functions (1416 ms) 16:01:41 adds new utility functions (1378 ms) 16:01:41 does not duplicate utility functions (1394 ms) 16:01:41 getLogsByTags 16:01:41 is possible to batch request private logs via tags (2325 ms) 16:01:41 is possible to batch request all logs (private and public) via tags (2334 ms) 16:01:41 is possible to batch request logs that have the same tag but different content (2675 ms) 16:01:41 is possible to request logs for non-existing tags and determine their position (2366 ms) 16:01:41 getPublicLogs 16:01:41 no logs returned if deleted ("txHash" filter param is respected variant) (4422 ms) 16:01:41 "txHash" filter param is respected (4039 ms) 16:01:41 "fromBlock" and "toBlock" filter params are respected (4094 ms) 16:01:41 "contractAddress" filter param is respected (4145 ms) 16:01:41 "afterLog" filter param is respected (4108 ms) 16:01:41 "txHash" filter param is ignored when "afterLog" is set (4123 ms) 16:01:41 intersecting works (4183 ms) 16:01:41 "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4597 ms) 16:01:41 16:01:41 Test Suites: 1 passed, 1 total 16:01:41 Tests: 86 passed, 86 total 16:01:41 Snapshots: 0 total 16:01:41 Time: 140.262 s 16:01:41 Ran all test suites matching /archiver\/src\/archiver\/kv_archiver_store\/kv_archiver_store.test.ts/i. 16:01:41 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?