Parent Log:
http://ci.aztec-labs.com/4550886f47cecaad
Command: 0ad117f24cdb9abe 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/9d6fb0bd1594726370a5f3a56591963452264642
Env: REF_NAME=gh-readonly-queue/next/pr-14985-47c749527b1c3cce3edd9defedc46e89ea00c69e CURRENT_VERSION=0.87.6 CI_FULL=0
Date: Fri Jun 13 17:27:54 UTC 2025
System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-14985_arm64_a1-fast
Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
17:27:56 [17:27:56.544]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:27:57 [17:27:57.785]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:27:59 [17:27:59.102]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:00 [17:28:00.083]
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
17:28:00 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
17:28:00 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:28:00 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:28:00 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:28:00 newBlockNumber: 2,
17:28:00 previousBlockNumber: undefined
17:28:00 }
17:28:00 [17:28:00.086]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:01 [17:28:01.184]
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
17:28:01 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17
17:28:01 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:28:01 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:28:01 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
17:28:01 [17:28:01.187]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:02 [17:28:02.384]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:03 [17:28:03.288]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:04 [17:28:04.428]
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)
17:28:04 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15
17:28:04 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:28:04 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:28:04 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
17:28:04 [17:28:04.429]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:05 [17:28:05.597]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:06 [17:28:06.769]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:08 [17:28:08.130]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:09 [17:28:09.382]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:10 [17:28:10.569]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:11 [17:28:11.734]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:12 [17:28:12.912]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:14 [17:28:14.074]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:15 [17:28:15.385]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:16 [17:28:16.955]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:17 [17:28:17.993]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:19 [17:28:19.285]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:20 [17:28:20.371]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:21 [17:28:21.679]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:22 [17:28:22.754]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:23 [17:28:23.830]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:24 [17:28:24.951]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:26 [17:28:26.165]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:27 [17:28:27.373]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:29 [17:28:29.266]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:31 [17:28:31.140]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:33 [17:28:33.077]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:34 [17:28:34.979]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:36 [17:28:36.873]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:38 [17:28:38.756]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:40 [17:28:40.767]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:42 [17:28:42.789]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:44 [17:28:44.862]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:46 [17:28:46.890]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:48 [17:28:48.925]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:50 [17:28:50.856]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:53 [17:28:53.144]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:54 [17:28:54.350]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:55 [17:28:55.559]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:56 [17:28:56.783]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:58 [17:28:58.025]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:59 [17:28:59.287]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:00 [17:29:00.553]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:01 [17:29:01.869]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:03 [17:29:03.227]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:04 [17:29:04.595]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:05 [17:29:05.955]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:07 [17:29:07.305]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x0b7602e588847c6e6eac8e4a4c3e9ca9b4081ae2f7cc2569f595628f8f61ba17 for L2 block 1 has wrong index 10 (expected 0)
17:29:07 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
17:29:07 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:29:07 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:29:07 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:29:07 inboxMessage: {
17:29:07 index: 10n,
17:29:07 leaf: Fr<0x0b7602e588847c6e6eac8e4a4c3e9ca9b4081ae2f7cc2569f595628f8f61ba17>,
17:29:07 l2BlockNumber: 1,
17:29:07 l1BlockNumber: 60n,
17:29:07 l1BlockHash: Buffer32<0xa894c139dda7e3b28b7fc6fdbba03b0138b56ff2197e6ac9b0de9085e968829e>,
17:29:07 rollingHash: Buffer16<0x1af9781e61c250285d69650818e6791f>
17:29:07 }
17:29:07 }
17:29:07 [17:29:07.308]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:08 [17:29:08.658]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x1280aefe7b0820801395efb20ef7170f05e9816d0642e819df9bd05bfaceac55 at block 12 (expected value in range [176, 192))
17:29:08 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
17:29:08 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:29:08 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:29:08 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:29:08 inboxMessage: {
17:29:08 index: 224n,
17:29:08 leaf: Fr<0x1280aefe7b0820801395efb20ef7170f05e9816d0642e819df9bd05bfaceac55>,
17:29:08 l2BlockNumber: 12,
17:29:08 l1BlockNumber: 51n,
17:29:08 l1BlockHash: Buffer32<0xc1e6c3f50907448878cf7ff7eb7bf53acc50719186a96ac199461fac82e3d487>,
17:29:08 rollingHash: Buffer16<0x0e513d37c8b0d25e15b90af2a64412fe>
17:29:08 }
17:29:08 }
17:29:08 [17:29:08.660]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:10 [17:29:10.046]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x2007c713844df0ff7f2983f6efa6e6a1340252add68dd04bdcc35f7439c1e35c with index 16 (expected 0x3a50837e14ef9453938809bba984731d from previous hash 0xc7f7c2414bedf7148c5734b17a8945dc but got 0x013373d1718bde969e2018b1b6f408d3)
17:29:10 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
17:29:10 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:29:10 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:29:10 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:29:10 inboxMessage: {
17:29:10 index: 16n,
17:29:10 leaf: Fr<0x2007c713844df0ff7f2983f6efa6e6a1340252add68dd04bdcc35f7439c1e35c>,
17:29:10 l2BlockNumber: 2,
17:29:10 l1BlockNumber: 77n,
17:29:10 l1BlockHash: Buffer32<0x6e72e5bf887fae3db6e17c350428fd9f19edbd85f57fdfb8417defcab205698c>,
17:29:10 rollingHash: Buffer16<0x013373d1718bde969e2018b1b6f408d3>
17:29:10 }
17:29:10 }
17:29:10 [17:29:10.048]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:11 [17:29:11.436]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x0eb19fb0defb4c57fae94385a898afbe841a1b3f0df0fa3d6d0a351526718c76 with index 32 (expected 0x7ac1e4726d44e1d46484119b16c75e5a from previous hash 0x74216eb70a9ac17a2c5ed2cdcd438e55 but got 0xb24312fbf3b9b462db6db9034384a944)
17:29:11 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
17:29:11 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:29:11 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:29:11 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:29:11 inboxMessage: {
17:29:11 index: 32n,
17:29:11 leaf: Fr<0x0eb19fb0defb4c57fae94385a898afbe841a1b3f0df0fa3d6d0a351526718c76>,
17:29:11 l2BlockNumber: 3,
17:29:11 l1BlockNumber: 35n,
17:29:11 l1BlockHash: Buffer32<0xdaa5eea19fd495650e0b6ba127b6998d816545dd00c3a0f0c5a2653cdf426805>,
17:29:11 rollingHash: Buffer16<0xb24312fbf3b9b462db6db9034384a944>
17:29:11 }
17:29:11 }
17:29:11 [17:29:11.438]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:12 [17:29:12.815]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x1cc3e2b1a56868858deb26617f7cdde0cb7cd4765aac0295a11adc3811cbb060 at block 17 (expected value in range [256, 272))
17:29:12 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
17:29:12 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:29:12 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:29:12 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:29:12 inboxMessage: {
17:29:12 index: 356n,
17:29:12 leaf: Fr<0x1cc3e2b1a56868858deb26617f7cdde0cb7cd4765aac0295a11adc3811cbb060>,
17:29:12 l2BlockNumber: 17,
17:29:12 l1BlockNumber: 20n,
17:29:12 l1BlockHash: Buffer32<0x8f7dcbd8143dedd3f41e2e5c4725b947c3ac81bf5dfd6fb9b5424910870d64f9>,
17:29:12 rollingHash: Buffer16<0x57532e52735cc7e9aebd4b1bcb918c3e>
17:29:12 }
17:29:12 }
17:29:12 [17:29:12.817]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:14 [17:29:14.205]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x271717854595e980568fa265a650e9886b60112cbcab686f4f15b02c35e9180e for L2 block 15 has wrong index 225 (expected 224)
17:29:14 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
17:29:14 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:29:14 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:29:14 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:29:14 inboxMessage: {
17:29:14 index: 225n,
17:29:14 leaf: Fr<0x271717854595e980568fa265a650e9886b60112cbcab686f4f15b02c35e9180e>,
17:29:14 l2BlockNumber: 15,
17:29:14 l1BlockNumber: 55n,
17:29:14 l1BlockHash: Buffer32<0xc73937b7b40915846b46205bd0e6de1c188a5b941818ce5ce9ca3b74f0cba539>,
17:29:14 rollingHash: Buffer16<0xba7ea82e106f8d03d5d126a9cf715d41>
17:29:14 }
17:29:14 }
17:29:14 [17:29:14.207]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:15 [17:29:15.605]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x28ca552e76dfaabf3d8c5bcfadb7feca96837033715a95bd2c6c0fc33173820f at block 2 (expected value in range [16, 32))
17:29:15 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
17:29:15 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:29:15 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:29:15 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:29:15 inboxMessage: {
17:29:15 index: 32n,
17:29:15 leaf: Fr<0x28ca552e76dfaabf3d8c5bcfadb7feca96837033715a95bd2c6c0fc33173820f>,
17:29:15 l2BlockNumber: 2,
17:29:15 l1BlockNumber: 2n,
17:29:15 l1BlockHash: Buffer32<0x6457c7f273147c0e2c171818e4ed1fca32eea7963f6a11f5683fa5f33771acaa>,
17:29:15 rollingHash: Buffer16<0x0ddbe3631b9fc5fda7bc4a6e8e98269b>
17:29:15 }
17:29:15 }
17:29:15 [17:29:15.607]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:17 [17:29:17.084]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
17:29:17 [17:29:17.118]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:18 [17:29:18.542]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
17:29:18 [17:29:18.560]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:19 [17:29:19.999]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:21 [17:29:21.453]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:22 [17:29:22.920]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:24 [17:29:24.411]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:25 [17:29:25.891]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:27 [17:29:27.410]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:28 [17:29:28.923]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:30 [17:29:30.429]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:31 [17:29:31.979]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:33 [17:29:33.481]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:35 [17:29:35.005]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:36 [17:29:36.538]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:38 [17:29:38.057]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:39 [17:29:39.548]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:41 [17:29:41.044]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:42 [17:29:42.583]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:45 [17:29:45.121]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:47 [17:29:47.639]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:50 [17:29:50.535]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:53 [17:29:53.111]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:29:57 [17:29:57.804]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:30:02 [17:30:02.141]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:30:06 [17:30:06.313]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:30:10 [17:30:10.436]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:30:14 [17:30:14.749]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:30:19 [17:30:19.229]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:30:23 [17:30:23.532]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:30:28
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
152.835 s)
17:30:28 KVArchiverDataStore
17:30:28 ArchiverStore
17:30:28 addBlocks
17:30:28
✓ returns success when adding blocks (1242 ms)
17:30:28
✓ allows duplicate blocks (1317 ms)
17:30:28
✓ throws an error if the previous block does not exist in the store (985 ms)
17:30:28
✓ throws an error if there is a gap in the blocks being added (1099 ms)
17:30:28 unwindBlocks
17:30:28
✓ unwinding blocks will remove blocks from the chain (1198 ms)
17:30:28
✓ can unwind multiple empty blocks (904 ms)
17:30:28
✓ refuses to unwind blocks if the tip is not the last block (1141 ms)
17:30:28 getBlocks
17:30:28
✓ retrieves previously stored blocks (1165 ms)
17:30:28
✓ retrieves previously stored blocks (1174 ms)
17:30:28
✓ retrieves previously stored blocks (1360 ms)
17:30:28
✓ retrieves previously stored blocks (1251 ms)
17:30:28
✓ retrieves previously stored blocks (1187 ms)
17:30:28
✓ returns an empty array if no blocks are found (1164 ms)
17:30:28
✓ throws an error if limit is invalid (1176 ms)
17:30:28
✓ throws an error if `from` it is out of range (1163 ms)
17:30:28
✓ throws an error if unexpected initial block number is found (1311 ms)
17:30:28
✓ throws an error if a gap is found (1569 ms)
17:30:28 getSyncedL2BlockNumber
17:30:28
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1038 ms)
17:30:28
✓ returns the most recently added block's number (1292 ms)
17:30:28 getSynchPoint
17:30:28
✓ returns undefined if no blocks have been added (1085 ms)
17:30:28
✓ returns the L1 block number in which the most recent L2 block was published (1307 ms)
17:30:28
✓ returns the L1 block number that most recently added messages from inbox (1071 ms)
17:30:28
✓ returns the latest syncpoint if latest message is behind (1079 ms)
17:30:28 addLogs
17:30:28
✓ adds private & public logs (1121 ms)
17:30:28 deleteLogs
17:30:28
✓ deletes private & public logs (1213 ms)
17:30:28 getPrivateLogs
17:30:28
✓ gets added private logs (1207 ms)
17:30:28 getTxEffect
17:30:28
✓ retrieves a previously stored transaction (1893 ms)
17:30:28
✓ retrieves a previously stored transaction (1873 ms)
17:30:28
✓ retrieves a previously stored transaction (1937 ms)
17:30:28
✓ retrieves a previously stored transaction (1901 ms)
17:30:28
✓ retrieves a previously stored transaction (1893 ms)
17:30:28
✓ returns undefined if tx is not found (1884 ms)
17:30:28
✓ tries to retrieves a previously stored transaction after deleted (2011 ms)
17:30:28
✓ tries to retrieves a previously stored transaction after deleted (2022 ms)
17:30:28
✓ tries to retrieves a previously stored transaction after deleted (2072 ms)
17:30:28
✓ tries to retrieves a previously stored transaction after deleted (2027 ms)
17:30:28
✓ tries to retrieves a previously stored transaction after deleted (2035 ms)
17:30:28
✓ returns undefined if tx is not found (1931 ms)
17:30:28
✓ does not fail if the block is unwound while requesting a tx (2288 ms)
17:30:28 L1 to L2 Messages
17:30:28
✓ stores first message ever (1206 ms)
17:30:28
✓ stores single message (1209 ms)
17:30:28
✓ stores and returns messages across different blocks (1224 ms)
17:30:28
✓ stores the same messages again (1239 ms)
17:30:28
✓ stores and returns messages across different blocks with gaps (1264 ms)
17:30:28
✓ stores and returns messages with block numbers larger than a byte (1265 ms)
17:30:28
✓ stores and returns multiple messages per block (1316 ms)
17:30:28
✓ stores messages in multiple operations (1358 ms)
17:30:28
✓ iterates over messages from start index (1368 ms)
17:30:28
✓ iterates over messages in reverse (1360 ms)
17:30:28
✓ throws if messages are added out of order (1352 ms)
17:30:28
✓ throws if block number for the first message is out of order (1352 ms)
17:30:28
✓ throws if rolling hash is not correct (1388 ms)
17:30:28
✓ throws if rolling hash for first message is not correct (1390 ms)
17:30:28
✓ throws if index is not in the correct range (1379 ms)
17:30:28
✓ throws if first index in block has gaps (1390 ms)
17:30:28
✓ throws if index does not follow previous one (1400 ms)
17:30:28
✓ removes messages up to the given block number (1511 ms)
17:30:28
✓ removes messages starting with the given index (1441 ms)
17:30:28 contractInstances
17:30:28
✓ returns previously stored contract instances (1438 ms)
17:30:28
✓ returns undefined if contract instance is not found (1451 ms)
17:30:28
✓ returns undefined if previously stored contract instances was deleted (1470 ms)
17:30:28 contractInstanceUpdates
17:30:28
✓ gets the correct current class id for a contract not updated yet (1490 ms)
17:30:28
✓ gets the correct current class id for a contract that has just been updated (1479 ms)
17:30:28
✓ gets the correct current class id for a contract that was updated in the past (1517 ms)
17:30:28
✓ ignores updates for the wrong contract (1513 ms)
17:30:28
✓ bounds its search to the right contract if more than than one update exists (1506 ms)
17:30:28 contractClasses
17:30:28
✓ returns previously stored contract class (1549 ms)
17:30:28
✓ returns undefined if the initial deployed contract class was deleted (1501 ms)
17:30:28
✓ returns contract class if later "deployment" class was deleted (1523 ms)
17:30:28
✓ returns undefined if contract class is not found (1532 ms)
17:30:28
✓ adds new private functions (1518 ms)
17:30:28
✓ does not duplicate private functions (1490 ms)
17:30:28
✓ adds new utility functions (1496 ms)
17:30:28
✓ does not duplicate utility functions (1538 ms)
17:30:28 getLogsByTags
17:30:28
✓ is possible to batch request private logs via tags (2537 ms)
17:30:28
✓ is possible to batch request all logs (private and public) via tags (2518 ms)
17:30:28
✓ is possible to batch request logs that have the same tag but different content (2895 ms)
17:30:28
✓ is possible to request logs for non-existing tags and determine their position (2575 ms)
17:30:28 getPublicLogs
17:30:28
✓ no logs returned if deleted ("txHash" filter param is respected variant) (4692 ms)
17:30:28
✓ "txHash" filter param is respected (4337 ms)
17:30:28
✓ "fromBlock" and "toBlock" filter params are respected (4172 ms)
17:30:28
✓ "contractAddress" filter param is respected (4122 ms)
17:30:28
✓ "afterLog" filter param is respected (4312 ms)
17:30:28
✓ "txHash" filter param is ignored when "afterLog" is set (4480 ms)
17:30:28
✓ intersecting works (4304 ms)
17:30:28
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4528 ms)
17:30:28
17:30:28
Test Suites: 1 passed, 1 total
17:30:28
Tests: 86 passed, 86 total
17:30:28
Snapshots: 0 total
17:30:28
Time: 152.913 s
17:30:28
Ran all test suites matching /archiver\/src\/archiver\/kv_archiver_store\/kv_archiver_store.test.ts/i
.
17:30:28
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?