Parent Log:
http://ci.aztec-labs.com/15f929f375de3825
Command: 5c58d0b0e69f02f7 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/7339c264ad706420ee9babb0dd1b6ed793e97402
Env: REF_NAME=gh-readonly-queue/next/pr-15039-ddabb45f79cc171e41a0a5330544775de9fdf7fd CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 13 15:01:43 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15039_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
15:01:46 [15:01:46.061]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:01:47 [15:01:47.587]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:01:48 [15:01:48.993]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:01:50 [15:01:50.103]
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
15:01:50 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
15:01:50 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:01:50 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:01:50 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:01:50 newBlockNumber: 2,
15:01:50 previousBlockNumber: undefined
15:01:50 }
15:01:50 [15:01:50.108]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:01:51 [15:01:51.191]
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
15:01:51 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17
15:01:51 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:01:51 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:01:51 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
15:01:51 [15:01:51.195]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:01:52 [15:01:52.579]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:01:53 [15:01:53.525]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:01:54 [15:01:54.847]
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)
15:01:54 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15
15:01:54 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:01:54 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:01:54 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
15:01:54 [15:01:54.852]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:01:56 [15:01:56.184]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:01:57 [15:01:57.468]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:01:59 [15:01:59.070]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:02:00 [15:02:00.615]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:02:01 [15:02:01.957]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:02:02 [15:02:02.977]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:02:04 [15:02:04.098]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:02:05 [15:02:05.218]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:02:06 [15:02:06.661]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:02:08 [15:02:08.727]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:02:10 [15:02:10.856]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:02:12 [15:02:12.581]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:02:13 [15:02:13.802]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:02:15 [15:02:15.568]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:02:16 [15:02:16.997]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:02:18 [15:02:18.320]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:02:19 [15:02:19.731]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:02:21 [15:02:21.291]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:02:22 [15:02:22.584]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:02:25 [15:02:25.002]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:02:27 [15:02:27.415]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:02:29 [15:02:29.813]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:02:32 [15:02:32.289]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:02:34 [15:02:34.770]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:02:37 [15:02:37.184]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:02:39 [15:02:39.880]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:02:42 [15:02:42.624]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:02:44 [15:02:44.877]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:02:47 [15:02:47.071]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:02:49 [15:02:49.856]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:02:52 [15:02:52.206]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:02:55 [15:02:55.293]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:02:56 [15:02:56.689]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:02:58 [15:02:58.169]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:02:59 [15:02:59.583]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:03:00 [15:03:00.897]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:03:02 [15:03:02.161]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:03:03 [15:03:03.615]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:03:05 [15:03:05.337]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:03:07 [15:03:07.110]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:03:08 [15:03:08.921]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:03:10 [15:03:10.521]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:03:12 [15:03:12.437]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x0efc3d40dcddec2f302b33704c4666d0c7ddd13ff7b171d1d374ad81fd0c0762 for L2 block 1 has wrong index 10 (expected 0)
15:03:12 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
15:03:12 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:03:12 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:03:12 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:03:12 inboxMessage: {
15:03:12 index: 10n,
15:03:12 leaf: Fr<0x0efc3d40dcddec2f302b33704c4666d0c7ddd13ff7b171d1d374ad81fd0c0762>,
15:03:12 l2BlockNumber: 1,
15:03:12 l1BlockNumber: 84n,
15:03:12 l1BlockHash: Buffer32<0xe049b9cf64dc264eedc0fda0556cc3b11f5080914f912602db92fc9ca779b7b8>,
15:03:12 rollingHash: Buffer16<0x953edfb5e621263b8040798bc2b745ae>
15:03:12 }
15:03:12 }
15:03:12 [15:03:12.445]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:03:14 [15:03:14.335]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x11a081f111dc324b9229e74baee9da6c3a5951ee7366be11dc7c048daa2753ec at block 12 (expected value in range [176, 192))
15:03:14 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
15:03:14 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:03:14 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:03:14 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:03:14 inboxMessage: {
15:03:14 index: 224n,
15:03:14 leaf: Fr<0x11a081f111dc324b9229e74baee9da6c3a5951ee7366be11dc7c048daa2753ec>,
15:03:14 l2BlockNumber: 12,
15:03:14 l1BlockNumber: 35n,
15:03:14 l1BlockHash: Buffer32<0x9037232e530fc59012b3ebbb272a9fe995beb9e3408be94b6a0d933a4686cce6>,
15:03:14 rollingHash: Buffer16<0xc3e9cf07142ec6c7b4d4d640568f13a2>
15:03:14 }
15:03:14 }
15:03:14 [15:03:14.352]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:03:16 [15:03:16.228]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x247f54d042a394fd60b2d2e5d664d032909eaa89374b1d5dd474e9a0daa77c75 with index 16 (expected 0x62799e301d43b6ed09d1a9632852fbb7 from previous hash 0xaafe647aac80ffa3aa52b930d5fbd7a5 but got 0x90cab44052b9c114c808f62bbbe9e784)
15:03:16 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
15:03:16 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:03:16 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:03:16 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:03:16 inboxMessage: {
15:03:16 index: 16n,
15:03:16 leaf: Fr<0x247f54d042a394fd60b2d2e5d664d032909eaa89374b1d5dd474e9a0daa77c75>,
15:03:16 l2BlockNumber: 2,
15:03:16 l1BlockNumber: 37n,
15:03:16 l1BlockHash: Buffer32<0x41e68c723e853c4c6fed9e22dc32e5d04d582cbce443f5ca9a08852febd6fefa>,
15:03:16 rollingHash: Buffer16<0x90cab44052b9c114c808f62bbbe9e784>
15:03:16 }
15:03:16 }
15:03:16 [15:03:16.231]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:03:18 [15:03:18.112]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x248d7239e387601fdcb2f95b7b008843399d2b57cedaca5cfe5fe9c06926e035 with index 32 (expected 0xd366b0ac37a40d8abc50a6bb1cdf859d from previous hash 0x5d65f517f77e77e9550e13b92c8f9c63 but got 0x4e9a890d1279b27da3f066e6fa651176)
15:03:18 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
15:03:18 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:03:18 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:03:18 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:03:18 inboxMessage: {
15:03:18 index: 32n,
15:03:18 leaf: Fr<0x248d7239e387601fdcb2f95b7b008843399d2b57cedaca5cfe5fe9c06926e035>,
15:03:18 l2BlockNumber: 3,
15:03:18 l1BlockNumber: 30n,
15:03:18 l1BlockHash: Buffer32<0xab3889a28df97619ec59bf68f643f530e054df39f0fbbce1dbbcfec944265372>,
15:03:18 rollingHash: Buffer16<0x4e9a890d1279b27da3f066e6fa651176>
15:03:18 }
15:03:18 }
15:03:18 [15:03:18.116]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:03:19 [15:03:19.830]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x2bdb98e0e3cfe8fe66ce6a54cd50dd713c54cdf5c04fe5e4004c07dd733e5a64 at block 17 (expected value in range [256, 272))
15:03:19 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
15:03:19 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:03:19 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:03:19 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:03:19 inboxMessage: {
15:03:19 index: 356n,
15:03:19 leaf: Fr<0x2bdb98e0e3cfe8fe66ce6a54cd50dd713c54cdf5c04fe5e4004c07dd733e5a64>,
15:03:19 l2BlockNumber: 17,
15:03:19 l1BlockNumber: 10n,
15:03:19 l1BlockHash: Buffer32<0x6057075d562809929c9e8b985d78ffcd9b0ccf30e1372bb08908f6386ce2299e>,
15:03:19 rollingHash: Buffer16<0x9fcb186b3f22efd0bea3e3d941b24a7e>
15:03:19 }
15:03:19 }
15:03:19 [15:03:19.833]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:03:21 [15:03:21.622]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x253661002462c9d4efbdc120ba6966df30565ff7f1948d35b7f8ee215e82ed66 for L2 block 15 has wrong index 225 (expected 224)
15:03:21 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
15:03:21 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:03:21 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:03:21 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:03:21 inboxMessage: {
15:03:21 index: 225n,
15:03:21 leaf: Fr<0x253661002462c9d4efbdc120ba6966df30565ff7f1948d35b7f8ee215e82ed66>,
15:03:21 l2BlockNumber: 15,
15:03:21 l1BlockNumber: 41n,
15:03:21 l1BlockHash: Buffer32<0xf3567558679f39b54f14bc53ca2d16ee571defa3d5c3eb1a04f663dac22400c7>,
15:03:21 rollingHash: Buffer16<0x10340ea568064506a79d6783578dcb19>
15:03:21 }
15:03:21 }
15:03:21 [15:03:21.630]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:03:22 [15:03:22.952]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x1ebd6e7eed5697ac77e067fe77f53d99d790deac045e01e3e1e948a1e5ac959a at block 2 (expected value in range [16, 32))
15:03:22 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
15:03:22 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:03:22 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:03:22 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:03:22 inboxMessage: {
15:03:22 index: 32n,
15:03:22 leaf: Fr<0x1ebd6e7eed5697ac77e067fe77f53d99d790deac045e01e3e1e948a1e5ac959a>,
15:03:22 l2BlockNumber: 2,
15:03:22 l1BlockNumber: 37n,
15:03:22 l1BlockHash: Buffer32<0x6c6b19d92b0407d519665eb3c895294e923b4d9aca0f114303918cc0bb15e91d>,
15:03:22 rollingHash: Buffer16<0x9979c97d12a6cc2d2f6b03124bb94f8c>
15:03:22 }
15:03:22 }
15:03:22 [15:03:22.954]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:03:24 [15:03:24.388]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
15:03:24 [15:03:24.425]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:03:26 [15:03:26.175]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
15:03:26 [15:03:26.199]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:03:27 [15:03:27.910]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:03:29 [15:03:29.607]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:03:31 [15:03:31.287]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:03:33 [15:03:33.036]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:03:34 [15:03:34.879]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:03:36 [15:03:36.614]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:03:38 [15:03:38.331]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:03:40 [15:03:40.201]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:03:42 [15:03:42.206]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:03:44 [15:03:44.031]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:03:45 [15:03:45.870]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:03:47 [15:03:47.777]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:03:49 [15:03:49.564]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:03:51 [15:03:51.655]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:03:53 [15:03:53.400]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:03:55 [15:03:55.221]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:03:58 [15:03:58.371]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:04:01 [15:04:01.323]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:04:05 [15:04:05.190]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:04:08 [15:04:08.522]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:04:15 [15:04:15.510]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:04:21 [15:04:21.501]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:04:26 [15:04:26.998]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:04:31 [15:04:31.682]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:04:36 [15:04:36.502]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:04:41 [15:04:41.390]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:04:45 [15:04:45.963]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:04:50
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
186.461 s)
15:04:50 KVArchiverDataStore
15:04:50 ArchiverStore
15:04:50 addBlocks
15:04:50
✓ returns success when adding blocks (1526 ms)
15:04:50
✓ allows duplicate blocks (1395 ms)
15:04:50
✓ throws an error if the previous block does not exist in the store (1123 ms)
15:04:50
✓ throws an error if there is a gap in the blocks being added (1086 ms)
15:04:50 unwindBlocks
15:04:50
✓ unwinding blocks will remove blocks from the chain (1384 ms)
15:04:50
✓ can unwind multiple empty blocks (944 ms)
15:04:50
✓ refuses to unwind blocks if the tip is not the last block (1327 ms)
15:04:50 getBlocks
15:04:50
✓ retrieves previously stored blocks (1331 ms)
15:04:50
✓ retrieves previously stored blocks (1283 ms)
15:04:50
✓ retrieves previously stored blocks (1601 ms)
15:04:50
✓ retrieves previously stored blocks (1545 ms)
15:04:50
✓ retrieves previously stored blocks (1341 ms)
15:04:50
✓ returns an empty array if no blocks are found (1021 ms)
15:04:50
✓ throws an error if limit is invalid (1117 ms)
15:04:50
✓ throws an error if `from` it is out of range (1122 ms)
15:04:50
✓ throws an error if unexpected initial block number is found (1442 ms)
15:04:50
✓ throws an error if a gap is found (2065 ms)
15:04:50 getSyncedL2BlockNumber
15:04:50
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (2128 ms)
15:04:50
✓ returns the most recently added block's number (1725 ms)
15:04:50 getSynchPoint
15:04:50
✓ returns undefined if no blocks have been added (1220 ms)
15:04:50
✓ returns the L1 block number in which the most recent L2 block was published (1765 ms)
15:04:50
✓ returns the L1 block number that most recently added messages from inbox (1429 ms)
15:04:50
✓ returns the latest syncpoint if latest message is behind (1322 ms)
15:04:50 addLogs
15:04:50
✓ adds private & public logs (1410 ms)
15:04:50 deleteLogs
15:04:50
✓ deletes private & public logs (1560 ms)
15:04:50 getPrivateLogs
15:04:50
✓ gets added private logs (1292 ms)
15:04:50 getTxEffect
15:04:50
✓ retrieves a previously stored transaction (2419 ms)
15:04:50
✓ retrieves a previously stored transaction (2412 ms)
15:04:50
✓ retrieves a previously stored transaction (2397 ms)
15:04:50
✓ retrieves a previously stored transaction (2476 ms)
15:04:50
✓ retrieves a previously stored transaction (2480 ms)
15:04:50
✓ returns undefined if tx is not found (2415 ms)
15:04:50
✓ tries to retrieves a previously stored transaction after deleted (2695 ms)
15:04:50
✓ tries to retrieves a previously stored transaction after deleted (2745 ms)
15:04:50
✓ tries to retrieves a previously stored transaction after deleted (2253 ms)
15:04:50
✓ tries to retrieves a previously stored transaction after deleted (2191 ms)
15:04:50
✓ tries to retrieves a previously stored transaction after deleted (2787 ms)
15:04:50
✓ returns undefined if tx is not found (2349 ms)
15:04:50
✓ does not fail if the block is unwound while requesting a tx (3076 ms)
15:04:50 L1 to L2 Messages
15:04:50
✓ stores first message ever (1406 ms)
15:04:50
✓ stores single message (1479 ms)
15:04:50
✓ stores and returns messages across different blocks (1414 ms)
15:04:50
✓ stores the same messages again (1314 ms)
15:04:50
✓ stores and returns messages across different blocks with gaps (1263 ms)
15:04:50
✓ stores and returns messages with block numbers larger than a byte (1448 ms)
15:04:50
✓ stores and returns multiple messages per block (1726 ms)
15:04:50
✓ stores messages in multiple operations (1771 ms)
15:04:50
✓ iterates over messages from start index (1813 ms)
15:04:50
✓ iterates over messages in reverse (1599 ms)
15:04:50
✓ throws if messages are added out of order (1919 ms)
15:04:50
✓ throws if block number for the first message is out of order (1897 ms)
15:04:50
✓ throws if rolling hash is not correct (1891 ms)
15:04:50
✓ throws if rolling hash for first message is not correct (1884 ms)
15:04:50
✓ throws if index is not in the correct range (1717 ms)
15:04:50
✓ throws if first index in block has gaps (1791 ms)
15:04:50
✓ throws if index does not follow previous one (1328 ms)
15:04:50
✓ removes messages up to the given block number (1471 ms)
15:04:50
✓ removes messages starting with the given index (1771 ms)
15:04:50 contractInstances
15:04:50
✓ returns previously stored contract instances (1711 ms)
15:04:50
✓ returns undefined if contract instance is not found (1696 ms)
15:04:50
✓ returns undefined if previously stored contract instances was deleted (1680 ms)
15:04:50 contractInstanceUpdates
15:04:50
✓ gets the correct current class id for a contract not updated yet (1748 ms)
15:04:50
✓ gets the correct current class id for a contract that has just been updated (1842 ms)
15:04:50
✓ gets the correct current class id for a contract that was updated in the past (1733 ms)
15:04:50
✓ ignores updates for the wrong contract (1717 ms)
15:04:50
✓ bounds its search to the right contract if more than than one update exists (1870 ms)
15:04:50 contractClasses
15:04:50
✓ returns previously stored contract class (2003 ms)
15:04:50
✓ returns undefined if the initial deployed contract class was deleted (1825 ms)
15:04:50
✓ returns contract class if later "deployment" class was deleted (1839 ms)
15:04:50
✓ returns undefined if contract class is not found (1906 ms)
15:04:50
✓ adds new private functions (1786 ms)
15:04:50
✓ does not duplicate private functions (2090 ms)
15:04:50
✓ adds new utility functions (1745 ms)
15:04:50
✓ does not duplicate utility functions (1820 ms)
15:04:50 getLogsByTags
15:04:50
✓ is possible to batch request private logs via tags (3149 ms)
15:04:50
✓ is possible to batch request all logs (private and public) via tags (2950 ms)
15:04:50
✓ is possible to batch request logs that have the same tag but different content (3867 ms)
15:04:50
✓ is possible to request logs for non-existing tags and determine their position (3331 ms)
15:04:50 getPublicLogs
15:04:50
✓ no logs returned if deleted ("txHash" filter param is respected variant) (6988 ms)
15:04:50
✓ "txHash" filter param is respected (5989 ms)
15:04:50
✓ "fromBlock" and "toBlock" filter params are respected (5499 ms)
15:04:50
✓ "contractAddress" filter param is respected (4684 ms)
15:04:50
✓ "afterLog" filter param is respected (4819 ms)
15:04:50
✓ "txHash" filter param is ignored when "afterLog" is set (4889 ms)
15:04:50
✓ intersecting works (4572 ms)
15:04:50
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4967 ms)
15:04:50
15:04:50
Test Suites: 1 passed, 1 total
15:04:50
Tests: 86 passed, 86 total
15:04:50
Snapshots: 0 total
15:04:50
Time: 186.538 s
15:04:50
Ran all test suites matching /archiver\/src\/archiver\/kv_archiver_store\/kv_archiver_store.test.ts/i
.
15:04:50
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?