Parent Log:
http://ci.aztec-labs.com/e288acb99b2d3432
Command: d22bc4a94b0d21bc 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/c06f30929f18b85bcea93c0926a8d640a3819f00
Env: REF_NAME=gh-readonly-queue/master/pr-15074-2707ec99de02004f3e30e7af0810e0d741ab9794 CURRENT_VERSION=0.87.8 CI_FULL=0
Date: Mon Jun 16 16:25:12 UTC 2025
System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15074_arm64_a1-fast
Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_master
16:25:13 [16:25:13.916]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:14 [16:25:14.977]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:16 [16:25:16.064]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:16 [16:25:16.817]
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:25:16 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:78:15
16:25:16 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:25:16 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:25:16 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:25:16 newBlockNumber: 2,
16:25:16 previousBlockNumber: undefined
16:25:16 }
16:25:16 [16:25:16.820]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:17 [16:25:17.625]
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:25:17 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:85:17
16:25:17 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:25:17 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:25:17 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
16:25:17 [16:25:17.627]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:18 [16:25:18.578]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:19 [16:25:19.268]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:20 [16:25:20.182]
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:25:20 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:120:15
16:25:20 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:25:20 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:25:20 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
16:25:20 [16:25:20.184]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:21 [16:25:21.130]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:22 [16:25:22.072]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:23 [16:25:23.225]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:24 [16:25:24.269]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:25 [16:25:25.230]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:26 [16:25:26.157]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:27 [16:25:27.123]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:28 [16:25:28.067]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:29 [16:25:29.133]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:30 [16:25:30.437]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:31 [16:25:31.270]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:32 [16:25:32.345]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:33 [16:25:33.183]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:34 [16:25:34.253]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:35 [16:25:35.109]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:35 [16:25:35.967]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:36 [16:25:36.903]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:37 [16:25:37.955]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:39 [16:25:39.028]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:40 [16:25:40.956]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:43 [16:25:43.269]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:45 [16:25:45.232]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:47 [16:25:47.064]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:48 [16:25:48.779]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:50 [16:25:50.470]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:52 [16:25:52.309]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:54 [16:25:54.154]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:56 [16:25:56.001]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:57 [16:25:57.860]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:25:59 [16:25:59.747]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:01 [16:26:01.531]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:03 [16:26:03.704]
WARN:
archiver:block_store Could not find body for block 2 0x016e03ba02704d989620d2760060aa3e58faec8f6438e8b2898b147b8218b46f
16:26:03 [16:26:03.706]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:04 [16:26:04.733]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:05 [16:26:05.768]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:06 [16:26:06.816]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:07 [16:26:07.877]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:08 [16:26:08.950]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:10 [16:26:10.022]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:11 [16:26:11.158]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:12 [16:26:12.354]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:13 [16:26:13.541]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:14 [16:26:14.729]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:15 [16:26:15.937]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x1e7abcd08bd8e9313487168c76b3f61fd1a35be685eef3b9d5b50c55832bf248 for L2 block 1 has wrong index 10 (expected 0)
16:26:15 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
16:26:15 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:26:15 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:26:15 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:26:15 inboxMessage: {
16:26:15 index: 10n,
16:26:15 leaf: Fr<0x1e7abcd08bd8e9313487168c76b3f61fd1a35be685eef3b9d5b50c55832bf248>,
16:26:15 l2BlockNumber: 1n,
16:26:15 l1BlockNumber: 1n,
16:26:15 l1BlockHash: Buffer32<0x945c2950a0a350c7ff2d513c335359b95e36f42291e4ea28856f12aefe63fbc5>,
16:26:15 rollingHash: Buffer16<0x59e402bdf038bf2152cf62e0159558bc>
16:26:15 }
16:26:15 }
16:26:15 [16:26:15.939]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:17 [16:26:17.139]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x00470582d12bfea3b5828fbbc336e00b93a83b6b3977db0195c26888ed8f1e7b at block 12 (expected value in range [176, 192))
16:26:17 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
16:26:17 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:26:17 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:26:17 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:26:17 inboxMessage: {
16:26:17 index: 224n,
16:26:17 leaf: Fr<0x00470582d12bfea3b5828fbbc336e00b93a83b6b3977db0195c26888ed8f1e7b>,
16:26:17 l2BlockNumber: 12n,
16:26:17 l1BlockNumber: 15n,
16:26:17 l1BlockHash: Buffer32<0xfeaef9adc0d4c3e6e2d0145a8b1c2cfe5a7b173e5e5a705cba330e2969a14009>,
16:26:17 rollingHash: Buffer16<0x8c7ccf3f58644e7e40bcf6fa10c03ca2>
16:26:17 }
16:26:17 }
16:26:17 [16:26:17.141]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:18 [16:26:18.343]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x24a001d994cd25eabb1214d2d7f15da5ee12112959c70048cccc7c9f39609917 with index 16 (expected 0x014a2f7b178789c959d21696670e2a4c from previous hash 0x1f1f5ed6bd5692ea6db5dfaa95474a54 but got 0xf59b3887357a965c21d70624f105fa34)
16:26:18 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
16:26:18 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:26:18 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:26:18 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:26:18 inboxMessage: {
16:26:18 index: 16n,
16:26:18 leaf: Fr<0x24a001d994cd25eabb1214d2d7f15da5ee12112959c70048cccc7c9f39609917>,
16:26:18 l2BlockNumber: 2n,
16:26:18 l1BlockNumber: 2n,
16:26:18 l1BlockHash: Buffer32<0xcd8092cbc3ced98c6a6fef26e509a7b1b89119bb6414b30df51a84af3df5c6ca>,
16:26:18 rollingHash: Buffer16<0xf59b3887357a965c21d70624f105fa34>
16:26:18 }
16:26:18 }
16:26:18 [16:26:18.345]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:19 [16:26:19.568]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x26af0b32400e6b5dd4310c7971952182d98e4d979b5e812105b81f7d6f440e80 with index 32 (expected 0xfeaf17baa7af7ab9c9dc3c3db3af6c7e from previous hash 0x76f178cff77d3cfdd7779d1e8ec3581c but got 0xc68a08850e8e907484129a56e443805f)
16:26:19 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
16:26:19 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:26:19 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:26:19 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:26:19 inboxMessage: {
16:26:19 index: 32n,
16:26:19 leaf: Fr<0x26af0b32400e6b5dd4310c7971952182d98e4d979b5e812105b81f7d6f440e80>,
16:26:19 l2BlockNumber: 3n,
16:26:19 l1BlockNumber: 3n,
16:26:19 l1BlockHash: Buffer32<0x417dc7f4cf684b134c3261168505817ef2ea5fbb86ceed60eb196abe867fc57f>,
16:26:19 rollingHash: Buffer16<0xc68a08850e8e907484129a56e443805f>
16:26:19 }
16:26:19 }
16:26:19 [16:26:19.569]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:20 [16:26:20.786]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x163f47e88e460d89e39b76d41d6eb5d7750ccff381a0de77ce3d6d8b71ceeebb at block 17 (expected value in range [256, 272))
16:26:20 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
16:26:20 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:26:20 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:26:20 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:26:20 inboxMessage: {
16:26:20 index: 356n,
16:26:20 leaf: Fr<0x163f47e88e460d89e39b76d41d6eb5d7750ccff381a0de77ce3d6d8b71ceeebb>,
16:26:20 l2BlockNumber: 17n,
16:26:20 l1BlockNumber: 17n,
16:26:20 l1BlockHash: Buffer32<0xac0e9551cf3731b2f192cc3c0c023be9c086152b21b23c2e9db6ed41b48802de>,
16:26:20 rollingHash: Buffer16<0xf9d99b802c60c159b15330a4723150bc>
16:26:20 }
16:26:20 }
16:26:20 [16:26:20.788]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:22 [16:26:22.003]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x0d85b0814f821b346e7e5d9cf3311d4aa5ed6c6d245647f14ddc712a8f8f9859 for L2 block 15 has wrong index 225 (expected 224)
16:26:22 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
16:26:22 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:26:22 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:26:22 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:26:22 inboxMessage: {
16:26:22 index: 225n,
16:26:22 leaf: Fr<0x0d85b0814f821b346e7e5d9cf3311d4aa5ed6c6d245647f14ddc712a8f8f9859>,
16:26:22 l2BlockNumber: 15n,
16:26:22 l1BlockNumber: 15n,
16:26:22 l1BlockHash: Buffer32<0xda21b8ad1a172c8f1ef3ff67ee0a3bff9122ac91a2f0195081e9b8b9559b4ef5>,
16:26:22 rollingHash: Buffer16<0x11d41c4b9c99599a8769ce17b6a2eef8>
16:26:22 }
16:26:22 }
16:26:22 [16:26:22.005]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:23 [16:26:23.237]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x2d86d8f618db75f4b491b94c2c2f8d374a80a1f2af0a7c2e0e433852fedf2dfa at block 2 (expected value in range [16, 32))
16:26:23 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
16:26:23 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:26:23 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:26:23 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:26:23 inboxMessage: {
16:26:23 index: 32n,
16:26:23 leaf: Fr<0x2d86d8f618db75f4b491b94c2c2f8d374a80a1f2af0a7c2e0e433852fedf2dfa>,
16:26:23 l2BlockNumber: 2n,
16:26:23 l1BlockNumber: 13n,
16:26:23 l1BlockHash: Buffer32<0x282cf6a3c89fcf1360d4f8da15c5fda9c4e12ba9c748070d52a9b038aa8ea111>,
16:26:23 rollingHash: Buffer16<0x5d62c96757f81f77c4d2edbfe9b70fec>
16:26:23 }
16:26:23 }
16:26:23 [16:26:23.239]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:24 [16:26:24.565]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
16:26:24 [16:26:24.601]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:25 [16:26:25.890]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
16:26:25 [16:26:25.909]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:27 [16:26:27.180]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:28 [16:26:28.463]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:29 [16:26:29.780]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:31 [16:26:31.064]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:32 [16:26:32.356]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:33 [16:26:33.666]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:34 [16:26:34.967]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:36 [16:26:36.276]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:37 [16:26:37.587]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:38 [16:26:38.911]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:40 [16:26:40.263]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:41 [16:26:41.610]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:42 [16:26:42.980]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:44 [16:26:44.366]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:45 [16:26:45.752]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:47 [16:26:47.176]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:49 [16:26:49.626]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:51 [16:26:51.977]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:54 [16:26:54.644]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:26:56 [16:26:56.943]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:27:01 [16:27:01.172]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:27:05 [16:27:05.101]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:27:09 [16:27:09.049]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:27:12 [16:27:12.918]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:27:16 [16:27:16.714]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:27:20 [16:27:20.519]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:27:24 [16:27:24.333]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:27:28
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
135.713 s)
16:27:28 KVArchiverDataStore
16:27:28 ArchiverStore
16:27:28 addBlocks
16:27:28
✓ returns success when adding blocks (1063 ms)
16:27:28
✓ allows duplicate blocks (1087 ms)
16:27:28
✓ throws an error if the previous block does not exist in the store (756 ms)
16:27:28
✓ throws an error if there is a gap in the blocks being added (806 ms)
16:27:28 unwindBlocks
16:27:28
✓ unwinding blocks will remove blocks from the chain (950 ms)
16:27:28
✓ can unwind multiple empty blocks (691 ms)
16:27:28
✓ refuses to unwind blocks if the tip is not the last block (915 ms)
16:27:28 getBlocks
16:27:28
✓ retrieves previously stored blocks (946 ms)
16:27:28
✓ retrieves previously stored blocks (942 ms)
16:27:28
✓ retrieves previously stored blocks (1152 ms)
16:27:28
✓ retrieves previously stored blocks (1043 ms)
16:27:28
✓ retrieves previously stored blocks (962 ms)
16:27:28
✓ returns an empty array if no blocks are found (926 ms)
16:27:28
✓ throws an error if limit is invalid (965 ms)
16:27:28
✓ throws an error if `from` it is out of range (944 ms)
16:27:28
✓ throws an error if unexpected initial block number is found (1066 ms)
16:27:28
✓ throws an error if a gap is found (1303 ms)
16:27:28 getSyncedL2BlockNumber
16:27:28
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (833 ms)
16:27:28
✓ returns the most recently added block's number (1074 ms)
16:27:28 getSynchPoint
16:27:28
✓ returns undefined if no blocks have been added (837 ms)
16:27:28
✓ returns the L1 block number in which the most recent L2 block was published (1069 ms)
16:27:28
✓ returns the L1 block number that most recently added messages from inbox (856 ms)
16:27:28
✓ returns the latest syncpoint if latest message is behind (858 ms)
16:27:28 addLogs
16:27:28
✓ adds private & public logs (935 ms)
16:27:28 deleteLogs
16:27:28
✓ deletes private & public logs (1051 ms)
16:27:28 getPrivateLogs
16:27:28
✓ gets added private logs (1073 ms)
16:27:28 getTxEffect
16:27:28
✓ retrieves a previously stored transaction (1921 ms)
16:27:28
✓ retrieves a previously stored transaction (2310 ms)
16:27:28
✓ retrieves a previously stored transaction (1973 ms)
16:27:28
✓ retrieves a previously stored transaction (1832 ms)
16:27:28
✓ retrieves a previously stored transaction (1715 ms)
16:27:28
✓ returns undefined if tx is not found (1691 ms)
16:27:28
✓ tries to retrieves a previously stored transaction after deleted (1839 ms)
16:27:28
✓ tries to retrieves a previously stored transaction after deleted (1845 ms)
16:27:28
✓ tries to retrieves a previously stored transaction after deleted (1847 ms)
16:27:28
✓ tries to retrieves a previously stored transaction after deleted (1859 ms)
16:27:28
✓ tries to retrieves a previously stored transaction after deleted (1887 ms)
16:27:28
✓ returns undefined if tx is not found (1784 ms)
16:27:28
✓ does not fail if the block is unwound while requesting a tx (2174 ms)
16:27:28 L1 to L2 Messages
16:27:28
✓ stores first message ever (1027 ms)
16:27:28
✓ stores single message (1035 ms)
16:27:28
✓ stores and returns messages across different blocks (1048 ms)
16:27:28
✓ stores the same messages again (1061 ms)
16:27:28
✓ stores and returns messages across different blocks with gaps (1072 ms)
16:27:28
✓ stores and returns messages with block numbers larger than a byte (1072 ms)
16:27:28
✓ stores and returns multiple messages per block (1135 ms)
16:27:28
✓ stores messages in multiple operations (1195 ms)
16:27:28
✓ iterates over messages from start index (1187 ms)
16:27:28
✓ iterates over messages in reverse (1188 ms)
16:27:28
✓ throws if messages are added out of order (1210 ms)
16:27:28
✓ throws if block number for the first message is out of order (1201 ms)
16:27:28
✓ throws if rolling hash is not correct (1204 ms)
16:27:28
✓ throws if rolling hash for first message is not correct (1224 ms)
16:27:28
✓ throws if index is not in the correct range (1218 ms)
16:27:28
✓ throws if first index in block has gaps (1216 ms)
16:27:28
✓ throws if index does not follow previous one (1234 ms)
16:27:28
✓ removes messages up to the given block number (1362 ms)
16:27:28
✓ removes messages starting with the given index (1308 ms)
16:27:28 contractInstances
16:27:28
✓ returns previously stored contract instances (1271 ms)
16:27:28
✓ returns undefined if contract instance is not found (1282 ms)
16:27:28
✓ returns undefined if previously stored contract instances was deleted (1315 ms)
16:27:28 contractInstanceUpdates
16:27:28
✓ gets the correct current class id for a contract not updated yet (1285 ms)
16:27:28
✓ gets the correct current class id for a contract that has just been updated (1292 ms)
16:27:28
✓ gets the correct current class id for a contract that was updated in the past (1310 ms)
16:27:28
✓ ignores updates for the wrong contract (1301 ms)
16:27:28
✓ bounds its search to the right contract if more than than one update exists (1307 ms)
16:27:28 contractClasses
16:27:28
✓ returns previously stored contract class (1312 ms)
16:27:28
✓ returns undefined if the initial deployed contract class was deleted (1323 ms)
16:27:28
✓ returns contract class if later "deployment" class was deleted (1352 ms)
16:27:28
✓ returns undefined if contract class is not found (1346 ms)
16:27:28
✓ adds new private functions (1371 ms)
16:27:28
✓ does not duplicate private functions (1385 ms)
16:27:28
✓ adds new utility functions (1386 ms)
16:27:28
✓ does not duplicate utility functions (1423 ms)
16:27:28 getLogsByTags
16:27:28
✓ is possible to batch request private logs via tags (2447 ms)
16:27:28
✓ is possible to batch request all logs (private and public) via tags (2353 ms)
16:27:28
✓ is possible to batch request logs that have the same tag but different content (2667 ms)
16:27:28
✓ is possible to request logs for non-existing tags and determine their position (2299 ms)
16:27:28 getPublicLogs
16:27:28
✓ no logs returned if deleted ("txHash" filter param is respected variant) (4229 ms)
16:27:28
✓ "txHash" filter param is respected (3927 ms)
16:27:28
✓ "fromBlock" and "toBlock" filter params are respected (3948 ms)
16:27:28
✓ "contractAddress" filter param is respected (3868 ms)
16:27:28
✓ "afterLog" filter param is respected (3796 ms)
16:27:28
✓ "txHash" filter param is ignored when "afterLog" is set (3804 ms)
16:27:28
✓ intersecting works (3813 ms)
16:27:28
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4145 ms)
16:27:28
16:27:28
Test Suites: 1 passed, 1 total
16:27:28
Tests: 86 passed, 86 total
16:27:28
Snapshots: 0 total
16:27:28
Time: 135.774 s
16:27:28
Ran all test suites matching /archiver\/src\/archiver\/kv_archiver_store\/kv_archiver_store.test.ts/i
.
16:27:28
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?