Parent Log:
http://ci.aztec-labs.com/6f54d6e87ee134d3
Command: 467c61bd41bfcfc4 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/2a96aa32179deb1c1a98c9bc93fbe72f0d016d62
Env: REF_NAME=gh-readonly-queue/next/pr-15284-aacd7d15462246c78893a25b05d292342c07b582 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Wed Jun 25 15:36:21 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15284_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
15:36:24 [15:36:24.272]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:36:25 [15:36:25.928]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:36:27 [15:36:27.383]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:36:28 [15:36:28.793]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: InitialBlockNumberNotSequentialError: Cannot insert new block 2 given previous block number in store is undefined
15:36:28 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
15:36:28 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:36:28 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:36:28 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:36:28 newBlockNumber: 2,
15:36:28 previousBlockNumber: undefined
15:36:28 }
15:36:28 [15:36:28.797]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:36:30 [15:36:30.135]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: BlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in batch is 1
15:36:30 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:96:17
15:36:30 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:36:30 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:36:30 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
15:36:30 [15:36:30.138]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:36:31 [15:36:31.649]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:36:32 [15:36:32.809]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:36:34 [15:36:34.219]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: Error: Can only unwind blocks from the tip (requested 5 but current tip is 10)
15:36:34 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:141:15
15:36:34 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:36:34 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:36:34 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
15:36:34 [15:36:34.222]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:36:35 [15:36:35.789]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:36:37 [15:36:37.483]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:36:39 [15:36:39.313]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:36:41 [15:36:41.126]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:36:42 [15:36:42.706]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:36:44 [15:36:44.397]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:36:46 [15:36:46.833]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:36:49 [15:36:49.190]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:36:51 [15:36:51.548]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:36:54 [15:36:54.407]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:36:56 [15:36:56.302]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:36:58 [15:36:58.330]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:36:59 [15:36:59.929]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:37:01 [15:37:01.983]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:37:03 [15:37:03.489]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:37:05 [15:37:05.043]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:37:06 [15:37:06.663]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:37:08 [15:37:08.480]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:37:10 [15:37:10.130]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:37:12 [15:37:12.935]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:37:15 [15:37:15.896]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:37:18 [15:37:18.698]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:37:21 [15:37:21.228]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:37:23 [15:37:23.909]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:37:26 [15:37:26.780]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:37:29 [15:37:29.598]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:37:32 [15:37:32.265]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:37:35 [15:37:35.156]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:37:38 [15:37:38.184]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:37:41 [15:37:41.064]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:37:43 [15:37:43.711]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:37:47 [15:37:47.178]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:37:48 [15:37:48.628]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:37:50 [15:37:50.109]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:37:51 [15:37:51.609]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:37:53 [15:37:53.261]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:37:54 [15:37:54.794]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:37:56 [15:37:56.509]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:37:58 [15:37:58.269]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:38:00 [15:38:00.177]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:38:02 [15:38:02.005]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:38:03 [15:38:03.844]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:38:05 [15:38:05.901]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x262fdf36b69dd3ce4cbc0d6367cfc7f54ae44c43c9f7586b398bc529f51d3041 for L2 block 1 has wrong index 10 (expected 0)
15:38:05 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
15:38:05 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:38:05 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:38:05 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:38:05 inboxMessage: {
15:38:05 index: 10n,
15:38:05 leaf: Fr<0x262fdf36b69dd3ce4cbc0d6367cfc7f54ae44c43c9f7586b398bc529f51d3041>,
15:38:05 l2BlockNumber: 1,
15:38:05 l1BlockNumber: 40n,
15:38:05 l1BlockHash: Buffer32<0x81910072ec7de2fc6574d5e3d8bfb90155c4ace676ffede368f36193aaa160a5>,
15:38:05 rollingHash: Buffer16<0xb31340bcba77678867b3cba2ea413f71>
15:38:05 }
15:38:05 }
15:38:05 [15:38:05.906]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:38:07 [15:38:07.859]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x014dd76d90a34744d726a0b201d39bd377accd6427444ca0b203160afbd17324 at block 12 (expected value in range [176, 192))
15:38:07 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
15:38:07 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:38:07 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:38:07 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:38:07 inboxMessage: {
15:38:07 index: 224n,
15:38:07 leaf: Fr<0x014dd76d90a34744d726a0b201d39bd377accd6427444ca0b203160afbd17324>,
15:38:07 l2BlockNumber: 12,
15:38:07 l1BlockNumber: 62n,
15:38:07 l1BlockHash: Buffer32<0x18305b88a87f134c7efcf865aab6b7a5198b827a229c80f1755461204a7451b1>,
15:38:07 rollingHash: Buffer16<0xebb04254097bb5d624bb9d137842ec6d>
15:38:07 }
15:38:07 }
15:38:07 [15:38:07.863]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:38:09 [15:38:09.671]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x1e49d4bf4fb2084fd0c28cea076042a638a778c04c75398a0aae981fb710bc1c with index 16 (expected 0x150f0ee333e4608760b3753a0660e262 from previous hash 0x22c48936939bb788944aa373dd85fdb0 but got 0x5905a30e9719bbfb3f3a03de3c6107d9)
15:38:09 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
15:38:09 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:38:09 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:38:09 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:38:09 inboxMessage: {
15:38:09 index: 16n,
15:38:09 leaf: Fr<0x1e49d4bf4fb2084fd0c28cea076042a638a778c04c75398a0aae981fb710bc1c>,
15:38:09 l2BlockNumber: 2,
15:38:09 l1BlockNumber: 53n,
15:38:09 l1BlockHash: Buffer32<0xcceecb4cba27b89bb3f087949e71153fcee8ac20e3a0a38eba93a38b9d40cb66>,
15:38:09 rollingHash: Buffer16<0x5905a30e9719bbfb3f3a03de3c6107d9>
15:38:09 }
15:38:09 }
15:38:09 [15:38:09.674]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:38:11 [15:38:11.482]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x210020661b557536464095539c4fca4270fc65c414269c0d9ca5e5c001a52f0e with index 32 (expected 0x8f92067a68a258b519d45aebd91227b9 from previous hash 0xcc9bf5cf10dafa566034115a7925ec11 but got 0xb9f0fc78c64f110ff924363768a77616)
15:38:11 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
15:38:11 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:38:11 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:38:11 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:38:11 inboxMessage: {
15:38:11 index: 32n,
15:38:11 leaf: Fr<0x210020661b557536464095539c4fca4270fc65c414269c0d9ca5e5c001a52f0e>,
15:38:11 l2BlockNumber: 3,
15:38:11 l1BlockNumber: 15n,
15:38:11 l1BlockHash: Buffer32<0xfdae8cbb01c3d6d64756c3880c45d90d6b46fc906bc3cdb4acbcba4e86f9b1d4>,
15:38:11 rollingHash: Buffer16<0xb9f0fc78c64f110ff924363768a77616>
15:38:11 }
15:38:11 }
15:38:11 [15:38:11.487]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:38:13 [15:38:13.434]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x186217bfeb32ba1ffad3561f3c1b991b07dae0f213cbc5b072f608403b0b27dc at block 17 (expected value in range [256, 272))
15:38:13 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
15:38:13 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:38:13 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:38:13 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:38:13 inboxMessage: {
15:38:13 index: 356n,
15:38:13 leaf: Fr<0x186217bfeb32ba1ffad3561f3c1b991b07dae0f213cbc5b072f608403b0b27dc>,
15:38:13 l2BlockNumber: 17,
15:38:13 l1BlockNumber: 65n,
15:38:13 l1BlockHash: Buffer32<0x6ae827ade424d2a4d171813732fadabf252bc55587dd4c6241cab13e3001609e>,
15:38:13 rollingHash: Buffer16<0x40e3fd7c8851ccc9fa5cc0fd1f3fd02e>
15:38:13 }
15:38:13 }
15:38:13 [15:38:13.437]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:38:15 [15:38:15.465]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x2c6538c07e1a4940360f24b03793f316f5b25f3f4ab007ef0193bd3b719b3a9e for L2 block 15 has wrong index 225 (expected 224)
15:38:15 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
15:38:15 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:38:15 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:38:15 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:38:15 inboxMessage: {
15:38:15 index: 225n,
15:38:15 leaf: Fr<0x2c6538c07e1a4940360f24b03793f316f5b25f3f4ab007ef0193bd3b719b3a9e>,
15:38:15 l2BlockNumber: 15,
15:38:15 l1BlockNumber: 96n,
15:38:15 l1BlockHash: Buffer32<0x2b2f2cbbe9f4c1f48b0a96e0aeab5ed4658b1b0ac63d2d7cba1546a8b24509be>,
15:38:15 rollingHash: Buffer16<0x30bfd66476665e6d7d1fea9d4b5e9e4e>
15:38:15 }
15:38:15 }
15:38:15 [15:38:15.470]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:38:17 [15:38:17.405]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x0aca2ea608d450a895fc82fc786d7f5926dfcef946b1afd36b7c8111d22fe7d0 at block 2 (expected value in range [16, 32))
15:38:17 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
15:38:17 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:38:17 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:38:17 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:38:17 inboxMessage: {
15:38:17 index: 32n,
15:38:17 leaf: Fr<0x0aca2ea608d450a895fc82fc786d7f5926dfcef946b1afd36b7c8111d22fe7d0>,
15:38:17 l2BlockNumber: 2,
15:38:17 l1BlockNumber: 69n,
15:38:17 l1BlockHash: Buffer32<0x5e5dc98d507519df847679757f7ac48d423a6013b88558d72df35e5c87068311>,
15:38:17 rollingHash: Buffer16<0x7c2396a16dd162ee34f85a3425a444ec>
15:38:17 }
15:38:17 }
15:38:17 [15:38:17.409]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:38:19 [15:38:19.591]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
15:38:19 [15:38:19.638]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:38:21 [15:38:21.612]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
15:38:21 [15:38:21.654]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:38:23 [15:38:23.655]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:38:25 [15:38:25.523]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:38:27 [15:38:27.430]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:38:29 [15:38:29.358]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:38:31 [15:38:31.013]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:38:32 [15:38:32.896]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:38:34 [15:38:34.843]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:38:36 [15:38:36.932]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:38:38 [15:38:38.964]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:38:41 [15:38:41.045]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:38:43 [15:38:43.077]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:38:45 [15:38:45.080]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:38:47 [15:38:47.397]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:38:49 [15:38:49.203]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:38:51 [15:38:51.243]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:38:53 [15:38:53.523]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:38:57 [15:38:57.108]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:39:00 [15:39:00.273]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:39:03 [15:39:03.958]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:39:06 [15:39:06.859]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:39:12 [15:39:12.485]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:39:18 [15:39:18.088]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:39:24 [15:39:24.589]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:39:29 [15:39:29.041]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:39:33 [15:39:33.248]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:39:37 [15:39:37.095]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:39:41 [15:39:41.174]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:39:45
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
203.163 s)
15:39:45 KVArchiverDataStore
15:39:45 ArchiverStore
15:39:45 addBlocks
15:39:45
✓ returns success when adding blocks (1675 ms)
15:39:45
✓ allows duplicate blocks (1453 ms)
15:39:45
✓ throws an error if the previous block does not exist in the store (1415 ms)
15:39:45
✓ throws an error if there is a gap in the blocks being added (1340 ms)
15:39:45 unwindBlocks
15:39:45
✓ unwinding blocks will remove blocks from the chain (1511 ms)
15:39:45
✓ can unwind multiple empty blocks (1158 ms)
15:39:45
✓ refuses to unwind blocks if the tip is not the last block (1413 ms)
15:39:45 getBlocks
15:39:45
✓ retrieves previously stored blocks (1563 ms)
15:39:45
✓ retrieves previously stored blocks (1695 ms)
15:39:45
✓ retrieves previously stored blocks (1830 ms)
15:39:45
✓ retrieves previously stored blocks (1810 ms)
15:39:45
✓ retrieves previously stored blocks (1582 ms)
15:39:45
✓ returns an empty array if no blocks are found (1687 ms)
15:39:45
✓ throws an error if limit is invalid (2437 ms)
15:39:45
✓ throws an error if `from` it is out of range (2357 ms)
15:39:45
✓ throws an error if unexpected initial block number is found (2358 ms)
15:39:45
✓ throws an error if a gap is found (2851 ms)
15:39:45 getSyncedL2BlockNumber
15:39:45
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1902 ms)
15:39:45
✓ returns the most recently added block's number (2027 ms)
15:39:45 getSynchPoint
15:39:45
✓ returns undefined if no blocks have been added (1594 ms)
15:39:45
✓ returns the L1 block number in which the most recent L2 block was published (2057 ms)
15:39:45
✓ returns the L1 block number that most recently added messages from inbox (1505 ms)
15:39:45
✓ returns the latest syncpoint if latest message is behind (1544 ms)
15:39:45 addLogs
15:39:45
✓ adds private & public logs (1628 ms)
15:39:45 deleteLogs
15:39:45
✓ deletes private & public logs (1816 ms)
15:39:45 getPrivateLogs
15:39:45
✓ gets added private logs (1648 ms)
15:39:45 getTxEffect
15:39:45
✓ retrieves a previously stored transaction (2805 ms)
15:39:45
✓ retrieves a previously stored transaction (2958 ms)
15:39:45
✓ retrieves a previously stored transaction (2801 ms)
15:39:45
✓ retrieves a previously stored transaction (2531 ms)
15:39:45
✓ retrieves a previously stored transaction (2682 ms)
15:39:45
✓ returns undefined if tx is not found (2870 ms)
15:39:45
✓ tries to retrieves a previously stored transaction after deleted (2817 ms)
15:39:45
✓ tries to retrieves a previously stored transaction after deleted (2666 ms)
15:39:45
✓ tries to retrieves a previously stored transaction after deleted (2890 ms)
15:39:45
✓ tries to retrieves a previously stored transaction after deleted (3027 ms)
15:39:45
✓ tries to retrieves a previously stored transaction after deleted (2879 ms)
15:39:45
✓ returns undefined if tx is not found (2646 ms)
15:39:45
✓ does not fail if the block is unwound while requesting a tx (3468 ms)
15:39:45 L1 to L2 Messages
15:39:45
✓ stores first message ever (1447 ms)
15:39:45
✓ stores single message (1483 ms)
15:39:45
✓ stores and returns messages across different blocks (1499 ms)
15:39:45
✓ stores the same messages again (1646 ms)
15:39:45
✓ stores and returns messages across different blocks with gaps (1536 ms)
15:39:45
✓ stores and returns messages with block numbers larger than a byte (1714 ms)
15:39:45
✓ stores and returns multiple messages per block (1760 ms)
15:39:45
✓ stores messages in multiple operations (1908 ms)
15:39:45
✓ iterates over messages from start index (1824 ms)
15:39:45
✓ iterates over messages in reverse (1841 ms)
15:39:45
✓ throws if messages are added out of order (2061 ms)
15:39:45
✓ throws if block number for the first message is out of order (1956 ms)
15:39:45
✓ throws if rolling hash is not correct (1811 ms)
15:39:45
✓ throws if rolling hash for first message is not correct (1811 ms)
15:39:45
✓ throws if index is not in the correct range (1950 ms)
15:39:45
✓ throws if first index in block has gaps (2031 ms)
15:39:45
✓ throws if index does not follow previous one (1938 ms)
15:39:45
✓ removes messages up to the given block number (2228 ms)
15:39:45
✓ removes messages starting with the given index (2015 ms)
15:39:45 contractInstances
15:39:45
✓ returns previously stored contract instances (1999 ms)
15:39:45
✓ returns undefined if contract instance is not found (1867 ms)
15:39:45
✓ returns undefined if previously stored contract instances was deleted (1905 ms)
15:39:45 contractInstanceUpdates
15:39:45
✓ gets the correct current class id for a contract not updated yet (1926 ms)
15:39:45
✓ gets the correct current class id for a contract that has just been updated (1655 ms)
15:39:45
✓ gets the correct current class id for a contract that was updated in the past (1883 ms)
15:39:45
✓ ignores updates for the wrong contract (1943 ms)
15:39:45
✓ bounds its search to the right contract if more than than one update exists (2092 ms)
15:39:45 contractClasses
15:39:45
✓ returns previously stored contract class (2029 ms)
15:39:45
✓ returns undefined if the initial deployed contract class was deleted (2080 ms)
15:39:45
✓ returns contract class if later "deployment" class was deleted (2031 ms)
15:39:45
✓ returns undefined if contract class is not found (2002 ms)
15:39:45
✓ adds new private functions (2307 ms)
15:39:45
✓ does not duplicate private functions (1814 ms)
15:39:45
✓ adds new utility functions (2039 ms)
15:39:45
✓ does not duplicate utility functions (2280 ms)
15:39:45 getLogsByTags
15:39:45
✓ is possible to batch request private logs via tags (3584 ms)
15:39:45
✓ is possible to batch request all logs (private and public) via tags (3163 ms)
15:39:45
✓ is possible to batch request logs that have the same tag but different content (3684 ms)
15:39:45
✓ is possible to request logs for non-existing tags and determine their position (2899 ms)
15:39:45 getPublicLogs
15:39:45
✓ no logs returned if deleted ("txHash" filter param is respected variant) (5626 ms)
15:39:45
✓ "txHash" filter param is respected (5602 ms)
15:39:45
✓ "fromBlock" and "toBlock" filter params are respected (6500 ms)
15:39:45
✓ "contractAddress" filter param is respected (4449 ms)
15:39:45
✓ "afterLog" filter param is respected (4207 ms)
15:39:45
✓ "txHash" filter param is ignored when "afterLog" is set (3848 ms)
15:39:45
✓ intersecting works (4079 ms)
15:39:45
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4531 ms)
15:39:45
15:39:45
Test Suites: 1 passed, 1 total
15:39:45
Tests: 86 passed, 86 total
15:39:45
Snapshots: 0 total
15:39:45
Time: 203.245 s
15:39:45
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
15:39:45
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?