Parent Log:
http://ci.aztec-labs.com/eca0d68fde727e0f
Command: 0e6cfc077fbe1818 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/f17855f94a58189a98dd378743e67b774ea38144
Env: REF_NAME=gh-readonly-queue/next/pr-15066-47bd93499e6606131b6ececa3536632cf5e84409 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Wed Jun 18 10:17:46 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15066_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
10:17:49 [10:17:49.449]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:17:50 [10:17:50.953]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:17:52 [10:17:52.352]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:17:53 [10:17:53.375]
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
10:17:53 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
10:17:53 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:17:53 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:17:53 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:17:53 newBlockNumber: 2,
10:17:53 previousBlockNumber: undefined
10:17:53 }
10:17:53 [10:17:53.381]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:17:54 [10:17:54.631]
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
10:17:54 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17
10:17:54 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:17:54 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:17:54 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
10:17:54 [10:17:54.634]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:17:56 [10:17:56.099]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:17:56 [10:17:56.997]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:17:58 [10:17:58.213]
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)
10:17:58 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15
10:17:58 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:17:58 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:17:58 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
10:17:58 [10:17:58.216]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:17:59 [10:17:59.612]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:18:00 [10:18:00.915]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:18:02 [10:18:02.566]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:18:03 [10:18:03.992]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:18:05 [10:18:05.415]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:18:07 [10:18:07.131]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:18:09 [10:18:09.112]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:18:11 [10:18:11.808]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:18:13 [10:18:13.572]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:18:16 [10:18:16.546]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:18:18 [10:18:18.043]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:18:19 [10:18:19.593]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:18:21 [10:18:21.034]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:18:23 [10:18:23.065]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:18:24 [10:18:24.329]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:18:25 [10:18:25.514]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:18:26 [10:18:26.827]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:18:28 [10:18:28.092]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:18:29 [10:18:29.627]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:18:32 [10:18:32.175]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:18:34 [10:18:34.756]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:18:37 [10:18:37.460]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:18:40 [10:18:40.113]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:18:42 [10:18:42.782]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:18:45 [10:18:45.264]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:18:47 [10:18:47.647]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:18:50 [10:18:50.247]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:18:52 [10:18:52.636]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:18:55 [10:18:55.247]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:18:57 [10:18:57.951]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:00 [10:19:00.217]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:03 [10:19:03.335]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:04 [10:19:04.909]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:06 [10:19:06.404]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:07 [10:19:07.994]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:09 [10:19:09.554]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:11 [10:19:11.289]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:12 [10:19:12.908]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:14 [10:19:14.461]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:16 [10:19:16.394]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:18 [10:19:18.430]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:20 [10:19:20.342]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:22 [10:19:22.214]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x20b3fa739e560bac5c73fc87140563ee87ca7f21db6b30e1a7c0201ff28f69b3 for L2 block 1 has wrong index 10 (expected 0)
10:19:22 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
10:19:22 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:19:22 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:19:22 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:19:22 inboxMessage: {
10:19:22 index: 10n,
10:19:22 leaf: Fr<0x20b3fa739e560bac5c73fc87140563ee87ca7f21db6b30e1a7c0201ff28f69b3>,
10:19:22 l2BlockNumber: 1,
10:19:22 l1BlockNumber: 53n,
10:19:22 l1BlockHash: Buffer32<0x5c667ea8b9ce09b89f1685e3dcd0912b841048d3fe62b927299453cdfd159a41>,
10:19:22 rollingHash: Buffer16<0xda2f208bc97c5738ce0b7a38318ad5f9>
10:19:22 }
10:19:22 }
10:19:22 [10:19:22.219]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:23 [10:19:23.863]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x290737bd89df603ec2f8301b5537780677fb8ad95532a1e2ac985ea378ab3ce3 at block 12 (expected value in range [176, 192))
10:19:23 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
10:19:23 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:19:23 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:19:23 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:19:23 inboxMessage: {
10:19:23 index: 224n,
10:19:23 leaf: Fr<0x290737bd89df603ec2f8301b5537780677fb8ad95532a1e2ac985ea378ab3ce3>,
10:19:23 l2BlockNumber: 12,
10:19:23 l1BlockNumber: 1n,
10:19:23 l1BlockHash: Buffer32<0x0b4ffa7815bfe9d5d1a899ec2def686b28c23f4e87e7691ec1cd60cbae5e4583>,
10:19:23 rollingHash: Buffer16<0xc30c55af7cd37c7aa21694232c98d42e>
10:19:23 }
10:19:23 }
10:19:23 [10:19:23.866]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:25 [10:19:25.584]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x1f2aa91c11db324f7221cdd12a1c96ec11df068fec32d54996302dcc2afb1447 with index 16 (expected 0x4dc4fbdbb8a2ae6c3c0e3fef58f73338 from previous hash 0xaa7b5d9f2c7c274527ae1a91a940e1ba but got 0x01c44dc699b41bc7035bb0231c43eebb)
10:19:25 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
10:19:25 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:19:25 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:19:25 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:19:25 inboxMessage: {
10:19:25 index: 16n,
10:19:25 leaf: Fr<0x1f2aa91c11db324f7221cdd12a1c96ec11df068fec32d54996302dcc2afb1447>,
10:19:25 l2BlockNumber: 2,
10:19:25 l1BlockNumber: 73n,
10:19:25 l1BlockHash: Buffer32<0x39c6bb6fa3fd852ea5f5ed92e280fa0c7ecd4a8d8ea02394c12f208e778cd545>,
10:19:25 rollingHash: Buffer16<0x01c44dc699b41bc7035bb0231c43eebb>
10:19:25 }
10:19:25 }
10:19:25 [10:19:25.587]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:27 [10:19:27.452]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x094a18a289a925a1e3e9da4c64bd37ae35ac01230da657bb6ac7795769219683 with index 32 (expected 0xa2642230b430f59a5acf0370b8a934e5 from previous hash 0xe751310b7ae11fafb5f5373c2f75b8de but got 0x74c2115ca6829ee7c0be0c0570525100)
10:19:27 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
10:19:27 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:19:27 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:19:27 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:19:27 inboxMessage: {
10:19:27 index: 32n,
10:19:27 leaf: Fr<0x094a18a289a925a1e3e9da4c64bd37ae35ac01230da657bb6ac7795769219683>,
10:19:27 l2BlockNumber: 3,
10:19:27 l1BlockNumber: 3n,
10:19:27 l1BlockHash: Buffer32<0x8d3d90c9bd79da7dfa2709e9506f3896c01226f3e5dc084cc8ac1d0b6ee3dd27>,
10:19:27 rollingHash: Buffer16<0x74c2115ca6829ee7c0be0c0570525100>
10:19:27 }
10:19:27 }
10:19:27 [10:19:27.456]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:29 [10:19:29.188]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x16d4c6a222509356b26bbacd0cf4b4aa5f3d83f9a0f01e486d460d45a4f9fb86 at block 17 (expected value in range [256, 272))
10:19:29 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
10:19:29 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:19:29 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:19:29 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:19:29 inboxMessage: {
10:19:29 index: 356n,
10:19:29 leaf: Fr<0x16d4c6a222509356b26bbacd0cf4b4aa5f3d83f9a0f01e486d460d45a4f9fb86>,
10:19:29 l2BlockNumber: 17,
10:19:29 l1BlockNumber: 78n,
10:19:29 l1BlockHash: Buffer32<0x68913fb9e8342f0f3709fb48df0f6dc1de345fd1cd6309680d884bd2bf8ef4f2>,
10:19:29 rollingHash: Buffer16<0x7362a946d6f0d94957f9c8cfcd9e0b84>
10:19:29 }
10:19:29 }
10:19:29 [10:19:29.193]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:30 [10:19:30.999]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x0f20fe7730d1fe7b00cc5b41476a4ecc1f0078fe95dd7e3dd42cca8f1eda4d9d for L2 block 15 has wrong index 225 (expected 224)
10:19:30 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
10:19:30 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:19:30 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:19:30 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:19:30 inboxMessage: {
10:19:30 index: 225n,
10:19:31 leaf: Fr<0x0f20fe7730d1fe7b00cc5b41476a4ecc1f0078fe95dd7e3dd42cca8f1eda4d9d>,
10:19:31 l2BlockNumber: 15,
10:19:31 l1BlockNumber: 24n,
10:19:31 l1BlockHash: Buffer32<0xb9c6ba716f53e1b6f39f840a3ebe0f03b3a4c1846dd76e8b742dd579725a3e33>,
10:19:31 rollingHash: Buffer16<0x36732a72aa843b20eadc2b927d13a14c>
10:19:31 }
10:19:31 }
10:19:31 [10:19:31.002]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:32 [10:19:32.659]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x19f0234b88a323e93096db11a16528f227fede75b49babff70640c698e7eb85d at block 2 (expected value in range [16, 32))
10:19:32 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
10:19:32 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:19:32 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:19:32 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:19:32 inboxMessage: {
10:19:32 index: 32n,
10:19:32 leaf: Fr<0x19f0234b88a323e93096db11a16528f227fede75b49babff70640c698e7eb85d>,
10:19:32 l2BlockNumber: 2,
10:19:32 l1BlockNumber: 80n,
10:19:32 l1BlockHash: Buffer32<0x1cb821e96d8fad617ce9eae7f70bd4ea197df8ad907110e971dd765f8a272066>,
10:19:32 rollingHash: Buffer16<0xf8315873cab6b6203430d680a78b3245>
10:19:32 }
10:19:32 }
10:19:32 [10:19:32.663]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:34 [10:19:34.683]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
10:19:34 [10:19:34.721]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:36 [10:19:36.530]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
10:19:36 [10:19:36.551]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:38 [10:19:38.293]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:40 [10:19:40.090]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:41 [10:19:41.893]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:43 [10:19:43.801]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:45 [10:19:45.725]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:47 [10:19:47.552]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:49 [10:19:49.473]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:51 [10:19:51.099]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:52 [10:19:52.848]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:54 [10:19:54.593]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:56 [10:19:56.449]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:58 [10:19:58.267]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:59 [10:19:59.860]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:20:01 [10:20:01.660]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:20:03 [10:20:03.351]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:20:05 [10:20:05.254]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:20:08 [10:20:08.489]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:20:11 [10:20:11.848]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:20:15 [10:20:15.781]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:20:19 [10:20:19.038]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:20:24 [10:20:24.811]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:20:29 [10:20:29.886]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:20:34 [10:20:34.766]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:20:39 [10:20:39.703]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:20:44 [10:20:44.175]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:20:49 [10:20:49.221]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:20:54 [10:20:54.665]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:20:59
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
191.588 s)
10:20:59 KVArchiverDataStore
10:20:59 ArchiverStore
10:20:59 addBlocks
10:20:59
✓ returns success when adding blocks (1522 ms)
10:20:59
✓ allows duplicate blocks (1395 ms)
10:20:59
✓ throws an error if the previous block does not exist in the store (1030 ms)
10:20:59
✓ throws an error if there is a gap in the blocks being added (1254 ms)
10:20:59 unwindBlocks
10:20:59
✓ unwinding blocks will remove blocks from the chain (1465 ms)
10:20:59
✓ can unwind multiple empty blocks (897 ms)
10:20:59
✓ refuses to unwind blocks if the tip is not the last block (1217 ms)
10:20:59 getBlocks
10:20:59
✓ retrieves previously stored blocks (1393 ms)
10:20:59
✓ retrieves previously stored blocks (1304 ms)
10:20:59
✓ retrieves previously stored blocks (1650 ms)
10:20:59
✓ retrieves previously stored blocks (1426 ms)
10:20:59
✓ retrieves previously stored blocks (1419 ms)
10:20:59
✓ returns an empty array if no blocks are found (1717 ms)
10:20:59
✓ throws an error if limit is invalid (1974 ms)
10:20:59
✓ throws an error if `from` it is out of range (2696 ms)
10:20:59
✓ throws an error if unexpected initial block number is found (1766 ms)
10:20:59
✓ throws an error if a gap is found (2974 ms)
10:20:59 getSyncedL2BlockNumber
10:20:59
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1497 ms)
10:20:59
✓ returns the most recently added block's number (1548 ms)
10:20:59 getSynchPoint
10:20:59
✓ returns undefined if no blocks have been added (1440 ms)
10:20:59
✓ returns the L1 block number in which the most recent L2 block was published (2031 ms)
10:20:59
✓ returns the L1 block number that most recently added messages from inbox (1263 ms)
10:20:59
✓ returns the latest syncpoint if latest message is behind (1183 ms)
10:20:59 addLogs
10:20:59
✓ adds private & public logs (1313 ms)
10:20:59 deleteLogs
10:20:59
✓ deletes private & public logs (1264 ms)
10:20:59 getPrivateLogs
10:20:59
✓ gets added private logs (1534 ms)
10:20:59 getTxEffect
10:20:59
✓ retrieves a previously stored transaction (2548 ms)
10:20:59
✓ retrieves a previously stored transaction (2580 ms)
10:20:59
✓ retrieves a previously stored transaction (2703 ms)
10:20:59
✓ retrieves a previously stored transaction (2652 ms)
10:20:59
✓ retrieves a previously stored transaction (2668 ms)
10:20:59
✓ returns undefined if tx is not found (2482 ms)
10:20:59
✓ tries to retrieves a previously stored transaction after deleted (2383 ms)
10:20:59
✓ tries to retrieves a previously stored transaction after deleted (2599 ms)
10:20:59
✓ tries to retrieves a previously stored transaction after deleted (2388 ms)
10:20:59
✓ tries to retrieves a previously stored transaction after deleted (2610 ms)
10:20:59
✓ tries to retrieves a previously stored transaction after deleted (2702 ms)
10:20:59
✓ returns undefined if tx is not found (2267 ms)
10:20:59
✓ does not fail if the block is unwound while requesting a tx (3111 ms)
10:20:59 L1 to L2 Messages
10:20:59
✓ stores first message ever (1576 ms)
10:20:59
✓ stores single message (1495 ms)
10:20:59
✓ stores and returns messages across different blocks (1588 ms)
10:20:59
✓ stores the same messages again (1559 ms)
10:20:59
✓ stores and returns messages across different blocks with gaps (1734 ms)
10:20:59
✓ stores and returns messages with block numbers larger than a byte (1618 ms)
10:20:59
✓ stores and returns multiple messages per block (1554 ms)
10:20:59
✓ stores messages in multiple operations (1931 ms)
10:20:59
✓ iterates over messages from start index (2034 ms)
10:20:59
✓ iterates over messages in reverse (1910 ms)
10:20:59
✓ throws if messages are added out of order (1878 ms)
10:20:59
✓ throws if block number for the first message is out of order (1647 ms)
10:20:59
✓ throws if rolling hash is not correct (1720 ms)
10:20:59
✓ throws if rolling hash for first message is not correct (1868 ms)
10:20:59
✓ throws if index is not in the correct range (1735 ms)
10:20:59
✓ throws if first index in block has gaps (1810 ms)
10:20:59
✓ throws if index does not follow previous one (1660 ms)
10:20:59
✓ removes messages up to the given block number (2057 ms)
10:20:59
✓ removes messages starting with the given index (1829 ms)
10:20:59 contractInstances
10:20:59
✓ returns previously stored contract instances (1742 ms)
10:20:59
✓ returns undefined if contract instance is not found (1791 ms)
10:20:59
✓ returns undefined if previously stored contract instances was deleted (1809 ms)
10:20:59 contractInstanceUpdates
10:20:59
✓ gets the correct current class id for a contract not updated yet (1907 ms)
10:20:59
✓ gets the correct current class id for a contract that has just been updated (1917 ms)
10:20:59
✓ gets the correct current class id for a contract that was updated in the past (1832 ms)
10:20:59
✓ ignores updates for the wrong contract (1920 ms)
10:20:59
✓ bounds its search to the right contract if more than than one update exists (1627 ms)
10:20:59 contractClasses
10:20:59
✓ returns previously stored contract class (1744 ms)
10:20:59
✓ returns undefined if the initial deployed contract class was deleted (1746 ms)
10:20:59
✓ returns contract class if later "deployment" class was deleted (1856 ms)
10:20:59
✓ returns undefined if contract class is not found (1818 ms)
10:20:59
✓ adds new private functions (1590 ms)
10:20:59
✓ does not duplicate private functions (1800 ms)
10:20:59
✓ adds new utility functions (1691 ms)
10:20:59
✓ does not duplicate utility functions (1901 ms)
10:20:59 getLogsByTags
10:20:59
✓ is possible to batch request private logs via tags (3235 ms)
10:20:59
✓ is possible to batch request all logs (private and public) via tags (3357 ms)
10:20:59
✓ is possible to batch request logs that have the same tag but different content (3933 ms)
10:20:59
✓ is possible to request logs for non-existing tags and determine their position (3255 ms)
10:20:59 getPublicLogs
10:20:59
✓ no logs returned if deleted ("txHash" filter param is respected variant) (5772 ms)
10:20:59
✓ "txHash" filter param is respected (5076 ms)
10:20:59
✓ "fromBlock" and "toBlock" filter params are respected (4878 ms)
10:20:59
✓ "contractAddress" filter param is respected (4938 ms)
10:20:59
✓ "afterLog" filter param is respected (4471 ms)
10:20:59
✓ "txHash" filter param is ignored when "afterLog" is set (5045 ms)
10:20:59
✓ intersecting works (5442 ms)
10:20:59
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4725 ms)
10:20:59
10:20:59
Test Suites: 1 passed, 1 total
10:20:59
Tests: 86 passed, 86 total
10:20:59
Snapshots: 0 total
10:20:59
Time: 191.66 s
10:20:59
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
10:20:59
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?