Parent Log:
http://ci.aztec-labs.com/1b3bcb5ac1be61c4
Command: e080141c28855ec1 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/ef6780e77e5f82f98ddfe92fd387cfd5fa7682e8
Env: REF_NAME=gh-readonly-queue/next/pr-15014-80d800435dd8dfa325e38593d83b405488449dba CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 20 15:59:59 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15014_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
16:00:02 [16:00:02.041]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:00:03 [16:00:03.428]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:00:04 [16:00:04.785]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:00:06 [16:00:06.092]
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
16:00:06 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
16:00:06 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:00:06 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:00:06 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:00:06 newBlockNumber: 2,
16:00:06 previousBlockNumber: undefined
16:00:06 }
16:00:06 [16:00:06.101]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:00:07 [16:00:07.299]
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
16:00:07 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:96:17
16:00:07 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:00:07 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:00:07 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
16:00:07 [16:00:07.302]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:00:08 [16:00:08.571]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:00:09 [16:00:09.643]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:00:11 [16:00:11.227]
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)
16:00:11 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:141:15
16:00:11 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:00:11 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:00:11 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
16:00:11 [16:00:11.229]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:00:12 [16:00:12.627]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:00:13 [16:00:13.926]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:00:15 [16:00:15.638]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:00:17 [16:00:17.217]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:00:18 [16:00:18.704]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:00:20 [16:00:20.529]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:00:22 [16:00:22.463]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:00:24 [16:00:24.535]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:00:26 [16:00:26.681]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:00:28 [16:00:28.880]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:00:30 [16:00:30.536]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:00:32 [16:00:32.307]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:00:33 [16:00:33.749]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:00:35 [16:00:35.607]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:00:37 [16:00:37.109]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:00:38 [16:00:38.492]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:00:39 [16:00:39.796]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:00:41 [16:00:41.398]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:00:43 [16:00:43.029]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:00:45 [16:00:45.559]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:00:48 [16:00:48.342]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:00:50 [16:00:50.945]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:00:53 [16:00:53.526]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:00:56 [16:00:56.018]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:00:58 [16:00:58.448]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:01:01 [16:01:01.152]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:01:03 [16:01:03.927]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:01:06 [16:01:06.736]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:01:09 [16:01:09.858]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:01:12 [16:01:12.707]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:01:15 [16:01:15.275]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:01:18 [16:01:18.528]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:01:20 [16:01:20.107]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:01:21 [16:01:21.566]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:01:23 [16:01:23.027]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:01:24 [16:01:24.552]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:01:26 [16:01:26.071]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:01:27 [16:01:27.720]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:01:29 [16:01:29.449]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:01:31 [16:01:31.336]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:01:33 [16:01:33.015]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:01:34 [16:01:34.929]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:01:36 [16:01:36.807]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x29ca953dd1e7b123433345e0424a4ee505c61491522ea35a2aedd59481c021ef for L2 block 1 has wrong index 10 (expected 0)
16:01:36 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
16:01:36 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:01:36 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:01:36 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:01:36 inboxMessage: {
16:01:36 index: 10n,
16:01:36 leaf: Fr<0x29ca953dd1e7b123433345e0424a4ee505c61491522ea35a2aedd59481c021ef>,
16:01:36 l2BlockNumber: 1,
16:01:36 l1BlockNumber: 60n,
16:01:36 l1BlockHash: Buffer32<0xd1936eadc4b4ef9211b36bfeb1febe262bd45d9e3428ee5c0eb7a7c01ccb1661>,
16:01:36 rollingHash: Buffer16<0x3619f4eb3f16b9faff3678c547c068ae>
16:01:36 }
16:01:36 }
16:01:36 [16:01:36.811]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:01:38 [16:01:38.586]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x19131ab3054e4a405101a6da48299f3952196cbca21854a5b80c7524c5da268c at block 12 (expected value in range [176, 192))
16:01:38 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
16:01:38 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:01:38 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:01:38 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:01:38 inboxMessage: {
16:01:38 index: 224n,
16:01:38 leaf: Fr<0x19131ab3054e4a405101a6da48299f3952196cbca21854a5b80c7524c5da268c>,
16:01:38 l2BlockNumber: 12,
16:01:38 l1BlockNumber: 68n,
16:01:38 l1BlockHash: Buffer32<0xb130f2041a7120e518c2b41cfb2ffefe1b0fdbd1be729ff332c88aa8bb3c3ca8>,
16:01:38 rollingHash: Buffer16<0x0c619e0f97edd2b58b47d0f6d0e25b79>
16:01:38 }
16:01:38 }
16:01:38 [16:01:38.589]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:01:40 [16:01:40.409]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x280d670462ef1949cc3b47eab102077bb53e9550182f84fb655b7c5c08047343 with index 16 (expected 0xeb848d17d94f53697516a5825e363aed from previous hash 0x02da3cae27474709d76cc0ddcaa390c9 but got 0x73bc9e3a1139e86b219beb821c07055a)
16:01:40 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
16:01:40 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:01:40 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:01:40 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:01:40 inboxMessage: {
16:01:40 index: 16n,
16:01:40 leaf: Fr<0x280d670462ef1949cc3b47eab102077bb53e9550182f84fb655b7c5c08047343>,
16:01:40 l2BlockNumber: 2,
16:01:40 l1BlockNumber: 35n,
16:01:40 l1BlockHash: Buffer32<0x301dfca7b78861c7861ab55ea0e7b9fa040736730ed5391cfe8bea9d9863e866>,
16:01:40 rollingHash: Buffer16<0x73bc9e3a1139e86b219beb821c07055a>
16:01:40 }
16:01:40 }
16:01:40 [16:01:40.413]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:01:42 [16:01:42.434]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x0744eac8b88dee3a50a1be663b1aa91b41022a38f05962d0df1b2e2c935a17d4 with index 32 (expected 0xda66f2e342aa6eb2b946e928646c6621 from previous hash 0xa31e87cdaf4af47d18d02b6ff3fb63e2 but got 0xa4cafa77bafec97364daa44240c597bb)
16:01:42 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
16:01:42 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:01:42 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:01:42 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:01:42 inboxMessage: {
16:01:42 index: 32n,
16:01:42 leaf: Fr<0x0744eac8b88dee3a50a1be663b1aa91b41022a38f05962d0df1b2e2c935a17d4>,
16:01:42 l2BlockNumber: 3,
16:01:42 l1BlockNumber: 23n,
16:01:42 l1BlockHash: Buffer32<0x5ef371392d791f194d274b7206b0b404d781fd0fdfa5a978d085d39e57f6723e>,
16:01:42 rollingHash: Buffer16<0xa4cafa77bafec97364daa44240c597bb>
16:01:42 }
16:01:42 }
16:01:42 [16:01:42.437]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:01:44 [16:01:44.457]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x1ea29f961630e6fd4858c6c020f518569c767763e3c58b8b0a506dfb32657621 at block 17 (expected value in range [256, 272))
16:01:44 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
16:01:44 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:01:44 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:01:44 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:01:44 inboxMessage: {
16:01:44 index: 356n,
16:01:44 leaf: Fr<0x1ea29f961630e6fd4858c6c020f518569c767763e3c58b8b0a506dfb32657621>,
16:01:44 l2BlockNumber: 17,
16:01:44 l1BlockNumber: 7n,
16:01:44 l1BlockHash: Buffer32<0xea99b6a17698bbecd0f6d6649a1ebc720571020cca5df847f0683194b6c3ad30>,
16:01:44 rollingHash: Buffer16<0x5919304d0b0d665614bbf2f5b7b18309>
16:01:44 }
16:01:44 }
16:01:44 [16:01:44.460]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:01:46 [16:01:46.116]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x1230e0411bc661df664dcff778bb9abb5ea6cc1c66393d93c21bf5f37c997043 for L2 block 15 has wrong index 225 (expected 224)
16:01:46 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
16:01:46 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:01:46 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:01:46 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:01:46 inboxMessage: {
16:01:46 index: 225n,
16:01:46 leaf: Fr<0x1230e0411bc661df664dcff778bb9abb5ea6cc1c66393d93c21bf5f37c997043>,
16:01:46 l2BlockNumber: 15,
16:01:46 l1BlockNumber: 54n,
16:01:46 l1BlockHash: Buffer32<0x44c3e5fe4bb1bb5a34d5eae74bfb64d428addf1b1900b0d9225799e11f2378bb>,
16:01:46 rollingHash: Buffer16<0x4ff1b9372b14869d41066b62ec02e095>
16:01:46 }
16:01:46 }
16:01:46 [16:01:46.120]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:01:47 [16:01:47.971]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x122a3cfd42a37d34ad833af00a655e923cc60fd4db594c471788958a9f4d708e at block 2 (expected value in range [16, 32))
16:01:47 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
16:01:47 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:01:47 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:01:47 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:01:47 inboxMessage: {
16:01:47 index: 32n,
16:01:47 leaf: Fr<0x122a3cfd42a37d34ad833af00a655e923cc60fd4db594c471788958a9f4d708e>,
16:01:47 l2BlockNumber: 2,
16:01:47 l1BlockNumber: 13n,
16:01:47 l1BlockHash: Buffer32<0xc65c3f75d3a34342a8ee1594e4d0b2e9df3e76c9ada51aef4d2a279632f6b84b>,
16:01:47 rollingHash: Buffer16<0x898dff82ca7413735aca5190a69512e2>
16:01:47 }
16:01:47 }
16:01:47 [16:01:47.975]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:01:49 [16:01:49.779]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
16:01:49 [16:01:49.813]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:01:51 [16:01:51.815]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
16:01:51 [16:01:51.835]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:01:53 [16:01:53.898]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:01:55 [16:01:55.874]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:01:57 [16:01:57.681]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:01:59 [16:01:59.460]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:01 [16:02:01.342]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:03 [16:02:03.029]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:04 [16:02:04.977]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:06 [16:02:06.911]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:09 [16:02:09.077]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:11 [16:02:11.043]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:12 [16:02:12.940]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:14 [16:02:14.747]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:16 [16:02:16.661]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:18 [16:02:18.599]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:20 [16:02:20.575]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:22 [16:02:22.658]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:26 [16:02:26.011]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:29 [16:02:29.422]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:33 [16:02:33.116]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:36 [16:02:36.345]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:42 [16:02:42.062]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:47 [16:02:47.260]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:52 [16:02:52.993]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:58 [16:02:58.635]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:03 [16:03:03.549]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:07 [16:03:07.580]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:11 [16:03:11.380]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:15
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
195.212 s)
16:03:15 KVArchiverDataStore
16:03:15 ArchiverStore
16:03:15 addBlocks
16:03:15
✓ returns success when adding blocks (1401 ms)
16:03:15
✓ allows duplicate blocks (1355 ms)
16:03:15
✓ throws an error if the previous block does not exist in the store (1316 ms)
16:03:15
✓ throws an error if there is a gap in the blocks being added (1201 ms)
16:03:15 unwindBlocks
16:03:15
✓ unwinding blocks will remove blocks from the chain (1268 ms)
16:03:15
✓ can unwind multiple empty blocks (1070 ms)
16:03:15
✓ refuses to unwind blocks if the tip is not the last block (1586 ms)
16:03:15 getBlocks
16:03:15
✓ retrieves previously stored blocks (1394 ms)
16:03:15
✓ retrieves previously stored blocks (1300 ms)
16:03:15
✓ retrieves previously stored blocks (1712 ms)
16:03:15
✓ retrieves previously stored blocks (1576 ms)
16:03:15
✓ retrieves previously stored blocks (1488 ms)
16:03:15
✓ returns an empty array if no blocks are found (1820 ms)
16:03:15
✓ throws an error if limit is invalid (1938 ms)
16:03:15
✓ throws an error if `from` it is out of range (2069 ms)
16:03:15
✓ throws an error if unexpected initial block number is found (2139 ms)
16:03:15
✓ throws an error if a gap is found (2199 ms)
16:03:15 getSyncedL2BlockNumber
16:03:15
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1657 ms)
16:03:15
✓ returns the most recently added block's number (1771 ms)
16:03:15 getSynchPoint
16:03:15
✓ returns undefined if no blocks have been added (1435 ms)
16:03:15
✓ returns the L1 block number in which the most recent L2 block was published (1863 ms)
16:03:15
✓ returns the L1 block number that most recently added messages from inbox (1501 ms)
16:03:15
✓ returns the latest syncpoint if latest message is behind (1382 ms)
16:03:15 addLogs
16:03:15
✓ adds private & public logs (1304 ms)
16:03:15 deleteLogs
16:03:15
✓ deletes private & public logs (1601 ms)
16:03:15 getPrivateLogs
16:03:15
✓ gets added private logs (1629 ms)
16:03:15 getTxEffect
16:03:15
✓ retrieves a previously stored transaction (2530 ms)
16:03:15
✓ retrieves a previously stored transaction (2782 ms)
16:03:15
✓ retrieves a previously stored transaction (2602 ms)
16:03:15
✓ retrieves a previously stored transaction (2579 ms)
16:03:15
✓ retrieves a previously stored transaction (2492 ms)
16:03:15
✓ returns undefined if tx is not found (2429 ms)
16:03:15
✓ tries to retrieves a previously stored transaction after deleted (2704 ms)
16:03:15
✓ tries to retrieves a previously stored transaction after deleted (2776 ms)
16:03:15
✓ tries to retrieves a previously stored transaction after deleted (2806 ms)
16:03:15
✓ tries to retrieves a previously stored transaction after deleted (3123 ms)
16:03:15
✓ tries to retrieves a previously stored transaction after deleted (2848 ms)
16:03:15
✓ returns undefined if tx is not found (2566 ms)
16:03:15
✓ does not fail if the block is unwound while requesting a tx (3251 ms)
16:03:15 L1 to L2 Messages
16:03:15
✓ stores first message ever (1580 ms)
16:03:15
✓ stores single message (1458 ms)
16:03:15
✓ stores and returns messages across different blocks (1457 ms)
16:03:15
✓ stores the same messages again (1528 ms)
16:03:15
✓ stores and returns messages across different blocks with gaps (1518 ms)
16:03:15
✓ stores and returns messages with block numbers larger than a byte (1648 ms)
16:03:15
✓ stores and returns multiple messages per block (1727 ms)
16:03:15
✓ stores messages in multiple operations (1888 ms)
16:03:15
✓ iterates over messages from start index (1677 ms)
16:03:15
✓ iterates over messages in reverse (1912 ms)
16:03:15
✓ throws if messages are added out of order (1883 ms)
16:03:15
✓ throws if block number for the first message is out of order (1778 ms)
16:03:15
✓ throws if rolling hash is not correct (1822 ms)
16:03:15
✓ throws if rolling hash for first message is not correct (2024 ms)
16:03:15
✓ throws if index is not in the correct range (2023 ms)
16:03:15
✓ throws if first index in block has gaps (1659 ms)
16:03:15
✓ throws if index does not follow previous one (1854 ms)
16:03:15
✓ removes messages up to the given block number (1838 ms)
16:03:15
✓ removes messages starting with the given index (2021 ms)
16:03:15 contractInstances
16:03:15
✓ returns previously stored contract instances (2060 ms)
16:03:15
✓ returns undefined if contract instance is not found (1972 ms)
16:03:15
✓ returns undefined if previously stored contract instances was deleted (1810 ms)
16:03:15 contractInstanceUpdates
16:03:15
✓ gets the correct current class id for a contract not updated yet (1780 ms)
16:03:15
✓ gets the correct current class id for a contract that has just been updated (1880 ms)
16:03:15
✓ gets the correct current class id for a contract that was updated in the past (1682 ms)
16:03:15
✓ ignores updates for the wrong contract (1949 ms)
16:03:15
✓ bounds its search to the right contract if more than than one update exists (1934 ms)
16:03:15 contractClasses
16:03:15
✓ returns previously stored contract class (2158 ms)
16:03:15
✓ returns undefined if the initial deployed contract class was deleted (1968 ms)
16:03:15
✓ returns contract class if later "deployment" class was deleted (1897 ms)
16:03:15
✓ returns undefined if contract class is not found (1806 ms)
16:03:15
✓ adds new private functions (1911 ms)
16:03:15
✓ does not duplicate private functions (1939 ms)
16:03:15
✓ adds new utility functions (1965 ms)
16:03:15
✓ does not duplicate utility functions (2091 ms)
16:03:15 getLogsByTags
16:03:15
✓ is possible to batch request private logs via tags (3352 ms)
16:03:15
✓ is possible to batch request all logs (private and public) via tags (3411 ms)
16:03:15
✓ is possible to batch request logs that have the same tag but different content (3693 ms)
16:03:15
✓ is possible to request logs for non-existing tags and determine their position (3228 ms)
16:03:15 getPublicLogs
16:03:15
✓ no logs returned if deleted ("txHash" filter param is respected variant) (5715 ms)
16:03:15
✓ "txHash" filter param is respected (5198 ms)
16:03:15
✓ "fromBlock" and "toBlock" filter params are respected (5731 ms)
16:03:15
✓ "contractAddress" filter param is respected (5642 ms)
16:03:15
✓ "afterLog" filter param is respected (4914 ms)
16:03:15
✓ "txHash" filter param is ignored when "afterLog" is set (4030 ms)
16:03:15
✓ intersecting works (3799 ms)
16:03:15
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (3965 ms)
16:03:15
16:03:15
Test Suites: 1 passed, 1 total
16:03:15
Tests: 86 passed, 86 total
16:03:15
Snapshots: 0 total
16:03:15
Time: 195.292 s
16:03:15
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
16:03:15
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?