Parent Log:
http://ci.aztec-labs.com/6013413449bf1ea6
Command: 1f25be2e8c7902e7 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/17ea18ade041a1bb437806e047c30b29da124094
Env: REF_NAME=gh-readonly-queue/next/pr-15007-4c695be4bff40a4a2ca2118c7e14c83a104e93aa CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Wed Jun 18 17:25:33 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15007_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
17:25:36 [17:25:36.365]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:25:37 [17:25:37.964]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:25:39 [17:25:39.617]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:25:40 [17:25:40.679]
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:25:40 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
17:25:40 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:25:40 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:25:40 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:25:40 newBlockNumber: 2,
17:25:40 previousBlockNumber: undefined
17:25:40 }
17:25:40 [17:25:40.684]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:25:42 [17:25:42.048]
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:25:42 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:96:17
17:25:42 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:25:42 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:25:42 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
17:25:42 [17:25:42.052]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:25:43 [17:25:43.529]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:25:44 [17:25:44.633]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:25:45 [17:25:45.976]
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:25:45 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:141:15
17:25:45 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:25:45 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:25:45 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
17:25:45 [17:25:45.978]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:25:47 [17:25:47.345]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:25:49 [17:25:49.084]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:25:51 [17:25:51.113]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:25:52 [17:25:52.721]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:25:54 [17:25:54.548]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:25:56 [17:25:56.716]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:25:59 [17:25:59.271]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:26:00 [17:26:00.989]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:26:03 [17:26:03.672]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:26:05 [17:26:05.999]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:26:07 [17:26:07.563]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:26:09 [17:26:09.627]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:26:10 [17:26:10.942]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:26:12 [17:26:12.790]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:26:14 [17:26:14.181]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:26:15 [17:26:15.571]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:26:16 [17:26:16.994]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:26:18 [17:26:18.674]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:26:20 [17:26:20.229]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:26:23 [17:26:23.159]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:26:25 [17:26:25.702]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:26:28 [17:26:28.183]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:26:30 [17:26:30.892]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:26:33 [17:26:33.720]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:26:36 [17:26:36.087]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:26:39 [17:26:39.090]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:26:41 [17:26:41.737]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:26:44 [17:26:44.411]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:26:47 [17:26:47.105]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:26:49 [17:26:49.822]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:26:52 [17:26:52.451]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:26:55 [17:26:55.582]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:26:57 [17:26:57.134]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:26:58 [17:26:58.657]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:27:00 [17:27:00.317]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:27:01 [17:27:01.905]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:27:03 [17:27:03.809]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:27:05 [17:27:05.644]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:27:07 [17:27:07.463]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:27:09 [17:27:09.396]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:27:11 [17:27:11.459]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:27:13 [17:27:13.634]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:27:15 [17:27:15.675]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x0a8d62f5d13da448d41978310e89dc3e764deac98a6710de36ae4111c813e770 for L2 block 1 has wrong index 10 (expected 0)
17:27:15 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
17:27:15 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:27:15 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:27:15 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:27:15 inboxMessage: {
17:27:15 index: 10n,
17:27:15 leaf: Fr<0x0a8d62f5d13da448d41978310e89dc3e764deac98a6710de36ae4111c813e770>,
17:27:15 l2BlockNumber: 1,
17:27:15 l1BlockNumber: 50n,
17:27:15 l1BlockHash: Buffer32<0xc72a00a46870223cc4e171bf952ace51ca3030a4a2e7b6478b4aa495a7eb60b9>,
17:27:15 rollingHash: Buffer16<0x0656b8eea222ae47fb8a77d69afec678>
17:27:15 }
17:27:15 }
17:27:15 [17:27:15.679]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:27:17 [17:27:17.665]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x044d5f02882787737db23a1955049bc4f30e4a5b94cb05109361bccac4731035 at block 12 (expected value in range [176, 192))
17:27:17 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
17:27:17 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:27:17 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:27:17 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:27:17 inboxMessage: {
17:27:17 index: 224n,
17:27:17 leaf: Fr<0x044d5f02882787737db23a1955049bc4f30e4a5b94cb05109361bccac4731035>,
17:27:17 l2BlockNumber: 12,
17:27:17 l1BlockNumber: 14n,
17:27:17 l1BlockHash: Buffer32<0x3dbab2fed39953f822516a95fd4746f63e96bbf0353b944081bc789ee39ce214>,
17:27:17 rollingHash: Buffer16<0xfd590b3fa84959ef4a00a477a84c28b0>
17:27:17 }
17:27:17 }
17:27:17 [17:27:17.668]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:27:19 [17:27:19.418]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x27ee33c50b0e038ad17966f90cfbb8fceeaeae4c1a8596546c8ddcfb01417db7 with index 16 (expected 0x43850f34c5a72e0b4a4afeb6fadfc832 from previous hash 0xd1b9e28c9019e40d07809714e49c02e1 but got 0x6d1dcbcb3575fecc8ca9c524eda8a9b2)
17:27:19 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
17:27:19 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:27:19 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:27:19 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:27:19 inboxMessage: {
17:27:19 index: 16n,
17:27:19 leaf: Fr<0x27ee33c50b0e038ad17966f90cfbb8fceeaeae4c1a8596546c8ddcfb01417db7>,
17:27:19 l2BlockNumber: 2,
17:27:19 l1BlockNumber: 40n,
17:27:19 l1BlockHash: Buffer32<0xbc05cb85c102476fcdb286803572d4373756201c914f936a037b185f11e2bdf8>,
17:27:19 rollingHash: Buffer16<0x6d1dcbcb3575fecc8ca9c524eda8a9b2>
17:27:19 }
17:27:19 }
17:27:19 [17:27:19.422]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:27:21 [17:27:21.323]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x0356745b7c829d01570f8440f18d4e4a81f7f4c7588e149852da4911cadd9cdc with index 32 (expected 0x79e6028c081302b67965fc06754d4b02 from previous hash 0xbdc7ff5337dbd9116576e171f850acce but got 0x272a0878716be16718ad1c6fa4984e1e)
17:27:21 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
17:27:21 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:27:21 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:27:21 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:27:21 inboxMessage: {
17:27:21 index: 32n,
17:27:21 leaf: Fr<0x0356745b7c829d01570f8440f18d4e4a81f7f4c7588e149852da4911cadd9cdc>,
17:27:21 l2BlockNumber: 3,
17:27:21 l1BlockNumber: 47n,
17:27:21 l1BlockHash: Buffer32<0x460ab245c66861c0362b69a3a758104aa64fe3b2e1e5a842f3b6bb216c51cfcc>,
17:27:21 rollingHash: Buffer16<0x272a0878716be16718ad1c6fa4984e1e>
17:27:21 }
17:27:21 }
17:27:21 [17:27:21.326]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:27:23 [17:27:23.386]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x16faf1002c8753e4f6a8122b52c7cf0137f4c656678a127a7360a2cd3b9a51b1 at block 17 (expected value in range [256, 272))
17:27:23 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
17:27:23 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:27:23 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:27:23 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:27:23 inboxMessage: {
17:27:23 index: 356n,
17:27:23 leaf: Fr<0x16faf1002c8753e4f6a8122b52c7cf0137f4c656678a127a7360a2cd3b9a51b1>,
17:27:23 l2BlockNumber: 17,
17:27:23 l1BlockNumber: 19n,
17:27:23 l1BlockHash: Buffer32<0x8246812c2c3577fa6e1a0961b8918e6a880242d2fc0eb83931acbb6190a64c63>,
17:27:23 rollingHash: Buffer16<0x7205fa86cb850e8600931ca1e472d771>
17:27:23 }
17:27:23 }
17:27:23 [17:27:23.388]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:27:25 [17:27:25.145]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x2bd1d6928bc4be48e7cbffc5ed0d579cb016605a17669e44c29b8a2b54ad2cf9 for L2 block 15 has wrong index 225 (expected 224)
17:27:25 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
17:27:25 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:27:25 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:27:25 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:27:25 inboxMessage: {
17:27:25 index: 225n,
17:27:25 leaf: Fr<0x2bd1d6928bc4be48e7cbffc5ed0d579cb016605a17669e44c29b8a2b54ad2cf9>,
17:27:25 l2BlockNumber: 15,
17:27:25 l1BlockNumber: 17n,
17:27:25 l1BlockHash: Buffer32<0x983227adf11a9ba74afb23c69df70b23ff4a7a7909ac7248b8d85a305d39fee8>,
17:27:25 rollingHash: Buffer16<0xa3ea12a9993cdd0194a25f5f4cf3c687>
17:27:25 }
17:27:25 }
17:27:25 [17:27:25.148]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:27:26 [17:27:26.632]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x03371875eb9590578b71870b701e257bbee730e5b6d78306215cef65239f195d at block 2 (expected value in range [16, 32))
17:27:26 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
17:27:26 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:27:26 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:27:26 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:27:26 inboxMessage: {
17:27:26 index: 32n,
17:27:26 leaf: Fr<0x03371875eb9590578b71870b701e257bbee730e5b6d78306215cef65239f195d>,
17:27:26 l2BlockNumber: 2,
17:27:26 l1BlockNumber: 80n,
17:27:26 l1BlockHash: Buffer32<0x46ae6abb8fae3c6b6d421fc0c483ebb9042390e4374ef9968cb8754ba53e664b>,
17:27:26 rollingHash: Buffer16<0xad3c28a771b1e13a42df1698e5bb0297>
17:27:26 }
17:27:26 }
17:27:26 [17:27:26.634]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:27:28 [17:27:28.388]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
17:27:28 [17:27:28.418]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:27:30 [17:27:30.469]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
17:27:30 [17:27:30.494]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:27:32 [17:27:32.486]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:27:34 [17:27:34.406]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:27:36 [17:27:36.343]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:27:38 [17:27:38.331]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:27:40 [17:27:40.316]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:27:42 [17:27:42.244]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:27:44 [17:27:44.244]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:27:46 [17:27:46.305]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:27:48 [17:27:48.418]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:27:50 [17:27:50.231]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:27:52 [17:27:52.044]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:27:53 [17:27:53.694]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:27:55 [17:27:55.627]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:27:57 [17:27:57.589]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:27:59 [17:27:59.526]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:01 [17:28:01.225]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:04 [17:28:04.654]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:08 [17:28:08.230]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:12 [17:28:12.411]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:15 [17:28:15.862]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:22 [17:28:22.208]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:26 [17:28:26.754]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:32 [17:28:32.132]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:37 [17:28:37.023]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:42 [17:28:42.655]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:47 [17:28:47.451]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:51 [17:28:51.692]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:28:55
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
201.635 s)
17:28:55 KVArchiverDataStore
17:28:55 ArchiverStore
17:28:55 addBlocks
17:28:55
✓ returns success when adding blocks (1627 ms)
17:28:55
✓ allows duplicate blocks (1653 ms)
17:28:55
✓ throws an error if the previous block does not exist in the store (1068 ms)
17:28:55
✓ throws an error if there is a gap in the blocks being added (1367 ms)
17:28:55 unwindBlocks
17:28:55
✓ unwinding blocks will remove blocks from the chain (1475 ms)
17:28:55
✓ can unwind multiple empty blocks (1104 ms)
17:28:55
✓ refuses to unwind blocks if the tip is not the last block (1344 ms)
17:28:55 getBlocks
17:28:55
✓ retrieves previously stored blocks (1364 ms)
17:28:55
✓ retrieves previously stored blocks (1740 ms)
17:28:55
✓ retrieves previously stored blocks (2028 ms)
17:28:55
✓ retrieves previously stored blocks (1603 ms)
17:28:55
✓ retrieves previously stored blocks (1826 ms)
17:28:55
✓ returns an empty array if no blocks are found (2167 ms)
17:28:55
✓ throws an error if limit is invalid (2543 ms)
17:28:55
✓ throws an error if `from` it is out of range (1727 ms)
17:28:55
✓ throws an error if unexpected initial block number is found (2683 ms)
17:28:55
✓ throws an error if a gap is found (2327 ms)
17:28:55 getSyncedL2BlockNumber
17:28:55
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1560 ms)
17:28:55
✓ returns the most recently added block's number (2065 ms)
17:28:55 getSynchPoint
17:28:55
✓ returns undefined if no blocks have been added (1314 ms)
17:28:55
✓ returns the L1 block number in which the most recent L2 block was published (1846 ms)
17:28:55
✓ returns the L1 block number that most recently added messages from inbox (1391 ms)
17:28:55
✓ returns the latest syncpoint if latest message is behind (1390 ms)
17:28:55 addLogs
17:28:55
✓ adds private & public logs (1422 ms)
17:28:55 deleteLogs
17:28:55
✓ deletes private & public logs (1678 ms)
17:28:55 getPrivateLogs
17:28:55
✓ gets added private logs (1554 ms)
17:28:55 getTxEffect
17:28:55
✓ retrieves a previously stored transaction (2927 ms)
17:28:55
✓ retrieves a previously stored transaction (2543 ms)
17:28:55
✓ retrieves a previously stored transaction (2480 ms)
17:28:55
✓ retrieves a previously stored transaction (2710 ms)
17:28:55
✓ retrieves a previously stored transaction (2827 ms)
17:28:55
✓ returns undefined if tx is not found (2367 ms)
17:28:55
✓ tries to retrieves a previously stored transaction after deleted (3001 ms)
17:28:55
✓ tries to retrieves a previously stored transaction after deleted (2648 ms)
17:28:55
✓ tries to retrieves a previously stored transaction after deleted (2673 ms)
17:28:55
✓ tries to retrieves a previously stored transaction after deleted (2693 ms)
17:28:55
✓ tries to retrieves a previously stored transaction after deleted (2717 ms)
17:28:55
✓ returns undefined if tx is not found (2628 ms)
17:28:55
✓ does not fail if the block is unwound while requesting a tx (3130 ms)
17:28:55 L1 to L2 Messages
17:28:55
✓ stores first message ever (1550 ms)
17:28:55
✓ stores single message (1524 ms)
17:28:55
✓ stores and returns messages across different blocks (1659 ms)
17:28:55
✓ stores the same messages again (1586 ms)
17:28:55
✓ stores and returns messages across different blocks with gaps (1901 ms)
17:28:55
✓ stores and returns messages with block numbers larger than a byte (1838 ms)
17:28:55
✓ stores and returns multiple messages per block (1812 ms)
17:28:55
✓ stores messages in multiple operations (1937 ms)
17:28:55
✓ iterates over messages from start index (2061 ms)
17:28:55
✓ iterates over messages in reverse (2168 ms)
17:28:55
✓ throws if messages are added out of order (2052 ms)
17:28:55
✓ throws if block number for the first message is out of order (1990 ms)
17:28:55
✓ throws if rolling hash is not correct (1753 ms)
17:28:55
✓ throws if rolling hash for first message is not correct (1904 ms)
17:28:55
✓ throws if index is not in the correct range (2063 ms)
17:28:55
✓ throws if first index in block has gaps (1759 ms)
17:28:55
✓ throws if index does not follow previous one (1487 ms)
17:28:55
✓ removes messages up to the given block number (1783 ms)
17:28:55
✓ removes messages starting with the given index (2074 ms)
17:28:55 contractInstances
17:28:55
✓ returns previously stored contract instances (1991 ms)
17:28:55
✓ returns undefined if contract instance is not found (1918 ms)
17:28:55
✓ returns undefined if previously stored contract instances was deleted (1936 ms)
17:28:55 contractInstanceUpdates
17:28:55
✓ gets the correct current class id for a contract not updated yet (1987 ms)
17:28:55
✓ gets the correct current class id for a contract that has just been updated (1985 ms)
17:28:55
✓ gets the correct current class id for a contract that was updated in the past (1922 ms)
17:28:55
✓ ignores updates for the wrong contract (2003 ms)
17:28:55
✓ bounds its search to the right contract if more than than one update exists (2060 ms)
17:28:55 contractClasses
17:28:55
✓ returns previously stored contract class (2112 ms)
17:28:55
✓ returns undefined if the initial deployed contract class was deleted (1810 ms)
17:28:55
✓ returns contract class if later "deployment" class was deleted (1816 ms)
17:28:55
✓ returns undefined if contract class is not found (1648 ms)
17:28:55
✓ adds new private functions (1933 ms)
17:28:55
✓ does not duplicate private functions (1961 ms)
17:28:55
✓ adds new utility functions (1937 ms)
17:28:55
✓ does not duplicate utility functions (1697 ms)
17:28:55 getLogsByTags
17:28:55
✓ is possible to batch request private logs via tags (3428 ms)
17:28:55
✓ is possible to batch request all logs (private and public) via tags (3575 ms)
17:28:55
✓ is possible to batch request logs that have the same tag but different content (4181 ms)
17:28:55
✓ is possible to request logs for non-existing tags and determine their position (3447 ms)
17:28:55 getPublicLogs
17:28:55
✓ no logs returned if deleted ("txHash" filter param is respected variant) (6346 ms)
17:28:55
✓ "txHash" filter param is respected (4546 ms)
17:28:55
✓ "fromBlock" and "toBlock" filter params are respected (5376 ms)
17:28:55
✓ "contractAddress" filter param is respected (4892 ms)
17:28:55
✓ "afterLog" filter param is respected (5631 ms)
17:28:55
✓ "txHash" filter param is ignored when "afterLog" is set (4795 ms)
17:28:55
✓ intersecting works (4238 ms)
17:28:55
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4128 ms)
17:28:55
17:28:55
Test Suites: 1 passed, 1 total
17:28:55
Tests: 86 passed, 86 total
17:28:55
Snapshots: 0 total
17:28:55
Time: 201.715 s
17:28:55
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
17:28:55
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?