Parent Log:
http://ci.aztec-labs.com/ea435d2af522830a
Command: 557c108a8ed544a3 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/ed4f6d71e2ea98f43186114eb914d54b87dd1183
Env: REF_NAME=gh-readonly-queue/next/pr-15116-433ba6218aed45169029991a493e4232b30b8ec6 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 17 19:33:27 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15116_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
19:33:29 [19:33:29.618]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:31 [19:33:31.170]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:32 [19:33:32.791]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:33 [19:33:33.855]
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
19:33:33 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
19:33:33 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
19:33:33 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
19:33:33 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
19:33:33 newBlockNumber: 2,
19:33:33 previousBlockNumber: undefined
19:33:33 }
19:33:33 [19:33:33.862]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:35 [19:33:35.028]
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
19:33:35 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17
19:33:35 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
19:33:35 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
19:33:35 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
19:33:35 [19:33:35.031]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:36 [19:33:36.523]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:37 [19:33:37.592]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:38 [19:33:38.930]
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)
19:33:38 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15
19:33:38 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
19:33:38 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
19:33:38 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
19:33:38 [19:33:38.934]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:40 [19:33:40.353]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:42 [19:33:42.189]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:44 [19:33:44.125]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:45 [19:33:45.583]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:47 [19:33:47.224]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:48 [19:33:48.685]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:50 [19:33:50.327]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:52 [19:33:52.317]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:55 [19:33:55.448]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:57 [19:33:57.954]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:59 [19:33:59.769]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:34:01 [19:34:01.465]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:34:02 [19:34:02.862]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:34:04 [19:34:04.803]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:34:06 [19:34:06.197]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:34:07 [19:34:07.422]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:34:08 [19:34:08.801]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:34:10 [19:34:10.181]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:34:11 [19:34:11.713]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:34:14 [19:34:14.106]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:34:16 [19:34:16.675]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:34:19 [19:34:19.322]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:34:21 [19:34:21.714]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:34:24 [19:34:24.276]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:34:26 [19:34:26.754]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:34:29 [19:34:29.535]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:34:32 [19:34:32.369]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:34:34 [19:34:34.967]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:34:37 [19:34:37.547]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:34:40 [19:34:40.576]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:34:43 [19:34:43.155]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:34:46 [19:34:46.441]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:34:48 [19:34:48.077]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:34:49 [19:34:49.777]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:34:51 [19:34:51.528]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:34:53 [19:34:53.308]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:34:55 [19:34:55.203]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:34:57 [19:34:57.030]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:34:58 [19:34:58.979]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:35:01 [19:35:01.029]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:35:02 [19:35:02.872]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:35:04 [19:35:04.791]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:35:06 [19:35:06.498]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x28b80033944972887d10adeb113e21abe32d9d6ad6fb0da36ed43e5b91312c83 for L2 block 1 has wrong index 10 (expected 0)
19:35:06 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
19:35:06 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
19:35:06 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
19:35:06 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
19:35:06 inboxMessage: {
19:35:06 index: 10n,
19:35:06 leaf: Fr<0x28b80033944972887d10adeb113e21abe32d9d6ad6fb0da36ed43e5b91312c83>,
19:35:06 l2BlockNumber: 1,
19:35:06 l1BlockNumber: 7n,
19:35:06 l1BlockHash: Buffer32<0x846ddcfc444bec6b6c7552d44b5356cd746baf4c7ed60f40cf34c333acb80a6f>,
19:35:06 rollingHash: Buffer16<0xdf86d74e63b2d298b5690e9af8818fc3>
19:35:06 }
19:35:06 }
19:35:06 [19:35:06.503]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:35:08 [19:35:08.311]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x1e5f21905825a2fec24a9a2fc0caca96e06787670d1491828b67b24077cd7f71 at block 12 (expected value in range [176, 192))
19:35:08 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
19:35:08 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
19:35:08 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
19:35:08 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
19:35:08 inboxMessage: {
19:35:08 index: 224n,
19:35:08 leaf: Fr<0x1e5f21905825a2fec24a9a2fc0caca96e06787670d1491828b67b24077cd7f71>,
19:35:08 l2BlockNumber: 12,
19:35:08 l1BlockNumber: 78n,
19:35:08 l1BlockHash: Buffer32<0x86178e1fbdbd5273f8a905315f6cb8a6f6cbdec7b759a7b83d475a674ef1177a>,
19:35:08 rollingHash: Buffer16<0xcd832c48a82a3ec2b6a4ff02e4e29e5d>
19:35:08 }
19:35:08 }
19:35:08 [19:35:08.314]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:35:10 [19:35:10.346]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x034b2171eeb5580ce16e476c8d15e43dd48b8c2c994424b8d339697fef24a3b9 with index 16 (expected 0xa3ee089240ee2d0161b67a9a09f64b8f from previous hash 0x353220b74b4735c7b828084482627cd8 but got 0xdf8818421686deb5cba16375bc2ec5c3)
19:35:10 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
19:35:10 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
19:35:10 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
19:35:10 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
19:35:10 inboxMessage: {
19:35:10 index: 16n,
19:35:10 leaf: Fr<0x034b2171eeb5580ce16e476c8d15e43dd48b8c2c994424b8d339697fef24a3b9>,
19:35:10 l2BlockNumber: 2,
19:35:10 l1BlockNumber: 68n,
19:35:10 l1BlockHash: Buffer32<0x990e84a76a3b94bcff98bb42e839fddde13f8c1abbb631d8912e05107a653f94>,
19:35:10 rollingHash: Buffer16<0xdf8818421686deb5cba16375bc2ec5c3>
19:35:10 }
19:35:10 }
19:35:10 [19:35:10.351]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:35:12 [19:35:12.149]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x1d8708fba784fe7af87f19338d8ecd8ffaf2c6c47477b288a018a31381da83c5 with index 32 (expected 0x5050a01ed5eee365bdefa4ceaadcf4ab from previous hash 0x3a3aa581d5c336cbfc719c15c8c62bbf but got 0x5edcd430e5656a838182c5bfbe3b58a3)
19:35:12 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
19:35:12 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
19:35:12 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
19:35:12 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
19:35:12 inboxMessage: {
19:35:12 index: 32n,
19:35:12 leaf: Fr<0x1d8708fba784fe7af87f19338d8ecd8ffaf2c6c47477b288a018a31381da83c5>,
19:35:12 l2BlockNumber: 3,
19:35:12 l1BlockNumber: 11n,
19:35:12 l1BlockHash: Buffer32<0xd8fa238116b13389f16241cc4306671a211c201a95b2d010534d62c45b04bfea>,
19:35:12 rollingHash: Buffer16<0x5edcd430e5656a838182c5bfbe3b58a3>
19:35:12 }
19:35:12 }
19:35:12 [19:35:12.153]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:35:13 [19:35:13.845]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x137e06698a3f6e3e8a03fe34097459a4c520d26bac5ec2d7cd68a968d2be17c5 at block 17 (expected value in range [256, 272))
19:35:13 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
19:35:13 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
19:35:13 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
19:35:13 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
19:35:13 inboxMessage: {
19:35:13 index: 356n,
19:35:13 leaf: Fr<0x137e06698a3f6e3e8a03fe34097459a4c520d26bac5ec2d7cd68a968d2be17c5>,
19:35:13 l2BlockNumber: 17,
19:35:13 l1BlockNumber: 40n,
19:35:13 l1BlockHash: Buffer32<0xdb123d6c6edf34718c51722845b5a518cd76b8285a510bda44637149d68204e7>,
19:35:13 rollingHash: Buffer16<0xc20cfa29eae6240a278eac8fa31fabb9>
19:35:13 }
19:35:13 }
19:35:13 [19:35:13.847]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:35:15 [19:35:15.630]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x00d2381db87b89a9c8825902b3c01fcbd2e3c5e7395c4e5695bd830e7b9c0075 for L2 block 15 has wrong index 225 (expected 224)
19:35:15 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
19:35:15 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
19:35:15 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
19:35:15 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
19:35:15 inboxMessage: {
19:35:15 index: 225n,
19:35:15 leaf: Fr<0x00d2381db87b89a9c8825902b3c01fcbd2e3c5e7395c4e5695bd830e7b9c0075>,
19:35:15 l2BlockNumber: 15,
19:35:15 l1BlockNumber: 79n,
19:35:15 l1BlockHash: Buffer32<0xfcdc65715b456a0e8951388e2413b56e3a0eb0bae83a016f658fffad761ca529>,
19:35:15 rollingHash: Buffer16<0x400f5968b6f09dc24cf1a8416abf2970>
19:35:15 }
19:35:15 }
19:35:15 [19:35:15.634]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:35:17 [19:35:17.545]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x23902f043f37ae6fa13ccd86e846c255bcc425b1d1bbb07fc12b31251eea3062 at block 2 (expected value in range [16, 32))
19:35:17 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
19:35:17 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
19:35:17 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
19:35:17 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
19:35:17 inboxMessage: {
19:35:17 index: 32n,
19:35:17 leaf: Fr<0x23902f043f37ae6fa13ccd86e846c255bcc425b1d1bbb07fc12b31251eea3062>,
19:35:17 l2BlockNumber: 2,
19:35:17 l1BlockNumber: 32n,
19:35:17 l1BlockHash: Buffer32<0xa21d1c724f498876d262e99705e8fee2ff1d2d66580c9ccd7bad3e5bb003cc10>,
19:35:17 rollingHash: Buffer16<0x9bc59368d678b248e27b259486a8b8f7>
19:35:17 }
19:35:17 }
19:35:17 [19:35:17.552]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:35:19 [19:35:19.491]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
19:35:19 [19:35:19.527]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:35:21 [19:35:21.511]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
19:35:21 [19:35:21.541]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:35:23 [19:35:23.619]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:35:25 [19:35:25.838]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:35:27 [19:35:27.687]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:35:29 [19:35:29.392]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:35:31 [19:35:31.103]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:35:32 [19:35:32.825]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:35:34 [19:35:34.475]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:35:36 [19:35:36.309]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:35:38 [19:35:38.147]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:35:40 [19:35:40.035]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:35:41 [19:35:41.883]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:35:43 [19:35:43.792]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:35:45 [19:35:45.705]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:35:47 [19:35:47.593]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:35:49 [19:35:49.527]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:35:51 [19:35:51.448]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:35:54 [19:35:54.618]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:35:57 [19:35:57.747]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:36:01 [19:36:01.335]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:36:04 [19:36:04.539]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:36:11 [19:36:11.398]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:36:16 [19:36:16.620]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:36:21 [19:36:21.236]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:36:25 [19:36:25.444]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:36:29 [19:36:29.891]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:36:35 [19:36:35.619]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:36:40 [19:36:40.837]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:36:45
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
197.129 s)
19:36:45 KVArchiverDataStore
19:36:45 ArchiverStore
19:36:45 addBlocks
19:36:45
✓ returns success when adding blocks (1573 ms)
19:36:45
✓ allows duplicate blocks (1620 ms)
19:36:45
✓ throws an error if the previous block does not exist in the store (1068 ms)
19:36:45
✓ throws an error if there is a gap in the blocks being added (1171 ms)
19:36:45 unwindBlocks
19:36:45
✓ unwinding blocks will remove blocks from the chain (1491 ms)
19:36:45
✓ can unwind multiple empty blocks (1065 ms)
19:36:45
✓ refuses to unwind blocks if the tip is not the last block (1342 ms)
19:36:45 getBlocks
19:36:45
✓ retrieves previously stored blocks (1418 ms)
19:36:45
✓ retrieves previously stored blocks (1831 ms)
19:36:45
✓ retrieves previously stored blocks (1940 ms)
19:36:45
✓ retrieves previously stored blocks (1458 ms)
19:36:45
✓ retrieves previously stored blocks (1640 ms)
19:36:45
✓ returns an empty array if no blocks are found (1461 ms)
19:36:45
✓ throws an error if limit is invalid (1638 ms)
19:36:45
✓ throws an error if `from` it is out of range (1993 ms)
19:36:45
✓ throws an error if unexpected initial block number is found (3131 ms)
19:36:45
✓ throws an error if a gap is found (2494 ms)
19:36:45 getSyncedL2BlockNumber
19:36:45
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1825 ms)
19:36:45
✓ returns the most recently added block's number (1696 ms)
19:36:45 getSynchPoint
19:36:45
✓ returns undefined if no blocks have been added (1397 ms)
19:36:45
✓ returns the L1 block number in which the most recent L2 block was published (1940 ms)
19:36:45
✓ returns the L1 block number that most recently added messages from inbox (1393 ms)
19:36:45
✓ returns the latest syncpoint if latest message is behind (1224 ms)
19:36:45 addLogs
19:36:45
✓ adds private & public logs (1378 ms)
19:36:45 deleteLogs
19:36:45
✓ deletes private & public logs (1378 ms)
19:36:45 getPrivateLogs
19:36:45
✓ gets added private logs (1532 ms)
19:36:45 getTxEffect
19:36:45
✓ retrieves a previously stored transaction (2392 ms)
19:36:45
✓ retrieves a previously stored transaction (2568 ms)
19:36:45
✓ retrieves a previously stored transaction (2643 ms)
19:36:45
✓ retrieves a previously stored transaction (2395 ms)
19:36:45
✓ retrieves a previously stored transaction (2560 ms)
19:36:45
✓ returns undefined if tx is not found (2477 ms)
19:36:45
✓ tries to retrieves a previously stored transaction after deleted (2781 ms)
19:36:45
✓ tries to retrieves a previously stored transaction after deleted (2835 ms)
19:36:45
✓ tries to retrieves a previously stored transaction after deleted (2595 ms)
19:36:45
✓ tries to retrieves a previously stored transaction after deleted (2581 ms)
19:36:45
✓ tries to retrieves a previously stored transaction after deleted (3028 ms)
19:36:45
✓ returns undefined if tx is not found (2578 ms)
19:36:45
✓ does not fail if the block is unwound while requesting a tx (3285 ms)
19:36:45 L1 to L2 Messages
19:36:45
✓ stores first message ever (1635 ms)
19:36:45
✓ stores single message (1699 ms)
19:36:45
✓ stores and returns messages across different blocks (1748 ms)
19:36:45
✓ stores the same messages again (1779 ms)
19:36:45
✓ stores and returns messages across different blocks with gaps (1896 ms)
19:36:45
✓ stores and returns messages with block numbers larger than a byte (1814 ms)
19:36:45
✓ stores and returns multiple messages per block (1959 ms)
19:36:45
✓ stores messages in multiple operations (2049 ms)
19:36:45
✓ iterates over messages from start index (1842 ms)
19:36:45
✓ iterates over messages in reverse (1920 ms)
19:36:45
✓ throws if messages are added out of order (1710 ms)
19:36:45
✓ throws if block number for the first message is out of order (1812 ms)
19:36:45
✓ throws if rolling hash is not correct (2035 ms)
19:36:45
✓ throws if rolling hash for first message is not correct (1801 ms)
19:36:45
✓ throws if index is not in the correct range (1695 ms)
19:36:45
✓ throws if first index in block has gaps (1786 ms)
19:36:45
✓ throws if index does not follow previous one (1914 ms)
19:36:45
✓ removes messages up to the given block number (1978 ms)
19:36:45
✓ removes messages starting with the given index (2011 ms)
19:36:45 contractInstances
19:36:45
✓ returns previously stored contract instances (2079 ms)
19:36:45
✓ returns undefined if contract instance is not found (2219 ms)
19:36:45
✓ returns undefined if previously stored contract instances was deleted (1848 ms)
19:36:45 contractInstanceUpdates
19:36:45
✓ gets the correct current class id for a contract not updated yet (1703 ms)
19:36:45
✓ gets the correct current class id for a contract that has just been updated (1710 ms)
19:36:45
✓ gets the correct current class id for a contract that was updated in the past (1723 ms)
19:36:45
✓ ignores updates for the wrong contract (1647 ms)
19:36:45
✓ bounds its search to the right contract if more than than one update exists (1834 ms)
19:36:45 contractClasses
19:36:45
✓ returns previously stored contract class (1837 ms)
19:36:45
✓ returns undefined if the initial deployed contract class was deleted (1886 ms)
19:36:45
✓ returns contract class if later "deployment" class was deleted (1847 ms)
19:36:45
✓ returns undefined if contract class is not found (1910 ms)
19:36:45
✓ adds new private functions (1912 ms)
19:36:45
✓ does not duplicate private functions (1885 ms)
19:36:45
✓ adds new utility functions (1934 ms)
19:36:45
✓ does not duplicate utility functions (1920 ms)
19:36:45 getLogsByTags
19:36:45
✓ is possible to batch request private logs via tags (3168 ms)
19:36:45
✓ is possible to batch request all logs (private and public) via tags (3129 ms)
19:36:45
✓ is possible to batch request logs that have the same tag but different content (3587 ms)
19:36:45
✓ is possible to request logs for non-existing tags and determine their position (3203 ms)
19:36:45 getPublicLogs
19:36:45
✓ no logs returned if deleted ("txHash" filter param is respected variant) (6859 ms)
19:36:45
✓ "txHash" filter param is respected (5221 ms)
19:36:45
✓ "fromBlock" and "toBlock" filter params are respected (4613 ms)
19:36:45
✓ "contractAddress" filter param is respected (4209 ms)
19:36:45
✓ "afterLog" filter param is respected (4447 ms)
19:36:45
✓ "txHash" filter param is ignored when "afterLog" is set (5727 ms)
19:36:45
✓ intersecting works (5218 ms)
19:36:45
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4249 ms)
19:36:45
19:36:45
Test Suites: 1 passed, 1 total
19:36:45
Tests: 86 passed, 86 total
19:36:45
Snapshots: 0 total
19:36:45
Time: 197.245 s
19:36:45
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
19:36:45
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?