Parent Log:
http://ci.aztec-labs.com/3f5c58d0c8cd50db
Command: ca4daf70a894f3c3 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/f0619dd82429a5973f3e1da8d7eb0877264908e3
Env: REF_NAME=gh-readonly-queue/next/pr-15188-ef6780e77e5f82f98ddfe92fd387cfd5fa7682e8 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 20 16:10:25 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15188_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
16:10:27 [16:10:27.989]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:10:29 [16:10:29.588]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:10:31 [16:10:31.364]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:10:32 [16:10:32.638]
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
16:10:32 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
16:10:32 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:10:32 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:10:32 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:10:32 newBlockNumber: 2,
16:10:32 previousBlockNumber: undefined
16:10:32 }
16:10:32 [16:10:32.642]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:10:33 [16:10:33.885]
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
16:10:33 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:96:17
16:10:33 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:10:33 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:10:33 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
16:10:33 [16:10:33.888]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:10:35 [16:10:35.327]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:10:36 [16:10:36.354]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:10:37 [16:10:37.741]
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)
16:10:37 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:141:15
16:10:37 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:10:37 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:10:37 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
16:10:37 [16:10:37.745]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:10:39 [16:10:39.189]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:10:40 [16:10:40.608]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:10:42 [16:10:42.354]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:10:44 [16:10:44.703]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:10:46 [16:10:46.716]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:10:48 [16:10:48.583]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:10:50 [16:10:50.694]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:10:52 [16:10:52.558]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:10:54 [16:10:54.604]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:10:56 [16:10:56.772]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:10:58 [16:10:58.235]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:11:00 [16:11:00.130]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:11:01 [16:11:01.389]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:11:02 [16:11:02.916]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:11:04 [16:11:04.184]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:11:05 [16:11:05.487]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:11:07 [16:11:07.014]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:11:08 [16:11:08.538]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:11:09 [16:11:09.966]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:11:12 [16:11:12.685]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:11:15 [16:11:15.182]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:11:18 [16:11:18.064]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:11:20 [16:11:20.711]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:11:23 [16:11:23.373]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:11:25 [16:11:25.869]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:11:28 [16:11:28.604]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:11:31 [16:11:31.374]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:11:34 [16:11:34.223]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:11:36 [16:11:36.967]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:11:39 [16:11:39.636]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:11:42 [16:11:42.143]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:11:45 [16:11:45.301]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:11:46 [16:11:46.897]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:11:48 [16:11:48.363]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:11:49 [16:11:49.701]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:11:51 [16:11:51.042]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:11:52 [16:11:52.625]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:11:54 [16:11:54.084]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:11:55 [16:11:55.868]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:11:57 [16:11:57.743]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:11:59 [16:11:59.594]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:12:01 [16:12:01.590]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:12:03 [16:12:03.617]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x2bdfe3a71de50bad8c040cdf6436f10aaeaf66adf7cd7a2750d24a00dd2a0384 for L2 block 1 has wrong index 10 (expected 0)
16:12:03 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
16:12:03 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:12:03 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:12:03 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:12:03 inboxMessage: {
16:12:03 index: 10n,
16:12:03 leaf: Fr<0x2bdfe3a71de50bad8c040cdf6436f10aaeaf66adf7cd7a2750d24a00dd2a0384>,
16:12:03 l2BlockNumber: 1,
16:12:03 l1BlockNumber: 35n,
16:12:03 l1BlockHash: Buffer32<0xb75a8744a8a5822cc494df7de09c156335994cba57455d03516d76f8c7464ea0>,
16:12:03 rollingHash: Buffer16<0x1b709879dc8deab1c555a166d5707585>
16:12:03 }
16:12:03 }
16:12:03 [16:12:03.621]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:12:05 [16:12:05.561]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x04929256a8cc0f8066c2be3983b92e503a84c493ab4997c61fa8084ad1ee92b6 at block 12 (expected value in range [176, 192))
16:12:05 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
16:12:05 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:12:05 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:12:05 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:12:05 inboxMessage: {
16:12:05 index: 224n,
16:12:05 leaf: Fr<0x04929256a8cc0f8066c2be3983b92e503a84c493ab4997c61fa8084ad1ee92b6>,
16:12:05 l2BlockNumber: 12,
16:12:05 l1BlockNumber: 30n,
16:12:05 l1BlockHash: Buffer32<0x348bf62ac01d8f4c52e30df16b20e5a46f0c3b562d3125414b828f207bd17102>,
16:12:05 rollingHash: Buffer16<0x5e55a8e77a73a691f5aeabb6bfea1aef>
16:12:05 }
16:12:05 }
16:12:05 [16:12:05.566]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:12:07 [16:12:07.255]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x1ef78d0774f00686e5bd7384a18fcd7cc21b8b9e413f843f6265e72bff44b0d4 with index 16 (expected 0xd787e6da50af12ecd4a190aeb4ae9d5f from previous hash 0x9e07cc75022c0ef30be0463baa9c7bcd but got 0x04d2a5678dca9a13cc1feeb8577c5959)
16:12:07 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
16:12:07 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:12:07 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:12:07 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:12:07 inboxMessage: {
16:12:07 index: 16n,
16:12:07 leaf: Fr<0x1ef78d0774f00686e5bd7384a18fcd7cc21b8b9e413f843f6265e72bff44b0d4>,
16:12:07 l2BlockNumber: 2,
16:12:07 l1BlockNumber: 97n,
16:12:07 l1BlockHash: Buffer32<0x701237e5b4dcbdfff62a9d465adafa11cbd526d5b8f09328e84fe27b834f0f2c>,
16:12:07 rollingHash: Buffer16<0x04d2a5678dca9a13cc1feeb8577c5959>
16:12:07 }
16:12:07 }
16:12:07 [16:12:07.259]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:12:09 [16:12:09.099]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x100ed31c0afac2a12505e05ea9090597cfc90889129ac6c9629243481b7ec574 with index 32 (expected 0x97d12c74e0947cccc25530e27f186897 from previous hash 0x03448b91ecfeddde427551f2ff5ae3e9 but got 0xcb833b402c7721bcb30a0c7b45747f47)
16:12:09 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
16:12:09 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:12:09 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:12:09 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:12:09 inboxMessage: {
16:12:09 index: 32n,
16:12:09 leaf: Fr<0x100ed31c0afac2a12505e05ea9090597cfc90889129ac6c9629243481b7ec574>,
16:12:09 l2BlockNumber: 3,
16:12:09 l1BlockNumber: 4n,
16:12:09 l1BlockHash: Buffer32<0x31418bd6e7658e02df19722f096625478f8a02c0fec248696a997545015d5196>,
16:12:09 rollingHash: Buffer16<0xcb833b402c7721bcb30a0c7b45747f47>
16:12:09 }
16:12:09 }
16:12:09 [16:12:09.105]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:12:11 [16:12:11.076]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x1b81a27526e1f1d650727dd1e08db4e50a4b7cf82d3e843c13d579d81f72965e at block 17 (expected value in range [256, 272))
16:12:11 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
16:12:11 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:12:11 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:12:11 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:12:11 inboxMessage: {
16:12:11 index: 356n,
16:12:11 leaf: Fr<0x1b81a27526e1f1d650727dd1e08db4e50a4b7cf82d3e843c13d579d81f72965e>,
16:12:11 l2BlockNumber: 17,
16:12:11 l1BlockNumber: 32n,
16:12:11 l1BlockHash: Buffer32<0x66c21006f858a6a9d39a27aed02a97dcc1dd8816644ab21719b5938fb6583d85>,
16:12:11 rollingHash: Buffer16<0x6652eebd265e0fefcc99ad47ddf0c950>
16:12:11 }
16:12:11 }
16:12:11 [16:12:11.081]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:12:12 [16:12:12.983]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x2c51b0a9138adee4187d79c58c5d5a41b26c1806f192831e92e79e1cd26a882f for L2 block 15 has wrong index 225 (expected 224)
16:12:12 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
16:12:12 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:12:12 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:12:12 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:12:12 inboxMessage: {
16:12:12 index: 225n,
16:12:12 leaf: Fr<0x2c51b0a9138adee4187d79c58c5d5a41b26c1806f192831e92e79e1cd26a882f>,
16:12:12 l2BlockNumber: 15,
16:12:12 l1BlockNumber: 20n,
16:12:12 l1BlockHash: Buffer32<0xcff4ce013a40cecc9e12d514f0257383f6c66c986d72a643f2ea520a693056a4>,
16:12:12 rollingHash: Buffer16<0x407a10a016e18dc9e814e0d55b55aae6>
16:12:12 }
16:12:12 }
16:12:12 [16:12:12.987]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:12:14 [16:12:14.877]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x15dc5b4bf8070c40164a0fde7cd08dc2b231168c92a95ba5ccd9bb21a86be53a at block 2 (expected value in range [16, 32))
16:12:14 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
16:12:14 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:12:14 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:12:14 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:12:14 inboxMessage: {
16:12:14 index: 32n,
16:12:14 leaf: Fr<0x15dc5b4bf8070c40164a0fde7cd08dc2b231168c92a95ba5ccd9bb21a86be53a>,
16:12:14 l2BlockNumber: 2,
16:12:14 l1BlockNumber: 31n,
16:12:14 l1BlockHash: Buffer32<0x65d41a3888437a68294516e893ceeea513edf1b654ea69b1f74b182e8e047923>,
16:12:14 rollingHash: Buffer16<0x7c97c28f8b2358edd1a2b40dc57c7290>
16:12:14 }
16:12:14 }
16:12:14 [16:12:14.880]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:12:16 [16:12:16.738]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
16:12:16 [16:12:16.783]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:12:18 [16:12:18.472]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
16:12:18 [16:12:18.490]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:12:20 [16:12:20.413]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:12:22 [16:12:22.258]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:12:24 [16:12:24.336]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:12:26 [16:12:26.046]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:12:27 [16:12:27.644]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:12:29 [16:12:29.650]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:12:31 [16:12:31.455]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:12:33 [16:12:33.475]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:12:35 [16:12:35.500]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:12:37 [16:12:37.545]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:12:39 [16:12:39.603]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:12:41 [16:12:41.505]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:12:43 [16:12:43.588]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:12:45 [16:12:45.618]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:12:47 [16:12:47.558]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:12:49 [16:12:49.480]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:12:53 [16:12:53.141]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:12:56 [16:12:56.590]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:13:00 [16:13:00.438]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:13:03 [16:13:03.852]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:13:09 [16:13:09.211]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:13:15 [16:13:15.103]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:13:20 [16:13:20.505]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:13:26 [16:13:26.369]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:13:31 [16:13:31.634]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:13:35 [16:13:35.844]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:13:40 [16:13:40.047]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:13:44
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
197.874 s)
16:13:44 KVArchiverDataStore
16:13:44 ArchiverStore
16:13:44 addBlocks
16:13:44
✓ returns success when adding blocks (1614 ms)
16:13:44
✓ allows duplicate blocks (1777 ms)
16:13:44
✓ throws an error if the previous block does not exist in the store (1279 ms)
16:13:44
✓ throws an error if there is a gap in the blocks being added (1246 ms)
16:13:44 unwindBlocks
16:13:44
✓ unwinding blocks will remove blocks from the chain (1439 ms)
16:13:44
✓ can unwind multiple empty blocks (1025 ms)
16:13:44
✓ refuses to unwind blocks if the tip is not the last block (1390 ms)
16:13:44 getBlocks
16:13:44
✓ retrieves previously stored blocks (1442 ms)
16:13:44
✓ retrieves previously stored blocks (1420 ms)
16:13:44
✓ retrieves previously stored blocks (1745 ms)
16:13:44
✓ retrieves previously stored blocks (2349 ms)
16:13:44
✓ retrieves previously stored blocks (2011 ms)
16:13:44
✓ returns an empty array if no blocks are found (1866 ms)
16:13:44
✓ throws an error if limit is invalid (2112 ms)
16:13:44
✓ throws an error if `from` it is out of range (1863 ms)
16:13:44
✓ throws an error if unexpected initial block number is found (2033 ms)
16:13:44
✓ throws an error if a gap is found (2165 ms)
16:13:44 getSyncedL2BlockNumber
16:13:44
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1465 ms)
16:13:44
✓ returns the most recently added block's number (1895 ms)
16:13:44 getSynchPoint
16:13:44
✓ returns undefined if no blocks have been added (1258 ms)
16:13:44
✓ returns the L1 block number in which the most recent L2 block was published (1527 ms)
16:13:44
✓ returns the L1 block number that most recently added messages from inbox (1265 ms)
16:13:44
✓ returns the latest syncpoint if latest message is behind (1304 ms)
16:13:44 addLogs
16:13:44
✓ adds private & public logs (1526 ms)
16:13:44 deleteLogs
16:13:44
✓ deletes private & public logs (1524 ms)
16:13:44 getPrivateLogs
16:13:44
✓ gets added private logs (1427 ms)
16:13:44 getTxEffect
16:13:44
✓ retrieves a previously stored transaction (2718 ms)
16:13:44
✓ retrieves a previously stored transaction (2495 ms)
16:13:44
✓ retrieves a previously stored transaction (2883 ms)
16:13:44
✓ retrieves a previously stored transaction (2648 ms)
16:13:44
✓ retrieves a previously stored transaction (2644 ms)
16:13:44
✓ returns undefined if tx is not found (2513 ms)
16:13:44
✓ tries to retrieves a previously stored transaction after deleted (2734 ms)
16:13:44
✓ tries to retrieves a previously stored transaction after deleted (2770 ms)
16:13:44
✓ tries to retrieves a previously stored transaction after deleted (2848 ms)
16:13:44
✓ tries to retrieves a previously stored transaction after deleted (2743 ms)
16:13:44
✓ tries to retrieves a previously stored transaction after deleted (2667 ms)
16:13:44
✓ returns undefined if tx is not found (2506 ms)
16:13:44
✓ does not fail if the block is unwound while requesting a tx (3159 ms)
16:13:44 L1 to L2 Messages
16:13:44
✓ stores first message ever (1594 ms)
16:13:44
✓ stores single message (1467 ms)
16:13:44
✓ stores and returns messages across different blocks (1336 ms)
16:13:44
✓ stores the same messages again (1342 ms)
16:13:44
✓ stores and returns messages across different blocks with gaps (1581 ms)
16:13:44
✓ stores and returns messages with block numbers larger than a byte (1461 ms)
16:13:44
✓ stores and returns multiple messages per block (1783 ms)
16:13:44
✓ stores messages in multiple operations (1875 ms)
16:13:44
✓ iterates over messages from start index (1850 ms)
16:13:44
✓ iterates over messages in reverse (1990 ms)
16:13:44
✓ throws if messages are added out of order (2036 ms)
16:13:44
✓ throws if block number for the first message is out of order (1944 ms)
16:13:44
✓ throws if rolling hash is not correct (1692 ms)
16:13:44
✓ throws if rolling hash for first message is not correct (1844 ms)
16:13:44
✓ throws if index is not in the correct range (1976 ms)
16:13:44
✓ throws if first index in block has gaps (1907 ms)
16:13:44
✓ throws if index does not follow previous one (1893 ms)
16:13:44
✓ removes messages up to the given block number (1902 ms)
16:13:44
✓ removes messages starting with the given index (1707 ms)
16:13:44 contractInstances
16:13:44
✓ returns previously stored contract instances (1922 ms)
16:13:44
✓ returns undefined if contract instance is not found (1845 ms)
16:13:44
✓ returns undefined if previously stored contract instances was deleted (2076 ms)
16:13:44 contractInstanceUpdates
16:13:44
✓ gets the correct current class id for a contract not updated yet (1708 ms)
16:13:44
✓ gets the correct current class id for a contract that has just been updated (1598 ms)
16:13:44
✓ gets the correct current class id for a contract that was updated in the past (2000 ms)
16:13:44
✓ ignores updates for the wrong contract (1809 ms)
16:13:44
✓ bounds its search to the right contract if more than than one update exists (2016 ms)
16:13:44 contractClasses
16:13:44
✓ returns previously stored contract class (2026 ms)
16:13:44
✓ returns undefined if the initial deployed contract class was deleted (2042 ms)
16:13:44
✓ returns contract class if later "deployment" class was deleted (2060 ms)
16:13:44
✓ returns undefined if contract class is not found (1900 ms)
16:13:44
✓ adds new private functions (2083 ms)
16:13:44
✓ does not duplicate private functions (2028 ms)
16:13:44
✓ adds new utility functions (1938 ms)
16:13:44
✓ does not duplicate utility functions (1920 ms)
16:13:44 getLogsByTags
16:13:44
✓ is possible to batch request private logs via tags (3660 ms)
16:13:44
✓ is possible to batch request all logs (private and public) via tags (3448 ms)
16:13:44
✓ is possible to batch request logs that have the same tag but different content (3847 ms)
16:13:44
✓ is possible to request logs for non-existing tags and determine their position (3413 ms)
16:13:44 getPublicLogs
16:13:44
✓ no logs returned if deleted ("txHash" filter param is respected variant) (5356 ms)
16:13:44
✓ "txHash" filter param is respected (5893 ms)
16:13:44
✓ "fromBlock" and "toBlock" filter params are respected (5402 ms)
16:13:44
✓ "contractAddress" filter param is respected (5862 ms)
16:13:44
✓ "afterLog" filter param is respected (5265 ms)
16:13:44
✓ "txHash" filter param is ignored when "afterLog" is set (4209 ms)
16:13:44
✓ intersecting works (4202 ms)
16:13:44
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (3948 ms)
16:13:44
16:13:44
Test Suites: 1 passed, 1 total
16:13:44
Tests: 86 passed, 86 total
16:13:44
Snapshots: 0 total
16:13:44
Time: 197.962 s
16:13:44
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
16:13:44
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?