Parent Log:
http://ci.aztec-labs.com/7e515574fa561c6b
Command: 2ca1986c0c6d5c2c 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/9222c7777effe26aa04b5367a455d25be0e7f62e
Env: REF_NAME=gh-readonly-queue/next/pr-15055-a9bb2f683797c8e631b892c5f539a2867bddaabf CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Wed Jun 18 16:02:49 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15055_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
16:02:51 [16:02:51.470]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:52 [16:02:52.886]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:54 [16:02:54.298]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:55 [16:02:55.174]
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:02:55 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
16:02:55 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:02:55 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:02:55 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:02:55 newBlockNumber: 2,
16:02:55 previousBlockNumber: undefined
16:02:55 }
16:02:55 [16:02:55.177]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:56 [16:02:56.268]
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:02:56 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:96:17
16:02:56 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:02:56 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:02:56 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
16:02:56 [16:02:56.271]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:57 [16:02:57.422]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:58 [16:02:58.235]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:59 [16:02:59.407]
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:02:59 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:141:15
16:02:59 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:02:59 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:02:59 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
16:02:59 [16:02:59.409]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:00 [16:03:00.864]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:02 [16:03:02.651]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:04 [16:03:04.655]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:06 [16:03:06.476]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:08 [16:03:08.128]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:09 [16:03:09.872]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:12 [16:03:12.331]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:14 [16:03:14.901]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:16 [16:03:16.786]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:20 [16:03:20.221]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:21 [16:03:21.661]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:23 [16:03:23.625]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:25 [16:03:25.272]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:27 [16:03:27.258]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:28 [16:03:28.570]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:29 [16:03:29.912]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:31 [16:03:31.346]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:32 [16:03:32.923]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:34 [16:03:34.577]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:37 [16:03:37.569]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:40 [16:03:40.357]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:43 [16:03:43.060]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:45 [16:03:45.923]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:48 [16:03:48.795]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:51 [16:03:51.589]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:54 [16:03:54.591]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:57 [16:03:57.419]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:00 [16:04:00.379]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:03 [16:04:03.069]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:05 [16:04:05.954]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:08 [16:04:08.805]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:11 [16:04:11.918]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:13 [16:04:13.466]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:15 [16:04:15.223]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:16 [16:04:16.976]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:18 [16:04:18.791]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:20 [16:04:20.448]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:22 [16:04:22.329]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:24 [16:04:24.295]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:26 [16:04:26.259]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:28 [16:04:28.065]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:29 [16:04:29.824]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:31 [16:04:31.609]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x03375a60124e3dab52cb9a88b3ac2e6c6cec21e37acbed3e70ae33e983e12979 for L2 block 1 has wrong index 10 (expected 0)
16:04:31 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
16:04:31 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:04:31 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:04:31 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:04:31 inboxMessage: {
16:04:31 index: 10n,
16:04:31 leaf: Fr<0x03375a60124e3dab52cb9a88b3ac2e6c6cec21e37acbed3e70ae33e983e12979>,
16:04:31 l2BlockNumber: 1,
16:04:31 l1BlockNumber: 99n,
16:04:31 l1BlockHash: Buffer32<0x736a0465a8d8bce0218b5bd48a8e1c092f09a52cfbdd3e7847849432affa8fea>,
16:04:31 rollingHash: Buffer16<0x7305a43186d9f67daf4da1e38954dc89>
16:04:31 }
16:04:31 }
16:04:31 [16:04:31.614]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:33 [16:04:33.737]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x2357bab331a797475afca6b73c056b557a6322a1f5f5130952c7a829ab7b995f at block 12 (expected value in range [176, 192))
16:04:33 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
16:04:33 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:04:33 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:04:33 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:04:33 inboxMessage: {
16:04:33 index: 224n,
16:04:33 leaf: Fr<0x2357bab331a797475afca6b73c056b557a6322a1f5f5130952c7a829ab7b995f>,
16:04:33 l2BlockNumber: 12,
16:04:33 l1BlockNumber: 27n,
16:04:33 l1BlockHash: Buffer32<0xc822f86d7b4c26d38cd94fe5959763ec47159490f9495a71feddb44b6522e0b1>,
16:04:33 rollingHash: Buffer16<0xe60dc6e9e6e2483ea6f1d985b3ca0e91>
16:04:33 }
16:04:33 }
16:04:33 [16:04:33.741]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:35 [16:04:35.732]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x2303861638c5febeeb696f852745310bfdfb57d6c0c29770b8d3f2eb2c061c55 with index 16 (expected 0x0cd545032a4c15c0d17b3bc4091cb4b6 from previous hash 0x648d7081dbe9f60d6bb053f9b99f73db but got 0x8b0e8f5fcd5a6a3472350e19a3c16478)
16:04:35 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
16:04:35 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:04:35 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:04:35 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:04:35 inboxMessage: {
16:04:35 index: 16n,
16:04:35 leaf: Fr<0x2303861638c5febeeb696f852745310bfdfb57d6c0c29770b8d3f2eb2c061c55>,
16:04:35 l2BlockNumber: 2,
16:04:35 l1BlockNumber: 71n,
16:04:35 l1BlockHash: Buffer32<0x7b8ac5a90465b5d45effa21115d70f7da3a8a3f9aa82c0c02b4b16996310bbd2>,
16:04:35 rollingHash: Buffer16<0x8b0e8f5fcd5a6a3472350e19a3c16478>
16:04:35 }
16:04:35 }
16:04:35 [16:04:35.736]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:37 [16:04:37.853]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x1f6d7e7b31881a09e682d27d1e153056b9d22caea310e266ab61fb85d3cccfee with index 32 (expected 0x5fdcbb6cc0054f262f356036aa5cd11b from previous hash 0xe4abebf9a840cc0b8a5c2f03b1cdb7d7 but got 0xdc10a44618bea8d4f8e28832cedfa139)
16:04:37 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
16:04:37 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:04:37 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:04:37 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:04:37 inboxMessage: {
16:04:37 index: 32n,
16:04:37 leaf: Fr<0x1f6d7e7b31881a09e682d27d1e153056b9d22caea310e266ab61fb85d3cccfee>,
16:04:37 l2BlockNumber: 3,
16:04:37 l1BlockNumber: 93n,
16:04:37 l1BlockHash: Buffer32<0xa7baf7aba09735dc06d572e0d8dfbe0a8bc8803a1fe235d11803881c2815f9e0>,
16:04:37 rollingHash: Buffer16<0xdc10a44618bea8d4f8e28832cedfa139>
16:04:37 }
16:04:37 }
16:04:37 [16:04:37.857]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:39 [16:04:39.739]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x1a9dc372ef765137db5259ab13fb74074803c866f3025fe3b3530c02d4f41b3d at block 17 (expected value in range [256, 272))
16:04:39 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
16:04:39 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:04:39 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:04:39 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:04:39 inboxMessage: {
16:04:39 index: 356n,
16:04:39 leaf: Fr<0x1a9dc372ef765137db5259ab13fb74074803c866f3025fe3b3530c02d4f41b3d>,
16:04:39 l2BlockNumber: 17,
16:04:39 l1BlockNumber: 64n,
16:04:39 l1BlockHash: Buffer32<0xaf4fd846c4772957877a06c0d059834abf55c5d570d8772d406b809c14c151b3>,
16:04:39 rollingHash: Buffer16<0x2056e78a080333e1781f4cf696aee4a4>
16:04:39 }
16:04:39 }
16:04:39 [16:04:39.744]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:41 [16:04:41.708]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x125dbe26b74b00e2508bb0a80a4806617e0ae8dbbd6bd4d09e77003635754c4d for L2 block 15 has wrong index 225 (expected 224)
16:04:41 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
16:04:41 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:04:41 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:04:41 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:04:41 inboxMessage: {
16:04:41 index: 225n,
16:04:41 leaf: Fr<0x125dbe26b74b00e2508bb0a80a4806617e0ae8dbbd6bd4d09e77003635754c4d>,
16:04:41 l2BlockNumber: 15,
16:04:41 l1BlockNumber: 28n,
16:04:41 l1BlockHash: Buffer32<0x621ab48e5c80551df3fcccb3c27c2e9e016321158bc8c2ac70a96d716431e166>,
16:04:41 rollingHash: Buffer16<0x404814ccf8128b0f5ed52f8208d4ca12>
16:04:41 }
16:04:41 }
16:04:41 [16:04:41.712]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:43 [16:04:43.530]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x0459174b472f905152a6fc99e107563ee053b574052c9609e6ac99f674c390e7 at block 2 (expected value in range [16, 32))
16:04:43 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
16:04:43 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:04:43 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:04:43 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:04:43 inboxMessage: {
16:04:43 index: 32n,
16:04:43 leaf: Fr<0x0459174b472f905152a6fc99e107563ee053b574052c9609e6ac99f674c390e7>,
16:04:43 l2BlockNumber: 2,
16:04:43 l1BlockNumber: 90n,
16:04:43 l1BlockHash: Buffer32<0x75b5eeca5aecb6cf5e3c79b0a587b025afb9254f52312d14339590c54f7a74d3>,
16:04:43 rollingHash: Buffer16<0xe1387ba9a732b033bedac9171a1ecf5f>
16:04:43 }
16:04:43 }
16:04:43 [16:04:43.533]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:45 [16:04:45.662]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
16:04:45 [16:04:45.711]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:47 [16:04:47.789]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
16:04:47 [16:04:47.839]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:49 [16:04:49.847]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:51 [16:04:51.729]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:53 [16:04:53.736]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:55 [16:04:55.678]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:57 [16:04:57.641]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:59 [16:04:59.525]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:01 [16:05:01.472]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:03 [16:05:03.455]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:05 [16:05:05.534]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:07 [16:05:07.522]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:09 [16:05:09.319]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:11 [16:05:11.285]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:13 [16:05:13.223]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:15 [16:05:15.178]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:17 [16:05:17.239]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:19 [16:05:19.389]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:22 [16:05:22.617]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:26 [16:05:26.197]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:30 [16:05:30.385]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:33 [16:05:33.835]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:40 [16:05:40.422]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:45 [16:05:45.717]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:50 [16:05:50.620]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:55 [16:05:55.672]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:06:00 [16:06:00.468]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:06:06 [16:06:06.011]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:06:10 [16:06:10.404]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:06:14
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
204.915 s)
16:06:14 KVArchiverDataStore
16:06:14 ArchiverStore
16:06:14 addBlocks
16:06:14
✓ returns success when adding blocks (1425 ms)
16:06:14
✓ allows duplicate blocks (1412 ms)
16:06:14
✓ throws an error if the previous block does not exist in the store (879 ms)
16:06:14
✓ throws an error if there is a gap in the blocks being added (1093 ms)
16:06:14 unwindBlocks
16:06:14
✓ unwinding blocks will remove blocks from the chain (1149 ms)
16:06:14
✓ can unwind multiple empty blocks (813 ms)
16:06:14
✓ refuses to unwind blocks if the tip is not the last block (1173 ms)
16:06:14 getBlocks
16:06:14
✓ retrieves previously stored blocks (1454 ms)
16:06:14
✓ retrieves previously stored blocks (1785 ms)
16:06:14
✓ retrieves previously stored blocks (2003 ms)
16:06:14
✓ retrieves previously stored blocks (1819 ms)
16:06:14
✓ retrieves previously stored blocks (1653 ms)
16:06:14
✓ returns an empty array if no blocks are found (1737 ms)
16:06:14
✓ throws an error if limit is invalid (2456 ms)
16:06:14
✓ throws an error if `from` it is out of range (2569 ms)
16:06:14
✓ throws an error if unexpected initial block number is found (1882 ms)
16:06:14
✓ throws an error if a gap is found (3434 ms)
16:06:14 getSyncedL2BlockNumber
16:06:14
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1438 ms)
16:06:14
✓ returns the most recently added block's number (1962 ms)
16:06:14 getSynchPoint
16:06:14
✓ returns undefined if no blocks have been added (1643 ms)
16:06:14
✓ returns the L1 block number in which the most recent L2 block was published (1989 ms)
16:06:14
✓ returns the L1 block number that most recently added messages from inbox (1310 ms)
16:06:14
✓ returns the latest syncpoint if latest message is behind (1342 ms)
16:06:14 addLogs
16:06:14
✓ adds private & public logs (1431 ms)
16:06:14 deleteLogs
16:06:14
✓ deletes private & public logs (1577 ms)
16:06:14 getPrivateLogs
16:06:14
✓ gets added private logs (1649 ms)
16:06:14 getTxEffect
16:06:14
✓ retrieves a previously stored transaction (2994 ms)
16:06:14
✓ retrieves a previously stored transaction (2787 ms)
16:06:14
✓ retrieves a previously stored transaction (2703 ms)
16:06:14
✓ retrieves a previously stored transaction (2863 ms)
16:06:14
✓ retrieves a previously stored transaction (2872 ms)
16:06:14
✓ returns undefined if tx is not found (2789 ms)
16:06:14
✓ tries to retrieves a previously stored transaction after deleted (2998 ms)
16:06:14
✓ tries to retrieves a previously stored transaction after deleted (2832 ms)
16:06:14
✓ tries to retrieves a previously stored transaction after deleted (2958 ms)
16:06:14
✓ tries to retrieves a previously stored transaction after deleted (2690 ms)
16:06:14
✓ tries to retrieves a previously stored transaction after deleted (2884 ms)
16:06:14
✓ returns undefined if tx is not found (2850 ms)
16:06:14
✓ does not fail if the block is unwound while requesting a tx (3112 ms)
16:06:14 L1 to L2 Messages
16:06:14
✓ stores first message ever (1547 ms)
16:06:14
✓ stores single message (1755 ms)
16:06:14
✓ stores and returns messages across different blocks (1750 ms)
16:06:14
✓ stores the same messages again (1815 ms)
16:06:14
✓ stores and returns messages across different blocks with gaps (1657 ms)
16:06:14
✓ stores and returns messages with block numbers larger than a byte (1881 ms)
16:06:14
✓ stores and returns multiple messages per block (1960 ms)
16:06:14
✓ stores messages in multiple operations (1966 ms)
16:06:14
✓ iterates over messages from start index (1804 ms)
16:06:14
✓ iterates over messages in reverse (1755 ms)
16:06:14
✓ throws if messages are added out of order (1794 ms)
16:06:14
✓ throws if block number for the first message is out of order (2126 ms)
16:06:14
✓ throws if rolling hash is not correct (1995 ms)
16:06:14
✓ throws if rolling hash for first message is not correct (2121 ms)
16:06:14
✓ throws if index is not in the correct range (1885 ms)
16:06:14
✓ throws if first index in block has gaps (1968 ms)
16:06:14
✓ throws if index does not follow previous one (1821 ms)
16:06:14
✓ removes messages up to the given block number (2177 ms)
16:06:14
✓ removes messages starting with the given index (2126 ms)
16:06:14 contractInstances
16:06:14
✓ returns previously stored contract instances (2008 ms)
16:06:14
✓ returns undefined if contract instance is not found (1880 ms)
16:06:14
✓ returns undefined if previously stored contract instances was deleted (2006 ms)
16:06:14 contractInstanceUpdates
16:06:14
✓ gets the correct current class id for a contract not updated yet (1940 ms)
16:06:14
✓ gets the correct current class id for a contract that has just been updated (1963 ms)
16:06:14
✓ gets the correct current class id for a contract that was updated in the past (1884 ms)
16:06:14
✓ ignores updates for the wrong contract (1944 ms)
16:06:14
✓ bounds its search to the right contract if more than than one update exists (1984 ms)
16:06:14 contractClasses
16:06:14
✓ returns previously stored contract class (2077 ms)
16:06:14
✓ returns undefined if the initial deployed contract class was deleted (1987 ms)
16:06:14
✓ returns contract class if later "deployment" class was deleted (1796 ms)
16:06:14
✓ returns undefined if contract class is not found (1965 ms)
16:06:14
✓ adds new private functions (1937 ms)
16:06:14
✓ does not duplicate private functions (1950 ms)
16:06:14
✓ adds new utility functions (2060 ms)
16:06:14
✓ does not duplicate utility functions (2148 ms)
16:06:14 getLogsByTags
16:06:14
✓ is possible to batch request private logs via tags (3228 ms)
16:06:14
✓ is possible to batch request all logs (private and public) via tags (3578 ms)
16:06:14
✓ is possible to batch request logs that have the same tag but different content (4188 ms)
16:06:14
✓ is possible to request logs for non-existing tags and determine their position (3449 ms)
16:06:14 getPublicLogs
16:06:14
✓ no logs returned if deleted ("txHash" filter param is respected variant) (6586 ms)
16:06:14
✓ "txHash" filter param is respected (5294 ms)
16:06:14
✓ "fromBlock" and "toBlock" filter params are respected (4903 ms)
16:06:14
✓ "contractAddress" filter param is respected (5052 ms)
16:06:14
✓ "afterLog" filter param is respected (4794 ms)
16:06:14
✓ "txHash" filter param is ignored when "afterLog" is set (5543 ms)
16:06:14
✓ intersecting works (4394 ms)
16:06:14
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4472 ms)
16:06:14
16:06:14
Test Suites: 1 passed, 1 total
16:06:14
Tests: 86 passed, 86 total
16:06:14
Snapshots: 0 total
16:06:14
Time: 204.992 s
16:06:14
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
16:06:14
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?