Parent Log:
http://ci.aztec-labs.com/c342d0a4b7d0a24c
Command: 49ac1aef38652cc1 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/0f26f87af2947423f556c64f03e0100cbf5136f7
Env: REF_NAME=gh-readonly-queue/next/pr-15273-74eeec5d95106217d3b3f3068853022cef7fa307 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Wed Jun 25 10:56:23 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15273_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
10:56:26 [10:56:26.726]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:56:28 [10:56:28.266]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:56:29 [10:56:29.655]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:56:30 [10:56:30.555]
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
10:56:30 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
10:56:30 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:56:30 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:56:30 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:56:30 newBlockNumber: 2,
10:56:30 previousBlockNumber: undefined
10:56:30 }
10:56:30 [10:56:30.558]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:56:31 [10:56:31.597]
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
10:56:31 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:96:17
10:56:31 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:56:31 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:56:31 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
10:56:31 [10:56:31.601]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:56:32 [10:56:32.899]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:56:33 [10:56:33.909]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:56:35 [10:56:35.233]
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)
10:56:35 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:141:15
10:56:35 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:56:35 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:56:35 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
10:56:35 [10:56:35.250]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:56:36 [10:56:36.591]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:56:38 [10:56:38.105]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:56:39 [10:56:39.715]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:56:41 [10:56:41.185]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:56:42 [10:56:42.717]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:56:44 [10:56:44.392]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:56:46 [10:56:46.072]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:56:47 [10:56:47.559]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:56:49 [10:56:49.399]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:56:52 [10:56:52.192]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:56:53 [10:56:53.704]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:56:55 [10:56:55.652]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:56:57 [10:56:57.066]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:56:58 [10:56:58.800]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:57:00 [10:57:00.297]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:57:01 [10:57:01.436]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:57:02 [10:57:02.819]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:57:04 [10:57:04.310]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:57:05 [10:57:05.704]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:57:08 [10:57:08.292]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:57:11 [10:57:11.087]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:57:13 [10:57:13.666]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:57:15 [10:57:15.941]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:57:18 [10:57:18.424]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:57:20 [10:57:20.736]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:57:23 [10:57:23.293]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:57:25 [10:57:25.973]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:57:28 [10:57:28.606]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:57:31 [10:57:31.327]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:57:34 [10:57:34.059]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:57:36 [10:57:36.399]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:57:39 [10:57:39.407]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:57:40 [10:57:40.609]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:57:41 [10:57:42.000]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:57:43 [10:57:43.401]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:57:44 [10:57:44.982]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:57:46 [10:57:46.354]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:57:47 [10:57:47.851]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:57:49 [10:57:49.364]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:57:51 [10:57:51.145]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:57:52 [10:57:52.700]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:57:54 [10:57:54.515]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:57:56 [10:57:56.362]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x0630e981532708616f7f006a6a90c4572054afbfd1d8c9027c2bc4d48cc159b0 for L2 block 1 has wrong index 10 (expected 0)
10:57:56 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
10:57:56 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:57:56 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:57:56 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:57:56 inboxMessage: {
10:57:56 index: 10n,
10:57:56 leaf: Fr<0x0630e981532708616f7f006a6a90c4572054afbfd1d8c9027c2bc4d48cc159b0>,
10:57:56 l2BlockNumber: 1,
10:57:56 l1BlockNumber: 5n,
10:57:56 l1BlockHash: Buffer32<0x905ab774e6b4d6378f833b7582cece1c64584bf120077fe872e0c6987c683f3e>,
10:57:56 rollingHash: Buffer16<0x8a9441d30958f39c402681c3e42f9ba1>
10:57:56 }
10:57:56 }
10:57:56 [10:57:56.366]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:57:58 [10:57:58.132]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x1c0c773f91b6596ca599bf213c0a134d2b766bade2602428c86bdf730a0e3ce3 at block 12 (expected value in range [176, 192))
10:57:58 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
10:57:58 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:57:58 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:57:58 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:57:58 inboxMessage: {
10:57:58 index: 224n,
10:57:58 leaf: Fr<0x1c0c773f91b6596ca599bf213c0a134d2b766bade2602428c86bdf730a0e3ce3>,
10:57:58 l2BlockNumber: 12,
10:57:58 l1BlockNumber: 29n,
10:57:58 l1BlockHash: Buffer32<0xdd1a246a8a35da6a107ffd68aa86af00054bd299f1551a13d008476ea7ce1222>,
10:57:58 rollingHash: Buffer16<0x69038917c796a5e15c0ca9e095338ef4>
10:57:58 }
10:57:58 }
10:57:58 [10:57:58.141]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:57:59 [10:57:59.912]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x2c888e83a9306789f516602560d104b3dc0b4b8599569c4e2f30ac6b553200cd with index 16 (expected 0xcfc39db27aa9ee51e2e625413f9f95fe from previous hash 0x480d2d518e404d99c091fbc681c5ed96 but got 0xcafe8b7c8735812fdad25ff4e7a87a21)
10:57:59 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
10:57:59 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:57:59 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:57:59 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:57:59 inboxMessage: {
10:57:59 index: 16n,
10:57:59 leaf: Fr<0x2c888e83a9306789f516602560d104b3dc0b4b8599569c4e2f30ac6b553200cd>,
10:57:59 l2BlockNumber: 2,
10:57:59 l1BlockNumber: 47n,
10:57:59 l1BlockHash: Buffer32<0xfa1afd6e8f96e3ab52718a7bc25e8bf5492524d7ff7dc95307ac8e8ea9dde76c>,
10:57:59 rollingHash: Buffer16<0xcafe8b7c8735812fdad25ff4e7a87a21>
10:57:59 }
10:57:59 }
10:57:59 [10:57:59.916]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:01 [10:58:01.719]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x182fdf9b8e30a8adf023175514268abc66daf5f646fee346fa415c5acdb077a3 with index 32 (expected 0xa6473124e734a36f928e7b49320b58a1 from previous hash 0x6b17243c494f6e43a0a21cc28e4d90ec but got 0x5977ea106e590caddbbc6674c5ebcd18)
10:58:01 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
10:58:01 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:58:01 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:58:01 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:58:01 inboxMessage: {
10:58:01 index: 32n,
10:58:01 leaf: Fr<0x182fdf9b8e30a8adf023175514268abc66daf5f646fee346fa415c5acdb077a3>,
10:58:01 l2BlockNumber: 3,
10:58:01 l1BlockNumber: 57n,
10:58:01 l1BlockHash: Buffer32<0x19ec574481d1f05110ecdeab1a88c07c4a0dccf9f1ed724352533c3122d0b82d>,
10:58:01 rollingHash: Buffer16<0x5977ea106e590caddbbc6674c5ebcd18>
10:58:01 }
10:58:01 }
10:58:01 [10:58:01.722]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:03 [10:58:03.529]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x2805fc2279b164e63760b759c6de1fd63d5c1c9a18745a6f7e8ad4b97e81cd00 at block 17 (expected value in range [256, 272))
10:58:03 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
10:58:03 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:58:03 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:58:03 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:58:03 inboxMessage: {
10:58:03 index: 356n,
10:58:03 leaf: Fr<0x2805fc2279b164e63760b759c6de1fd63d5c1c9a18745a6f7e8ad4b97e81cd00>,
10:58:03 l2BlockNumber: 17,
10:58:03 l1BlockNumber: 66n,
10:58:03 l1BlockHash: Buffer32<0x0d405323ebbd325c4707edf4c49b1d2cb97edf191aaed20989832b8bcbbb7828>,
10:58:03 rollingHash: Buffer16<0x10ee13383d0f3ed51fac8d118adc54d7>
10:58:03 }
10:58:03 }
10:58:03 [10:58:03.538]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:05 [10:58:05.197]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x0c0e55a3d966fdc34c949b1058cb00d96f0824b5de02f0ae1338095a8f53c208 for L2 block 15 has wrong index 225 (expected 224)
10:58:05 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
10:58:05 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:58:05 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:58:05 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:58:05 inboxMessage: {
10:58:05 index: 225n,
10:58:05 leaf: Fr<0x0c0e55a3d966fdc34c949b1058cb00d96f0824b5de02f0ae1338095a8f53c208>,
10:58:05 l2BlockNumber: 15,
10:58:05 l1BlockNumber: 18n,
10:58:05 l1BlockHash: Buffer32<0x1a3198f4dffc2d1a6b6163e72f75ea0994fd6b9a9e1b0980848a31b1c5847dff>,
10:58:05 rollingHash: Buffer16<0x19033b0f789419b6e5fcc5dbafb7f248>
10:58:05 }
10:58:05 }
10:58:05 [10:58:05.200]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:06 [10:58:06.905]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x1ca9640fdb82751eb27d09fba61e6ff40f48e8411bf2b4b3b267a12d9cc434c0 at block 2 (expected value in range [16, 32))
10:58:06 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
10:58:06 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:58:06 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:58:06 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:58:06 inboxMessage: {
10:58:06 index: 32n,
10:58:06 leaf: Fr<0x1ca9640fdb82751eb27d09fba61e6ff40f48e8411bf2b4b3b267a12d9cc434c0>,
10:58:06 l2BlockNumber: 2,
10:58:06 l1BlockNumber: 13n,
10:58:06 l1BlockHash: Buffer32<0xdee1f3415c1d7f2b43a4a843c57ace46d47af0fc17d9415e9820e1a67a7e323a>,
10:58:06 rollingHash: Buffer16<0xe8f9bc045810ac97a18d3fbe9e286b12>
10:58:06 }
10:58:06 }
10:58:06 [10:58:06.910]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:08 [10:58:08.589]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
10:58:08 [10:58:08.625]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:10 [10:58:10.444]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
10:58:10 [10:58:10.466]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:12 [10:58:12.377]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:14 [10:58:14.194]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:15 [10:58:15.969]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:17 [10:58:17.764]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:19 [10:58:19.563]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:21 [10:58:21.406]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:23 [10:58:23.180]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:25 [10:58:25.012]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:26 [10:58:26.784]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:28 [10:58:28.570]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:30 [10:58:30.325]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:32 [10:58:32.101]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:34 [10:58:34.027]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:35 [10:58:35.821]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:37 [10:58:37.799]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:39 [10:58:39.598]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:42 [10:58:42.501]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:45 [10:58:45.752]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:49 [10:58:49.267]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:51 [10:58:51.782]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:57 [10:58:57.110]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:59:01 [10:59:01.845]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:59:06 [10:59:06.928]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:59:11 [10:59:11.982]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:59:16 [10:59:16.599]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:59:20 [10:59:20.387]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:59:24 [10:59:24.662]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:59:29
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
184.118 s)
10:59:29 KVArchiverDataStore
10:59:29 ArchiverStore
10:59:29 addBlocks
10:59:29
✓ returns success when adding blocks (1547 ms)
10:59:29
✓ allows duplicate blocks (1389 ms)
10:59:29
✓ throws an error if the previous block does not exist in the store (903 ms)
10:59:29
✓ throws an error if there is a gap in the blocks being added (1041 ms)
10:59:29 unwindBlocks
10:59:29
✓ unwinding blocks will remove blocks from the chain (1298 ms)
10:59:29
✓ can unwind multiple empty blocks (1009 ms)
10:59:29
✓ refuses to unwind blocks if the tip is not the last block (1330 ms)
10:59:29 getBlocks
10:59:29
✓ retrieves previously stored blocks (1351 ms)
10:59:29
✓ retrieves previously stored blocks (1513 ms)
10:59:29
✓ retrieves previously stored blocks (1608 ms)
10:59:29
✓ retrieves previously stored blocks (1471 ms)
10:59:29
✓ retrieves previously stored blocks (1531 ms)
10:59:29
✓ returns an empty array if no blocks are found (1675 ms)
10:59:29
✓ throws an error if limit is invalid (1665 ms)
10:59:29
✓ throws an error if `from` it is out of range (1488 ms)
10:59:29
✓ throws an error if unexpected initial block number is found (1851 ms)
10:59:29
✓ throws an error if a gap is found (2793 ms)
10:59:29 getSyncedL2BlockNumber
10:59:29
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1509 ms)
10:59:29
✓ returns the most recently added block's number (1948 ms)
10:59:29 getSynchPoint
10:59:29
✓ returns undefined if no blocks have been added (1416 ms)
10:59:29
✓ returns the L1 block number in which the most recent L2 block was published (1733 ms)
10:59:29
✓ returns the L1 block number that most recently added messages from inbox (1497 ms)
10:59:29
✓ returns the latest syncpoint if latest message is behind (1138 ms)
10:59:29 addLogs
10:59:29
✓ adds private & public logs (1382 ms)
10:59:29 deleteLogs
10:59:29
✓ deletes private & public logs (1488 ms)
10:59:29 getPrivateLogs
10:59:29
✓ gets added private logs (1395 ms)
10:59:29 getTxEffect
10:59:29
✓ retrieves a previously stored transaction (2587 ms)
10:59:29
✓ retrieves a previously stored transaction (2784 ms)
10:59:29
✓ retrieves a previously stored transaction (2586 ms)
10:59:29
✓ retrieves a previously stored transaction (2275 ms)
10:59:29
✓ retrieves a previously stored transaction (2481 ms)
10:59:29
✓ returns undefined if tx is not found (2309 ms)
10:59:29
✓ tries to retrieves a previously stored transaction after deleted (2558 ms)
10:59:29
✓ tries to retrieves a previously stored transaction after deleted (2681 ms)
10:59:29
✓ tries to retrieves a previously stored transaction after deleted (2632 ms)
10:59:29
✓ tries to retrieves a previously stored transaction after deleted (2721 ms)
10:59:29
✓ tries to retrieves a previously stored transaction after deleted (2730 ms)
10:59:29
✓ returns undefined if tx is not found (2338 ms)
10:59:29
✓ does not fail if the block is unwound while requesting a tx (3007 ms)
10:59:29 L1 to L2 Messages
10:59:29
✓ stores first message ever (1202 ms)
10:59:29
✓ stores single message (1390 ms)
10:59:29
✓ stores and returns messages across different blocks (1402 ms)
10:59:29
✓ stores the same messages again (1581 ms)
10:59:29
✓ stores and returns messages across different blocks with gaps (1371 ms)
10:59:29
✓ stores and returns messages with block numbers larger than a byte (1495 ms)
10:59:29
✓ stores and returns multiple messages per block (1512 ms)
10:59:29
✓ stores messages in multiple operations (1776 ms)
10:59:29
✓ iterates over messages from start index (1559 ms)
10:59:29
✓ iterates over messages in reverse (1815 ms)
10:59:29
✓ throws if messages are added out of order (1849 ms)
10:59:29
✓ throws if block number for the first message is out of order (1773 ms)
10:59:29
✓ throws if rolling hash is not correct (1776 ms)
10:59:29
✓ throws if rolling hash for first message is not correct (1805 ms)
10:59:29
✓ throws if index is not in the correct range (1809 ms)
10:59:29
✓ throws if first index in block has gaps (1667 ms)
10:59:29
✓ throws if index does not follow previous one (1708 ms)
10:59:29
✓ removes messages up to the given block number (1716 ms)
10:59:29
✓ removes messages starting with the given index (1840 ms)
10:59:29 contractInstances
10:59:29
✓ returns previously stored contract instances (1909 ms)
10:59:29
✓ returns undefined if contract instance is not found (1817 ms)
10:59:29
✓ returns undefined if previously stored contract instances was deleted (1772 ms)
10:59:29 contractInstanceUpdates
10:59:29
✓ gets the correct current class id for a contract not updated yet (1792 ms)
10:59:29
✓ gets the correct current class id for a contract that has just been updated (1803 ms)
10:59:29
✓ gets the correct current class id for a contract that was updated in the past (1841 ms)
10:59:29
✓ ignores updates for the wrong contract (1774 ms)
10:59:29
✓ bounds its search to the right contract if more than than one update exists (1832 ms)
10:59:29 contractClasses
10:59:29
✓ returns previously stored contract class (1769 ms)
10:59:29
✓ returns undefined if the initial deployed contract class was deleted (1787 ms)
10:59:29
✓ returns contract class if later "deployment" class was deleted (1755 ms)
10:59:29
✓ returns undefined if contract class is not found (1776 ms)
10:59:29
✓ adds new private functions (1924 ms)
10:59:29
✓ does not duplicate private functions (1795 ms)
10:59:29
✓ adds new utility functions (1976 ms)
10:59:29
✓ does not duplicate utility functions (1799 ms)
10:59:29 getLogsByTags
10:59:29
✓ is possible to batch request private logs via tags (2902 ms)
10:59:29
✓ is possible to batch request all logs (private and public) via tags (3248 ms)
10:59:29
✓ is possible to batch request logs that have the same tag but different content (3517 ms)
10:59:29
✓ is possible to request logs for non-existing tags and determine their position (2513 ms)
10:59:29 getPublicLogs
10:59:29
✓ no logs returned if deleted ("txHash" filter param is respected variant) (5328 ms)
10:59:29
✓ "txHash" filter param is respected (4733 ms)
10:59:29
✓ "fromBlock" and "toBlock" filter params are respected (5082 ms)
10:59:29
✓ "contractAddress" filter param is respected (5052 ms)
10:59:29
✓ "afterLog" filter param is respected (4617 ms)
10:59:29
✓ "txHash" filter param is ignored when "afterLog" is set (3788 ms)
10:59:29
✓ intersecting works (4276 ms)
10:59:29
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4388 ms)
10:59:29
10:59:29
Test Suites: 1 passed, 1 total
10:59:29
Tests: 86 passed, 86 total
10:59:29
Snapshots: 0 total
10:59:29
Time: 184.213 s
10:59:29
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
10:59:29
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?