Parent Log:
http://ci.aztec-labs.com/37863f238a8f2511
Command: 6db87052395d3483 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/41cc1f518fed92110a82ce3c59385a3f5c0d8817
Env: REF_NAME=gh-readonly-queue/next/pr-15041-9cf4a24266245fa3ca003adb00e8ae759880c107 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 17:15:33 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15041_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
17:15:36 [17:15:36.067]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:15:37 [17:15:37.506]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:15:39 [17:15:39.236]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:15:40 [17:15:40.348]
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:15:40 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
17:15:40 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:15:40 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:15:40 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:15:40 newBlockNumber: 2,
17:15:40 previousBlockNumber: undefined
17:15:40 }
17:15:40 [17:15:40.356]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:15:41 [17:15:41.348]
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:15:41 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17
17:15:41 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:15:41 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:15:41 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
17:15:41 [17:15:41.351]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:15:42 [17:15:42.633]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:15:43 [17:15:43.502]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:15:44 [17:15:44.630]
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:15:44 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15
17:15:44 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:15:44 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:15:44 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
17:15:44 [17:15:44.632]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:15:46 [17:15:46.209]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:15:47 [17:15:47.569]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:15:49 [17:15:49.122]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:15:50 [17:15:50.713]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:15:52 [17:15:52.127]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:15:53 [17:15:53.542]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:15:55 [17:15:55.010]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:15:56 [17:15:56.458]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:15:58 [17:15:58.200]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:16:01 [17:16:01.088]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:16:02 [17:16:02.786]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:16:04 [17:16:04.480]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:16:05 [17:16:05.993]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:16:08 [17:16:08.617]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:16:09 [17:16:09.890]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:16:11 [17:16:11.321]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:16:12 [17:16:12.873]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:16:14 [17:16:14.557]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:16:15 [17:16:15.925]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:16:18 [17:16:18.462]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:16:21 [17:16:21.036]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:16:23 [17:16:23.770]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:16:26 [17:16:26.416]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:16:28 [17:16:28.795]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:16:31 [17:16:31.290]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:16:34 [17:16:34.215]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:16:36 [17:16:36.899]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:16:39 [17:16:39.363]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:16:41 [17:16:41.921]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:16:44 [17:16:44.550]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:16:47 [17:16:47.177]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:16:50 [17:16:50.274]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:16:51 [17:16:51.759]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:16:53 [17:16:53.209]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:16:54 [17:16:54.747]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:16:56 [17:16:56.310]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:16:57 [17:16:57.790]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:16:59 [17:16:59.452]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:17:01 [17:17:01.207]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:17:03 [17:17:03.234]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:17:04 [17:17:04.973]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:17:06 [17:17:06.933]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:17:09 [17:17:09.081]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x16b3e6d082012b7329698b3ebf60e8627b96c6291013ecc054f3d43d87b68872 for L2 block 1 has wrong index 10 (expected 0)
17:17:09 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
17:17:09 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:17:09 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:17:09 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:17:09 inboxMessage: {
17:17:09 index: 10n,
17:17:09 leaf: Fr<0x16b3e6d082012b7329698b3ebf60e8627b96c6291013ecc054f3d43d87b68872>,
17:17:09 l2BlockNumber: 1,
17:17:09 l1BlockNumber: 60n,
17:17:09 l1BlockHash: Buffer32<0x892de711efedb7a5d22f102706941b1d5cad72d6d8b684611f7aa285632202f7>,
17:17:09 rollingHash: Buffer16<0xf7beaf995a386494d71519607523394e>
17:17:09 }
17:17:09 }
17:17:09 [17:17:09.088]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:17:10 [17:17:10.859]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x28c22ca901e44e6dd991069607ec41ab190fe491b26b7720f604e7e73294d668 at block 12 (expected value in range [176, 192))
17:17:10 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
17:17:10 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:17:10 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:17:10 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:17:10 inboxMessage: {
17:17:10 index: 224n,
17:17:10 leaf: Fr<0x28c22ca901e44e6dd991069607ec41ab190fe491b26b7720f604e7e73294d668>,
17:17:10 l2BlockNumber: 12,
17:17:10 l1BlockNumber: 77n,
17:17:10 l1BlockHash: Buffer32<0x9ec7c5ba2606787a77af32fbcbc0812ff0d22bdffb3cc59d8c363d5047ed426a>,
17:17:10 rollingHash: Buffer16<0xcda09b2621af5f2a62ca9806a8abdc60>
17:17:10 }
17:17:10 }
17:17:10 [17:17:10.863]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:17:12 [17:17:12.643]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x05ffb8f3aa2d9d07000934fd83c2e2f84041c15365acf56c20967b159c423917 with index 16 (expected 0x20eb5b8ab0273c2f031322cb7522b217 from previous hash 0x1dc906277555b68238ce04b1fb93f2cd but got 0xe06bfc5dff7700019ca5fbef08c2ce26)
17:17:12 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
17:17:12 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:17:12 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:17:12 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:17:12 inboxMessage: {
17:17:12 index: 16n,
17:17:12 leaf: Fr<0x05ffb8f3aa2d9d07000934fd83c2e2f84041c15365acf56c20967b159c423917>,
17:17:12 l2BlockNumber: 2,
17:17:12 l1BlockNumber: 30n,
17:17:12 l1BlockHash: Buffer32<0x5b53a04832152ffc87195640659a73d1868c94d87b6be67c1e15810c4d936399>,
17:17:12 rollingHash: Buffer16<0xe06bfc5dff7700019ca5fbef08c2ce26>
17:17:12 }
17:17:12 }
17:17:12 [17:17:12.647]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:17:14 [17:17:14.634]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x2395e615eeed0b6cfcda4d402a98a2b753980760f6f336a8724e27a8e97ce8e9 with index 32 (expected 0x8957c09298015432c363a6a6bc49e0bd from previous hash 0x02588b1f6dddbcc1852fecd5e2d68632 but got 0x9ae8d655f5e0e384881bfd2aedb289c5)
17:17:14 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
17:17:14 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:17:14 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:17:14 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:17:14 inboxMessage: {
17:17:14 index: 32n,
17:17:14 leaf: Fr<0x2395e615eeed0b6cfcda4d402a98a2b753980760f6f336a8724e27a8e97ce8e9>,
17:17:14 l2BlockNumber: 3,
17:17:14 l1BlockNumber: 36n,
17:17:14 l1BlockHash: Buffer32<0xbbbee0f85be0ffc1c0451c72f614f69d0410908b498a6bef68f10767915b86e6>,
17:17:14 rollingHash: Buffer16<0x9ae8d655f5e0e384881bfd2aedb289c5>
17:17:14 }
17:17:14 }
17:17:14 [17:17:14.638]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:17:16 [17:17:16.551]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x273315d01b8d669422c8c6d8f8d5f9c1ddd5a01061b06ec6ac5fdabddbbf08d4 at block 17 (expected value in range [256, 272))
17:17:16 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
17:17:16 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:17:16 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:17:16 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:17:16 inboxMessage: {
17:17:16 index: 356n,
17:17:16 leaf: Fr<0x273315d01b8d669422c8c6d8f8d5f9c1ddd5a01061b06ec6ac5fdabddbbf08d4>,
17:17:16 l2BlockNumber: 17,
17:17:16 l1BlockNumber: 53n,
17:17:16 l1BlockHash: Buffer32<0xf02971d40c83ba5b6bda229e31b2df8ffc0c5daaba0f46069360a844f2a5819f>,
17:17:16 rollingHash: Buffer16<0x712ae322bb07b75106a36a790556ebb0>
17:17:16 }
17:17:16 }
17:17:16 [17:17:16.555]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:17:18 [17:17:18.334]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x135b211ea803a94158ee657db2174f2d40bc62c84611bd7963045e88b7ad1b8d for L2 block 15 has wrong index 225 (expected 224)
17:17:18 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
17:17:18 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:17:18 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:17:18 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:17:18 inboxMessage: {
17:17:18 index: 225n,
17:17:18 leaf: Fr<0x135b211ea803a94158ee657db2174f2d40bc62c84611bd7963045e88b7ad1b8d>,
17:17:18 l2BlockNumber: 15,
17:17:18 l1BlockNumber: 30n,
17:17:18 l1BlockHash: Buffer32<0xf58844f8b51ed62c57a7694f0cc5d8db3d9505247d3b31d416a080d52e26de6f>,
17:17:18 rollingHash: Buffer16<0xe7545735d718410f0ce01d1a7751b6eb>
17:17:18 }
17:17:18 }
17:17:18 [17:17:18.338]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:17:19 [17:17:19.928]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x08bc6af171d20453c765af35d9a88be9d91d274075231dc0bb2c1aa7dcf20cd4 at block 2 (expected value in range [16, 32))
17:17:19 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
17:17:19 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:17:19 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:17:19 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:17:19 inboxMessage: {
17:17:19 index: 32n,
17:17:19 leaf: Fr<0x08bc6af171d20453c765af35d9a88be9d91d274075231dc0bb2c1aa7dcf20cd4>,
17:17:19 l2BlockNumber: 2,
17:17:19 l1BlockNumber: 98n,
17:17:19 l1BlockHash: Buffer32<0x3d972efaef5353568284b2452ce0ad04332eaf8761d3fccfceb490c6f11c4522>,
17:17:19 rollingHash: Buffer16<0xf8bf58db2adde327d30184ab1af4ce7a>
17:17:19 }
17:17:19 }
17:17:19 [17:17:19.931]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:17:21 [17:17:21.747]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
17:17:21 [17:17:21.784]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:17:23 [17:17:23.556]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
17:17:23 [17:17:23.578]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:17:25 [17:17:25.350]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:17:27 [17:17:27.298]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:17:29 [17:17:29.156]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:17:30 [17:17:30.766]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:17:32 [17:17:32.330]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:17:34 [17:17:34.539]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:17:36 [17:17:36.559]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:17:38 [17:17:38.552]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:17:40 [17:17:40.450]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:17:42 [17:17:42.319]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:17:44 [17:17:44.151]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:17:46 [17:17:46.036]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:17:47 [17:17:47.821]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:17:49 [17:17:49.820]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:17:51 [17:17:51.640]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:17:53 [17:17:53.462]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:17:56 [17:17:56.881]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:18:00 [17:18:00.215]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:18:03 [17:18:03.929]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:18:07 [17:18:07.314]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:18:13 [17:18:13.788]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:18:18 [17:18:18.951]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:18:23 [17:18:23.842]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:18:29 [17:18:29.006]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:18:34 [17:18:34.447]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:18:39 [17:18:39.814]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:18:44 [17:18:44.660]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:18:48
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
193.975 s)
17:18:48 KVArchiverDataStore
17:18:48 ArchiverStore
17:18:48 addBlocks
17:18:48
✓ returns success when adding blocks (1447 ms)
17:18:48
✓ allows duplicate blocks (1729 ms)
17:18:48
✓ throws an error if the previous block does not exist in the store (1119 ms)
17:18:48
✓ throws an error if there is a gap in the blocks being added (996 ms)
17:18:48 unwindBlocks
17:18:48
✓ unwinding blocks will remove blocks from the chain (1282 ms)
17:18:48
✓ can unwind multiple empty blocks (867 ms)
17:18:48
✓ refuses to unwind blocks if the tip is not the last block (1130 ms)
17:18:48 getBlocks
17:18:48
✓ retrieves previously stored blocks (1576 ms)
17:18:48
✓ retrieves previously stored blocks (1360 ms)
17:18:48
✓ retrieves previously stored blocks (1552 ms)
17:18:48
✓ retrieves previously stored blocks (1591 ms)
17:18:48
✓ retrieves previously stored blocks (1413 ms)
17:18:48
✓ returns an empty array if no blocks are found (1414 ms)
17:18:48
✓ throws an error if limit is invalid (1466 ms)
17:18:48
✓ throws an error if `from` it is out of range (1448 ms)
17:18:48
✓ throws an error if unexpected initial block number is found (1739 ms)
17:18:48
✓ throws an error if a gap is found (2888 ms)
17:18:48 getSyncedL2BlockNumber
17:18:48
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1695 ms)
17:18:48
✓ returns the most recently added block's number (1696 ms)
17:18:48 getSynchPoint
17:18:48
✓ returns undefined if no blocks have been added (1513 ms)
17:18:48
✓ returns the L1 block number in which the most recent L2 block was published (2624 ms)
17:18:48
✓ returns the L1 block number that most recently added messages from inbox (1273 ms)
17:18:48
✓ returns the latest syncpoint if latest message is behind (1429 ms)
17:18:48 addLogs
17:18:48
✓ adds private & public logs (1552 ms)
17:18:48 deleteLogs
17:18:48
✓ deletes private & public logs (1683 ms)
17:18:48 getPrivateLogs
17:18:48
✓ gets added private logs (1368 ms)
17:18:48 getTxEffect
17:18:48
✓ retrieves a previously stored transaction (2536 ms)
17:18:48
✓ retrieves a previously stored transaction (2572 ms)
17:18:48
✓ retrieves a previously stored transaction (2729 ms)
17:18:48
✓ retrieves a previously stored transaction (2651 ms)
17:18:48
✓ retrieves a previously stored transaction (2379 ms)
17:18:48
✓ returns undefined if tx is not found (2494 ms)
17:18:48
✓ tries to retrieves a previously stored transaction after deleted (2923 ms)
17:18:48
✓ tries to retrieves a previously stored transaction after deleted (2685 ms)
17:18:48
✓ tries to retrieves a previously stored transaction after deleted (2464 ms)
17:18:48
✓ tries to retrieves a previously stored transaction after deleted (2557 ms)
17:18:48
✓ tries to retrieves a previously stored transaction after deleted (2629 ms)
17:18:48
✓ returns undefined if tx is not found (2626 ms)
17:18:48
✓ does not fail if the block is unwound while requesting a tx (3096 ms)
17:18:48 L1 to L2 Messages
17:18:48
✓ stores first message ever (1485 ms)
17:18:48
✓ stores single message (1449 ms)
17:18:48
✓ stores and returns messages across different blocks (1536 ms)
17:18:48
✓ stores the same messages again (1562 ms)
17:18:48
✓ stores and returns messages across different blocks with gaps (1479 ms)
17:18:48
✓ stores and returns messages with block numbers larger than a byte (1661 ms)
17:18:48
✓ stores and returns multiple messages per block (1754 ms)
17:18:48
✓ stores messages in multiple operations (2026 ms)
17:18:48
✓ iterates over messages from start index (1738 ms)
17:18:48
✓ iterates over messages in reverse (1959 ms)
17:18:48
✓ throws if messages are added out of order (2152 ms)
17:18:48
✓ throws if block number for the first message is out of order (1776 ms)
17:18:48
✓ throws if rolling hash is not correct (1784 ms)
17:18:48
✓ throws if rolling hash for first message is not correct (1990 ms)
17:18:48
✓ throws if index is not in the correct range (1917 ms)
17:18:48
✓ throws if first index in block has gaps (1783 ms)
17:18:48
✓ throws if index does not follow previous one (1592 ms)
17:18:48
✓ removes messages up to the given block number (1851 ms)
17:18:48
✓ removes messages starting with the given index (1794 ms)
17:18:48 contractInstances
17:18:48
✓ returns previously stored contract instances (1770 ms)
17:18:48
✓ returns undefined if contract instance is not found (1947 ms)
17:18:48
✓ returns undefined if previously stored contract instances was deleted (1858 ms)
17:18:48 contractInstanceUpdates
17:18:48
✓ gets the correct current class id for a contract not updated yet (1610 ms)
17:18:48
✓ gets the correct current class id for a contract that has just been updated (1562 ms)
17:18:48
✓ gets the correct current class id for a contract that was updated in the past (2203 ms)
17:18:48
✓ ignores updates for the wrong contract (2024 ms)
17:18:48
✓ bounds its search to the right contract if more than than one update exists (1990 ms)
17:18:48 contractClasses
17:18:48
✓ returns previously stored contract class (1898 ms)
17:18:48
✓ returns undefined if the initial deployed contract class was deleted (1868 ms)
17:18:48
✓ returns contract class if later "deployment" class was deleted (1830 ms)
17:18:48
✓ returns undefined if contract class is not found (1887 ms)
17:18:48
✓ adds new private functions (1784 ms)
17:18:48
✓ does not duplicate private functions (1998 ms)
17:18:48
✓ adds new utility functions (1818 ms)
17:18:48
✓ does not duplicate utility functions (1820 ms)
17:18:48 getLogsByTags
17:18:48
✓ is possible to batch request private logs via tags (3419 ms)
17:18:48
✓ is possible to batch request all logs (private and public) via tags (3333 ms)
17:18:48
✓ is possible to batch request logs that have the same tag but different content (3714 ms)
17:18:48
✓ is possible to request logs for non-existing tags and determine their position (3385 ms)
17:18:48 getPublicLogs
17:18:48
✓ no logs returned if deleted ("txHash" filter param is respected variant) (6472 ms)
17:18:48
✓ "txHash" filter param is respected (5163 ms)
17:18:48
✓ "fromBlock" and "toBlock" filter params are respected (4888 ms)
17:18:48
✓ "contractAddress" filter param is respected (5164 ms)
17:18:48
✓ "afterLog" filter param is respected (5442 ms)
17:18:48
✓ "txHash" filter param is ignored when "afterLog" is set (5366 ms)
17:18:48
✓ intersecting works (4846 ms)
17:18:48
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (3927 ms)
17:18:48
17:18:48
Test Suites: 1 passed, 1 total
17:18:48
Tests: 86 passed, 86 total
17:18:48
Snapshots: 0 total
17:18:48
Time: 194.068 s
17:18:48
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
17:18:48
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?