Parent Log:
http://ci.aztec-labs.com/16bd7f8bf151b42a
Command: d2b17a71056754a7 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/e1fded96333f986cee2b82440cf35579c6335754
Env: REF_NAME=release-please--branches--next CURRENT_VERSION=0.88.0 CI_FULL=0
Date: Mon Jun 16 23:19:09 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=release-please--branches--next_amd64
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
23:19:13 [23:19:13.237]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:19:14 [23:19:14.889]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:19:16 [23:19:16.419]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:19:17 [23:19:17.372]
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
23:19:17 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
23:19:17 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
23:19:17 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
23:19:17 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
23:19:17 newBlockNumber: 2,
23:19:17 previousBlockNumber: undefined
23:19:17 }
23:19:17 [23:19:17.390]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:19:18 [23:19:18.625]
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
23:19:18 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17
23:19:18 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
23:19:18 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
23:19:18 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
23:19:18 [23:19:18.629]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:19:19 [23:19:19.940]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:19:20 [23:19:20.955]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:19:22 [23:19:22.128]
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)
23:19:22 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15
23:19:22 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
23:19:22 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
23:19:22 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
23:19:22 [23:19:22.131]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:19:23 [23:19:23.524]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:19:24 [23:19:24.963]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:19:26 [23:19:26.424]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:19:27 [23:19:27.989]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:19:29 [23:19:29.317]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:19:30 [23:19:30.669]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:19:32 [23:19:32.792]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:19:34 [23:19:34.285]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:19:36 [23:19:36.138]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:19:38 [23:19:38.286]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:19:39 [23:19:39.545]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:19:41 [23:19:41.354]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:19:42 [23:19:42.608]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:19:43 [23:19:43.989]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:19:45 [23:19:45.171]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:19:46 [23:19:46.241]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:19:47 [23:19:47.371]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:19:48 [23:19:48.600]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:19:49 [23:19:49.847]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:19:52 [23:19:52.160]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:19:54 [23:19:54.287]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:19:56 [23:19:56.820]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:19:59 [23:19:59.094]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:01 [23:20:01.215]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:03 [23:20:03.287]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:05 [23:20:05.691]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:07 [23:20:07.786]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:09 [23:20:09.824]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:11 [23:20:11.971]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:14 [23:20:14.313]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:16 [23:20:16.208]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:18 [23:20:18.707]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:19 [23:20:19.957]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:21 [23:20:21.012]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:22 [23:20:22.046]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:23 [23:20:23.527]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:24 [23:20:24.979]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:26 [23:20:26.208]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:27 [23:20:27.613]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:29 [23:20:29.201]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:30 [23:20:30.721]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:32 [23:20:32.272]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:34 [23:20:34.003]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x0f5e954b2d7d97473db3e3cbe4f1560d2b2f49f3c1a50b8b0c20e0f089845a27 for L2 block 1 has wrong index 10 (expected 0)
23:20:34 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
23:20:34 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
23:20:34 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
23:20:34 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
23:20:34 inboxMessage: {
23:20:34 index: 10n,
23:20:34 leaf: Fr<0x0f5e954b2d7d97473db3e3cbe4f1560d2b2f49f3c1a50b8b0c20e0f089845a27>,
23:20:34 l2BlockNumber: 1,
23:20:34 l1BlockNumber: 41n,
23:20:34 l1BlockHash: Buffer32<0x66d0184a9fc63593f449697a4b64bcd0f98933eaeeee6817eecdff9bda340ec5>,
23:20:34 rollingHash: Buffer16<0xb7975a12274fd4504b893f098e5812da>
23:20:34 }
23:20:34 }
23:20:34 [23:20:34.008]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:35 [23:20:35.637]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x047eca4a15f9dc1239188910d4d577d6db83c3e30f83e78625f8595b7c5447e4 at block 12 (expected value in range [176, 192))
23:20:35 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
23:20:35 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
23:20:35 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
23:20:35 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
23:20:35 inboxMessage: {
23:20:35 index: 224n,
23:20:35 leaf: Fr<0x047eca4a15f9dc1239188910d4d577d6db83c3e30f83e78625f8595b7c5447e4>,
23:20:35 l2BlockNumber: 12,
23:20:35 l1BlockNumber: 46n,
23:20:35 l1BlockHash: Buffer32<0xbc8f7cb74806d2eda7b3e1bd3f598a74207184bdcf9734a61c4d4b726f631e7f>,
23:20:35 rollingHash: Buffer16<0xa87d024f9f052c4ebf37643adb27a02b>
23:20:35 }
23:20:35 }
23:20:35 [23:20:35.642]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:36 [23:20:36.886]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x1fc40712d404a5ea9dbbf61b6918449c26b48144f01a58dab90a3b33cc69a59c with index 16 (expected 0xe0e1ed0d7b774868ca5b817512fc4e11 from previous hash 0xd75261f567749546d3bfccc331884afe but got 0x5c0529a2408634d5f7945f210759497e)
23:20:36 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
23:20:36 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
23:20:36 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
23:20:36 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
23:20:36 inboxMessage: {
23:20:36 index: 16n,
23:20:36 leaf: Fr<0x1fc40712d404a5ea9dbbf61b6918449c26b48144f01a58dab90a3b33cc69a59c>,
23:20:36 l2BlockNumber: 2,
23:20:36 l1BlockNumber: 55n,
23:20:36 l1BlockHash: Buffer32<0xfe3d6cf19d8020ee69ec2e32c7e1ce03f9d8ed852cb6089d33c374525fa00e6c>,
23:20:36 rollingHash: Buffer16<0x5c0529a2408634d5f7945f210759497e>
23:20:36 }
23:20:36 }
23:20:36 [23:20:36.890]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:38 [23:20:38.134]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x228bf2cb0681cd078785bd0aab0141417d1403a862b5407dc7b6d29ebdb56e4c with index 32 (expected 0xd5f11e803f3b22c9432089991974b1db from previous hash 0xf7827de95298ec980cf1361d120e487e but got 0xf95a463bf9c24c655eb8f81d7566808d)
23:20:38 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
23:20:38 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
23:20:38 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
23:20:38 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
23:20:38 inboxMessage: {
23:20:38 index: 32n,
23:20:38 leaf: Fr<0x228bf2cb0681cd078785bd0aab0141417d1403a862b5407dc7b6d29ebdb56e4c>,
23:20:38 l2BlockNumber: 3,
23:20:38 l1BlockNumber: 66n,
23:20:38 l1BlockHash: Buffer32<0x6708ad294918b9be2f6c027a6a53295309bc0848085fd8ec056d1a420ba2a9be>,
23:20:38 rollingHash: Buffer16<0xf95a463bf9c24c655eb8f81d7566808d>
23:20:38 }
23:20:38 }
23:20:38 [23:20:38.136]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:39 [23:20:39.680]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x093c81831ad3dc25a3f6572fac496230d8a4eed47631c9ca539b6f748d4a1d4b at block 17 (expected value in range [256, 272))
23:20:39 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
23:20:39 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
23:20:39 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
23:20:39 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
23:20:39 inboxMessage: {
23:20:39 index: 356n,
23:20:39 leaf: Fr<0x093c81831ad3dc25a3f6572fac496230d8a4eed47631c9ca539b6f748d4a1d4b>,
23:20:39 l2BlockNumber: 17,
23:20:39 l1BlockNumber: 76n,
23:20:39 l1BlockHash: Buffer32<0x0f56c32b149ec457949c01981363e626aea077af13b6327b8221150d8e59ecb7>,
23:20:39 rollingHash: Buffer16<0x9c327a8fd2a5513bcd2902808a08af5e>
23:20:39 }
23:20:39 }
23:20:39 [23:20:39.682]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:41 [23:20:41.050]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x2c02c61c83ba5a70076eaf46773f0a97e9d9e1f5d0394b3e491f48c6ecd3a70e for L2 block 15 has wrong index 225 (expected 224)
23:20:41 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
23:20:41 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
23:20:41 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
23:20:41 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
23:20:41 inboxMessage: {
23:20:41 index: 225n,
23:20:41 leaf: Fr<0x2c02c61c83ba5a70076eaf46773f0a97e9d9e1f5d0394b3e491f48c6ecd3a70e>,
23:20:41 l2BlockNumber: 15,
23:20:41 l1BlockNumber: 72n,
23:20:41 l1BlockHash: Buffer32<0x4c7836509a799c9a9745a9bd897f746414fa0125fbef8d0bbc4a0db5b646eb7f>,
23:20:41 rollingHash: Buffer16<0xb07935d5528c318f6f3c02fa181813a6>
23:20:41 }
23:20:41 }
23:20:41 [23:20:41.055]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:42 [23:20:42.271]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x288fbf27d49007b6803e5cd8a4faef5f6d9221854f7589aaee66ec30a579a7ce at block 2 (expected value in range [16, 32))
23:20:42 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
23:20:42 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
23:20:42 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
23:20:42 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
23:20:42 inboxMessage: {
23:20:42 index: 32n,
23:20:42 leaf: Fr<0x288fbf27d49007b6803e5cd8a4faef5f6d9221854f7589aaee66ec30a579a7ce>,
23:20:42 l2BlockNumber: 2,
23:20:42 l1BlockNumber: 82n,
23:20:42 l1BlockHash: Buffer32<0x98b040238002493fb5cf85a0df5789842247c74d0b23fc3945d1c95a4eb081df>,
23:20:42 rollingHash: Buffer16<0xceca916233ba2c764febf65accf77be0>
23:20:42 }
23:20:42 }
23:20:42 [23:20:42.274]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:43 [23:20:43.576]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
23:20:43 [23:20:43.601]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:44 [23:20:44.930]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
23:20:44 [23:20:44.945]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:46 [23:20:46.231]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:47 [23:20:47.502]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:48 [23:20:48.661]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:49 [23:20:49.909]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:51 [23:20:51.420]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:52 [23:20:52.610]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:53 [23:20:53.852]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:55 [23:20:55.103]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:56 [23:20:56.297]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:57 [23:20:57.547]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:20:58 [23:20:58.769]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:21:00 [23:21:00.103]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:21:01 [23:21:01.472]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:21:02 [23:21:02.736]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:21:03 [23:21:03.933]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:21:05 [23:21:05.191]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:21:07 [23:21:07.547]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:21:09 [23:21:09.906]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:21:12 [23:21:12.921]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:21:15 [23:21:15.780]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:21:20 [23:21:20.803]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:21:24 [23:21:24.658]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:21:28 [23:21:28.341]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:21:32 [23:21:32.455]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:21:36 [23:21:36.095]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:21:39 [23:21:39.757]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:21:43 [23:21:43.300]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
23:21:46
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
155.828 s)
23:21:46 KVArchiverDataStore
23:21:46 ArchiverStore
23:21:46 addBlocks
23:21:46
✓ returns success when adding blocks (1656 ms)
23:21:46
✓ allows duplicate blocks (1529 ms)
23:21:46
✓ throws an error if the previous block does not exist in the store (956 ms)
23:21:46
✓ throws an error if there is a gap in the blocks being added (1253 ms)
23:21:46 unwindBlocks
23:21:46
✓ unwinding blocks will remove blocks from the chain (1311 ms)
23:21:46
✓ can unwind multiple empty blocks (1015 ms)
23:21:46
✓ refuses to unwind blocks if the tip is not the last block (1175 ms)
23:21:46 getBlocks
23:21:46
✓ retrieves previously stored blocks (1389 ms)
23:21:46
✓ retrieves previously stored blocks (1443 ms)
23:21:46
✓ retrieves previously stored blocks (1460 ms)
23:21:46
✓ retrieves previously stored blocks (1564 ms)
23:21:46
✓ retrieves previously stored blocks (1326 ms)
23:21:46
✓ returns an empty array if no blocks are found (1353 ms)
23:21:46
✓ throws an error if limit is invalid (2120 ms)
23:21:46
✓ throws an error if `from` it is out of range (1492 ms)
23:21:46
✓ throws an error if unexpected initial block number is found (1854 ms)
23:21:46
✓ throws an error if a gap is found (2147 ms)
23:21:46 getSyncedL2BlockNumber
23:21:46
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1258 ms)
23:21:46
✓ returns the most recently added block's number (1808 ms)
23:21:46 getSynchPoint
23:21:46
✓ returns undefined if no blocks have been added (1253 ms)
23:21:46
✓ returns the L1 block number in which the most recent L2 block was published (1381 ms)
23:21:46
✓ returns the L1 block number that most recently added messages from inbox (1182 ms)
23:21:46
✓ returns the latest syncpoint if latest message is behind (1070 ms)
23:21:46 addLogs
23:21:46
✓ adds private & public logs (1129 ms)
23:21:46 deleteLogs
23:21:46
✓ deletes private & public logs (1228 ms)
23:21:46 getPrivateLogs
23:21:46
✓ gets added private logs (1243 ms)
23:21:46 getTxEffect
23:21:46
✓ retrieves a previously stored transaction (2316 ms)
23:21:46
✓ retrieves a previously stored transaction (2125 ms)
23:21:46
✓ retrieves a previously stored transaction (2531 ms)
23:21:46
✓ retrieves a previously stored transaction (2275 ms)
23:21:46
✓ retrieves a previously stored transaction (2122 ms)
23:21:46
✓ returns undefined if tx is not found (2070 ms)
23:21:46
✓ tries to retrieves a previously stored transaction after deleted (2404 ms)
23:21:46
✓ tries to retrieves a previously stored transaction after deleted (2095 ms)
23:21:46
✓ tries to retrieves a previously stored transaction after deleted (2038 ms)
23:21:46
✓ tries to retrieves a previously stored transaction after deleted (2147 ms)
23:21:46
✓ tries to retrieves a previously stored transaction after deleted (2341 ms)
23:21:46
✓ returns undefined if tx is not found (1895 ms)
23:21:46
✓ does not fail if the block is unwound while requesting a tx (2499 ms)
23:21:46 L1 to L2 Messages
23:21:46
✓ stores first message ever (1250 ms)
23:21:46
✓ stores single message (1055 ms)
23:21:46
✓ stores and returns messages across different blocks (1034 ms)
23:21:46
✓ stores the same messages again (1480 ms)
23:21:46
✓ stores and returns messages across different blocks with gaps (1449 ms)
23:21:46
✓ stores and returns messages with block numbers larger than a byte (1230 ms)
23:21:46
✓ stores and returns multiple messages per block (1405 ms)
23:21:46
✓ stores messages in multiple operations (1588 ms)
23:21:46
✓ iterates over messages from start index (1520 ms)
23:21:46
✓ iterates over messages in reverse (1552 ms)
23:21:46
✓ throws if messages are added out of order (1734 ms)
23:21:46
✓ throws if block number for the first message is out of order (1632 ms)
23:21:46
✓ throws if rolling hash is not correct (1249 ms)
23:21:46
✓ throws if rolling hash for first message is not correct (1248 ms)
23:21:46
✓ throws if index is not in the correct range (1546 ms)
23:21:46
✓ throws if first index in block has gaps (1370 ms)
23:21:46
✓ throws if index does not follow previous one (1220 ms)
23:21:46
✓ removes messages up to the given block number (1328 ms)
23:21:46
✓ removes messages starting with the given index (1343 ms)
23:21:46 contractInstances
23:21:46
✓ returns previously stored contract instances (1285 ms)
23:21:46
✓ returns undefined if contract instance is not found (1269 ms)
23:21:46
✓ returns undefined if previously stored contract instances was deleted (1159 ms)
23:21:46 contractInstanceUpdates
23:21:46
✓ gets the correct current class id for a contract not updated yet (1247 ms)
23:21:46
✓ gets the correct current class id for a contract that has just been updated (1511 ms)
23:21:46
✓ gets the correct current class id for a contract that was updated in the past (1189 ms)
23:21:46
✓ ignores updates for the wrong contract (1240 ms)
23:21:46
✓ bounds its search to the right contract if more than than one update exists (1251 ms)
23:21:46 contractClasses
23:21:46
✓ returns previously stored contract class (1194 ms)
23:21:46
✓ returns undefined if the initial deployed contract class was deleted (1250 ms)
23:21:46
✓ returns contract class if later "deployment" class was deleted (1221 ms)
23:21:46
✓ returns undefined if contract class is not found (1333 ms)
23:21:46
✓ adds new private functions (1368 ms)
23:21:46
✓ does not duplicate private functions (1263 ms)
23:21:46
✓ adds new utility functions (1196 ms)
23:21:46
✓ does not duplicate utility functions (1256 ms)
23:21:46 getLogsByTags
23:21:46
✓ is possible to batch request private logs via tags (2357 ms)
23:21:46
✓ is possible to batch request all logs (private and public) via tags (2357 ms)
23:21:46
✓ is possible to batch request logs that have the same tag but different content (3013 ms)
23:21:46
✓ is possible to request logs for non-existing tags and determine their position (2858 ms)
23:21:46 getPublicLogs
23:21:46
✓ no logs returned if deleted ("txHash" filter param is respected variant) (5023 ms)
23:21:46
✓ "txHash" filter param is respected (3855 ms)
23:21:46
✓ "fromBlock" and "toBlock" filter params are respected (3682 ms)
23:21:46
✓ "contractAddress" filter param is respected (4114 ms)
23:21:46
✓ "afterLog" filter param is respected (3639 ms)
23:21:46
✓ "txHash" filter param is ignored when "afterLog" is set (3661 ms)
23:21:46
✓ intersecting works (3542 ms)
23:21:46
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (3673 ms)
23:21:46
23:21:46
Test Suites: 1 passed, 1 total
23:21:46
Tests: 86 passed, 86 total
23:21:46
Snapshots: 0 total
23:21:46
Time: 155.95 s
23:21:46
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
23:21:46
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?