Parent Log:
http://ci.aztec-labs.com/071700648824de6c
Command: 17e0d785507e6983 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/5867520ed258adecfee692b3694d693b2c7964ca
Env: REF_NAME=gh-readonly-queue/next/pr-14770-9b801754ba98479ee645488c29d2fda1eecbfd85 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 21:51:06 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14770_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
21:51:08 [21:51:08.890]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:51:10 [21:51:10.535]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:51:12 [21:51:12.308]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:51:13 [21:51:13.603]
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
21:51:13 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
21:51:13 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:51:13 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:51:13 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
21:51:13 newBlockNumber: 2,
21:51:13 previousBlockNumber: undefined
21:51:13 }
21:51:13 [21:51:13.608]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:51:14 [21:51:14.689]
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
21:51:14 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17
21:51:14 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:51:14 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:51:14 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
21:51:14 [21:51:14.693]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:51:16 [21:51:16.137]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:51:17 [21:51:17.109]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:51:18 [21:51:18.393]
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)
21:51:18 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15
21:51:18 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:51:18 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:51:18 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
21:51:18 [21:51:18.397]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:51:19 [21:51:19.732]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:51:21 [21:51:21.109]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:51:23 [21:51:23.053]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:51:25 [21:51:25.017]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:51:27 [21:51:27.957]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:51:29 [21:51:29.431]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:51:31 [21:51:31.544]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:51:33 [21:51:33.158]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:51:34 [21:51:34.852]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:51:37 [21:51:37.077]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:51:38 [21:51:38.310]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:51:39 [21:51:39.720]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:51:41 [21:51:41.060]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:51:42 [21:51:42.663]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:51:43 [21:51:43.937]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:51:45 [21:51:45.177]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:51:46 [21:51:46.446]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:51:48 [21:51:48.224]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:51:49 [21:51:49.782]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:51:52 [21:51:52.497]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:51:54 [21:51:54.888]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:51:57 [21:51:57.467]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:52:00 [21:52:00.349]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:52:02 [21:52:02.731]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:52:05 [21:52:05.039]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:52:07 [21:52:07.703]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:52:10 [21:52:10.379]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:52:13 [21:52:13.092]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:52:15 [21:52:15.764]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:52:18 [21:52:18.583]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:52:21 [21:52:21.345]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:52:24 [21:52:24.820]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:52:26 [21:52:26.362]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:52:27 [21:52:27.873]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:52:29 [21:52:29.492]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:52:31 [21:52:31.092]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:52:32 [21:52:32.756]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:52:34 [21:52:34.430]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:52:36 [21:52:36.182]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:52:38 [21:52:38.089]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:52:39 [21:52:39.874]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:52:41 [21:52:41.634]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:52:43 [21:52:43.674]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x219330e623edf4bdd8cdffce4a2f904fccbe67887b6425ac42231d0be78e508c for L2 block 1 has wrong index 10 (expected 0)
21:52:43 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
21:52:43 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:52:43 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:52:43 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
21:52:43 inboxMessage: {
21:52:43 index: 10n,
21:52:43 leaf: Fr<0x219330e623edf4bdd8cdffce4a2f904fccbe67887b6425ac42231d0be78e508c>,
21:52:43 l2BlockNumber: 1,
21:52:43 l1BlockNumber: 33n,
21:52:43 l1BlockHash: Buffer32<0xcbd153d2f5df3d8f8330a39adcbec1bec09386a26fb8c995cdcc08418b467efd>,
21:52:43 rollingHash: Buffer16<0xa07bdcc4973a669aaaaa46ef3fbdcf61>
21:52:43 }
21:52:43 }
21:52:43 [21:52:43.678]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:52:45 [21:52:45.513]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x01b90f53994ea7f597d9b7ad243e8c053efa446083b485ea3e8f8bff32b0b609 at block 12 (expected value in range [176, 192))
21:52:45 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
21:52:45 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:52:45 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:52:45 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
21:52:45 inboxMessage: {
21:52:45 index: 224n,
21:52:45 leaf: Fr<0x01b90f53994ea7f597d9b7ad243e8c053efa446083b485ea3e8f8bff32b0b609>,
21:52:45 l2BlockNumber: 12,
21:52:45 l1BlockNumber: 67n,
21:52:45 l1BlockHash: Buffer32<0x662fed3aba6555de0946edaeb3719e4626f012485739a7d09325985b3655eb57>,
21:52:45 rollingHash: Buffer16<0xaf138eaae7ea330af067721d5d8c3632>
21:52:45 }
21:52:45 }
21:52:45 [21:52:45.517]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:52:47 [21:52:47.220]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x26b5a3c8d89827a943fee8357827e427bfcef948dfd4074eb4d264968ac013cc with index 16 (expected 0x083502bdf3ca3b026acb1320e5e5c5e7 from previous hash 0x1baf6bb8e2a384118fff460730f9cef7 but got 0xee1281eb57e293de7f7b5c0c27e3542c)
21:52:47 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
21:52:47 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:52:47 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:52:47 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
21:52:47 inboxMessage: {
21:52:47 index: 16n,
21:52:47 leaf: Fr<0x26b5a3c8d89827a943fee8357827e427bfcef948dfd4074eb4d264968ac013cc>,
21:52:47 l2BlockNumber: 2,
21:52:47 l1BlockNumber: 27n,
21:52:47 l1BlockHash: Buffer32<0x3629d97115d84acf8d253382ca7cd98954216570b646a062689657dd2a7d083f>,
21:52:47 rollingHash: Buffer16<0xee1281eb57e293de7f7b5c0c27e3542c>
21:52:47 }
21:52:47 }
21:52:47 [21:52:47.223]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:52:49 [21:52:49.161]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x09e3a0ff2b3f3dc3b139f89a42d3960dd6ef28efbe693ac5f6c5cc5a16e56209 with index 32 (expected 0x341dfde571e415f063cd01454c15c178 from previous hash 0xb2866cbc3bbd4898f2d23ed5237e91ac but got 0x98158308b6938aa92d40bec1e609e392)
21:52:49 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
21:52:49 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:52:49 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:52:49 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
21:52:49 inboxMessage: {
21:52:49 index: 32n,
21:52:49 leaf: Fr<0x09e3a0ff2b3f3dc3b139f89a42d3960dd6ef28efbe693ac5f6c5cc5a16e56209>,
21:52:49 l2BlockNumber: 3,
21:52:49 l1BlockNumber: 45n,
21:52:49 l1BlockHash: Buffer32<0xf5e0d4988e20b495f5d40438611528d1a4bd6a0877a51c6530f1601251bea1e3>,
21:52:49 rollingHash: Buffer16<0x98158308b6938aa92d40bec1e609e392>
21:52:49 }
21:52:49 }
21:52:49 [21:52:49.164]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:52:51 [21:52:51.048]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x00ef204f4af0d38ac3852861348a3e858c16f6a47c6861026706bd8a946c62d9 at block 17 (expected value in range [256, 272))
21:52:51 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
21:52:51 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:52:51 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:52:51 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
21:52:51 inboxMessage: {
21:52:51 index: 356n,
21:52:51 leaf: Fr<0x00ef204f4af0d38ac3852861348a3e858c16f6a47c6861026706bd8a946c62d9>,
21:52:51 l2BlockNumber: 17,
21:52:51 l1BlockNumber: 23n,
21:52:51 l1BlockHash: Buffer32<0x67bcf685d7e9f8417de6203200e93823e32e7477a6562df3a6fd02829f627895>,
21:52:51 rollingHash: Buffer16<0x87a5c3b95aa44d7cba74b98198f1c790>
21:52:51 }
21:52:51 }
21:52:51 [21:52:51.053]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:52:53 [21:52:53.090]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x223da36bcc4a920804f983582c8a82069d7774dd159e3aa2900df83034204b9b for L2 block 15 has wrong index 225 (expected 224)
21:52:53 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
21:52:53 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:52:53 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:52:53 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
21:52:53 inboxMessage: {
21:52:53 index: 225n,
21:52:53 leaf: Fr<0x223da36bcc4a920804f983582c8a82069d7774dd159e3aa2900df83034204b9b>,
21:52:53 l2BlockNumber: 15,
21:52:53 l1BlockNumber: 35n,
21:52:53 l1BlockHash: Buffer32<0x1cef0afae38667b703ba3654f5a4950397d07d135ff6e4c3bf34b09624b8cfe6>,
21:52:53 rollingHash: Buffer16<0x2eedabb3b7f9f790107a41153a6db54b>
21:52:53 }
21:52:53 }
21:52:53 [21:52:53.094]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:52:55 [21:52:55.006]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x292df46ae1c5a31064fab18a962dbfabf5f4111b656d446495c3d731f6f10838 at block 2 (expected value in range [16, 32))
21:52:55 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
21:52:55 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:52:55 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:52:55 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
21:52:55 inboxMessage: {
21:52:55 index: 32n,
21:52:55 leaf: Fr<0x292df46ae1c5a31064fab18a962dbfabf5f4111b656d446495c3d731f6f10838>,
21:52:55 l2BlockNumber: 2,
21:52:55 l1BlockNumber: 13n,
21:52:55 l1BlockHash: Buffer32<0xcdddd50fb9c941b90fe68f0bfc5ba46aa91ff942d5d6bba06a20c402e9bd4210>,
21:52:55 rollingHash: Buffer16<0x8236e239deed84eeb30785ff6055dc43>
21:52:55 }
21:52:55 }
21:52:55 [21:52:55.009]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:52:56 [21:52:56.968]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
21:52:57 [21:52:57.008]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:52:59 [21:52:59.030]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
21:52:59 [21:52:59.052]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:53:00 [21:53:00.886]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:53:02 [21:53:02.647]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:53:04 [21:53:04.339]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:53:06 [21:53:06.240]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:53:08 [21:53:08.236]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:53:10 [21:53:10.179]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:53:12 [21:53:12.098]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:53:13 [21:53:13.788]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:53:15 [21:53:15.689]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:53:17 [21:53:17.670]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:53:19 [21:53:19.369]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:53:21 [21:53:21.277]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:53:23 [21:53:23.515]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:53:25 [21:53:25.693]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:53:27 [21:53:27.910]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:53:29 [21:53:29.916]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:53:33 [21:53:33.060]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:53:36 [21:53:36.451]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:53:40 [21:53:40.446]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:53:43 [21:53:43.844]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:53:49 [21:53:49.641]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:53:55 [21:53:55.034]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:54:00 [21:54:00.582]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:54:05 [21:54:05.789]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:54:11 [21:54:11.359]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:54:15 [21:54:15.640]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:54:20 [21:54:20.144]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:54:24
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
197.133 s)
21:54:24 KVArchiverDataStore
21:54:24 ArchiverStore
21:54:24 addBlocks
21:54:24
✓ returns success when adding blocks (1661 ms)
21:54:24
✓ allows duplicate blocks (1772 ms)
21:54:24
✓ throws an error if the previous block does not exist in the store (1301 ms)
21:54:24
✓ throws an error if there is a gap in the blocks being added (1083 ms)
21:54:24 unwindBlocks
21:54:24
✓ unwinding blocks will remove blocks from the chain (1445 ms)
21:54:24
✓ can unwind multiple empty blocks (970 ms)
21:54:24
✓ refuses to unwind blocks if the tip is not the last block (1287 ms)
21:54:24 getBlocks
21:54:24
✓ retrieves previously stored blocks (1330 ms)
21:54:24
✓ retrieves previously stored blocks (1381 ms)
21:54:24
✓ retrieves previously stored blocks (1943 ms)
21:54:24
✓ retrieves previously stored blocks (1964 ms)
21:54:24
✓ retrieves previously stored blocks (2939 ms)
21:54:24
✓ returns an empty array if no blocks are found (1474 ms)
21:54:24
✓ throws an error if limit is invalid (2112 ms)
21:54:24
✓ throws an error if `from` it is out of range (1613 ms)
21:54:24
✓ throws an error if unexpected initial block number is found (1692 ms)
21:54:24
✓ throws an error if a gap is found (2225 ms)
21:54:24 getSyncedL2BlockNumber
21:54:24
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1233 ms)
21:54:24
✓ returns the most recently added block's number (1408 ms)
21:54:24 getSynchPoint
21:54:24
✓ returns undefined if no blocks have been added (1339 ms)
21:54:24
✓ returns the L1 block number in which the most recent L2 block was published (1603 ms)
21:54:24
✓ returns the L1 block number that most recently added messages from inbox (1273 ms)
21:54:24
✓ returns the latest syncpoint if latest message is behind (1239 ms)
21:54:24 addLogs
21:54:24
✓ adds private & public logs (1266 ms)
21:54:24 deleteLogs
21:54:24
✓ deletes private & public logs (1779 ms)
21:54:24 getPrivateLogs
21:54:24
✓ gets added private logs (1557 ms)
21:54:24 getTxEffect
21:54:24
✓ retrieves a previously stored transaction (2713 ms)
21:54:24
✓ retrieves a previously stored transaction (2393 ms)
21:54:24
✓ retrieves a previously stored transaction (2575 ms)
21:54:24
✓ retrieves a previously stored transaction (2882 ms)
21:54:24
✓ retrieves a previously stored transaction (2381 ms)
21:54:24
✓ returns undefined if tx is not found (2309 ms)
21:54:24
✓ tries to retrieves a previously stored transaction after deleted (2664 ms)
21:54:24
✓ tries to retrieves a previously stored transaction after deleted (2675 ms)
21:54:24
✓ tries to retrieves a previously stored transaction after deleted (2712 ms)
21:54:24
✓ tries to retrieves a previously stored transaction after deleted (2671 ms)
21:54:24
✓ tries to retrieves a previously stored transaction after deleted (2817 ms)
21:54:24
✓ returns undefined if tx is not found (2764 ms)
21:54:24
✓ does not fail if the block is unwound while requesting a tx (3466 ms)
21:54:24 L1 to L2 Messages
21:54:24
✓ stores first message ever (1548 ms)
21:54:24
✓ stores single message (1508 ms)
21:54:24
✓ stores and returns messages across different blocks (1621 ms)
21:54:24
✓ stores the same messages again (1597 ms)
21:54:24
✓ stores and returns messages across different blocks with gaps (1664 ms)
21:54:24
✓ stores and returns messages with block numbers larger than a byte (1672 ms)
21:54:24
✓ stores and returns multiple messages per block (1751 ms)
21:54:24
✓ stores messages in multiple operations (1905 ms)
21:54:24
✓ iterates over messages from start index (1786 ms)
21:54:24
✓ iterates over messages in reverse (1757 ms)
21:54:24
✓ throws if messages are added out of order (2045 ms)
21:54:24
✓ throws if block number for the first message is out of order (1838 ms)
21:54:24
✓ throws if rolling hash is not correct (1706 ms)
21:54:24
✓ throws if rolling hash for first message is not correct (1940 ms)
21:54:24
✓ throws if index is not in the correct range (1887 ms)
21:54:24
✓ throws if first index in block has gaps (2041 ms)
21:54:24
✓ throws if index does not follow previous one (1915 ms)
21:54:24
✓ removes messages up to the given block number (1997 ms)
21:54:24
✓ removes messages starting with the given index (2043 ms)
21:54:24 contractInstances
21:54:24
✓ returns previously stored contract instances (1833 ms)
21:54:24
✓ returns undefined if contract instance is not found (1757 ms)
21:54:24
✓ returns undefined if previously stored contract instances was deleted (1695 ms)
21:54:24 contractInstanceUpdates
21:54:24
✓ gets the correct current class id for a contract not updated yet (1900 ms)
21:54:24
✓ gets the correct current class id for a contract that has just been updated (1993 ms)
21:54:24
✓ gets the correct current class id for a contract that was updated in the past (1944 ms)
21:54:24
✓ ignores updates for the wrong contract (1916 ms)
21:54:24
✓ bounds its search to the right contract if more than than one update exists (1691 ms)
21:54:24 contractClasses
21:54:24
✓ returns previously stored contract class (1899 ms)
21:54:24
✓ returns undefined if the initial deployed contract class was deleted (1981 ms)
21:54:24
✓ returns contract class if later "deployment" class was deleted (1698 ms)
21:54:24
✓ returns undefined if contract class is not found (1907 ms)
21:54:24
✓ adds new private functions (2233 ms)
21:54:24
✓ does not duplicate private functions (2181 ms)
21:54:24
✓ adds new utility functions (2216 ms)
21:54:24
✓ does not duplicate utility functions (2005 ms)
21:54:24 getLogsByTags
21:54:24
✓ is possible to batch request private logs via tags (3143 ms)
21:54:24
✓ is possible to batch request all logs (private and public) via tags (3391 ms)
21:54:24
✓ is possible to batch request logs that have the same tag but different content (3995 ms)
21:54:24
✓ is possible to request logs for non-existing tags and determine their position (3397 ms)
21:54:24 getPublicLogs
21:54:24
✓ no logs returned if deleted ("txHash" filter param is respected variant) (5797 ms)
21:54:24
✓ "txHash" filter param is respected (5385 ms)
21:54:24
✓ "fromBlock" and "toBlock" filter params are respected (5554 ms)
21:54:24
✓ "contractAddress" filter param is respected (5206 ms)
21:54:24
✓ "afterLog" filter param is respected (5569 ms)
21:54:24
✓ "txHash" filter param is ignored when "afterLog" is set (4282 ms)
21:54:24
✓ intersecting works (4503 ms)
21:54:24
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4179 ms)
21:54:24
21:54:24
Test Suites: 1 passed, 1 total
21:54:24
Tests: 86 passed, 86 total
21:54:24
Snapshots: 0 total
21:54:24
Time: 197.239 s
21:54:24
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
21:54:24
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?