Parent Log:
http://ci.aztec-labs.com/844bec8772ac4116
Command: fa3d426c5ffed922 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/ddabb45f79cc171e41a0a5330544775de9fdf7fd
Env: REF_NAME=gh-readonly-queue/next/pr-14983-4e03f15ca8099f25d50eddd19c4914764b84fe7b CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 13 14:37:15 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14983_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
14:37:17 [14:37:17.751]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:37:19 [14:37:19.038]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:37:20 [14:37:20.472]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:37:21 [14:37:21.328]
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
14:37:21 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
14:37:21 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:37:21 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:37:21 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:37:21 newBlockNumber: 2,
14:37:21 previousBlockNumber: undefined
14:37:21 }
14:37:21 [14:37:21.333]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:37:22 [14:37:22.471]
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
14:37:22 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17
14:37:22 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:37:22 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:37:22 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
14:37:22 [14:37:22.484]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:37:23 [14:37:23.918]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:37:24 [14:37:24.864]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:37:26 [14:37:26.192]
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)
14:37:26 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15
14:37:26 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:37:26 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:37:26 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
14:37:26 [14:37:26.197]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:37:27 [14:37:27.611]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:37:29 [14:37:29.320]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:37:31 [14:37:31.077]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:37:32 [14:37:32.487]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:37:33 [14:37:33.736]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:37:35 [14:37:35.023]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:37:36 [14:37:36.874]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:37:38 [14:37:38.543]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:37:40 [14:37:40.442]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:37:42 [14:37:42.519]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:37:43 [14:37:43.907]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:37:45 [14:37:45.560]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:37:46 [14:37:46.780]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:37:48 [14:37:48.319]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:37:49 [14:37:49.586]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:37:50 [14:37:50.705]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:37:52 [14:37:52.039]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:37:53 [14:37:53.583]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:37:54 [14:37:54.941]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:37:57 [14:37:57.491]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:00 [14:38:00.146]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:02 [14:38:02.702]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:05 [14:38:05.314]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:07 [14:38:07.931]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:10 [14:38:10.288]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:12 [14:38:12.731]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:15 [14:38:15.278]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:17 [14:38:17.927]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:20 [14:38:20.437]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:23 [14:38:23.219]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:25 [14:38:25.710]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:28 [14:38:28.840]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:30 [14:38:30.249]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:31 [14:38:31.378]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:32 [14:38:32.989]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:34 [14:38:34.450]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:36 [14:38:36.046]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:37 [14:38:37.614]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:39 [14:38:39.199]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:40 [14:38:40.986]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:42 [14:38:42.834]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:44 [14:38:44.735]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:46 [14:38:46.523]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x1876a6464de952ce07ee7de3838e04cf9268ca7924c76e5e8f41ba816b0f3e0b for L2 block 1 has wrong index 10 (expected 0)
14:38:46 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
14:38:46 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:38:46 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:38:46 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:38:46 inboxMessage: {
14:38:46 index: 10n,
14:38:46 leaf: Fr<0x1876a6464de952ce07ee7de3838e04cf9268ca7924c76e5e8f41ba816b0f3e0b>,
14:38:46 l2BlockNumber: 1,
14:38:46 l1BlockNumber: 58n,
14:38:46 l1BlockHash: Buffer32<0x5217c3dfe5ce54eb15eaf19aafb7c865a2167f3922a72854c5746f5f89764590>,
14:38:46 rollingHash: Buffer16<0xb76ab164a3c0f61dc62c6c4d003e357b>
14:38:46 }
14:38:46 }
14:38:46 [14:38:46.527]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:48 [14:38:48.480]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x1d0ab9f54892528ea6970ad323c6c4c3bc2870814b9a335bb907acca9b127289 at block 12 (expected value in range [176, 192))
14:38:48 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
14:38:48 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:38:48 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:38:48 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:38:48 inboxMessage: {
14:38:48 index: 224n,
14:38:48 leaf: Fr<0x1d0ab9f54892528ea6970ad323c6c4c3bc2870814b9a335bb907acca9b127289>,
14:38:48 l2BlockNumber: 12,
14:38:48 l1BlockNumber: 69n,
14:38:48 l1BlockHash: Buffer32<0x62b954135c82020270e3d010ac3c0324b32998ae6d29168b4dd8a2f141fc964f>,
14:38:48 rollingHash: Buffer16<0xc2798964736a71834c4f4e18309e8e83>
14:38:48 }
14:38:48 }
14:38:48 [14:38:48.488]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:50 [14:38:50.224]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x2daf551d7feb209780e5d1c3461a0e222845bd9ae9adfbff56d56c03e8a7a5ba with index 16 (expected 0x183d008b487f9b5ed9601ac47bc3521e from previous hash 0x81fe62f25ce5bd23cc0944c29344ac89 but got 0xeeb64eccafd16275dcb58d41fdc2010b)
14:38:50 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
14:38:50 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:38:50 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:38:50 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:38:50 inboxMessage: {
14:38:50 index: 16n,
14:38:50 leaf: Fr<0x2daf551d7feb209780e5d1c3461a0e222845bd9ae9adfbff56d56c03e8a7a5ba>,
14:38:50 l2BlockNumber: 2,
14:38:50 l1BlockNumber: 65n,
14:38:50 l1BlockHash: Buffer32<0xe641374a047a80f4ef724b19e37f6fc4b1ff9d44be8cbeba03b683f42bea1149>,
14:38:50 rollingHash: Buffer16<0xeeb64eccafd16275dcb58d41fdc2010b>
14:38:50 }
14:38:50 }
14:38:50 [14:38:50.227]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:51 [14:38:51.731]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x075b8c5030fd59696eaca9eee151797e25595ea9faa7c02574d8c07dc3d4324d with index 32 (expected 0x4f74b9f72fa7849694f3254a1c5b36e5 from previous hash 0x4c29b64d9b37c8c9e27a07db575af167 but got 0xa573bf8584677e0d69ed27773c97def3)
14:38:51 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
14:38:51 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:38:51 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:38:51 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:38:51 inboxMessage: {
14:38:51 index: 32n,
14:38:51 leaf: Fr<0x075b8c5030fd59696eaca9eee151797e25595ea9faa7c02574d8c07dc3d4324d>,
14:38:51 l2BlockNumber: 3,
14:38:51 l1BlockNumber: 100n,
14:38:51 l1BlockHash: Buffer32<0x7024fcf5836f4700f22caacc1f7631cb85c0cdec7214cbe9f8f892732a857182>,
14:38:51 rollingHash: Buffer16<0xa573bf8584677e0d69ed27773c97def3>
14:38:51 }
14:38:51 }
14:38:51 [14:38:51.735]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:53 [14:38:53.194]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x13c0b4df4ef43847d8567c64ca65d7f6532ede3679787179a3727f7079288d6b at block 17 (expected value in range [256, 272))
14:38:53 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
14:38:53 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:38:53 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:38:53 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:38:53 inboxMessage: {
14:38:53 index: 356n,
14:38:53 leaf: Fr<0x13c0b4df4ef43847d8567c64ca65d7f6532ede3679787179a3727f7079288d6b>,
14:38:53 l2BlockNumber: 17,
14:38:53 l1BlockNumber: 44n,
14:38:53 l1BlockHash: Buffer32<0x19a6cbcfb794a333d8fc17e0a076618ddb24e31507d6508d3d6069d99afaf2df>,
14:38:53 rollingHash: Buffer16<0x6f95c3dd397863542354ae04dc657241>
14:38:53 }
14:38:53 }
14:38:53 [14:38:53.197]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:54 [14:38:54.699]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x06f7af407643407d7d4b3f325842f05867d2cf2db5c05097523e1a7c2e6795e3 for L2 block 15 has wrong index 225 (expected 224)
14:38:54 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
14:38:54 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:38:54 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:38:54 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:38:54 inboxMessage: {
14:38:54 index: 225n,
14:38:54 leaf: Fr<0x06f7af407643407d7d4b3f325842f05867d2cf2db5c05097523e1a7c2e6795e3>,
14:38:54 l2BlockNumber: 15,
14:38:54 l1BlockNumber: 41n,
14:38:54 l1BlockHash: Buffer32<0x3913869b2732aad46bb2087ca8baf9d8e9dc4dbc215be0d165693fdcc03b0956>,
14:38:54 rollingHash: Buffer16<0x5e022efcc4a095642ce9c1acc7515f39>
14:38:54 }
14:38:54 }
14:38:54 [14:38:54.701]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:56 [14:38:56.549]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x0332f2bd5af5603eadf98eb6d45dd67e6cba87a6ca2355f22e9d39910a0cd63a at block 2 (expected value in range [16, 32))
14:38:56 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
14:38:56 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:38:56 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:38:56 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:38:56 inboxMessage: {
14:38:56 index: 32n,
14:38:56 leaf: Fr<0x0332f2bd5af5603eadf98eb6d45dd67e6cba87a6ca2355f22e9d39910a0cd63a>,
14:38:56 l2BlockNumber: 2,
14:38:56 l1BlockNumber: 56n,
14:38:56 l1BlockHash: Buffer32<0xc448381825baca76b3012d96d0e5579533fd6b944c61e87e72f0a9a1f61f3880>,
14:38:56 rollingHash: Buffer16<0x47079e1f62043385f42d1edae91018b3>
14:38:56 }
14:38:56 }
14:38:56 [14:38:56.553]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:58 [14:38:58.523]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
14:38:58 [14:38:58.580]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:39:00 [14:39:00.451]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
14:39:00 [14:39:00.500]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:39:02 [14:39:02.346]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:39:04 [14:39:04.313]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:39:06 [14:39:06.349]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:39:08 [14:39:08.310]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:39:10 [14:39:10.315]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:39:12 [14:39:12.149]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:39:14 [14:39:14.094]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:39:15 [14:39:15.923]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:39:17 [14:39:17.922]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:39:19 [14:39:19.606]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:39:21 [14:39:21.407]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:39:23 [14:39:23.359]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:39:25 [14:39:25.301]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:39:27 [14:39:27.146]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:39:29 [14:39:29.042]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:39:30 [14:39:30.949]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:39:34 [14:39:34.543]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:39:37 [14:39:37.916]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:39:41 [14:39:41.680]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:39:45 [14:39:45.298]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:39:51 [14:39:51.684]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:39:56 [14:39:56.955]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:40:02 [14:40:02.325]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:40:07 [14:40:07.435]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:40:12 [14:40:12.142]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:40:17 [14:40:17.267]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:40:22 [14:40:22.785]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:40:28
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
192.31 s)
14:40:28 KVArchiverDataStore
14:40:28 ArchiverStore
14:40:28 addBlocks
14:40:28
✓ returns success when adding blocks (1290 ms)
14:40:28
✓ allows duplicate blocks (1434 ms)
14:40:28
✓ throws an error if the previous block does not exist in the store (861 ms)
14:40:28
✓ throws an error if there is a gap in the blocks being added (1150 ms)
14:40:28 unwindBlocks
14:40:28
✓ unwinding blocks will remove blocks from the chain (1434 ms)
14:40:28
✓ can unwind multiple empty blocks (946 ms)
14:40:28
✓ refuses to unwind blocks if the tip is not the last block (1331 ms)
14:40:28 getBlocks
14:40:28
✓ retrieves previously stored blocks (1407 ms)
14:40:28
✓ retrieves previously stored blocks (1714 ms)
14:40:28
✓ retrieves previously stored blocks (1757 ms)
14:40:28
✓ retrieves previously stored blocks (1409 ms)
14:40:28
✓ retrieves previously stored blocks (1248 ms)
14:40:28
✓ returns an empty array if no blocks are found (1287 ms)
14:40:28
✓ throws an error if limit is invalid (1850 ms)
14:40:28
✓ throws an error if `from` it is out of range (1669 ms)
14:40:28
✓ throws an error if unexpected initial block number is found (1898 ms)
14:40:28
✓ throws an error if a gap is found (2076 ms)
14:40:28 getSyncedL2BlockNumber
14:40:28
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1385 ms)
14:40:28
✓ returns the most recently added block's number (1654 ms)
14:40:28 getSynchPoint
14:40:28
✓ returns undefined if no blocks have been added (1218 ms)
14:40:28
✓ returns the L1 block number in which the most recent L2 block was published (1539 ms)
14:40:28
✓ returns the L1 block number that most recently added messages from inbox (1265 ms)
14:40:28
✓ returns the latest syncpoint if latest message is behind (1118 ms)
14:40:28 addLogs
14:40:28
✓ adds private & public logs (1333 ms)
14:40:28 deleteLogs
14:40:28
✓ deletes private & public logs (1532 ms)
14:40:28 getPrivateLogs
14:40:28
✓ gets added private logs (1361 ms)
14:40:28 getTxEffect
14:40:28
✓ retrieves a previously stored transaction (2548 ms)
14:40:28
✓ retrieves a previously stored transaction (2656 ms)
14:40:28
✓ retrieves a previously stored transaction (2557 ms)
14:40:28
✓ retrieves a previously stored transaction (2611 ms)
14:40:28
✓ retrieves a previously stored transaction (2616 ms)
14:40:28
✓ returns undefined if tx is not found (2356 ms)
14:40:28
✓ tries to retrieves a previously stored transaction after deleted (2442 ms)
14:40:28
✓ tries to retrieves a previously stored transaction after deleted (2546 ms)
14:40:28
✓ tries to retrieves a previously stored transaction after deleted (2650 ms)
14:40:28
✓ tries to retrieves a previously stored transaction after deleted (2508 ms)
14:40:28
✓ tries to retrieves a previously stored transaction after deleted (2782 ms)
14:40:28
✓ returns undefined if tx is not found (2491 ms)
14:40:28
✓ does not fail if the block is unwound while requesting a tx (3129 ms)
14:40:28 L1 to L2 Messages
14:40:28
✓ stores first message ever (1409 ms)
14:40:28
✓ stores single message (1128 ms)
14:40:28
✓ stores and returns messages across different blocks (1610 ms)
14:40:28
✓ stores the same messages again (1459 ms)
14:40:28
✓ stores and returns messages across different blocks with gaps (1596 ms)
14:40:28
✓ stores and returns messages with block numbers larger than a byte (1566 ms)
14:40:28
✓ stores and returns multiple messages per block (1585 ms)
14:40:28
✓ stores messages in multiple operations (1786 ms)
14:40:28
✓ iterates over messages from start index (1847 ms)
14:40:28
✓ iterates over messages in reverse (1895 ms)
14:40:28
✓ throws if messages are added out of order (1797 ms)
14:40:28
✓ throws if block number for the first message is out of order (1959 ms)
14:40:28
✓ throws if rolling hash is not correct (1739 ms)
14:40:28
✓ throws if rolling hash for first message is not correct (1507 ms)
14:40:28
✓ throws if index is not in the correct range (1461 ms)
14:40:28
✓ throws if first index in block has gaps (1504 ms)
14:40:28
✓ throws if index does not follow previous one (1851 ms)
14:40:28
✓ removes messages up to the given block number (2022 ms)
14:40:28
✓ removes messages starting with the given index (1921 ms)
14:40:28 contractInstances
14:40:28
✓ returns previously stored contract instances (1846 ms)
14:40:28
✓ returns undefined if contract instance is not found (1966 ms)
14:40:28
✓ returns undefined if previously stored contract instances was deleted (2034 ms)
14:40:28 contractInstanceUpdates
14:40:28
✓ gets the correct current class id for a contract not updated yet (1961 ms)
14:40:28
✓ gets the correct current class id for a contract that has just been updated (2004 ms)
14:40:28
✓ gets the correct current class id for a contract that was updated in the past (1833 ms)
14:40:28
✓ ignores updates for the wrong contract (1938 ms)
14:40:28
✓ bounds its search to the right contract if more than than one update exists (1833 ms)
14:40:28 contractClasses
14:40:28
✓ returns previously stored contract class (1995 ms)
14:40:28
✓ returns undefined if the initial deployed contract class was deleted (1686 ms)
14:40:28
✓ returns contract class if later "deployment" class was deleted (1802 ms)
14:40:28
✓ returns undefined if contract class is not found (1950 ms)
14:40:28
✓ adds new private functions (1941 ms)
14:40:28
✓ does not duplicate private functions (1844 ms)
14:40:28
✓ adds new utility functions (1896 ms)
14:40:28
✓ does not duplicate utility functions (1904 ms)
14:40:28 getLogsByTags
14:40:28
✓ is possible to batch request private logs via tags (3596 ms)
14:40:28
✓ is possible to batch request all logs (private and public) via tags (3371 ms)
14:40:28
✓ is possible to batch request logs that have the same tag but different content (3763 ms)
14:40:28
✓ is possible to request logs for non-existing tags and determine their position (3617 ms)
14:40:28 getPublicLogs
14:40:28
✓ no logs returned if deleted ("txHash" filter param is respected variant) (6385 ms)
14:40:28
✓ "txHash" filter param is respected (5272 ms)
14:40:28
✓ "fromBlock" and "toBlock" filter params are respected (5370 ms)
14:40:28
✓ "contractAddress" filter param is respected (5109 ms)
14:40:28
✓ "afterLog" filter param is respected (4707 ms)
14:40:28
✓ "txHash" filter param is ignored when "afterLog" is set (5120 ms)
14:40:28
✓ intersecting works (5522 ms)
14:40:28
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (5668 ms)
14:40:28
14:40:28
Test Suites: 1 passed, 1 total
14:40:28
Tests: 86 passed, 86 total
14:40:28
Snapshots: 0 total
14:40:28
Time: 192.395 s
14:40:28
Ran all test suites matching /archiver\/src\/archiver\/kv_archiver_store\/kv_archiver_store.test.ts/i
.
14:40:28
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?