Parent Log:
http://ci.aztec-labs.com/d685885da0239428
Command: 1a84647d900d18a3 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/484694b997ac4ff62ed6d008cc3f12e0c60720ff
Env: REF_NAME=gh-readonly-queue/next/pr-15077-3c1b9d57eadcc8fb03a7ed42610cf0a1ae4a32eb CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Wed Jun 18 07:42:15 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15077_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
07:42:18 [07:42:18.508]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:42:20 [07:42:20.025]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:42:21 [07:42:21.528]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:42:22 [07:42:22.443]
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
07:42:22 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
07:42:22 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
07:42:22 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
07:42:22 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
07:42:22 newBlockNumber: 2,
07:42:22 previousBlockNumber: undefined
07:42:22 }
07:42:22 [07:42:22.447]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:42:23 [07:42:23.560]
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
07:42:23 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17
07:42:23 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
07:42:23 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
07:42:23 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
07:42:23 [07:42:23.567]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:42:25 [07:42:25.046]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:42:26 [07:42:26.373]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:42:27 [07:42:27.966]
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)
07:42:27 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15
07:42:27 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
07:42:27 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
07:42:27 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
07:42:27 [07:42:27.969]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:42:29 [07:42:29.607]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:42:30 [07:42:30.994]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:42:32 [07:42:32.686]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:42:34 [07:42:34.205]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:42:35 [07:42:35.940]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:42:37 [07:42:37.571]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:42:39 [07:42:39.701]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:42:41 [07:42:41.561]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:42:43 [07:42:43.713]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:42:46 [07:42:46.219]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:42:47 [07:42:47.950]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:42:49 [07:42:49.743]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:42:51 [07:42:51.410]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:42:53 [07:42:53.319]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:42:54 [07:42:54.642]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:42:55 [07:42:55.930]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:42:57 [07:42:57.544]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:42:59 [07:42:59.178]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:43:00 [07:43:00.975]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:43:03 [07:43:03.589]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:43:06 [07:43:06.213]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:43:08 [07:43:08.848]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:43:11 [07:43:11.269]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:43:13 [07:43:13.899]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:43:16 [07:43:16.509]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:43:19 [07:43:19.045]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:43:21 [07:43:21.642]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:43:24 [07:43:24.172]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:43:26 [07:43:26.876]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:43:29 [07:43:29.606]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:43:32 [07:43:32.207]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:43:35 [07:43:35.492]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:43:37 [07:43:37.014]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:43:38 [07:43:38.571]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:43:40 [07:43:40.256]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:43:41 [07:43:41.700]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:43:43 [07:43:43.290]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:43:45 [07:43:45.076]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:43:46 [07:43:46.775]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:43:48 [07:43:48.532]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:43:50 [07:43:50.249]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:43:51 [07:43:51.876]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:43:53 [07:43:53.836]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x2d9fb0f8e8ee31602dc0a7f69a9d589715893b18aff429552b3cce2f319f27a2 for L2 block 1 has wrong index 10 (expected 0)
07:43:53 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
07:43:53 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
07:43:53 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
07:43:53 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
07:43:53 inboxMessage: {
07:43:53 index: 10n,
07:43:53 leaf: Fr<0x2d9fb0f8e8ee31602dc0a7f69a9d589715893b18aff429552b3cce2f319f27a2>,
07:43:53 l2BlockNumber: 1,
07:43:53 l1BlockNumber: 98n,
07:43:53 l1BlockHash: Buffer32<0x089038da5f8a9900070acb70fc688904ad1d2b35f6180af0152deec0db542903>,
07:43:53 rollingHash: Buffer16<0xfa3961c2b15d387c9a2a2e9a354cfc3d>
07:43:53 }
07:43:53 }
07:43:53 [07:43:53.840]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:43:55 [07:43:55.852]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x1c28ad5d42bac9dfd0bb1e1495bd13bd4f2326850e6d9a87fed5c48f95405ed6 at block 12 (expected value in range [176, 192))
07:43:55 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
07:43:55 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
07:43:55 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
07:43:55 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
07:43:55 inboxMessage: {
07:43:55 index: 224n,
07:43:55 leaf: Fr<0x1c28ad5d42bac9dfd0bb1e1495bd13bd4f2326850e6d9a87fed5c48f95405ed6>,
07:43:55 l2BlockNumber: 12,
07:43:55 l1BlockNumber: 100n,
07:43:55 l1BlockHash: Buffer32<0x06a6a963e8474dc211b2f684f000648aa2f0f513e41aefe1aa58f8cb8670a461>,
07:43:55 rollingHash: Buffer16<0x8698f38527f677cc3f6df85cdc1713aa>
07:43:55 }
07:43:55 }
07:43:55 [07:43:55.856]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:43:57 [07:43:57.810]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x0c586f1bb8ae915e3687ab4acf9923ee7ed7b17090f747a600907317a23b4ed3 with index 16 (expected 0xf0be803bc2e0902f7209fd385eda10eb from previous hash 0xabeff84d87c879c1c8519f46f7c8681c but got 0x49c9cf5a9fe1e61ba71b423789350030)
07:43:57 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
07:43:57 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
07:43:57 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
07:43:57 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
07:43:57 inboxMessage: {
07:43:57 index: 16n,
07:43:57 leaf: Fr<0x0c586f1bb8ae915e3687ab4acf9923ee7ed7b17090f747a600907317a23b4ed3>,
07:43:57 l2BlockNumber: 2,
07:43:57 l1BlockNumber: 67n,
07:43:57 l1BlockHash: Buffer32<0xf45263abaa581016ba7a37d959953ca3a6dab7e2b33aaf1b3729e15ca37c629f>,
07:43:57 rollingHash: Buffer16<0x49c9cf5a9fe1e61ba71b423789350030>
07:43:57 }
07:43:57 }
07:43:57 [07:43:57.814]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:43:59 [07:43:59.434]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x107b2f4964899fffda9f891c8fa70f04e37590d5ba9c10bd7aa654e9c6a9a5ef with index 32 (expected 0x0e325d1a5d4b880ff6a203c73d075ed5 from previous hash 0x6b0d1a315cc15fc40dbc040eb5d9d2be but got 0x697c8ab5cb93250acc6e5bda1610db92)
07:43:59 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
07:43:59 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
07:43:59 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
07:43:59 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
07:43:59 inboxMessage: {
07:43:59 index: 32n,
07:43:59 leaf: Fr<0x107b2f4964899fffda9f891c8fa70f04e37590d5ba9c10bd7aa654e9c6a9a5ef>,
07:43:59 l2BlockNumber: 3,
07:43:59 l1BlockNumber: 21n,
07:43:59 l1BlockHash: Buffer32<0x9b726e5209a293c22c08b039551a807aba49c2d450f54ec35bd511e2656799c8>,
07:43:59 rollingHash: Buffer16<0x697c8ab5cb93250acc6e5bda1610db92>
07:43:59 }
07:43:59 }
07:43:59 [07:43:59.437]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:44:01 [07:44:01.033]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x25f57b32b2468f6e71ae758d6cd867f603af41a02d3d1cab2ddeec1fda36d0e6 at block 17 (expected value in range [256, 272))
07:44:01 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
07:44:01 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
07:44:01 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
07:44:01 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
07:44:01 inboxMessage: {
07:44:01 index: 356n,
07:44:01 leaf: Fr<0x25f57b32b2468f6e71ae758d6cd867f603af41a02d3d1cab2ddeec1fda36d0e6>,
07:44:01 l2BlockNumber: 17,
07:44:01 l1BlockNumber: 91n,
07:44:01 l1BlockHash: Buffer32<0xba611f3e418233e8ba7653a30ec733a1027c37be155fae88630f63620ab6e682>,
07:44:01 rollingHash: Buffer16<0x050dbae927daff2b44c2a0a28e118838>
07:44:01 }
07:44:01 }
07:44:01 [07:44:01.037]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:44:02 [07:44:02.912]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x0712ffa60ce53a57436a7ebba9e01a707d6c421be1db0a086e4241624339bba5 for L2 block 15 has wrong index 225 (expected 224)
07:44:02 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
07:44:02 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
07:44:02 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
07:44:02 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
07:44:02 inboxMessage: {
07:44:02 index: 225n,
07:44:02 leaf: Fr<0x0712ffa60ce53a57436a7ebba9e01a707d6c421be1db0a086e4241624339bba5>,
07:44:02 l2BlockNumber: 15,
07:44:02 l1BlockNumber: 58n,
07:44:02 l1BlockHash: Buffer32<0x2a0f65b996b5d74481189c7179b5b3be0d5f991eb60ea21e7cb70c6dea00bb7b>,
07:44:02 rollingHash: Buffer16<0xe3bb836b3b8b39564f95d78f98b33887>
07:44:02 }
07:44:02 }
07:44:02 [07:44:02.916]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:44:04 [07:44:04.831]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x1c2718bdf0a22ed2a0d006b4752d40d7b2bc00525d919e5bd35130368eef5670 at block 2 (expected value in range [16, 32))
07:44:04 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
07:44:04 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
07:44:04 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
07:44:04 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
07:44:04 inboxMessage: {
07:44:04 index: 32n,
07:44:04 leaf: Fr<0x1c2718bdf0a22ed2a0d006b4752d40d7b2bc00525d919e5bd35130368eef5670>,
07:44:04 l2BlockNumber: 2,
07:44:04 l1BlockNumber: 99n,
07:44:04 l1BlockHash: Buffer32<0x1bc916ccb1bc95d9b6dfa2ec2c0b84040aa6b9c72c18b9ede7de93c56bd118ae>,
07:44:04 rollingHash: Buffer16<0xdad5cc68cb0b97bf34ad761c488e23b2>
07:44:04 }
07:44:04 }
07:44:04 [07:44:04.835]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:44:06 [07:44:06.849]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
07:44:06 [07:44:06.894]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:44:08 [07:44:08.758]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
07:44:08 [07:44:08.786]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:44:10 [07:44:10.796]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:44:12 [07:44:12.647]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:44:14 [07:44:14.423]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:44:16 [07:44:16.152]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:44:17 [07:44:17.947]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:44:19 [07:44:19.725]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:44:21 [07:44:21.535]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:44:23 [07:44:23.277]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:44:25 [07:44:25.173]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:44:27 [07:44:27.023]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:44:28 [07:44:28.968]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:44:31 [07:44:31.055]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:44:33 [07:44:33.063]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:44:35 [07:44:35.155]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:44:37 [07:44:37.440]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:44:39 [07:44:39.837]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:44:43 [07:44:43.275]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:44:47 [07:44:47.060]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:44:50 [07:44:50.977]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:44:54 [07:44:54.720]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:45:01 [07:45:01.043]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:45:05 [07:45:05.973]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:45:10 [07:45:10.215]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:45:14 [07:45:14.901]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:45:20 [07:45:20.647]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:45:25 [07:45:25.950]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:45:29 [07:45:29.946]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
07:45:34
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
197.734 s)
07:45:34 KVArchiverDataStore
07:45:34 ArchiverStore
07:45:34 addBlocks
07:45:34
✓ returns success when adding blocks (1540 ms)
07:45:34
✓ allows duplicate blocks (1502 ms)
07:45:34
✓ throws an error if the previous block does not exist in the store (920 ms)
07:45:34
✓ throws an error if there is a gap in the blocks being added (1114 ms)
07:45:34 unwindBlocks
07:45:34
✓ unwinding blocks will remove blocks from the chain (1477 ms)
07:45:34
✓ can unwind multiple empty blocks (1332 ms)
07:45:34
✓ refuses to unwind blocks if the tip is not the last block (1596 ms)
07:45:34 getBlocks
07:45:34
✓ retrieves previously stored blocks (1636 ms)
07:45:34
✓ retrieves previously stored blocks (1388 ms)
07:45:34
✓ retrieves previously stored blocks (1691 ms)
07:45:34
✓ retrieves previously stored blocks (1519 ms)
07:45:34
✓ retrieves previously stored blocks (1735 ms)
07:45:34
✓ returns an empty array if no blocks are found (1631 ms)
07:45:34
✓ throws an error if limit is invalid (2126 ms)
07:45:34
✓ throws an error if `from` it is out of range (1863 ms)
07:45:34
✓ throws an error if unexpected initial block number is found (2151 ms)
07:45:34
✓ throws an error if a gap is found (2505 ms)
07:45:34 getSyncedL2BlockNumber
07:45:34
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1730 ms)
07:45:34
✓ returns the most recently added block's number (1791 ms)
07:45:34 getSynchPoint
07:45:34
✓ returns undefined if no blocks have been added (1665 ms)
07:45:34
✓ returns the L1 block number in which the most recent L2 block was published (1907 ms)
07:45:34
✓ returns the L1 block number that most recently added messages from inbox (1323 ms)
07:45:34
✓ returns the latest syncpoint if latest message is behind (1287 ms)
07:45:34 addLogs
07:45:34
✓ adds private & public logs (1613 ms)
07:45:34 deleteLogs
07:45:34
✓ deletes private & public logs (1633 ms)
07:45:34 getPrivateLogs
07:45:34
✓ gets added private logs (1796 ms)
07:45:34 getTxEffect
07:45:34
✓ retrieves a previously stored transaction (2612 ms)
07:45:34
✓ retrieves a previously stored transaction (2624 ms)
07:45:34
✓ retrieves a previously stored transaction (2634 ms)
07:45:34
✓ retrieves a previously stored transaction (2418 ms)
07:45:34
✓ retrieves a previously stored transaction (2626 ms)
07:45:34
✓ returns undefined if tx is not found (2614 ms)
07:45:34
✓ tries to retrieves a previously stored transaction after deleted (2537 ms)
07:45:34
✓ tries to retrieves a previously stored transaction after deleted (2595 ms)
07:45:34
✓ tries to retrieves a previously stored transaction after deleted (2530 ms)
07:45:34
✓ tries to retrieves a previously stored transaction after deleted (2702 ms)
07:45:34
✓ tries to retrieves a previously stored transaction after deleted (2731 ms)
07:45:34
✓ returns undefined if tx is not found (2597 ms)
07:45:34
✓ does not fail if the block is unwound while requesting a tx (3286 ms)
07:45:34 L1 to L2 Messages
07:45:34
✓ stores first message ever (1521 ms)
07:45:34
✓ stores single message (1558 ms)
07:45:34
✓ stores and returns messages across different blocks (1683 ms)
07:45:34
✓ stores the same messages again (1444 ms)
07:45:34
✓ stores and returns messages across different blocks with gaps (1586 ms)
07:45:34
✓ stores and returns messages with block numbers larger than a byte (1788 ms)
07:45:34
✓ stores and returns multiple messages per block (1698 ms)
07:45:34
✓ stores messages in multiple operations (1758 ms)
07:45:34
✓ iterates over messages from start index (1711 ms)
07:45:34
✓ iterates over messages in reverse (1631 ms)
07:45:34
✓ throws if messages are added out of order (1963 ms)
07:45:34
✓ throws if block number for the first message is out of order (2016 ms)
07:45:34
✓ throws if rolling hash is not correct (1957 ms)
07:45:34
✓ throws if rolling hash for first message is not correct (1623 ms)
07:45:34
✓ throws if index is not in the correct range (1598 ms)
07:45:34
✓ throws if first index in block has gaps (1878 ms)
07:45:34
✓ throws if index does not follow previous one (1919 ms)
07:45:34
✓ removes messages up to the given block number (2057 ms)
07:45:34
✓ removes messages starting with the given index (1889 ms)
07:45:34 contractInstances
07:45:34
✓ returns previously stored contract instances (2002 ms)
07:45:34
✓ returns undefined if contract instance is not found (1858 ms)
07:45:34
✓ returns undefined if previously stored contract instances was deleted (1777 ms)
07:45:34 contractInstanceUpdates
07:45:34
✓ gets the correct current class id for a contract not updated yet (1726 ms)
07:45:34
✓ gets the correct current class id for a contract that has just been updated (1795 ms)
07:45:34
✓ gets the correct current class id for a contract that was updated in the past (1778 ms)
07:45:34
✓ ignores updates for the wrong contract (1810 ms)
07:45:34
✓ bounds its search to the right contract if more than than one update exists (1740 ms)
07:45:34 contractClasses
07:45:34
✓ returns previously stored contract class (1895 ms)
07:45:34
✓ returns undefined if the initial deployed contract class was deleted (1850 ms)
07:45:34
✓ returns contract class if later "deployment" class was deleted (1945 ms)
07:45:34
✓ returns undefined if contract class is not found (2085 ms)
07:45:34
✓ adds new private functions (2008 ms)
07:45:34
✓ does not duplicate private functions (2090 ms)
07:45:34
✓ adds new utility functions (2284 ms)
07:45:34
✓ does not duplicate utility functions (2392 ms)
07:45:34 getLogsByTags
07:45:34
✓ is possible to batch request private logs via tags (3441 ms)
07:45:34
✓ is possible to batch request all logs (private and public) via tags (3784 ms)
07:45:34
✓ is possible to batch request logs that have the same tag but different content (3915 ms)
07:45:34
✓ is possible to request logs for non-existing tags and determine their position (3741 ms)
07:45:34 getPublicLogs
07:45:34
✓ no logs returned if deleted ("txHash" filter param is respected variant) (6324 ms)
07:45:34
✓ "txHash" filter param is respected (4929 ms)
07:45:34
✓ "fromBlock" and "toBlock" filter params are respected (4241 ms)
07:45:34
✓ "contractAddress" filter param is respected (4684 ms)
07:45:34
✓ "afterLog" filter param is respected (5725 ms)
07:45:34
✓ "txHash" filter param is ignored when "afterLog" is set (5322 ms)
07:45:34
✓ intersecting works (3995 ms)
07:45:34
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4583 ms)
07:45:34
07:45:34
Test Suites: 1 passed, 1 total
07:45:34
Tests: 86 passed, 86 total
07:45:34
Snapshots: 0 total
07:45:34
Time: 197.823 s
07:45:34
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
07:45:34
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?