Parent Log: http://ci.aztec-labs.com/fd1e4573060c2f4f Command: 03ab2c8f0cfe2a95 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/77a00686be4080a71b03d68671da6c8b270b62aa Env: REF_NAME=gh-readonly-queue/next/pr-14961-fa23733be8278348dff0959c8094bcfd89eb44d5 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Thu Jun 12 10:49:15 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14961_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next 10:49:18 [10:49:18.354] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:49:19 [10:49:19.821] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:49:21 [10:49:21.488] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:49:22 [10:49:22.567] 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 10:49:22 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 10:49:22 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 10:49:22 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 10:49:22 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 10:49:22 newBlockNumber: 2, 10:49:22 previousBlockNumber: undefined 10:49:22 } 10:49:22 [10:49:22.573] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:49:23 [10:49:23.755] 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 10:49:23 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17 10:49:23 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 10:49:23 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 10:49:23 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) 10:49:23 [10:49:23.764] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:49:25 [10:49:25.125] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:49:26 [10:49:26.061] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:49:27 [10:49:27.432] 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) 10:49:27 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15 10:49:27 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 10:49:27 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 10:49:27 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) 10:49:27 [10:49:27.438] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:49:28 [10:49:28.965] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:49:30 [10:49:30.349] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:49:32 [10:49:32.100] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:49:33 [10:49:33.584] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:49:35 [10:49:35.049] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:49:36 [10:49:36.473] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:49:38 [10:49:38.315] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:49:40 [10:49:40.459] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:49:42 [10:49:42.166] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:49:44 [10:49:44.585] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:49:46 [10:49:46.165] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:49:47 [10:49:47.686] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:49:49 [10:49:49.077] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:49:50 [10:49:50.895] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:49:51 [10:49:51.990] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:49:53 [10:49:53.257] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:49:54 [10:49:54.770] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:49:56 [10:49:56.222] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:49:57 [10:49:57.544] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:49:59 [10:49:59.810] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:50:02 [10:50:02.225] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:50:04 [10:50:04.595] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:50:06 [10:50:06.976] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:50:09 [10:50:09.010] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:50:11 [10:50:11.335] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:50:14 [10:50:14.391] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:50:16 [10:50:16.961] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:50:19 [10:50:19.470] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:50:21 [10:50:21.860] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:50:24 [10:50:24.372] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:50:26 [10:50:26.742] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:50:29 [10:50:29.694] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:50:31 [10:50:31.091] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:50:32 [10:50:32.653] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:50:34 [10:50:34.134] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:50:35 [10:50:35.432] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:50:36 [10:50:36.888] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:50:38 [10:50:38.101] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:50:39 [10:50:39.332] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:50:41 [10:50:41.053] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:50:42 [10:50:42.797] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:50:44 [10:50:44.580] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:50:46 [10:50:46.310] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x10944a35e042a36c4804753f95828f22ca5f5f7dcde9cbcc9555b72286ce12a8 for L2 block 1 has wrong index 10 (expected 0) 10:50:46 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17 10:50:46 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 10:50:46 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 10:50:46 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 10:50:46 inboxMessage: { 10:50:46 index: 10n, 10:50:46 leaf: Fr<0x10944a35e042a36c4804753f95828f22ca5f5f7dcde9cbcc9555b72286ce12a8>, 10:50:46 l2BlockNumber: 1n, 10:50:46 l1BlockNumber: 1n, 10:50:46 l1BlockHash: Buffer32<0x03c30aaf31510abaf9c981e14c893f530a29e53c8b51d85e0e6748d676910f8f>, 10:50:46 rollingHash: Buffer16<0xf8ce9cce9f837ee7faca50c6dd490551> 10:50:46 } 10:50:46 } 10:50:46 [10:50:46.324] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:50:48 [10:50:48.118] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x084c4f0780127e61499bac847634d37125713aec58af1082c316b599d6fa974b at block 12 (expected value in range [176, 192)) 10:50:48 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 10:50:48 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 10:50:48 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 10:50:48 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 10:50:48 inboxMessage: { 10:50:48 index: 224n, 10:50:48 leaf: Fr<0x084c4f0780127e61499bac847634d37125713aec58af1082c316b599d6fa974b>, 10:50:48 l2BlockNumber: 12n, 10:50:48 l1BlockNumber: 15n, 10:50:48 l1BlockHash: Buffer32<0x241cc4c14c5e2a9f81939b08179ba60fbd59d4ab060ae66b66cc17095b482e5d>, 10:50:48 rollingHash: Buffer16<0x77e22183a41a69fc557c1f10a5d75e45> 10:50:48 } 10:50:48 } 10:50:48 [10:50:48.126] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:50:49 [10:50:49.799] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x2771b6bd3994911cfcdd067246b6101b76a8324317de3b802f8c780ee527262d with index 16 (expected 0xfe476c5e8644f3d9c56d2147537e77d8 from previous hash 0xddb0e46c1335b53b253f1f8a872e11bb but got 0x4129a67adeb950c023b661eaa729f1eb) 10:50:49 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17 10:50:49 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 10:50:49 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 10:50:49 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 10:50:49 inboxMessage: { 10:50:49 index: 16n, 10:50:49 leaf: Fr<0x2771b6bd3994911cfcdd067246b6101b76a8324317de3b802f8c780ee527262d>, 10:50:49 l2BlockNumber: 2n, 10:50:49 l1BlockNumber: 2n, 10:50:49 l1BlockHash: Buffer32<0xda34cb9350acbe80f1ee3c13359940dee7c963a3f9783cf7919ca8faf3df2f2a>, 10:50:49 rollingHash: Buffer16<0x4129a67adeb950c023b661eaa729f1eb> 10:50:49 } 10:50:49 } 10:50:49 [10:50:49.806] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:50:51 [10:50:51.494] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x06c112b3aa75de43a5b36ba699713373d6dd918da81c58f2dd46f88510facd8a with index 32 (expected 0xe4e92f97d9cef495455e16d1062de5ff from previous hash 0x66c8c3f375d00ac635268c6fa2ac919d but got 0x62183e1ffc6ae238d814649768e204ba) 10:50:51 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17 10:50:51 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 10:50:51 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 10:50:51 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 10:50:51 inboxMessage: { 10:50:51 index: 32n, 10:50:51 leaf: Fr<0x06c112b3aa75de43a5b36ba699713373d6dd918da81c58f2dd46f88510facd8a>, 10:50:51 l2BlockNumber: 3n, 10:50:51 l1BlockNumber: 3n, 10:50:51 l1BlockHash: Buffer32<0xde3dcd2c60f1434a7007564fa7ad7c9eb4e22a4182c10513258494e3265a676e>, 10:50:51 rollingHash: Buffer16<0x62183e1ffc6ae238d814649768e204ba> 10:50:51 } 10:50:51 } 10:50:51 [10:50:51.499] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:50:53 [10:50:53.102] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x04cc913d4420c5ece842a4b25a6d5223f06e43e77a3775ce8a5110718a9031d7 at block 17 (expected value in range [256, 272)) 10:50:53 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 10:50:53 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 10:50:53 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 10:50:53 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 10:50:53 inboxMessage: { 10:50:53 index: 356n, 10:50:53 leaf: Fr<0x04cc913d4420c5ece842a4b25a6d5223f06e43e77a3775ce8a5110718a9031d7>, 10:50:53 l2BlockNumber: 17n, 10:50:53 l1BlockNumber: 17n, 10:50:53 l1BlockHash: Buffer32<0xfc0f947222c6f6fcb3c54a0db55f69a8bd58a989c134755e1c37ec7a9fe2e291>, 10:50:53 rollingHash: Buffer16<0x2c5ec0159b6e5335cd884980c3a086a9> 10:50:53 } 10:50:53 } 10:50:53 [10:50:53.106] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:50:54 [10:50:54.782] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x295331c5456095eb3249ca067811782dc3710c51f0d9aae44370667c0d8fb70b for L2 block 15 has wrong index 225 (expected 224) 10:50:54 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17 10:50:54 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 10:50:54 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 10:50:54 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 10:50:54 inboxMessage: { 10:50:54 index: 225n, 10:50:54 leaf: Fr<0x295331c5456095eb3249ca067811782dc3710c51f0d9aae44370667c0d8fb70b>, 10:50:54 l2BlockNumber: 15n, 10:50:54 l1BlockNumber: 15n, 10:50:54 l1BlockHash: Buffer32<0x575f26421af6364bf04652a7e6493ce8695f3c1ce711398421c946fa014c8eae>, 10:50:54 rollingHash: Buffer16<0x28f643a991f544c8b36f7f4e4483e0e3> 10:50:54 } 10:50:54 } 10:50:54 [10:50:54.785] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:50:56 [10:50:56.543] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x08ff4f9bfb721b78a7f0e49784967e9ddba1e770b78494df34674dbcce133f90 at block 2 (expected value in range [16, 32)) 10:50:56 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 10:50:56 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 10:50:56 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 10:50:56 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 10:50:56 inboxMessage: { 10:50:56 index: 32n, 10:50:56 leaf: Fr<0x08ff4f9bfb721b78a7f0e49784967e9ddba1e770b78494df34674dbcce133f90>, 10:50:56 l2BlockNumber: 2n, 10:50:56 l1BlockNumber: 13n, 10:50:56 l1BlockHash: Buffer32<0x7ca8637677cacbbd342e5427551172ae1625c5ec6dffa838a04e0c21bf07749c>, 10:50:56 rollingHash: Buffer16<0x193fab021e09bed1b36d33d380956047> 10:50:56 } 10:50:56 } 10:50:56 [10:50:56.549] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:50:58 [10:50:58.275] WARN: archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store 10:50:58 [10:50:58.335] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:51:00 [10:51:00.055] WARN: archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store 10:51:00 [10:51:00.078] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:51:02 [10:51:02.100] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:51:04 [10:51:04.055] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:51:06 [10:51:06.078] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:51:07 [10:51:07.981] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:51:09 [10:51:09.894] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:51:11 [10:51:11.867] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:51:13 [10:51:13.441] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:51:15 [10:51:15.438] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:51:17 [10:51:17.128] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:51:18 [10:51:18.931] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:51:20 [10:51:20.874] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:51:22 [10:51:22.657] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:51:24 [10:51:24.461] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:51:26 [10:51:26.332] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:51:28 [10:51:28.481] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:51:30 [10:51:30.420] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:51:33 [10:51:33.888] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:51:37 [10:51:37.243] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:51:41 [10:51:41.018] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:51:44 [10:51:44.519] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:51:50 [10:51:50.974] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:51:56 [10:51:56.140] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:52:00 [10:52:00.618] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:52:06 [10:52:06.673] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:52:11 [10:52:11.904] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:52:17 [10:52:17.361] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:52:22 [10:52:22.719] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:52:27 PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (190.795 s) 10:52:27 KVArchiverDataStore 10:52:27 ArchiverStore 10:52:27 addBlocks 10:52:27 returns success when adding blocks (1467 ms) 10:52:27 allows duplicate blocks (1667 ms) 10:52:27 throws an error if the previous block does not exist in the store (1084 ms) 10:52:27 throws an error if there is a gap in the blocks being added (1190 ms) 10:52:27 unwindBlocks 10:52:27 unwinding blocks will remove blocks from the chain (1362 ms) 10:52:27 can unwind multiple empty blocks (936 ms) 10:52:27 refuses to unwind blocks if the tip is not the last block (1376 ms) 10:52:27 getBlocks 10:52:27 retrieves previously stored blocks (1526 ms) 10:52:27 retrieves previously stored blocks (1380 ms) 10:52:27 retrieves previously stored blocks (1753 ms) 10:52:27 retrieves previously stored blocks (1482 ms) 10:52:27 retrieves previously stored blocks (1465 ms) 10:52:27 returns an empty array if no blocks are found (1424 ms) 10:52:27 throws an error if limit is invalid (1842 ms) 10:52:27 throws an error if `from` it is out of range (2142 ms) 10:52:27 throws an error if unexpected initial block number is found (1707 ms) 10:52:27 throws an error if a gap is found (2415 ms) 10:52:27 getSyncedL2BlockNumber 10:52:27 returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1583 ms) 10:52:27 returns the most recently added block's number (1520 ms) 10:52:27 getSynchPoint 10:52:27 returns undefined if no blocks have been added (1389 ms) 10:52:27 returns the L1 block number in which the most recent L2 block was published (1818 ms) 10:52:27 returns the L1 block number that most recently added messages from inbox (1095 ms) 10:52:27 returns the latest syncpoint if latest message is behind (1266 ms) 10:52:27 addLogs 10:52:27 adds private & public logs (1514 ms) 10:52:27 deleteLogs 10:52:27 deletes private & public logs (1443 ms) 10:52:27 getPrivateLogs 10:52:27 gets added private logs (1330 ms) 10:52:27 getTxEffect 10:52:27 retrieves a previously stored transaction (2265 ms) 10:52:27 retrieves a previously stored transaction (2415 ms) 10:52:27 retrieves a previously stored transaction (2369 ms) 10:52:27 retrieves a previously stored transaction (2380 ms) 10:52:27 retrieves a previously stored transaction (2034 ms) 10:52:27 returns undefined if tx is not found (2323 ms) 10:52:27 tries to retrieves a previously stored transaction after deleted (3057 ms) 10:52:27 tries to retrieves a previously stored transaction after deleted (2568 ms) 10:52:27 tries to retrieves a previously stored transaction after deleted (2508 ms) 10:52:27 tries to retrieves a previously stored transaction after deleted (2391 ms) 10:52:27 tries to retrieves a previously stored transaction after deleted (2512 ms) 10:52:27 returns undefined if tx is not found (2369 ms) 10:52:27 does not fail if the block is unwound while requesting a tx (2952 ms) 10:52:27 L1 to L2 Messages 10:52:27 stores first message ever (1397 ms) 10:52:27 stores single message (1561 ms) 10:52:27 stores and returns messages across different blocks (1478 ms) 10:52:27 stores the same messages again (1302 ms) 10:52:27 stores and returns messages across different blocks with gaps (1456 ms) 10:52:27 stores and returns messages with block numbers larger than a byte (1212 ms) 10:52:27 stores and returns multiple messages per block (1229 ms) 10:52:27 stores messages in multiple operations (1722 ms) 10:52:27 iterates over messages from start index (1743 ms) 10:52:27 iterates over messages in reverse (1781 ms) 10:52:27 throws if messages are added out of order (1733 ms) 10:52:27 throws if block number for the first message is out of order (1807 ms) 10:52:27 throws if rolling hash is not correct (1682 ms) 10:52:27 throws if rolling hash for first message is not correct (1694 ms) 10:52:27 throws if index is not in the correct range (1608 ms) 10:52:27 throws if first index in block has gaps (1679 ms) 10:52:27 throws if index does not follow previous one (1761 ms) 10:52:27 removes messages up to the given block number (1787 ms) 10:52:27 removes messages starting with the given index (1743 ms) 10:52:27 contractInstances 10:52:27 returns previously stored contract instances (2021 ms) 10:52:27 returns undefined if contract instance is not found (1955 ms) 10:52:27 returns undefined if previously stored contract instances was deleted (2022 ms) 10:52:27 contractInstanceUpdates 10:52:27 gets the correct current class id for a contract not updated yet (1901 ms) 10:52:27 gets the correct current class id for a contract that has just been updated (1913 ms) 10:52:27 gets the correct current class id for a contract that was updated in the past (1972 ms) 10:52:27 ignores updates for the wrong contract (1574 ms) 10:52:27 bounds its search to the right contract if more than than one update exists (1996 ms) 10:52:27 contractClasses 10:52:27 returns previously stored contract class (1685 ms) 10:52:27 returns undefined if the initial deployed contract class was deleted (1808 ms) 10:52:27 returns contract class if later "deployment" class was deleted (1942 ms) 10:52:27 returns undefined if contract class is not found (1781 ms) 10:52:27 adds new private functions (1805 ms) 10:52:27 does not duplicate private functions (1869 ms) 10:52:27 adds new utility functions (2148 ms) 10:52:27 does not duplicate utility functions (1937 ms) 10:52:27 getLogsByTags 10:52:27 is possible to batch request private logs via tags (3468 ms) 10:52:27 is possible to batch request all logs (private and public) via tags (3353 ms) 10:52:27 is possible to batch request logs that have the same tag but different content (3775 ms) 10:52:27 is possible to request logs for non-existing tags and determine their position (3501 ms) 10:52:27 getPublicLogs 10:52:27 no logs returned if deleted ("txHash" filter param is respected variant) (6454 ms) 10:52:27 "txHash" filter param is respected (5164 ms) 10:52:27 "fromBlock" and "toBlock" filter params are respected (4477 ms) 10:52:27 "contractAddress" filter param is respected (6055 ms) 10:52:27 "afterLog" filter param is respected (5222 ms) 10:52:27 "txHash" filter param is ignored when "afterLog" is set (5465 ms) 10:52:27 intersecting works (5358 ms) 10:52:27 "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4962 ms) 10:52:27 10:52:27 Test Suites: 1 passed, 1 total 10:52:27 Tests: 86 passed, 86 total 10:52:27 Snapshots: 0 total 10:52:27 Time: 190.889 s 10:52:27 Ran all test suites matching /archiver\/src\/archiver\/kv_archiver_store\/kv_archiver_store.test.ts/i. 10:52:27 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?