Parent Log:
http://ci.aztec-labs.com/dafb1ddad3ade185
Command: d8033ca60b1dba76 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/9ddf7d35886489afed34aca3cb819b32c86194b4
Env: REF_NAME=gh-readonly-queue/next/pr-15215-99e234fe4473771b32124e0402885610a6a3f98a CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 09:22:21 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15215_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
09:22:23 [09:22:23.397]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:22:25 [09:22:25.359]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:22:26 [09:22:26.822]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:22:27 [09:22:27.792]
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
09:22:27 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
09:22:27 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:22:27 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:22:27 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:22:27 newBlockNumber: 2,
09:22:27 previousBlockNumber: undefined
09:22:27 }
09:22:27 [09:22:27.796]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:22:28 [09:22:28.835]
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
09:22:28 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:96:17
09:22:28 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:22:28 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:22:28 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
09:22:28 [09:22:28.837]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:22:30 [09:22:30.355]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:22:31 [09:22:31.202]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:22:32 [09:22:32.436]
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)
09:22:32 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:141:15
09:22:32 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:22:32 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:22:32 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
09:22:32 [09:22:32.439]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:22:33 [09:22:33.744]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:22:35 [09:22:35.299]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:22:36 [09:22:36.970]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:22:38 [09:22:38.618]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:22:40 [09:22:40.147]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:22:41 [09:22:41.586]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:22:43 [09:22:43.398]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:22:45 [09:22:45.327]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:22:47 [09:22:47.124]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:22:49 [09:22:49.558]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:22:51 [09:22:51.166]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:22:53 [09:22:53.457]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:22:54 [09:22:54.668]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:22:56 [09:22:56.771]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:22:57 [09:22:57.942]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:22:59 [09:22:59.349]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:23:00 [09:23:00.788]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:23:02 [09:23:02.277]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:23:03 [09:23:03.690]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:23:06 [09:23:06.487]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:23:08 [09:23:08.993]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:23:11 [09:23:11.548]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:23:14 [09:23:14.135]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:23:16 [09:23:16.821]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:23:19 [09:23:19.029]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:23:21 [09:23:21.591]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:23:24 [09:23:24.251]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:23:26 [09:23:26.955]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:23:29 [09:23:29.535]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:23:32 [09:23:32.362]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:23:34 [09:23:34.829]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:23:37 [09:23:37.819]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:23:39 [09:23:39.390]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:23:40 [09:23:40.945]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:23:42 [09:23:42.519]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:23:43 [09:23:43.982]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:23:45 [09:23:45.477]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:23:47 [09:23:47.061]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:23:48 [09:23:48.716]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:23:50 [09:23:50.544]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:23:52 [09:23:52.318]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:23:54 [09:23:54.132]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:23:55 [09:23:55.910]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x27f63516d40cc25f574086ccd06c6e443695475a58a7497ae8d2253ac9593a0a for L2 block 1 has wrong index 10 (expected 0)
09:23:55 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
09:23:55 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:23:55 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:23:55 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:23:55 inboxMessage: {
09:23:55 index: 10n,
09:23:55 leaf: Fr<0x27f63516d40cc25f574086ccd06c6e443695475a58a7497ae8d2253ac9593a0a>,
09:23:55 l2BlockNumber: 1,
09:23:55 l1BlockNumber: 11n,
09:23:55 l1BlockHash: Buffer32<0x3f82da6591ba5e166fbebe46760501c458e5b35bf40935f300a3cb19b24bca5a>,
09:23:55 rollingHash: Buffer16<0xbef2c92e88fe61fb5db4d50aee32e367>
09:23:55 }
09:23:55 }
09:23:55 [09:23:55.916]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:23:57 [09:23:57.657]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x06d794d77facfa3b5f37da908a967a63a8e0549d2c5b7a8178e250cd3504ee14 at block 12 (expected value in range [176, 192))
09:23:57 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
09:23:57 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:23:57 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:23:57 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:23:57 inboxMessage: {
09:23:57 index: 224n,
09:23:57 leaf: Fr<0x06d794d77facfa3b5f37da908a967a63a8e0549d2c5b7a8178e250cd3504ee14>,
09:23:57 l2BlockNumber: 12,
09:23:57 l1BlockNumber: 42n,
09:23:57 l1BlockHash: Buffer32<0x74e49e5e5254ac3022ebef97943224115cddbd5700313b4874c970d344dba4ed>,
09:23:57 rollingHash: Buffer16<0x2c70d8eb726c327c0d21423166a33d9a>
09:23:57 }
09:23:57 }
09:23:57 [09:23:57.661]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:23:59 [09:23:59.354]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x2c5164e943327f49e7de368ccb4d8d1ed1018f8312b1b809e0c2bb23941e9d2b with index 16 (expected 0x1fd1cce49eddebaa021a76c755783fe8 from previous hash 0xdd4956017ebb67fe168dfd623a3b264a but got 0x8b8054c6bf05977433e590fdb9caed6b)
09:23:59 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
09:23:59 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:23:59 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:23:59 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:23:59 inboxMessage: {
09:23:59 index: 16n,
09:23:59 leaf: Fr<0x2c5164e943327f49e7de368ccb4d8d1ed1018f8312b1b809e0c2bb23941e9d2b>,
09:23:59 l2BlockNumber: 2,
09:23:59 l1BlockNumber: 98n,
09:23:59 l1BlockHash: Buffer32<0x4fd36cf9545ae477e4166e62f85a00a87a267951b9ca985f6b6d7fd36b5d61bc>,
09:23:59 rollingHash: Buffer16<0x8b8054c6bf05977433e590fdb9caed6b>
09:23:59 }
09:23:59 }
09:23:59 [09:23:59.358]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:24:01 [09:24:01.266]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x1bcb4b29582157671020443afb4581af98721f7c3acae13969c63575d9ab6a84 with index 32 (expected 0x5175610d77f7a03b984ea96dd909186b from previous hash 0x40692d51688485111ed752e3f7f270ec but got 0xaae1d886f4aa2bc121d66c6c68b7807f)
09:24:01 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
09:24:01 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:24:01 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:24:01 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:24:01 inboxMessage: {
09:24:01 index: 32n,
09:24:01 leaf: Fr<0x1bcb4b29582157671020443afb4581af98721f7c3acae13969c63575d9ab6a84>,
09:24:01 l2BlockNumber: 3,
09:24:01 l1BlockNumber: 64n,
09:24:01 l1BlockHash: Buffer32<0xc0cbe8d1a8017bcf103ae180bf03c683181703d2ec5eb898e97cf1b3a16b0376>,
09:24:01 rollingHash: Buffer16<0xaae1d886f4aa2bc121d66c6c68b7807f>
09:24:01 }
09:24:01 }
09:24:01 [09:24:01.269]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:24:03 [09:24:03.089]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x0c3baa58d9a648899ce2f57be7df105a371312073bf9fc2fa7dc3b5d9776e393 at block 17 (expected value in range [256, 272))
09:24:03 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
09:24:03 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:24:03 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:24:03 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:24:03 inboxMessage: {
09:24:03 index: 356n,
09:24:03 leaf: Fr<0x0c3baa58d9a648899ce2f57be7df105a371312073bf9fc2fa7dc3b5d9776e393>,
09:24:03 l2BlockNumber: 17,
09:24:03 l1BlockNumber: 2n,
09:24:03 l1BlockHash: Buffer32<0xf08ab651e211b1581561190dd82a65621b0eaf4358fbb597d00ab0824f42499f>,
09:24:03 rollingHash: Buffer16<0x14c8ddeaa09e76599af9e28246e2110b>
09:24:03 }
09:24:03 }
09:24:03 [09:24:03.093]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:24:04 [09:24:04.898]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x2b4f4f16ca45830614bc14715ad04562ff0f6f22a175f76ee51c54c9c21ae8bb for L2 block 15 has wrong index 225 (expected 224)
09:24:04 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
09:24:04 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:24:04 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:24:04 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:24:04 inboxMessage: {
09:24:04 index: 225n,
09:24:04 leaf: Fr<0x2b4f4f16ca45830614bc14715ad04562ff0f6f22a175f76ee51c54c9c21ae8bb>,
09:24:04 l2BlockNumber: 15,
09:24:04 l1BlockNumber: 31n,
09:24:04 l1BlockHash: Buffer32<0x248f5afc330d0a99e07821c01a52b9535ae78540888aee1f1a1c2b87bb5792c5>,
09:24:04 rollingHash: Buffer16<0xebddb18fd1063a2fe54782a21ef1cfb7>
09:24:04 }
09:24:04 }
09:24:04 [09:24:04.902]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:24:06 [09:24:06.905]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x1613ed502946235d84085be6542aae57b403265b91e3bc810e02f151e67ec142 at block 2 (expected value in range [16, 32))
09:24:06 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
09:24:06 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:24:06 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:24:06 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:24:06 inboxMessage: {
09:24:06 index: 32n,
09:24:06 leaf: Fr<0x1613ed502946235d84085be6542aae57b403265b91e3bc810e02f151e67ec142>,
09:24:06 l2BlockNumber: 2,
09:24:06 l1BlockNumber: 10n,
09:24:06 l1BlockHash: Buffer32<0x287a33481479fb8ecec9973363f8e9d02e62e093c8aa8ec415bef2fdbc08898e>,
09:24:06 rollingHash: Buffer16<0x524b112d67bbcaf7b2725cd940168152>
09:24:06 }
09:24:06 }
09:24:06 [09:24:06.908]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:24:08 [09:24:08.875]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
09:24:08 [09:24:08.916]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:24:10 [09:24:10.657]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
09:24:10 [09:24:10.678]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:24:12 [09:24:12.495]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:24:14 [09:24:14.390]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:24:16 [09:24:16.163]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:24:17 [09:24:17.979]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:24:19 [09:24:19.759]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:24:21 [09:24:21.446]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:24:23 [09:24:23.177]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:24:25 [09:24:24.999]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:24:26 [09:24:26.913]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:24:28 [09:24:28.767]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:24:30 [09:24:30.690]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:24:32 [09:24:32.708]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:24:34 [09:24:34.578]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:24:36 [09:24:36.466]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:24:38 [09:24:38.291]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:24:40 [09:24:40.287]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:24:43 [09:24:43.889]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:24:46 [09:24:46.995]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:24:50 [09:24:50.462]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:24:53 [09:24:53.197]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:24:58 [09:24:58.775]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:25:04 [09:25:04.182]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:25:09 [09:25:09.545]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:25:14 [09:25:14.515]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:25:18 [09:25:18.758]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:25:22 [09:25:22.434]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:25:26 [09:25:26.811]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:25:31
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
189.258 s)
09:25:31 KVArchiverDataStore
09:25:31 ArchiverStore
09:25:31 addBlocks
09:25:31
✓ returns success when adding blocks (1961 ms)
09:25:31
✓ allows duplicate blocks (1461 ms)
09:25:31
✓ throws an error if the previous block does not exist in the store (974 ms)
09:25:31
✓ throws an error if there is a gap in the blocks being added (1041 ms)
09:25:31 unwindBlocks
09:25:31
✓ unwinding blocks will remove blocks from the chain (1516 ms)
09:25:31
✓ can unwind multiple empty blocks (847 ms)
09:25:31
✓ refuses to unwind blocks if the tip is not the last block (1236 ms)
09:25:31 getBlocks
09:25:31
✓ retrieves previously stored blocks (1305 ms)
09:25:31
✓ retrieves previously stored blocks (1554 ms)
09:25:31
✓ retrieves previously stored blocks (1670 ms)
09:25:31
✓ retrieves previously stored blocks (1648 ms)
09:25:31
✓ retrieves previously stored blocks (1529 ms)
09:25:31
✓ returns an empty array if no blocks are found (1438 ms)
09:25:31
✓ throws an error if limit is invalid (1801 ms)
09:25:31
✓ throws an error if `from` it is out of range (1939 ms)
09:25:31
✓ throws an error if unexpected initial block number is found (1797 ms)
09:25:31
✓ throws an error if a gap is found (2433 ms)
09:25:31 getSyncedL2BlockNumber
09:25:31
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1608 ms)
09:25:31
✓ returns the most recently added block's number (2290 ms)
09:25:31 getSynchPoint
09:25:31
✓ returns undefined if no blocks have been added (1210 ms)
09:25:31
✓ returns the L1 block number in which the most recent L2 block was published (2101 ms)
09:25:31
✓ returns the L1 block number that most recently added messages from inbox (1171 ms)
09:25:31
✓ returns the latest syncpoint if latest message is behind (1407 ms)
09:25:31 addLogs
09:25:31
✓ adds private & public logs (1439 ms)
09:25:31 deleteLogs
09:25:31
✓ deletes private & public logs (1488 ms)
09:25:31 getPrivateLogs
09:25:31
✓ gets added private logs (1413 ms)
09:25:31 getTxEffect
09:25:31
✓ retrieves a previously stored transaction (2795 ms)
09:25:31
✓ retrieves a previously stored transaction (2505 ms)
09:25:31
✓ retrieves a previously stored transaction (2552 ms)
09:25:31
✓ retrieves a previously stored transaction (2586 ms)
09:25:31
✓ retrieves a previously stored transaction (2686 ms)
09:25:31
✓ returns undefined if tx is not found (2204 ms)
09:25:31
✓ tries to retrieves a previously stored transaction after deleted (2565 ms)
09:25:31
✓ tries to retrieves a previously stored transaction after deleted (2660 ms)
09:25:31
✓ tries to retrieves a previously stored transaction after deleted (2703 ms)
09:25:31
✓ tries to retrieves a previously stored transaction after deleted (2579 ms)
09:25:31
✓ tries to retrieves a previously stored transaction after deleted (2826 ms)
09:25:31
✓ returns undefined if tx is not found (2467 ms)
09:25:31
✓ does not fail if the block is unwound while requesting a tx (2989 ms)
09:25:31 L1 to L2 Messages
09:25:31
✓ stores first message ever (1570 ms)
09:25:31
✓ stores single message (1554 ms)
09:25:31
✓ stores and returns messages across different blocks (1573 ms)
09:25:31
✓ stores the same messages again (1461 ms)
09:25:31
✓ stores and returns messages across different blocks with gaps (1495 ms)
09:25:31
✓ stores and returns messages with block numbers larger than a byte (1583 ms)
09:25:31
✓ stores and returns multiple messages per block (1653 ms)
09:25:31
✓ stores messages in multiple operations (1824 ms)
09:25:31
✓ iterates over messages from start index (1772 ms)
09:25:31
✓ iterates over messages in reverse (1816 ms)
09:25:31
✓ throws if messages are added out of order (1783 ms)
09:25:31
✓ throws if block number for the first message is out of order (1745 ms)
09:25:31
✓ throws if rolling hash is not correct (1697 ms)
09:25:31
✓ throws if rolling hash for first message is not correct (1911 ms)
09:25:31
✓ throws if index is not in the correct range (1823 ms)
09:25:31
✓ throws if first index in block has gaps (1808 ms)
09:25:31
✓ throws if index does not follow previous one (2005 ms)
09:25:31
✓ removes messages up to the given block number (2005 ms)
09:25:31
✓ removes messages starting with the given index (1762 ms)
09:25:31 contractInstances
09:25:31
✓ returns previously stored contract instances (1815 ms)
09:25:31
✓ returns undefined if contract instance is not found (1895 ms)
09:25:31
✓ returns undefined if previously stored contract instances was deleted (1771 ms)
09:25:31 contractInstanceUpdates
09:25:31
✓ gets the correct current class id for a contract not updated yet (1815 ms)
09:25:31
✓ gets the correct current class id for a contract that has just been updated (1780 ms)
09:25:31
✓ gets the correct current class id for a contract that was updated in the past (1686 ms)
09:25:31
✓ ignores updates for the wrong contract (1730 ms)
09:25:31
✓ bounds its search to the right contract if more than than one update exists (1816 ms)
09:25:31 contractClasses
09:25:31
✓ returns previously stored contract class (1917 ms)
09:25:31
✓ returns undefined if the initial deployed contract class was deleted (1853 ms)
09:25:31
✓ returns contract class if later "deployment" class was deleted (1923 ms)
09:25:31
✓ returns undefined if contract class is not found (2016 ms)
09:25:31
✓ adds new private functions (1868 ms)
09:25:31
✓ does not duplicate private functions (1887 ms)
09:25:31
✓ adds new utility functions (1824 ms)
09:25:31
✓ does not duplicate utility functions (1992 ms)
09:25:31 getLogsByTags
09:25:31
✓ is possible to batch request private logs via tags (3604 ms)
09:25:31
✓ is possible to batch request all logs (private and public) via tags (3105 ms)
09:25:31
✓ is possible to batch request logs that have the same tag but different content (3467 ms)
09:25:31
✓ is possible to request logs for non-existing tags and determine their position (2733 ms)
09:25:31 getPublicLogs
09:25:31
✓ no logs returned if deleted ("txHash" filter param is respected variant) (5578 ms)
09:25:31
✓ "txHash" filter param is respected (5402 ms)
09:25:31
✓ "fromBlock" and "toBlock" filter params are respected (5365 ms)
09:25:31
✓ "contractAddress" filter param is respected (4969 ms)
09:25:31
✓ "afterLog" filter param is respected (4244 ms)
09:25:31
✓ "txHash" filter param is ignored when "afterLog" is set (3675 ms)
09:25:31
✓ intersecting works (4376 ms)
09:25:31
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4491 ms)
09:25:31
09:25:31
Test Suites: 1 passed, 1 total
09:25:31
Tests: 86 passed, 86 total
09:25:31
Snapshots: 0 total
09:25:31
Time: 189.33 s
09:25:31
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
09:25:31
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?