Parent Log: http://ci.aztec-labs.com/4ca856a5ce1fa105 Command: a01b491a8c032117 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/60e60f99f2634ad75a76b6e103858ff9ccd041d5 Env: REF_NAME=gh-readonly-queue/next/pr-15081-58b067708e8ff927bf26b2994203134853a7eb71 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 16 18:16:06 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15081_amd64_x4-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next 18:16:09 [18:16:09.367] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:16:10 [18:16:10.919] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:16:12 [18:16:12.410] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:16:13 [18:16:13.370] 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 18:16:13 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 18:16:13 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 18:16:13 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 18:16:13 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 18:16:13 newBlockNumber: 2, 18:16:13 previousBlockNumber: undefined 18:16:13 } 18:16:13 [18:16:13.374] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:16:14 [18:16:14.410] 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 18:16:14 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17 18:16:14 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 18:16:14 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 18:16:14 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) 18:16:14 [18:16:14.413] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:16:15 [18:16:15.653] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:16:16 [18:16:16.529] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:16:17 [18:16:17.953] 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) 18:16:17 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15 18:16:17 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 18:16:17 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 18:16:17 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) 18:16:17 [18:16:17.958] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:16:19 [18:16:19.259] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:16:20 [18:16:20.573] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:16:22 [18:16:22.770] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:16:24 [18:16:24.650] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:16:26 [18:16:26.088] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:16:27 [18:16:27.591] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:16:29 [18:16:29.470] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:16:31 [18:16:31.531] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:16:34 [18:16:34.711] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:16:38 [18:16:38.171] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:16:39 [18:16:39.687] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:16:41 [18:16:41.448] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:16:43 [18:16:43.276] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:16:45 [18:16:45.078] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:16:46 [18:16:46.317] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:16:47 [18:16:47.438] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:16:48 [18:16:48.704] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:16:50 [18:16:50.189] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:16:51 [18:16:51.700] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:16:54 [18:16:54.414] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:16:57 [18:16:57.448] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:16:59 [18:16:59.989] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:17:02 [18:17:02.941] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:17:05 [18:17:05.914] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:17:08 [18:17:08.502] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:17:11 [18:17:11.136] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:17:13 [18:17:13.650] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:17:16 [18:17:16.434] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:17:19 [18:17:19.025] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:17:21 [18:17:21.867] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:17:24 [18:17:24.404] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:17:27 [18:17:27.600] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:17:29 [18:17:29.119] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:17:30 [18:17:30.624] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:17:32 [18:17:32.252] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:17:33 [18:17:33.856] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:17:35 [18:17:35.474] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:17:37 [18:17:37.142] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:17:38 [18:17:38.884] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:17:40 [18:17:40.889] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:17:42 [18:17:42.730] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:17:44 [18:17:44.497] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:17:46 [18:17:46.227] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x22c7c21be885dcae11a32d108f232c0875c7afedf1fd6dba3db7932a9eb2ffd3 for L2 block 1 has wrong index 10 (expected 0) 18:17:46 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17 18:17:46 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 18:17:46 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 18:17:46 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 18:17:46 inboxMessage: { 18:17:46 index: 10n, 18:17:46 leaf: Fr<0x22c7c21be885dcae11a32d108f232c0875c7afedf1fd6dba3db7932a9eb2ffd3>, 18:17:46 l2BlockNumber: 1, 18:17:46 l1BlockNumber: 39n, 18:17:46 l1BlockHash: Buffer32<0x5e87a7989691d2e506f9d32321e1708c8110ace443558891d085e546b4bf7281>, 18:17:46 rollingHash: Buffer16<0xa3c5daa80224fadff51117e53cdd7525> 18:17:46 } 18:17:46 } 18:17:46 [18:17:46.231] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:17:47 [18:17:47.925] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x0920ca734cf89599eeaa97b78ec192a489339f2032ed2467d6bca1e111173d07 at block 12 (expected value in range [176, 192)) 18:17:47 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 18:17:47 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 18:17:47 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 18:17:47 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 18:17:47 inboxMessage: { 18:17:47 index: 224n, 18:17:47 leaf: Fr<0x0920ca734cf89599eeaa97b78ec192a489339f2032ed2467d6bca1e111173d07>, 18:17:47 l2BlockNumber: 12, 18:17:47 l1BlockNumber: 44n, 18:17:47 l1BlockHash: Buffer32<0x861c90dc62afc26b976261fd6ad674821350581a6f4846f53624360c1570a835>, 18:17:47 rollingHash: Buffer16<0xc5e08e78763ac9210c530e2dc556692e> 18:17:47 } 18:17:47 } 18:17:47 [18:17:47.932] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:17:49 [18:17:49.806] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x14c218d67be105151a3ca1f334a58251cb1521a12c01ffbdaa977a15f5415514 with index 16 (expected 0x42ef25031a505d4443d913ef74457365 from previous hash 0x0507a6ef3cb9824e4012b3b9bae0660c but got 0x39fcc30f0b3e04aad56148feb4e0bf30) 18:17:49 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17 18:17:49 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 18:17:49 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 18:17:49 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 18:17:49 inboxMessage: { 18:17:49 index: 16n, 18:17:49 leaf: Fr<0x14c218d67be105151a3ca1f334a58251cb1521a12c01ffbdaa977a15f5415514>, 18:17:49 l2BlockNumber: 2, 18:17:49 l1BlockNumber: 27n, 18:17:49 l1BlockHash: Buffer32<0xd70e1fd5a58f937f498f633996d27cc14c4bfc183134c2e9b6e31fb809b20395>, 18:17:49 rollingHash: Buffer16<0x39fcc30f0b3e04aad56148feb4e0bf30> 18:17:49 } 18:17:49 } 18:17:49 [18:17:49.808] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:17:51 [18:17:51.622] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x1e90223b79bd910f24583f8463c4d9f9cacdebea7f9f47bdc733f65a0769a1dc with index 32 (expected 0x053b4c6c8d8c6866752e6298719cf0ee from previous hash 0xc3f978fa7c214559c4af864052f36782 but got 0xb4903b0c22cb88c9b7e5c51d7e8fdbcd) 18:17:51 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17 18:17:51 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 18:17:51 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 18:17:51 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 18:17:51 inboxMessage: { 18:17:51 index: 32n, 18:17:51 leaf: Fr<0x1e90223b79bd910f24583f8463c4d9f9cacdebea7f9f47bdc733f65a0769a1dc>, 18:17:51 l2BlockNumber: 3, 18:17:51 l1BlockNumber: 44n, 18:17:51 l1BlockHash: Buffer32<0x67b983c53db2285d34becf9b6ff7ad745c258633d6a5360aa1499568e55122f3>, 18:17:51 rollingHash: Buffer16<0xb4903b0c22cb88c9b7e5c51d7e8fdbcd> 18:17:51 } 18:17:51 } 18:17:51 [18:17:51.627] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:17:53 [18:17:53.352] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x012241c86e4a2abc20c17a2ec12927e17c0258de793a7b4d6169e9840416fead at block 17 (expected value in range [256, 272)) 18:17:53 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 18:17:53 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 18:17:53 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 18:17:53 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 18:17:53 inboxMessage: { 18:17:53 index: 356n, 18:17:53 leaf: Fr<0x012241c86e4a2abc20c17a2ec12927e17c0258de793a7b4d6169e9840416fead>, 18:17:53 l2BlockNumber: 17, 18:17:53 l1BlockNumber: 94n, 18:17:53 l1BlockHash: Buffer32<0x03b86486abe319e7767acc7db5b285903e0d28aac1f587e82a4445076b39e57e>, 18:17:53 rollingHash: Buffer16<0x841ba40bcbd921941e6064eec1867434> 18:17:53 } 18:17:53 } 18:17:53 [18:17:53.355] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:17:54 [18:17:54.974] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x148404125099b00d8bfd6302b024270655af79fb5d81120da83154c7a74a786f for L2 block 15 has wrong index 225 (expected 224) 18:17:54 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17 18:17:54 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 18:17:54 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 18:17:54 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 18:17:54 inboxMessage: { 18:17:54 index: 225n, 18:17:54 leaf: Fr<0x148404125099b00d8bfd6302b024270655af79fb5d81120da83154c7a74a786f>, 18:17:54 l2BlockNumber: 15, 18:17:54 l1BlockNumber: 100n, 18:17:54 l1BlockHash: Buffer32<0x66925f34d73a91b7c9fe53f602c1a43baac2e1d01598817ecc1199370df2f784>, 18:17:54 rollingHash: Buffer16<0xf51a4fe70ec46408c7de9e355f9ee66c> 18:17:54 } 18:17:54 } 18:17:54 [18:17:54.977] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:17:56 [18:17:56.664] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x0019c887043c0daa909cc0279a69e468073a53471aea784575d58fb9caaac3f5 at block 2 (expected value in range [16, 32)) 18:17:56 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17 18:17:56 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 18:17:56 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 18:17:56 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 18:17:56 inboxMessage: { 18:17:56 index: 32n, 18:17:56 leaf: Fr<0x0019c887043c0daa909cc0279a69e468073a53471aea784575d58fb9caaac3f5>, 18:17:56 l2BlockNumber: 2, 18:17:56 l1BlockNumber: 2n, 18:17:56 l1BlockHash: Buffer32<0xae7764d6fe1ed1c82a63d2ad68efd7295624f296a0fccbafb15b055bfc0f1335>, 18:17:56 rollingHash: Buffer16<0x5d9ea84de32b1c6932d5724281692f63> 18:17:56 } 18:17:56 } 18:17:56 [18:17:56.668] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:17:58 [18:17:58.593] WARN: archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store 18:17:58 [18:17:58.635] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:18:00 [18:18:00.592] WARN: archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store 18:18:00 [18:18:00.613] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:18:02 [18:18:02.608] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:18:04 [18:18:04.335] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:18:06 [18:18:06.224] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:18:07 [18:18:07.966] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:18:09 [18:18:09.590] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:18:11 [18:18:11.443] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:18:13 [18:18:13.353] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:18:15 [18:18:15.384] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:18:17 [18:18:17.114] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:18:19 [18:18:19.132] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:18:20 [18:18:20.992] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:18:22 [18:18:22.968] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:18:24 [18:18:24.910] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:18:26 [18:18:26.674] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:18:28 [18:18:28.592] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:18:30 [18:18:30.480] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:18:33 [18:18:33.769] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:18:37 [18:18:37.049] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:18:41 [18:18:41.152] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:18:44 [18:18:44.506] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:18:50 [18:18:50.799] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:18:55 [18:18:55.391] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:19:00 [18:19:00.623] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:19:05 [18:19:05.468] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:19:10 [18:19:10.598] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:19:15 [18:19:15.994] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:19:20 [18:19:20.625] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:19:24 PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (197.252 s) 18:19:24 KVArchiverDataStore 18:19:24 ArchiverStore 18:19:24 addBlocks 18:19:24 returns success when adding blocks (1562 ms) 18:19:24 allows duplicate blocks (1489 ms) 18:19:24 throws an error if the previous block does not exist in the store (964 ms) 18:19:24 throws an error if there is a gap in the blocks being added (1038 ms) 18:19:24 unwindBlocks 18:19:24 unwinding blocks will remove blocks from the chain (1240 ms) 18:19:24 can unwind multiple empty blocks (875 ms) 18:19:24 refuses to unwind blocks if the tip is not the last block (1428 ms) 18:19:24 getBlocks 18:19:24 retrieves previously stored blocks (1301 ms) 18:19:24 retrieves previously stored blocks (1283 ms) 18:19:24 retrieves previously stored blocks (2226 ms) 18:19:24 retrieves previously stored blocks (1879 ms) 18:19:24 retrieves previously stored blocks (1437 ms) 18:19:24 returns an empty array if no blocks are found (1503 ms) 18:19:24 throws an error if limit is invalid (1878 ms) 18:19:24 throws an error if `from` it is out of range (2056 ms) 18:19:24 throws an error if unexpected initial block number is found (3183 ms) 18:19:24 throws an error if a gap is found (3459 ms) 18:19:24 getSyncedL2BlockNumber 18:19:24 returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1516 ms) 18:19:24 returns the most recently added block's number (1761 ms) 18:19:24 getSynchPoint 18:19:24 returns undefined if no blocks have been added (1825 ms) 18:19:24 returns the L1 block number in which the most recent L2 block was published (1798 ms) 18:19:24 returns the L1 block number that most recently added messages from inbox (1243 ms) 18:19:24 returns the latest syncpoint if latest message is behind (1119 ms) 18:19:24 addLogs 18:19:24 adds private & public logs (1266 ms) 18:19:24 deleteLogs 18:19:24 deletes private & public logs (1484 ms) 18:19:24 getPrivateLogs 18:19:24 gets added private logs (1509 ms) 18:19:24 getTxEffect 18:19:24 retrieves a previously stored transaction (2713 ms) 18:19:24 retrieves a previously stored transaction (3034 ms) 18:19:24 retrieves a previously stored transaction (2531 ms) 18:19:24 retrieves a previously stored transaction (2961 ms) 18:19:24 retrieves a previously stored transaction (2971 ms) 18:19:24 returns undefined if tx is not found (2583 ms) 18:19:24 tries to retrieves a previously stored transaction after deleted (2637 ms) 18:19:24 tries to retrieves a previously stored transaction after deleted (2513 ms) 18:19:24 tries to retrieves a previously stored transaction after deleted (2784 ms) 18:19:24 tries to retrieves a previously stored transaction after deleted (2591 ms) 18:19:24 tries to retrieves a previously stored transaction after deleted (2841 ms) 18:19:24 returns undefined if tx is not found (2536 ms) 18:19:24 does not fail if the block is unwound while requesting a tx (3195 ms) 18:19:24 L1 to L2 Messages 18:19:24 stores first message ever (1517 ms) 18:19:24 stores single message (1503 ms) 18:19:24 stores and returns messages across different blocks (1629 ms) 18:19:24 stores the same messages again (1602 ms) 18:19:24 stores and returns messages across different blocks with gaps (1618 ms) 18:19:24 stores and returns messages with block numbers larger than a byte (1660 ms) 18:19:24 stores and returns multiple messages per block (1750 ms) 18:19:24 stores messages in multiple operations (2004 ms) 18:19:24 iterates over messages from start index (1839 ms) 18:19:24 iterates over messages in reverse (1765 ms) 18:19:24 throws if messages are added out of order (1735 ms) 18:19:24 throws if block number for the first message is out of order (1699 ms) 18:19:24 throws if rolling hash is not correct (1877 ms) 18:19:24 throws if rolling hash for first message is not correct (1818 ms) 18:19:24 throws if index is not in the correct range (1727 ms) 18:19:24 throws if first index in block has gaps (1621 ms) 18:19:24 throws if index does not follow previous one (1690 ms) 18:19:24 removes messages up to the given block number (1966 ms) 18:19:24 removes messages starting with the given index (1977 ms) 18:19:24 contractInstances 18:19:24 returns previously stored contract instances (1995 ms) 18:19:24 returns undefined if contract instance is not found (1726 ms) 18:19:24 returns undefined if previously stored contract instances was deleted (1883 ms) 18:19:24 contractInstanceUpdates 18:19:24 gets the correct current class id for a contract not updated yet (1746 ms) 18:19:24 gets the correct current class id for a contract that has just been updated (1623 ms) 18:19:24 gets the correct current class id for a contract that was updated in the past (1852 ms) 18:19:24 ignores updates for the wrong contract (1908 ms) 18:19:24 bounds its search to the right contract if more than than one update exists (2029 ms) 18:19:24 contractClasses 18:19:24 returns previously stored contract class (1729 ms) 18:19:24 returns undefined if the initial deployed contract class was deleted (2016 ms) 18:19:24 returns contract class if later "deployment" class was deleted (1859 ms) 18:19:24 returns undefined if contract class is not found (1976 ms) 18:19:24 adds new private functions (1932 ms) 18:19:24 does not duplicate private functions (1771 ms) 18:19:24 adds new utility functions (1917 ms) 18:19:24 does not duplicate utility functions (1887 ms) 18:19:24 getLogsByTags 18:19:24 is possible to batch request private logs via tags (3289 ms) 18:19:24 is possible to batch request all logs (private and public) via tags (3278 ms) 18:19:24 is possible to batch request logs that have the same tag but different content (4103 ms) 18:19:24 is possible to request logs for non-existing tags and determine their position (3353 ms) 18:19:24 getPublicLogs 18:19:24 no logs returned if deleted ("txHash" filter param is respected variant) (6293 ms) 18:19:24 "txHash" filter param is respected (4588 ms) 18:19:24 "fromBlock" and "toBlock" filter params are respected (5231 ms) 18:19:24 "contractAddress" filter param is respected (4845 ms) 18:19:24 "afterLog" filter param is respected (5128 ms) 18:19:24 "txHash" filter param is ignored when "afterLog" is set (5397 ms) 18:19:25 intersecting works (4633 ms) 18:19:25 "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4356 ms) 18:19:25 18:19:25 Test Suites: 1 passed, 1 total 18:19:25 Tests: 86 passed, 86 total 18:19:25 Snapshots: 0 total 18:19:25 Time: 197.357 s 18:19:25 Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts. 18:19:25 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?