Parent Log:
http://ci.aztec-labs.com/5d55b1615f5ec373
Command: 29957fbe93665d48 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/b43963b96401afabcaa75e0728adbb551b94d20f
Env: REF_NAME=gh-readonly-queue/next/pr-15216-4608046e462faf9ff3fbee265ba34dbecb5d0b31 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 23 15:40:56 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15216_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
15:40:59 [15:40:59.687]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:41:01 [15:41:01.171]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:41:02 [15:41:02.758]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:41:03 [15:41:03.995]
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:41:03 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
15:41:03 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:41:03 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:41:03 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:41:03 newBlockNumber: 2,
15:41:03 previousBlockNumber: undefined
15:41:03 }
15:41:04 [15:41:04.001]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:41:05 [15:41:05.429]
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:41:05 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:96:17
15:41:05 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:41:05 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:41:05 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
15:41:05 [15:41:05.431]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:41:07 [15:41:07.021]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:41:08 [15:41:08.150]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:41:09 [15:41:09.631]
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:41:09 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:141:15
15:41:09 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:41:09 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:41:09 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
15:41:09 [15:41:09.640]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:41:11 [15:41:11.503]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:41:13 [15:41:13.198]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:41:15 [15:41:15.070]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:41:16 [15:41:16.936]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:41:19 [15:41:19.221]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:41:21 [15:41:21.704]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:41:23 [15:41:23.818]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:41:25 [15:41:25.844]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:41:28 [15:41:28.266]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:41:31 [15:41:31.054]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:41:32 [15:41:32.919]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:41:35 [15:41:35.047]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:41:36 [15:41:36.807]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:41:38 [15:41:38.932]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:41:40 [15:41:40.354]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:41:41 [15:41:41.817]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:41:43 [15:41:43.487]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:41:45 [15:41:45.137]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:41:46 [15:41:46.717]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:41:49 [15:41:49.737]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:41:52 [15:41:52.661]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:41:55 [15:41:55.358]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:41:57 [15:41:57.722]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:42:00 [15:42:00.358]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:42:02 [15:42:02.668]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:42:05 [15:42:05.536]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:42:08 [15:42:08.471]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:42:11 [15:42:11.360]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:42:14 [15:42:14.091]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:42:17 [15:42:17.214]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:42:20 [15:42:20.009]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:42:23 [15:42:23.370]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:42:24 [15:42:24.780]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:42:26 [15:42:26.545]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:42:28 [15:42:28.105]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:42:29 [15:42:29.768]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:42:31 [15:42:31.460]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:42:33 [15:42:33.264]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:42:35 [15:42:35.051]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:42:37 [15:42:37.017]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:42:38 [15:42:38.959]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:42:40 [15:42:40.824]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:42:42 [15:42:42.575]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x21addba9380af35f40ad96f6fcb7554a0262a142f969f2e9b8de6e19e13bbac9 for L2 block 1 has wrong index 10 (expected 0)
15:42:42 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
15:42:42 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:42:42 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:42:42 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:42:42 inboxMessage: {
15:42:42 index: 10n,
15:42:42 leaf: Fr<0x21addba9380af35f40ad96f6fcb7554a0262a142f969f2e9b8de6e19e13bbac9>,
15:42:42 l2BlockNumber: 1,
15:42:42 l1BlockNumber: 82n,
15:42:42 l1BlockHash: Buffer32<0x18575407111b81f7239395b1f85e5bfd481810f3a9c3bed664c6a6b5cb6c6e17>,
15:42:42 rollingHash: Buffer16<0x8aa3f21d3ade0fd77d6c64ff8523ae1c>
15:42:42 }
15:42:42 }
15:42:42 [15:42:42.579]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:42:44 [15:42:44.494]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x0113f398014a23cc3e4fffa6085c68d3c75bb7275ca8132638f095b9de15a017 at block 12 (expected value in range [176, 192))
15:42:44 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
15:42:44 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:42:44 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:42:44 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:42:44 inboxMessage: {
15:42:44 index: 224n,
15:42:44 leaf: Fr<0x0113f398014a23cc3e4fffa6085c68d3c75bb7275ca8132638f095b9de15a017>,
15:42:44 l2BlockNumber: 12,
15:42:44 l1BlockNumber: 18n,
15:42:44 l1BlockHash: Buffer32<0x9e956c8e9f3092a62895ccd2899a2dbff163627273fa4fd1f03dd7723308d1eb>,
15:42:44 rollingHash: Buffer16<0x1b28e982e6f3a4d4391b2fe24d4512a0>
15:42:44 }
15:42:44 }
15:42:44 [15:42:44.498]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:42:46 [15:42:46.241]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x2c9c1e12a144410f084f21c394f0ee8996a93b8b4592cffe0ad0978c1127a0cb with index 16 (expected 0x48661172461af4943044e7efdae68f1b from previous hash 0x2b8836d28d9ff2c584f79fbeec4447a1 but got 0x72d66a55d1a274125ef569a02434fac6)
15:42:46 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
15:42:46 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:42:46 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:42:46 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:42:46 inboxMessage: {
15:42:46 index: 16n,
15:42:46 leaf: Fr<0x2c9c1e12a144410f084f21c394f0ee8996a93b8b4592cffe0ad0978c1127a0cb>,
15:42:46 l2BlockNumber: 2,
15:42:46 l1BlockNumber: 54n,
15:42:46 l1BlockHash: Buffer32<0x632d9c0cb2e271430826861b94698f0a7e2fad6c3fb364c4a7ae74c26071fe1b>,
15:42:46 rollingHash: Buffer16<0x72d66a55d1a274125ef569a02434fac6>
15:42:46 }
15:42:46 }
15:42:46 [15:42:46.245]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:42:48 [15:42:48.119]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x2fa50c1163ec7cfdffb827b09396c2c4ce8b99f4646a3b8551ff499cd80ba512 with index 32 (expected 0x7bfcec133a9306a460e9883679225f39 from previous hash 0xaadbf22179e6ea673da58e2d1b0a212f but got 0x3d0b1338c36d3517e8435515d42c1cfe)
15:42:48 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
15:42:48 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:42:48 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:42:48 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:42:48 inboxMessage: {
15:42:48 index: 32n,
15:42:48 leaf: Fr<0x2fa50c1163ec7cfdffb827b09396c2c4ce8b99f4646a3b8551ff499cd80ba512>,
15:42:48 l2BlockNumber: 3,
15:42:48 l1BlockNumber: 23n,
15:42:48 l1BlockHash: Buffer32<0x5af092abd19818a8c11fb294d117f4e858a48aeb2f7e2eda66d412748c9d04af>,
15:42:48 rollingHash: Buffer16<0x3d0b1338c36d3517e8435515d42c1cfe>
15:42:48 }
15:42:48 }
15:42:48 [15:42:48.122]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:42:49 [15:42:49.982]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x12ad348ba3f7e780bc20d9694d8c33d30a2634f471656ce63b21316b9d78cc63 at block 17 (expected value in range [256, 272))
15:42:49 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
15:42:49 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:42:49 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:42:49 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:42:49 inboxMessage: {
15:42:49 index: 356n,
15:42:49 leaf: Fr<0x12ad348ba3f7e780bc20d9694d8c33d30a2634f471656ce63b21316b9d78cc63>,
15:42:49 l2BlockNumber: 17,
15:42:49 l1BlockNumber: 23n,
15:42:49 l1BlockHash: Buffer32<0x519394456c0c43e18547770840d861970240b444f37a078783881495476bd258>,
15:42:49 rollingHash: Buffer16<0x51ef3b442ac8333c00b6ee92cc938ac1>
15:42:49 }
15:42:49 }
15:42:49 [15:42:49.986]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:42:51 [15:42:51.962]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x09dbe4d894e9b5e3ee56c324b3e340a5ac9a3c80901ffb8c740aa2641da568f1 for L2 block 15 has wrong index 225 (expected 224)
15:42:51 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
15:42:51 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:42:51 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:42:51 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:42:51 inboxMessage: {
15:42:51 index: 225n,
15:42:51 leaf: Fr<0x09dbe4d894e9b5e3ee56c324b3e340a5ac9a3c80901ffb8c740aa2641da568f1>,
15:42:51 l2BlockNumber: 15,
15:42:51 l1BlockNumber: 28n,
15:42:51 l1BlockHash: Buffer32<0x8a7ffd78a23eb79c612a86b70dbca78d45e5d718751d521c081cd394686ed5e3>,
15:42:51 rollingHash: Buffer16<0xf4e5ba604601a4fd80ab115b36fb0806>
15:42:51 }
15:42:51 }
15:42:51 [15:42:51.965]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:42:54 [15:42:54.047]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x15abfb1c85cd23c19c24c233e17ecc72a1b015bb7298b5892b5d7c63518ec7f3 at block 2 (expected value in range [16, 32))
15:42:54 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
15:42:54 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:42:54 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:42:54 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:42:54 inboxMessage: {
15:42:54 index: 32n,
15:42:54 leaf: Fr<0x15abfb1c85cd23c19c24c233e17ecc72a1b015bb7298b5892b5d7c63518ec7f3>,
15:42:54 l2BlockNumber: 2,
15:42:54 l1BlockNumber: 89n,
15:42:54 l1BlockHash: Buffer32<0xc5bdd823d7a241442013f0ac5efdc649c7953cbf7785c2d2103dae67ee0ae90c>,
15:42:54 rollingHash: Buffer16<0x21e25c29c08014f996e2c2af6af6c4db>
15:42:54 }
15:42:54 }
15:42:54 [15:42:54.050]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:42:56 [15:42:56.024]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
15:42:56 [15:42:56.065]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:42:58 [15:42:58.122]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
15:42:58 [15:42:58.144]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:43:00 [15:43:00.000]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:43:01 [15:43:01.894]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:43:03 [15:43:03.715]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:43:05 [15:43:05.449]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:43:07 [15:43:07.241]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:43:09 [15:43:09.051]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:43:10 [15:43:10.824]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:43:12 [15:43:12.750]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:43:14 [15:43:14.561]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:43:16 [15:43:16.643]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:43:18 [15:43:18.531]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:43:20 [15:43:20.583]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:43:22 [15:43:22.707]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:43:24 [15:43:24.643]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:43:26 [15:43:26.664]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:43:28 [15:43:28.670]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:43:32 [15:43:32.403]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:43:35 [15:43:35.735]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:43:39 [15:43:39.475]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:43:42 [15:43:42.775]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:43:48 [15:43:48.120]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:43:53 [15:43:53.820]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:43:58 [15:43:58.779]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:44:04 [15:44:04.264]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:44:09 [15:44:09.033]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:44:13 [15:44:13.135]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:44:17 [15:44:17.739]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:44:22
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
204.528 s)
15:44:22 KVArchiverDataStore
15:44:22 ArchiverStore
15:44:22 addBlocks
15:44:22
✓ returns success when adding blocks (1496 ms)
15:44:22
✓ allows duplicate blocks (1588 ms)
15:44:22
✓ throws an error if the previous block does not exist in the store (1243 ms)
15:44:22
✓ throws an error if there is a gap in the blocks being added (1430 ms)
15:44:22 unwindBlocks
15:44:22
✓ unwinding blocks will remove blocks from the chain (1589 ms)
15:44:22
✓ can unwind multiple empty blocks (1128 ms)
15:44:22
✓ refuses to unwind blocks if the tip is not the last block (1487 ms)
15:44:22 getBlocks
15:44:22
✓ retrieves previously stored blocks (1859 ms)
15:44:22
✓ retrieves previously stored blocks (1696 ms)
15:44:22
✓ retrieves previously stored blocks (1871 ms)
15:44:22
✓ retrieves previously stored blocks (1863 ms)
15:44:22
✓ retrieves previously stored blocks (2288 ms)
15:44:22
✓ returns an empty array if no blocks are found (2472 ms)
15:44:22
✓ throws an error if limit is invalid (2104 ms)
15:44:22
✓ throws an error if `from` it is out of range (2034 ms)
15:44:22
✓ throws an error if unexpected initial block number is found (2431 ms)
15:44:22
✓ throws an error if a gap is found (2789 ms)
15:44:22 getSyncedL2BlockNumber
15:44:22
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1863 ms)
15:44:22
✓ returns the most recently added block's number (2128 ms)
15:44:22 getSynchPoint
15:44:22
✓ returns undefined if no blocks have been added (1755 ms)
15:44:22
✓ returns the L1 block number in which the most recent L2 block was published (2126 ms)
15:44:22
✓ returns the L1 block number that most recently added messages from inbox (1420 ms)
15:44:22
✓ returns the latest syncpoint if latest message is behind (1462 ms)
15:44:22 addLogs
15:44:22
✓ adds private & public logs (1666 ms)
15:44:22 deleteLogs
15:44:22
✓ deletes private & public logs (1654 ms)
15:44:22 getPrivateLogs
15:44:22
✓ gets added private logs (1575 ms)
15:44:22 getTxEffect
15:44:22
✓ retrieves a previously stored transaction (3021 ms)
15:44:22
✓ retrieves a previously stored transaction (2922 ms)
15:44:22
✓ retrieves a previously stored transaction (2696 ms)
15:44:22
✓ retrieves a previously stored transaction (2364 ms)
15:44:22
✓ retrieves a previously stored transaction (2630 ms)
15:44:22
✓ returns undefined if tx is not found (2315 ms)
15:44:22
✓ tries to retrieves a previously stored transaction after deleted (2867 ms)
15:44:22
✓ tries to retrieves a previously stored transaction after deleted (2935 ms)
15:44:22
✓ tries to retrieves a previously stored transaction after deleted (2887 ms)
15:44:22
✓ tries to retrieves a previously stored transaction after deleted (2730 ms)
15:44:22
✓ tries to retrieves a previously stored transaction after deleted (3123 ms)
15:44:22
✓ returns undefined if tx is not found (2792 ms)
15:44:22
✓ does not fail if the block is unwound while requesting a tx (3361 ms)
15:44:22 L1 to L2 Messages
15:44:22
✓ stores first message ever (1411 ms)
15:44:22
✓ stores single message (1764 ms)
15:44:22
✓ stores and returns messages across different blocks (1558 ms)
15:44:22
✓ stores the same messages again (1663 ms)
15:44:22
✓ stores and returns messages across different blocks with gaps (1690 ms)
15:44:22
✓ stores and returns messages with block numbers larger than a byte (1803 ms)
15:44:22
✓ stores and returns multiple messages per block (1787 ms)
15:44:22
✓ stores messages in multiple operations (1965 ms)
15:44:22
✓ iterates over messages from start index (1941 ms)
15:44:22
✓ iterates over messages in reverse (1865 ms)
15:44:22
✓ throws if messages are added out of order (1754 ms)
15:44:22
✓ throws if block number for the first message is out of order (1919 ms)
15:44:22
✓ throws if rolling hash is not correct (1746 ms)
15:44:22
✓ throws if rolling hash for first message is not correct (1877 ms)
15:44:22
✓ throws if index is not in the correct range (1862 ms)
15:44:22
✓ throws if first index in block has gaps (1979 ms)
15:44:22
✓ throws if index does not follow previous one (2084 ms)
15:44:22
✓ removes messages up to the given block number (2014 ms)
15:44:22
✓ removes messages starting with the given index (2078 ms)
15:44:22 contractInstances
15:44:22
✓ returns previously stored contract instances (1851 ms)
15:44:22
✓ returns undefined if contract instance is not found (1896 ms)
15:44:22
✓ returns undefined if previously stored contract instances was deleted (1821 ms)
15:44:22 contractInstanceUpdates
15:44:22
✓ gets the correct current class id for a contract not updated yet (1733 ms)
15:44:22
✓ gets the correct current class id for a contract that has just been updated (1792 ms)
15:44:22
✓ gets the correct current class id for a contract that was updated in the past (1808 ms)
15:44:22
✓ ignores updates for the wrong contract (1774 ms)
15:44:22
✓ bounds its search to the right contract if more than than one update exists (1926 ms)
15:44:22 contractClasses
15:44:22
✓ returns previously stored contract class (1811 ms)
15:44:22
✓ returns undefined if the initial deployed contract class was deleted (2082 ms)
15:44:22
✓ returns contract class if later "deployment" class was deleted (1886 ms)
15:44:22
✓ returns undefined if contract class is not found (2052 ms)
15:44:22
✓ adds new private functions (2119 ms)
15:44:22
✓ does not duplicate private functions (1940 ms)
15:44:22
✓ adds new utility functions (2019 ms)
15:44:22
✓ does not duplicate utility functions (2005 ms)
15:44:22 getLogsByTags
15:44:22
✓ is possible to batch request private logs via tags (3729 ms)
15:44:22
✓ is possible to batch request all logs (private and public) via tags (3334 ms)
15:44:22
✓ is possible to batch request logs that have the same tag but different content (3739 ms)
15:44:22
✓ is possible to request logs for non-existing tags and determine their position (3298 ms)
15:44:22 getPublicLogs
15:44:22
✓ no logs returned if deleted ("txHash" filter param is respected variant) (5343 ms)
15:44:22
✓ "txHash" filter param is respected (5701 ms)
15:44:22
✓ "fromBlock" and "toBlock" filter params are respected (4956 ms)
15:44:22
✓ "contractAddress" filter param is respected (5486 ms)
15:44:22
✓ "afterLog" filter param is respected (4768 ms)
15:44:22
✓ "txHash" filter param is ignored when "afterLog" is set (4101 ms)
15:44:22
✓ intersecting works (4604 ms)
15:44:22
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4746 ms)
15:44:22
15:44:22
Test Suites: 1 passed, 1 total
15:44:22
Tests: 86 passed, 86 total
15:44:22
Snapshots: 0 total
15:44:22
Time: 204.622 s
15:44:22
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
15:44:22
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?