Parent Log: http://ci.aztec-labs.com/1b463a8edbf2a4ca Command: 3987b0c732d12451 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/d3bba2d69dbc070d51bcd50607354193573876ba Env: REF_NAME=gh-readonly-queue/next/pr-14877-314d7622c6bacc8333ae49fe9583967cab78349b CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Fri Jun 13 12:54:28 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14877_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next 12:54:30 [12:54:30.918] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:54:32 [12:54:32.289] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:54:33 [12:54:33.626] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:54:34 [12:54:34.565] 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 12:54:34 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 12:54:34 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 12:54:34 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 12:54:34 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 12:54:34 newBlockNumber: 2, 12:54:34 previousBlockNumber: undefined 12:54:34 } 12:54:34 [12:54:34.569] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:54:35 [12:54:35.539] 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 12:54:35 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17 12:54:35 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 12:54:35 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 12:54:35 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) 12:54:35 [12:54:35.542] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:54:36 [12:54:36.725] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:54:37 [12:54:37.743] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:54:39 [12:54:39.126] 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) 12:54:39 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15 12:54:39 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 12:54:39 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 12:54:39 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) 12:54:39 [12:54:39.131] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:54:40 [12:54:40.667] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:54:41 [12:54:41.988] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:54:43 [12:54:43.584] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:54:44 [12:54:44.981] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:54:46 [12:54:46.345] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:54:47 [12:54:47.737] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:54:49 [12:54:49.989] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:54:51 [12:54:51.571] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:54:53 [12:54:53.127] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:54:55 [12:54:55.256] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:54:56 [12:54:56.649] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:54:58 [12:54:58.200] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:54:59 [12:54:59.362] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:55:00 [12:55:00.892] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:55:02 [12:55:02.266] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:55:03 [12:55:03.527] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:55:04 [12:55:04.821] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:55:06 [12:55:06.361] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:55:07 [12:55:07.623] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:55:09 [12:55:09.814] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:55:12 [12:55:12.369] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:55:14 [12:55:14.767] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:55:17 [12:55:17.178] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:55:19 [12:55:19.619] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:55:22 [12:55:22.020] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:55:24 [12:55:24.787] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:55:27 [12:55:27.480] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:55:30 [12:55:30.386] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:55:33 [12:55:33.037] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:55:35 [12:55:35.784] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:55:38 [12:55:38.074] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:55:40 [12:55:40.913] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:55:42 [12:55:42.450] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:55:43 [12:55:43.876] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:55:45 [12:55:45.213] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:55:46 [12:55:46.683] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:55:48 [12:55:48.203] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:55:49 [12:55:49.708] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:55:51 [12:55:51.385] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:55:53 [12:55:53.339] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:55:55 [12:55:55.153] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:55:56 [12:55:56.951] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:55:58 [12:55:58.765] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x2c7e829d7122ca8d140a6154d5c3eacdcb59abed9bfb2ef77e280109ffb80252 for L2 block 1 has wrong index 10 (expected 0) 12:55:58 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17 12:55:58 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 12:55:58 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 12:55:58 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 12:55:58 inboxMessage: { 12:55:58 index: 10n, 12:55:58 leaf: Fr<0x2c7e829d7122ca8d140a6154d5c3eacdcb59abed9bfb2ef77e280109ffb80252>, 12:55:58 l2BlockNumber: 1, 12:55:58 l1BlockNumber: 30n, 12:55:58 l1BlockHash: Buffer32<0xc9dc2b8292acd02c7d118bba0fb61c0a659f5af4f92c95eb6a4b2985e3f7a4a6>, 12:55:58 rollingHash: Buffer16<0x36767b4b3eb489d484bb075c6a98c8bf> 12:55:58 } 12:55:58 } 12:55:58 [12:55:58.768] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:00 [12:56:00.634] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x025f4bb44482438265414c68bce15d3ec2778b03d938ddd43d9116b2c9493d73 at block 12 (expected value in range [176, 192)) 12:56:00 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 12:56:00 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 12:56:00 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 12:56:00 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 12:56:00 inboxMessage: { 12:56:00 index: 224n, 12:56:00 leaf: Fr<0x025f4bb44482438265414c68bce15d3ec2778b03d938ddd43d9116b2c9493d73>, 12:56:00 l2BlockNumber: 12, 12:56:00 l1BlockNumber: 95n, 12:56:00 l1BlockHash: Buffer32<0x0e0dd8e533a795687f53d7568e5895231d6368c81e8bf44a2e19be4b4a85ea96>, 12:56:00 rollingHash: Buffer16<0xbb651f8d840d5ddb2a60e0fdd74ab293> 12:56:00 } 12:56:00 } 12:56:00 [12:56:00.636] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:02 [12:56:02.311] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x0fc47a006a6290a34e46b3a7462fa177287302fba6fe6e7925b06aa57e7e5041 with index 16 (expected 0x17f327189d3ee7cdb3735291cd24b9dc from previous hash 0x27e4df862638614c0d5e67dd6c4150ce but got 0x9fd12179280549cfcc6694cc43aedd17) 12:56:02 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17 12:56:02 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 12:56:02 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 12:56:02 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 12:56:02 inboxMessage: { 12:56:02 index: 16n, 12:56:02 leaf: Fr<0x0fc47a006a6290a34e46b3a7462fa177287302fba6fe6e7925b06aa57e7e5041>, 12:56:02 l2BlockNumber: 2, 12:56:02 l1BlockNumber: 27n, 12:56:02 l1BlockHash: Buffer32<0x67c17032a768590d43a9081e67ead84758bece613428af12b12ed036e9f31e27>, 12:56:02 rollingHash: Buffer16<0x9fd12179280549cfcc6694cc43aedd17> 12:56:02 } 12:56:02 } 12:56:02 [12:56:02.313] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:03 [12:56:03.944] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x2af0789d49709534bb9130a1c103dc87aeab681a07fc4c845eeb94b2b9efbaaa with index 32 (expected 0x7d3de945626d0b24809339f0e8fba22c from previous hash 0xd2713df6ffd224b4fa6722275dd38a62 but got 0xa45947fe88f43b27538c78071d2d0115) 12:56:03 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17 12:56:03 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 12:56:03 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 12:56:03 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 12:56:03 inboxMessage: { 12:56:03 index: 32n, 12:56:03 leaf: Fr<0x2af0789d49709534bb9130a1c103dc87aeab681a07fc4c845eeb94b2b9efbaaa>, 12:56:03 l2BlockNumber: 3, 12:56:03 l1BlockNumber: 24n, 12:56:03 l1BlockHash: Buffer32<0x5b5172d76b1a2da36a1c103e8bfa2df31fdd228464c390f152c97f06bc5ef4c3>, 12:56:03 rollingHash: Buffer16<0xa45947fe88f43b27538c78071d2d0115> 12:56:03 } 12:56:03 } 12:56:03 [12:56:03.947] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:05 [12:56:05.531] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x04fae64006113d4873148c3034006ebbc9509396f21197f9795a01592b6572e1 at block 17 (expected value in range [256, 272)) 12:56:05 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 12:56:05 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 12:56:05 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 12:56:05 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 12:56:05 inboxMessage: { 12:56:05 index: 356n, 12:56:05 leaf: Fr<0x04fae64006113d4873148c3034006ebbc9509396f21197f9795a01592b6572e1>, 12:56:05 l2BlockNumber: 17, 12:56:05 l1BlockNumber: 18n, 12:56:05 l1BlockHash: Buffer32<0x736985f429eb7e35f467180a6820809ab3280d73303ca3c95c92ef760302c128>, 12:56:05 rollingHash: Buffer16<0x4a7dc5ca918bef1e85c12dba61f9001a> 12:56:05 } 12:56:05 } 12:56:05 [12:56:05.536] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:07 [12:56:07.300] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x1d3307989caed51aa6f47346a811722ce01c5915bac02cddcbea900f78ab4b1a for L2 block 15 has wrong index 225 (expected 224) 12:56:07 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17 12:56:07 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 12:56:07 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 12:56:07 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 12:56:07 inboxMessage: { 12:56:07 index: 225n, 12:56:07 leaf: Fr<0x1d3307989caed51aa6f47346a811722ce01c5915bac02cddcbea900f78ab4b1a>, 12:56:07 l2BlockNumber: 15, 12:56:07 l1BlockNumber: 1n, 12:56:07 l1BlockHash: Buffer32<0x975d20868c8c78cfcb2d3fb68fe42232599dcc1def1eb1e8afa65b7dbb9f9284>, 12:56:07 rollingHash: Buffer16<0x9f082693ce1eea7b12b9e35b13833923> 12:56:07 } 12:56:07 } 12:56:07 [12:56:07.305] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:09 [12:56:09.016] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x16d22fc4ea2c0f85f675585346faa7c180dd1060f3a8f7be07212d8b833e4352 at block 2 (expected value in range [16, 32)) 12:56:09 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 12:56:09 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 12:56:09 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 12:56:09 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 12:56:09 inboxMessage: { 12:56:09 index: 32n, 12:56:09 leaf: Fr<0x16d22fc4ea2c0f85f675585346faa7c180dd1060f3a8f7be07212d8b833e4352>, 12:56:09 l2BlockNumber: 2, 12:56:09 l1BlockNumber: 92n, 12:56:09 l1BlockHash: Buffer32<0x7b56d09d772401142f12f8a47b10bef1a437c1d5c662de0511911dfca41b16ca>, 12:56:09 rollingHash: Buffer16<0xcaac661675bea833043cf5b8ef17ae75> 12:56:09 } 12:56:09 } 12:56:09 [12:56:09.020] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:10 [12:56:10.928] WARN: archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store 12:56:10 [12:56:10.977] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:12 [12:56:12.871] WARN: archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store 12:56:12 [12:56:12.898] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:14 [12:56:14.784] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:16 [12:56:16.574] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:18 [12:56:18.448] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:20 [12:56:20.372] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:22 [12:56:22.415] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:24 [12:56:24.348] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:26 [12:56:26.217] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:28 [12:56:28.072] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:29 [12:56:29.729] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:31 [12:56:31.580] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:33 [12:56:33.501] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:35 [12:56:35.279] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:37 [12:56:37.150] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:39 [12:56:39.111] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:40 [12:56:40.939] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:42 [12:56:42.739] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:46 [12:56:46.334] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:49 [12:56:49.663] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:53 [12:56:53.783] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:56:57 [12:56:57.126] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:03 [12:57:03.635] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:08 [12:57:08.223] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:13 [12:57:13.360] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:18 [12:57:18.113] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:22 [12:57:22.969] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:27 [12:57:27.758] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:33 [12:57:33.367] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:57:39 PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (189.674 s) 12:57:39 KVArchiverDataStore 12:57:39 ArchiverStore 12:57:39 addBlocks 12:57:39 returns success when adding blocks (1371 ms) 12:57:39 allows duplicate blocks (1337 ms) 12:57:39 throws an error if the previous block does not exist in the store (943 ms) 12:57:39 throws an error if there is a gap in the blocks being added (972 ms) 12:57:39 unwindBlocks 12:57:39 unwinding blocks will remove blocks from the chain (1183 ms) 12:57:39 can unwind multiple empty blocks (1017 ms) 12:57:39 refuses to unwind blocks if the tip is not the last block (1387 ms) 12:57:39 getBlocks 12:57:39 retrieves previously stored blocks (1530 ms) 12:57:39 retrieves previously stored blocks (1325 ms) 12:57:39 retrieves previously stored blocks (1595 ms) 12:57:39 retrieves previously stored blocks (1396 ms) 12:57:39 retrieves previously stored blocks (1364 ms) 12:57:39 returns an empty array if no blocks are found (1391 ms) 12:57:39 throws an error if limit is invalid (2250 ms) 12:57:39 throws an error if `from` it is out of range (1581 ms) 12:57:39 throws an error if unexpected initial block number is found (1557 ms) 12:57:39 throws an error if a gap is found (2128 ms) 12:57:39 getSyncedL2BlockNumber 12:57:39 returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1392 ms) 12:57:39 returns the most recently added block's number (1545 ms) 12:57:39 getSynchPoint 12:57:39 returns undefined if no blocks have been added (1167 ms) 12:57:39 returns the L1 block number in which the most recent L2 block was published (1530 ms) 12:57:39 returns the L1 block number that most recently added messages from inbox (1373 ms) 12:57:39 returns the latest syncpoint if latest message is behind (1260 ms) 12:57:39 addLogs 12:57:39 adds private & public logs (1295 ms) 12:57:39 deleteLogs 12:57:39 deletes private & public logs (1539 ms) 12:57:39 getPrivateLogs 12:57:39 gets added private logs (1260 ms) 12:57:39 getTxEffect 12:57:39 retrieves a previously stored transaction (2184 ms) 12:57:39 retrieves a previously stored transaction (2562 ms) 12:57:39 retrieves a previously stored transaction (2398 ms) 12:57:39 retrieves a previously stored transaction (2411 ms) 12:57:39 retrieves a previously stored transaction (2440 ms) 12:57:39 returns undefined if tx is not found (2400 ms) 12:57:39 tries to retrieves a previously stored transaction after deleted (2766 ms) 12:57:39 tries to retrieves a previously stored transaction after deleted (2692 ms) 12:57:39 tries to retrieves a previously stored transaction after deleted (2906 ms) 12:57:39 tries to retrieves a previously stored transaction after deleted (2651 ms) 12:57:39 tries to retrieves a previously stored transaction after deleted (2747 ms) 12:57:39 returns undefined if tx is not found (2290 ms) 12:57:39 does not fail if the block is unwound while requesting a tx (2839 ms) 12:57:39 L1 to L2 Messages 12:57:39 stores first message ever (1536 ms) 12:57:39 stores single message (1425 ms) 12:57:39 stores and returns messages across different blocks (1333 ms) 12:57:39 stores the same messages again (1472 ms) 12:57:39 stores and returns messages across different blocks with gaps (1519 ms) 12:57:39 stores and returns messages with block numbers larger than a byte (1504 ms) 12:57:39 stores and returns multiple messages per block (1677 ms) 12:57:39 stores messages in multiple operations (1953 ms) 12:57:39 iterates over messages from start index (1814 ms) 12:57:39 iterates over messages in reverse (1798 ms) 12:57:39 throws if messages are added out of order (1816 ms) 12:57:39 throws if block number for the first message is out of order (1868 ms) 12:57:39 throws if rolling hash is not correct (1677 ms) 12:57:39 throws if rolling hash for first message is not correct (1633 ms) 12:57:39 throws if index is not in the correct range (1587 ms) 12:57:39 throws if first index in block has gaps (1768 ms) 12:57:39 throws if index does not follow previous one (1715 ms) 12:57:39 removes messages up to the given block number (1957 ms) 12:57:39 removes messages starting with the given index (1921 ms) 12:57:39 contractInstances 12:57:39 returns previously stored contract instances (1886 ms) 12:57:39 returns undefined if contract instance is not found (1790 ms) 12:57:39 returns undefined if previously stored contract instances was deleted (1874 ms) 12:57:39 contractInstanceUpdates 12:57:39 gets the correct current class id for a contract not updated yet (1922 ms) 12:57:39 gets the correct current class id for a contract that has just been updated (2043 ms) 12:57:39 gets the correct current class id for a contract that was updated in the past (1931 ms) 12:57:39 ignores updates for the wrong contract (1867 ms) 12:57:39 bounds its search to the right contract if more than than one update exists (1856 ms) 12:57:39 contractClasses 12:57:39 returns previously stored contract class (1651 ms) 12:57:39 returns undefined if the initial deployed contract class was deleted (1853 ms) 12:57:39 returns contract class if later "deployment" class was deleted (1919 ms) 12:57:39 returns undefined if contract class is not found (1779 ms) 12:57:39 adds new private functions (1869 ms) 12:57:39 does not duplicate private functions (1961 ms) 12:57:39 adds new utility functions (1828 ms) 12:57:39 does not duplicate utility functions (1785 ms) 12:57:39 getLogsByTags 12:57:39 is possible to batch request private logs via tags (3610 ms) 12:57:39 is possible to batch request all logs (private and public) via tags (3327 ms) 12:57:39 is possible to batch request logs that have the same tag but different content (4119 ms) 12:57:39 is possible to request logs for non-existing tags and determine their position (3342 ms) 12:57:39 getPublicLogs 12:57:39 no logs returned if deleted ("txHash" filter param is respected variant) (6508 ms) 12:57:39 "txHash" filter param is respected (4586 ms) 12:57:39 "fromBlock" and "toBlock" filter params are respected (5138 ms) 12:57:39 "contractAddress" filter param is respected (4752 ms) 12:57:39 "afterLog" filter param is respected (4856 ms) 12:57:39 "txHash" filter param is ignored when "afterLog" is set (4787 ms) 12:57:39 intersecting works (5610 ms) 12:57:39 "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (5834 ms) 12:57:39 12:57:39 Test Suites: 1 passed, 1 total 12:57:39 Tests: 86 passed, 86 total 12:57:39 Snapshots: 0 total 12:57:39 Time: 189.75 s 12:57:39 Ran all test suites matching /archiver\/src\/archiver\/kv_archiver_store\/kv_archiver_store.test.ts/i. 12:57:39 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?