Parent Log:
http://ci.aztec-labs.com/a51aedd496c74ae9
Command: d75f86cb759aa806 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/bae1f0ed01e43b291f60c0888e05ceb15d4bb6f6
Env: REF_NAME=gh-readonly-queue/next/pr-15151-aac426c9418162aeee8162ed45014b9393d605b8 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 20 09:29:39 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15151_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
09:29:42 [09:29:42.708]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:29:44 [09:29:44.521]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:29:46 [09:29:46.298]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:29:47 [09:29:47.415]
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:29:47 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
09:29:47 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:29:47 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:29:47 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:29:47 newBlockNumber: 2,
09:29:47 previousBlockNumber: undefined
09:29:47 }
09:29:47 [09:29:47.419]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:29:48 [09:29:48.761]
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:29:48 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:96:17
09:29:48 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:29:48 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:29:48 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
09:29:48 [09:29:48.768]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:29:50 [09:29:50.324]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:29:51 [09:29:51.398]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:29:52 [09:29:52.905]
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:29:52 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:141:15
09:29:52 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:29:52 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:29:52 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
09:29:52 [09:29:52.911]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:29:54 [09:29:54.509]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:29:56 [09:29:56.034]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:29:57 [09:29:57.992]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:29:59 [09:29:59.869]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:30:02 [09:30:02.029]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:30:04 [09:30:04.441]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:30:06 [09:30:06.748]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:30:08 [09:30:08.380]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:30:11 [09:30:11.061]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:30:13 [09:30:13.349]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:30:14 [09:30:14.819]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:30:17 [09:30:17.214]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:30:18 [09:30:18.630]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:30:20 [09:30:20.193]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:30:21 [09:30:21.504]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:30:23 [09:30:23.075]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:30:24 [09:30:24.575]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:30:26 [09:30:26.258]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:30:27 [09:30:27.748]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:30:30 [09:30:30.283]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:30:33 [09:30:33.168]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:30:35 [09:30:35.957]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:30:38 [09:30:38.702]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:30:41 [09:30:41.280]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:30:43 [09:30:43.787]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:30:46 [09:30:46.569]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:30:49 [09:30:49.298]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:30:52 [09:30:52.189]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:30:55 [09:30:55.214]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:30:58 [09:30:58.564]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:31:01 [09:31:01.579]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:31:05 [09:31:05.481]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:31:07 [09:31:07.013]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:31:08 [09:31:08.628]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:31:10 [09:31:10.404]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:31:12 [09:31:12.211]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:31:13 [09:31:13.905]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:31:15 [09:31:15.587]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:31:17 [09:31:17.229]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:31:19 [09:31:19.107]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:31:21 [09:31:21.141]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:31:23 [09:31:23.269]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:31:25 [09:31:25.235]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x021870108a308a14da2833ba4eef1d33b049cb735965d8d5cd00e88d8f5b16f3 for L2 block 1 has wrong index 10 (expected 0)
09:31:25 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
09:31:25 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:31:25 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:31:25 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:31:25 inboxMessage: {
09:31:25 index: 10n,
09:31:25 leaf: Fr<0x021870108a308a14da2833ba4eef1d33b049cb735965d8d5cd00e88d8f5b16f3>,
09:31:25 l2BlockNumber: 1,
09:31:25 l1BlockNumber: 46n,
09:31:25 l1BlockHash: Buffer32<0x24f505f608bfa28dc16cd37e53ea30c9d1783299eee144543641ced6013bff0e>,
09:31:25 rollingHash: Buffer16<0xe144b20b7c4ad815adf26a632df39036>
09:31:25 }
09:31:25 }
09:31:25 [09:31:25.242]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:31:27 [09:31:27.076]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x24442c9c6e02bbaaeef92d91fb430800d937d6eb8ab22a43c58f82d58409c321 at block 12 (expected value in range [176, 192))
09:31:27 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
09:31:27 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:31:27 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:31:27 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:31:27 inboxMessage: {
09:31:27 index: 224n,
09:31:27 leaf: Fr<0x24442c9c6e02bbaaeef92d91fb430800d937d6eb8ab22a43c58f82d58409c321>,
09:31:27 l2BlockNumber: 12,
09:31:27 l1BlockNumber: 88n,
09:31:27 l1BlockHash: Buffer32<0x22efa1c08d1c24ead92de52d2e24c507a8c74fa193b62b56ebcf37e012b9e588>,
09:31:27 rollingHash: Buffer16<0x711081a5fa2395c01296ea6bba22dd58>
09:31:27 }
09:31:27 }
09:31:27 [09:31:27.079]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:31:28 [09:31:28.839]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x046ef4f980024e3668a3b4abbff4ce5af24a8bcd2048cdd27ea1f9c72af07846 with index 16 (expected 0xbd8bb3d8d02eba527f38be3c594aa1da from previous hash 0x7ba700d26c34c0c372a26aae13e2a688 but got 0xebe373d879100ce9cf05000ffd289f63)
09:31:28 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
09:31:28 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:31:28 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:31:28 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:31:28 inboxMessage: {
09:31:28 index: 16n,
09:31:28 leaf: Fr<0x046ef4f980024e3668a3b4abbff4ce5af24a8bcd2048cdd27ea1f9c72af07846>,
09:31:28 l2BlockNumber: 2,
09:31:28 l1BlockNumber: 63n,
09:31:28 l1BlockHash: Buffer32<0xe88759d51eec1544f3b84215aaa5f4fd668f10794d4853049c1e95a26a7562ba>,
09:31:28 rollingHash: Buffer16<0xebe373d879100ce9cf05000ffd289f63>
09:31:28 }
09:31:28 }
09:31:28 [09:31:28.843]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:31:30 [09:31:30.885]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x00ae22e11c5acd3e6cd51dd822a64dc5a7b1339544d8700ba91a327ee40252fd with index 32 (expected 0x9d61a26fa70c8bda716d2f57f50a796e from previous hash 0x8054f647a95c4f2bbc34fd9afd00f4ad but got 0x412eb47d041464a429c0b3e063fc2793)
09:31:30 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
09:31:30 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:31:30 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:31:30 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:31:30 inboxMessage: {
09:31:30 index: 32n,
09:31:30 leaf: Fr<0x00ae22e11c5acd3e6cd51dd822a64dc5a7b1339544d8700ba91a327ee40252fd>,
09:31:30 l2BlockNumber: 3,
09:31:30 l1BlockNumber: 84n,
09:31:30 l1BlockHash: Buffer32<0x1f0a210abec3a339b75321de0853fee2c116643887f108d46a32953df7905210>,
09:31:30 rollingHash: Buffer16<0x412eb47d041464a429c0b3e063fc2793>
09:31:30 }
09:31:30 }
09:31:30 [09:31:30.889]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:31:32 [09:31:32.800]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x27d5ed60bb5c494c5b67d85aaa92bd998170705be4c5f131c7c5856d44cc7c84 at block 17 (expected value in range [256, 272))
09:31:32 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
09:31:32 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:31:32 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:31:32 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:31:32 inboxMessage: {
09:31:32 index: 356n,
09:31:32 leaf: Fr<0x27d5ed60bb5c494c5b67d85aaa92bd998170705be4c5f131c7c5856d44cc7c84>,
09:31:32 l2BlockNumber: 17,
09:31:32 l1BlockNumber: 97n,
09:31:32 l1BlockHash: Buffer32<0x01b431e38e45e4d9d95ebbffa695d87844c8862b0483ea0610fc70cbe811ef71>,
09:31:32 rollingHash: Buffer16<0xa82902280add1e127d9c2743d4ba6d38>
09:31:32 }
09:31:32 }
09:31:32 [09:31:32.804]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:31:34 [09:31:34.925]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x06ebe62087402c5ff51f3b7e02e3156699861aaf8951e8978c61ff3579a2431b for L2 block 15 has wrong index 225 (expected 224)
09:31:34 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
09:31:34 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:31:34 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:31:34 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:31:34 inboxMessage: {
09:31:34 index: 225n,
09:31:34 leaf: Fr<0x06ebe62087402c5ff51f3b7e02e3156699861aaf8951e8978c61ff3579a2431b>,
09:31:34 l2BlockNumber: 15,
09:31:34 l1BlockNumber: 9n,
09:31:34 l1BlockHash: Buffer32<0x0c76848eb6d69fbec624477bc1a63277770ca2af5dcc20688e7b774f2c15205d>,
09:31:34 rollingHash: Buffer16<0xc01fffd8dac8eea77dd1386d25174b69>
09:31:34 }
09:31:34 }
09:31:34 [09:31:34.932]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:31:36 [09:31:36.870]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x28f2b858d027f2305a154a6da6f44a49fb366d4d602c879d0e82089f3dc81fbb at block 2 (expected value in range [16, 32))
09:31:36 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
09:31:36 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:31:36 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:31:36 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:31:36 inboxMessage: {
09:31:36 index: 32n,
09:31:36 leaf: Fr<0x28f2b858d027f2305a154a6da6f44a49fb366d4d602c879d0e82089f3dc81fbb>,
09:31:36 l2BlockNumber: 2,
09:31:36 l1BlockNumber: 56n,
09:31:36 l1BlockHash: Buffer32<0x963973ca309d608b955c5e808c695439b74cdc372c24ed7b445c45d2151e4c7a>,
09:31:36 rollingHash: Buffer16<0x74710a57b0812b46790ce6ed6131314b>
09:31:36 }
09:31:36 }
09:31:36 [09:31:36.875]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:31:38 [09:31:38.979]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
09:31:39 [09:31:39.030]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:31:40 [09:31:40.875]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
09:31:40 [09:31:40.896]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:31:42 [09:31:42.457]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:31:44 [09:31:44.376]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:31:46 [09:31:46.164]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:31:48 [09:31:48.010]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:31:49 [09:31:49.775]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:31:51 [09:31:51.599]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:31:53 [09:31:53.434]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:31:55 [09:31:55.456]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:31:57 [09:31:57.561]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:31:59 [09:31:59.697]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:32:01 [09:32:01.845]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:32:03 [09:32:03.899]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:32:05 [09:32:05.850]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:32:07 [09:32:07.916]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:32:09 [09:32:09.989]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:32:11 [09:32:11.901]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:32:15 [09:32:15.346]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:32:18 [09:32:18.590]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:32:22 [09:32:22.499]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:32:25 [09:32:25.716]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:32:31 [09:32:31.534]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:32:36 [09:32:36.794]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:32:41 [09:32:41.532]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:32:46 [09:32:46.260]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:32:51 [09:32:51.899]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:32:56 [09:32:56.247]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:33:00 [09:33:00.385]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:33:05
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
204.721 s)
09:33:05 KVArchiverDataStore
09:33:05 ArchiverStore
09:33:05 addBlocks
09:33:05
✓ returns success when adding blocks (1815 ms)
09:33:05
✓ allows duplicate blocks (1777 ms)
09:33:05
✓ throws an error if the previous block does not exist in the store (1121 ms)
09:33:05
✓ throws an error if there is a gap in the blocks being added (1345 ms)
09:33:05 unwindBlocks
09:33:05
✓ unwinding blocks will remove blocks from the chain (1556 ms)
09:33:05
✓ can unwind multiple empty blocks (1077 ms)
09:33:05
✓ refuses to unwind blocks if the tip is not the last block (1512 ms)
09:33:05 getBlocks
09:33:05
✓ retrieves previously stored blocks (1598 ms)
09:33:05
✓ retrieves previously stored blocks (1524 ms)
09:33:05
✓ retrieves previously stored blocks (1957 ms)
09:33:05
✓ retrieves previously stored blocks (1877 ms)
09:33:05
✓ retrieves previously stored blocks (2160 ms)
09:33:05
✓ returns an empty array if no blocks are found (2396 ms)
09:33:05
✓ throws an error if limit is invalid (2309 ms)
09:33:05
✓ throws an error if `from` it is out of range (1643 ms)
09:33:05
✓ throws an error if unexpected initial block number is found (2680 ms)
09:33:05
✓ throws an error if a gap is found (2287 ms)
09:33:05 getSyncedL2BlockNumber
09:33:05
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1470 ms)
09:33:05
✓ returns the most recently added block's number (2395 ms)
09:33:05 getSynchPoint
09:33:05
✓ returns undefined if no blocks have been added (1415 ms)
09:33:05
✓ returns the L1 block number in which the most recent L2 block was published (1562 ms)
09:33:05
✓ returns the L1 block number that most recently added messages from inbox (1309 ms)
09:33:05
✓ returns the latest syncpoint if latest message is behind (1570 ms)
09:33:05 addLogs
09:33:05
✓ adds private & public logs (1500 ms)
09:33:05 deleteLogs
09:33:05
✓ deletes private & public logs (1682 ms)
09:33:05 getPrivateLogs
09:33:05
✓ gets added private logs (1487 ms)
09:33:05 getTxEffect
09:33:05
✓ retrieves a previously stored transaction (2535 ms)
09:33:05
✓ retrieves a previously stored transaction (2885 ms)
09:33:05
✓ retrieves a previously stored transaction (2786 ms)
09:33:05
✓ retrieves a previously stored transaction (2734 ms)
09:33:05
✓ retrieves a previously stored transaction (2588 ms)
09:33:05
✓ returns undefined if tx is not found (2506 ms)
09:33:05
✓ tries to retrieves a previously stored transaction after deleted (2782 ms)
09:33:05
✓ tries to retrieves a previously stored transaction after deleted (2728 ms)
09:33:05
✓ tries to retrieves a previously stored transaction after deleted (2890 ms)
09:33:05
✓ tries to retrieves a previously stored transaction after deleted (3026 ms)
09:33:05
✓ tries to retrieves a previously stored transaction after deleted (3346 ms)
09:33:05
✓ returns undefined if tx is not found (3015 ms)
09:33:05
✓ does not fail if the block is unwound while requesting a tx (3902 ms)
09:33:05 L1 to L2 Messages
09:33:05
✓ stores first message ever (1532 ms)
09:33:05
✓ stores single message (1614 ms)
09:33:05
✓ stores and returns messages across different blocks (1775 ms)
09:33:05
✓ stores the same messages again (1805 ms)
09:33:05
✓ stores and returns messages across different blocks with gaps (1694 ms)
09:33:05
✓ stores and returns messages with block numbers larger than a byte (1681 ms)
09:33:05
✓ stores and returns multiple messages per block (1639 ms)
09:33:05
✓ stores messages in multiple operations (1878 ms)
09:33:05
✓ iterates over messages from start index (2032 ms)
09:33:05
✓ iterates over messages in reverse (2122 ms)
09:33:05
✓ throws if messages are added out of order (1977 ms)
09:33:05
✓ throws if block number for the first message is out of order (1837 ms)
09:33:05
✓ throws if rolling hash is not correct (1763 ms)
09:33:05
✓ throws if rolling hash for first message is not correct (2046 ms)
09:33:05
✓ throws if index is not in the correct range (1915 ms)
09:33:05
✓ throws if first index in block has gaps (2126 ms)
09:33:05
✓ throws if index does not follow previous one (1943 ms)
09:33:05
✓ removes messages up to the given block number (2153 ms)
09:33:05
✓ removes messages starting with the given index (1867 ms)
09:33:05 contractInstances
09:33:05
✓ returns previously stored contract instances (1560 ms)
09:33:05
✓ returns undefined if contract instance is not found (1919 ms)
09:33:05
✓ returns undefined if previously stored contract instances was deleted (1786 ms)
09:33:05 contractInstanceUpdates
09:33:05
✓ gets the correct current class id for a contract not updated yet (1846 ms)
09:33:05
✓ gets the correct current class id for a contract that has just been updated (1764 ms)
09:33:05
✓ gets the correct current class id for a contract that was updated in the past (1823 ms)
09:33:05
✓ ignores updates for the wrong contract (1830 ms)
09:33:05
✓ bounds its search to the right contract if more than than one update exists (2016 ms)
09:33:05 contractClasses
09:33:05
✓ returns previously stored contract class (2110 ms)
09:33:05
✓ returns undefined if the initial deployed contract class was deleted (2136 ms)
09:33:05
✓ returns contract class if later "deployment" class was deleted (2146 ms)
09:33:05
✓ returns undefined if contract class is not found (2054 ms)
09:33:05
✓ adds new private functions (1950 ms)
09:33:05
✓ does not duplicate private functions (2064 ms)
09:33:05
✓ adds new utility functions (2072 ms)
09:33:05
✓ does not duplicate utility functions (1911 ms)
09:33:05 getLogsByTags
09:33:05
✓ is possible to batch request private logs via tags (3443 ms)
09:33:05
✓ is possible to batch request all logs (private and public) via tags (3245 ms)
09:33:05
✓ is possible to batch request logs that have the same tag but different content (3909 ms)
09:33:05
✓ is possible to request logs for non-existing tags and determine their position (3216 ms)
09:33:05 getPublicLogs
09:33:05
✓ no logs returned if deleted ("txHash" filter param is respected variant) (5815 ms)
09:33:05
✓ "txHash" filter param is respected (5261 ms)
09:33:05
✓ "fromBlock" and "toBlock" filter params are respected (4737 ms)
09:33:05
✓ "contractAddress" filter param is respected (4727 ms)
09:33:05
✓ "afterLog" filter param is respected (5637 ms)
09:33:05
✓ "txHash" filter param is ignored when "afterLog" is set (4349 ms)
09:33:05
✓ intersecting works (4137 ms)
09:33:05
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (5000 ms)
09:33:05
09:33:05
Test Suites: 1 passed, 1 total
09:33:05
Tests: 86 passed, 86 total
09:33:05
Snapshots: 0 total
09:33:05
Time: 204.802 s
09:33:05
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
09:33:05
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?