Parent Log:
http://ci.aztec-labs.com/0829684da0f6266d
Command: b5d029682575c433 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/fa4d5ef48c8de52059b5658bbd42e4514386f7db
Env: REF_NAME=gh-readonly-queue/next/pr-15073-5ca43853c40a2b8bfbc2148d5fdd46c6f82a74eb CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 15:31:45 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15073_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
15:31:47 [15:31:47.876]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:31:49 [15:31:49.428]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:31:50 [15:31:50.936]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:31:51 [15:31:51.784]
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
15:31:51 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
15:31:51 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:31:51 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:31:51 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:31:51 newBlockNumber: 2,
15:31:51 previousBlockNumber: undefined
15:31:51 }
15:31:51 [15:31:51.793]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:31:52 [15:31:52.740]
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
15:31:52 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17
15:31:52 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:31:52 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:31:52 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
15:31:52 [15:31:52.743]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:31:53 [15:31:53.932]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:31:54 [15:31:54.787]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:31:56 [15:31:56.178]
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)
15:31:56 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15
15:31:56 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:31:56 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:31:56 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
15:31:56 [15:31:56.182]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:31:57 [15:31:57.783]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:31:59 [15:31:59.113]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:00 [15:32:00.669]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:02 [15:32:02.216]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:03 [15:32:03.500]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:04 [15:32:04.922]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:06 [15:32:06.330]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:07 [15:32:07.844]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:09 [15:32:09.619]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:13 [15:32:13.219]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:14 [15:32:14.605]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:16 [15:32:16.486]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:18 [15:32:18.240]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:20 [15:32:20.025]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:21 [15:32:21.332]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:22 [15:32:22.780]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:24 [15:32:24.431]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:25 [15:32:25.975]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:27 [15:32:27.474]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:29 [15:32:29.878]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:32 [15:32:32.723]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:35 [15:32:35.321]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:37 [15:32:37.932]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:40 [15:32:40.418]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:42 [15:32:42.913]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:45 [15:32:45.706]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:48 [15:32:48.282]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:50 [15:32:50.890]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:53 [15:32:53.611]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:56 [15:32:56.356]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:59 [15:32:59.000]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:33:02 [15:33:02.152]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:33:03 [15:33:03.776]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:33:05 [15:33:05.512]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:33:07 [15:33:07.177]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:33:08 [15:33:08.907]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:33:10 [15:33:10.635]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:33:12 [15:33:12.532]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:33:14 [15:33:14.474]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:33:16 [15:33:16.633]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:33:18 [15:33:18.758]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:33:20 [15:33:20.742]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:33:22 [15:33:22.895]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x14a055054683d380a2dedec20d6ba42e7a0c0b76d5150a1fcfcf8a72bf9651a4 for L2 block 1 has wrong index 10 (expected 0)
15:33:22 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
15:33:22 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:33:22 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:33:22 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:33:22 inboxMessage: {
15:33:22 index: 10n,
15:33:22 leaf: Fr<0x14a055054683d380a2dedec20d6ba42e7a0c0b76d5150a1fcfcf8a72bf9651a4>,
15:33:22 l2BlockNumber: 1,
15:33:22 l1BlockNumber: 74n,
15:33:22 l1BlockHash: Buffer32<0x0ba067696b1cc5f28c2406f2576e267bb98a0ad956c43fe6a525614d97c1fd43>,
15:33:22 rollingHash: Buffer16<0x67ca154bcf9d7302c92784081bc855e3>
15:33:22 }
15:33:22 }
15:33:22 [15:33:22.901]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:33:24 [15:33:24.868]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x0d4f438ba423dd9da06b02979a3eddb48b595e0f28062bf78d0f97cf103959c9 at block 12 (expected value in range [176, 192))
15:33:24 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
15:33:24 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:33:24 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:33:24 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:33:24 inboxMessage: {
15:33:24 index: 224n,
15:33:24 leaf: Fr<0x0d4f438ba423dd9da06b02979a3eddb48b595e0f28062bf78d0f97cf103959c9>,
15:33:24 l2BlockNumber: 12,
15:33:24 l1BlockNumber: 62n,
15:33:24 l1BlockHash: Buffer32<0x577f7eca81533beeedebfbead0c227e18887bfb10b2edeabf2c5dcae3f694bc2>,
15:33:24 rollingHash: Buffer16<0x7084d8a68c5be7916034ac1f093ad3f0>
15:33:24 }
15:33:24 }
15:33:24 [15:33:24.872]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:33:26 [15:33:26.788]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x22de19d4c711d5c961a3114005d8453f1dbf1f68ba2da268147b5fa16ead3f93 with index 16 (expected 0x190c9d8a87d3a81720b5f3b717ba5e6d from previous hash 0x60f33c90ee19277cd77b70098a2ea5ab but got 0xd94cff209f25c94c06705d66018e5e76)
15:33:26 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
15:33:26 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:33:26 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:33:26 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:33:26 inboxMessage: {
15:33:26 index: 16n,
15:33:26 leaf: Fr<0x22de19d4c711d5c961a3114005d8453f1dbf1f68ba2da268147b5fa16ead3f93>,
15:33:26 l2BlockNumber: 2,
15:33:26 l1BlockNumber: 14n,
15:33:26 l1BlockHash: Buffer32<0x3abe21186af0d5a05befc8083bba42774431cd34c29cd06dcee467d67379e0c7>,
15:33:26 rollingHash: Buffer16<0xd94cff209f25c94c06705d66018e5e76>
15:33:26 }
15:33:26 }
15:33:26 [15:33:26.791]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:33:28 [15:33:28.662]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x0f9b33e7a8b3c8f7ff739e46ae5ff69a541f8fed6e56d99f11f88a4aa98ff228 with index 32 (expected 0x5ffc6345a01f300583e22301dd4a4c55 from previous hash 0xc3ca84da0865a27dca5a1e122132599b but got 0xc6e79778f222cdbf668ad3a70439ce72)
15:33:28 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
15:33:28 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:33:28 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:33:28 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:33:28 inboxMessage: {
15:33:28 index: 32n,
15:33:28 leaf: Fr<0x0f9b33e7a8b3c8f7ff739e46ae5ff69a541f8fed6e56d99f11f88a4aa98ff228>,
15:33:28 l2BlockNumber: 3,
15:33:28 l1BlockNumber: 87n,
15:33:28 l1BlockHash: Buffer32<0xe4dc806928ba566773e31cb951ba1f43e0257faf27d7cff19a09843b15038f92>,
15:33:28 rollingHash: Buffer16<0xc6e79778f222cdbf668ad3a70439ce72>
15:33:28 }
15:33:28 }
15:33:28 [15:33:28.667]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:33:30 [15:33:30.541]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x128279351a1ff562ef5f8ef79310dd1062e9feea14c836c49dda49475da1bac0 at block 17 (expected value in range [256, 272))
15:33:30 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
15:33:30 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:33:30 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:33:30 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:33:30 inboxMessage: {
15:33:30 index: 356n,
15:33:30 leaf: Fr<0x128279351a1ff562ef5f8ef79310dd1062e9feea14c836c49dda49475da1bac0>,
15:33:30 l2BlockNumber: 17,
15:33:30 l1BlockNumber: 4n,
15:33:30 l1BlockHash: Buffer32<0xc9f5263bfdb71c3ae3674789e550e5e2b346282515f534ba6cc3640767d2b240>,
15:33:30 rollingHash: Buffer16<0x2c9f0380d8d0764f192bfcff8ed4423b>
15:33:30 }
15:33:30 }
15:33:30 [15:33:30.549]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:33:32 [15:33:32.243]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x1f52be8174c8140f4d86824a99b0062800e835f29bffae58f76cd76a3335ba8b for L2 block 15 has wrong index 225 (expected 224)
15:33:32 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
15:33:32 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:33:32 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:33:32 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:33:32 inboxMessage: {
15:33:32 index: 225n,
15:33:32 leaf: Fr<0x1f52be8174c8140f4d86824a99b0062800e835f29bffae58f76cd76a3335ba8b>,
15:33:32 l2BlockNumber: 15,
15:33:32 l1BlockNumber: 10n,
15:33:32 l1BlockHash: Buffer32<0x2584088c6efd003008678234d3dd768caef68d380e48a3d4e0b4fd53c5d0ea76>,
15:33:32 rollingHash: Buffer16<0x7c5caed76b59cbbb79696e3795cef29c>
15:33:32 }
15:33:32 }
15:33:32 [15:33:32.248]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:33:34 [15:33:34.272]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x125a681d85e34dc7ff1fbebd4ad313c4b1bf16f6135159c1bba03adc8294faa2 at block 2 (expected value in range [16, 32))
15:33:34 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
15:33:34 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:33:34 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:33:34 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:33:34 inboxMessage: {
15:33:34 index: 32n,
15:33:34 leaf: Fr<0x125a681d85e34dc7ff1fbebd4ad313c4b1bf16f6135159c1bba03adc8294faa2>,
15:33:34 l2BlockNumber: 2,
15:33:34 l1BlockNumber: 15n,
15:33:34 l1BlockHash: Buffer32<0x74fb463ab5f82914c6a5a1f3a4b418573ab5ce7acaed1c27aa03da1a87ab2f10>,
15:33:34 rollingHash: Buffer16<0x784715c902752946c40a63dc63cc1806>
15:33:34 }
15:33:34 }
15:33:34 [15:33:34.276]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:33:36 [15:33:36.233]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
15:33:36 [15:33:36.278]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:33:38 [15:33:38.065]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
15:33:38 [15:33:38.079]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:33:40 [15:33:40.059]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:33:41 [15:33:41.605]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:33:43 [15:33:43.709]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:33:45 [15:33:45.298]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:33:46 [15:33:46.762]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:33:48 [15:33:48.623]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:33:50 [15:33:50.409]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:33:52 [15:33:52.204]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:33:53 [15:33:53.980]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:33:55 [15:33:55.708]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:33:57 [15:33:57.695]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:33:59 [15:33:59.520]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:34:01 [15:34:01.492]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:34:03 [15:34:03.479]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:34:05 [15:34:05.421]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:34:07 [15:34:07.545]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:34:10 [15:34:10.876]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:34:14 [15:34:14.252]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:34:17 [15:34:17.971]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:34:21 [15:34:21.226]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:34:27 [15:34:27.215]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:34:32 [15:34:32.296]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:34:37 [15:34:37.148]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:34:42 [15:34:42.414]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:34:47 [15:34:47.532]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:34:52 [15:34:52.398]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:34:56 [15:34:56.643]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:35:01
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
195.048 s)
15:35:01 KVArchiverDataStore
15:35:01 ArchiverStore
15:35:01 addBlocks
15:35:01
✓ returns success when adding blocks (1569 ms)
15:35:01
✓ allows duplicate blocks (1514 ms)
15:35:01
✓ throws an error if the previous block does not exist in the store (858 ms)
15:35:01
✓ throws an error if there is a gap in the blocks being added (949 ms)
15:35:01 unwindBlocks
15:35:01
✓ unwinding blocks will remove blocks from the chain (1189 ms)
15:35:01
✓ can unwind multiple empty blocks (855 ms)
15:35:01
✓ refuses to unwind blocks if the tip is not the last block (1394 ms)
15:35:01 getBlocks
15:35:01
✓ retrieves previously stored blocks (1600 ms)
15:35:01
✓ retrieves previously stored blocks (1331 ms)
15:35:01
✓ retrieves previously stored blocks (1556 ms)
15:35:01
✓ retrieves previously stored blocks (1546 ms)
15:35:01
✓ retrieves previously stored blocks (1284 ms)
15:35:01
✓ returns an empty array if no blocks are found (1420 ms)
15:35:01
✓ throws an error if limit is invalid (1407 ms)
15:35:01
✓ throws an error if `from` it is out of range (1510 ms)
15:35:01
✓ throws an error if unexpected initial block number is found (1778 ms)
15:35:01
✓ throws an error if a gap is found (3599 ms)
15:35:01 getSyncedL2BlockNumber
15:35:01
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1386 ms)
15:35:01
✓ returns the most recently added block's number (1876 ms)
15:35:01 getSynchPoint
15:35:01
✓ returns undefined if no blocks have been added (1758 ms)
15:35:01
✓ returns the L1 block number in which the most recent L2 block was published (1784 ms)
15:35:01
✓ returns the L1 block number that most recently added messages from inbox (1306 ms)
15:35:01
✓ returns the latest syncpoint if latest message is behind (1447 ms)
15:35:01 addLogs
15:35:01
✓ adds private & public logs (1649 ms)
15:35:01 deleteLogs
15:35:01
✓ deletes private & public logs (1545 ms)
15:35:01 getPrivateLogs
15:35:01
✓ gets added private logs (1497 ms)
15:35:01 getTxEffect
15:35:01
✓ retrieves a previously stored transaction (2405 ms)
15:35:01
✓ retrieves a previously stored transaction (2835 ms)
15:35:01
✓ retrieves a previously stored transaction (2606 ms)
15:35:01
✓ retrieves a previously stored transaction (2609 ms)
15:35:01
✓ retrieves a previously stored transaction (2488 ms)
15:35:01
✓ returns undefined if tx is not found (2494 ms)
15:35:01
✓ tries to retrieves a previously stored transaction after deleted (2793 ms)
15:35:01
✓ tries to retrieves a previously stored transaction after deleted (2576 ms)
15:35:01
✓ tries to retrieves a previously stored transaction after deleted (2607 ms)
15:35:01
✓ tries to retrieves a previously stored transaction after deleted (2721 ms)
15:35:01
✓ tries to retrieves a previously stored transaction after deleted (2743 ms)
15:35:01
✓ returns undefined if tx is not found (2644 ms)
15:35:01
✓ does not fail if the block is unwound while requesting a tx (3151 ms)
15:35:01 L1 to L2 Messages
15:35:01
✓ stores first message ever (1622 ms)
15:35:01
✓ stores single message (1735 ms)
15:35:01
✓ stores and returns messages across different blocks (1665 ms)
15:35:01
✓ stores the same messages again (1726 ms)
15:35:01
✓ stores and returns messages across different blocks with gaps (1729 ms)
15:35:01
✓ stores and returns messages with block numbers larger than a byte (1896 ms)
15:35:01
✓ stores and returns multiple messages per block (1936 ms)
15:35:01
✓ stores messages in multiple operations (2164 ms)
15:35:01
✓ iterates over messages from start index (2116 ms)
15:35:01
✓ iterates over messages in reverse (1985 ms)
15:35:01
✓ throws if messages are added out of order (2159 ms)
15:35:01
✓ throws if block number for the first message is out of order (1971 ms)
15:35:01
✓ throws if rolling hash is not correct (1920 ms)
15:35:01
✓ throws if rolling hash for first message is not correct (1874 ms)
15:35:01
✓ throws if index is not in the correct range (1878 ms)
15:35:01
✓ throws if first index in block has gaps (1701 ms)
15:35:01
✓ throws if index does not follow previous one (2028 ms)
15:35:01
✓ removes messages up to the given block number (2001 ms)
15:35:01
✓ removes messages starting with the given index (1800 ms)
15:35:01 contractInstances
15:35:01
✓ returns previously stored contract instances (1979 ms)
15:35:01
✓ returns undefined if contract instance is not found (1545 ms)
15:35:01
✓ returns undefined if previously stored contract instances was deleted (2104 ms)
15:35:01 contractInstanceUpdates
15:35:01
✓ gets the correct current class id for a contract not updated yet (1587 ms)
15:35:01
✓ gets the correct current class id for a contract that has just been updated (1454 ms)
15:35:01
✓ gets the correct current class id for a contract that was updated in the past (1865 ms)
15:35:01
✓ ignores updates for the wrong contract (1786 ms)
15:35:01
✓ bounds its search to the right contract if more than than one update exists (1793 ms)
15:35:01 contractClasses
15:35:01
✓ returns previously stored contract class (1776 ms)
15:35:01
✓ returns undefined if the initial deployed contract class was deleted (1723 ms)
15:35:01
✓ returns contract class if later "deployment" class was deleted (1989 ms)
15:35:01
✓ returns undefined if contract class is not found (1824 ms)
15:35:01
✓ adds new private functions (1971 ms)
15:35:01
✓ does not duplicate private functions (1987 ms)
15:35:01
✓ adds new utility functions (1941 ms)
15:35:01
✓ does not duplicate utility functions (2118 ms)
15:35:01 getLogsByTags
15:35:01
✓ is possible to batch request private logs via tags (3328 ms)
15:35:01
✓ is possible to batch request all logs (private and public) via tags (3377 ms)
15:35:01
✓ is possible to batch request logs that have the same tag but different content (3717 ms)
15:35:01
✓ is possible to request logs for non-existing tags and determine their position (3254 ms)
15:35:01 getPublicLogs
15:35:01
✓ no logs returned if deleted ("txHash" filter param is respected variant) (5988 ms)
15:35:01
✓ "txHash" filter param is respected (5080 ms)
15:35:01
✓ "fromBlock" and "toBlock" filter params are respected (4841 ms)
15:35:01
✓ "contractAddress" filter param is respected (5277 ms)
15:35:01
✓ "afterLog" filter param is respected (5117 ms)
15:35:01
✓ "txHash" filter param is ignored when "afterLog" is set (4865 ms)
15:35:01
✓ intersecting works (4243 ms)
15:35:01
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4665 ms)
15:35:01
15:35:01
Test Suites: 1 passed, 1 total
15:35:01
Tests: 86 passed, 86 total
15:35:01
Snapshots: 0 total
15:35:01
Time: 195.146 s
15:35:01
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
15:35:01
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?