Parent Log:
http://ci.aztec-labs.com/0592da4f2cb67ea9
Command: 411627cf9c043d00 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/721a41c449eb0c4538a26180f6061f326128cf78
Env: REF_NAME=gh-readonly-queue/next/pr-14963-60e60f99f2634ad75a76b6e103858ff9ccd041d5 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 18:40:50 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14963_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
18:40:52 [18:40:52.829]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:40:54 [18:40:54.446]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:40:55 [18:40:55.751]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:40:56 [18:40:56.697]
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
18:40:56 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
18:40:56 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
18:40:56 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
18:40:56 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
18:40:56 newBlockNumber: 2,
18:40:56 previousBlockNumber: undefined
18:40:56 }
18:40:56 [18:40:56.700]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:40:57 [18:40:57.652]
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
18:40:57 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17
18:40:57 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
18:40:57 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
18:40:57 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
18:40:57 [18:40:57.656]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:40:59 [18:40:59.033]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:41:00 [18:41:00.186]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:41:01 [18:41:01.686]
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)
18:41:01 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15
18:41:01 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
18:41:01 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
18:41:01 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
18:41:01 [18:41:01.689]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:41:03 [18:41:03.106]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:41:04 [18:41:04.482]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:41:06 [18:41:06.105]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:41:07 [18:41:07.610]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:41:09 [18:41:09.126]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:41:10 [18:41:10.548]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:41:12 [18:41:12.179]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:41:13 [18:41:13.753]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:41:15 [18:41:15.880]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:41:20 [18:41:20.097]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:41:21 [18:41:21.418]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:41:23 [18:41:23.985]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:41:25 [18:41:25.799]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:41:27 [18:41:27.522]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:41:29 [18:41:29.063]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:41:30 [18:41:30.767]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:41:32 [18:41:32.283]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:41:33 [18:41:33.756]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:41:35 [18:41:35.353]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:41:38 [18:41:38.106]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:41:40 [18:41:40.927]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:41:43 [18:41:43.453]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:41:46 [18:41:46.161]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:41:49 [18:41:49.051]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:41:51 [18:41:51.408]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:41:53 [18:41:53.870]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:41:56 [18:41:56.484]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:41:58 [18:41:58.954]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:42:01 [18:42:01.545]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:42:04 [18:42:04.096]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:42:06 [18:42:06.640]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:42:10 [18:42:10.008]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:42:11 [18:42:11.619]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:42:13 [18:42:13.251]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:42:14 [18:42:14.934]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:42:16 [18:42:16.467]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:42:18 [18:42:18.035]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:42:19 [18:42:19.758]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:42:21 [18:42:21.699]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:42:23 [18:42:23.663]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:42:25 [18:42:25.494]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:42:27 [18:42:27.247]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:42:29 [18:42:29.160]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x23880898dd89e498abbc422dbe13adbd055f71a3bc5bbc496b92a5e94095fa27 for L2 block 1 has wrong index 10 (expected 0)
18:42:29 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
18:42:29 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
18:42:29 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
18:42:29 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
18:42:29 inboxMessage: {
18:42:29 index: 10n,
18:42:29 leaf: Fr<0x23880898dd89e498abbc422dbe13adbd055f71a3bc5bbc496b92a5e94095fa27>,
18:42:29 l2BlockNumber: 1,
18:42:29 l1BlockNumber: 54n,
18:42:29 l1BlockHash: Buffer32<0x98a741b50d932724b87406fb164d2bccee144feae410186fc59d9d09bbe79bb1>,
18:42:29 rollingHash: Buffer16<0x6bd274fa2b6b6555834d53e0b2c49930>
18:42:29 }
18:42:29 }
18:42:29 [18:42:29.164]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:42:31 [18:42:31.019]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x16992f3896f458dd2c1e209d0599ca81b617f2f1115ef1664377764574d087d6 at block 12 (expected value in range [176, 192))
18:42:31 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
18:42:31 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
18:42:31 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
18:42:31 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
18:42:31 inboxMessage: {
18:42:31 index: 224n,
18:42:31 leaf: Fr<0x16992f3896f458dd2c1e209d0599ca81b617f2f1115ef1664377764574d087d6>,
18:42:31 l2BlockNumber: 12,
18:42:31 l1BlockNumber: 59n,
18:42:31 l1BlockHash: Buffer32<0x110956ab79cc1c5a86e30acd9b254ca217df94c62e32b55f25c405dd4cf2f8dd>,
18:42:31 rollingHash: Buffer16<0x1826b6baec348a1dad658262d1ffd4eb>
18:42:31 }
18:42:31 }
18:42:31 [18:42:31.026]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:42:32 [18:42:32.883]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x17384dd7eedb9f5c44bdb9c94f92f7e6ed07f672feac3367c867ff6740cc976b with index 16 (expected 0x79e5912c90019f992426805bec402fbd from previous hash 0x177ce5f90884583b5c5c705c105a8ef9 but got 0xf8958f9ed39b23ec19e90cf09b92128b)
18:42:32 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
18:42:32 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
18:42:32 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
18:42:32 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
18:42:32 inboxMessage: {
18:42:32 index: 16n,
18:42:32 leaf: Fr<0x17384dd7eedb9f5c44bdb9c94f92f7e6ed07f672feac3367c867ff6740cc976b>,
18:42:32 l2BlockNumber: 2,
18:42:32 l1BlockNumber: 41n,
18:42:32 l1BlockHash: Buffer32<0xe10b59699038c3a57e8d6c8221410cd441a324a28ca4c57a951afa183222569e>,
18:42:32 rollingHash: Buffer16<0xf8958f9ed39b23ec19e90cf09b92128b>
18:42:32 }
18:42:32 }
18:42:32 [18:42:32.886]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:42:34 [18:42:34.688]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x21a54f014088fa0932731db18cc26f89eeff10cf257b1b99bb65277465a88289 with index 32 (expected 0xe688eaf362548150c1f3ca03e0c0eadc from previous hash 0xbd22751252eacd535b50de270e289a15 but got 0x94ce8ae55f9b6b22d31990100cc23fae)
18:42:34 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
18:42:34 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
18:42:34 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
18:42:34 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
18:42:34 inboxMessage: {
18:42:34 index: 32n,
18:42:34 leaf: Fr<0x21a54f014088fa0932731db18cc26f89eeff10cf257b1b99bb65277465a88289>,
18:42:34 l2BlockNumber: 3,
18:42:34 l1BlockNumber: 7n,
18:42:34 l1BlockHash: Buffer32<0x4d36cf82237497f0d2e5e7fd9fe1a0eed864d1525481fc736880ca9ddf59e9eb>,
18:42:34 rollingHash: Buffer16<0x94ce8ae55f9b6b22d31990100cc23fae>
18:42:34 }
18:42:34 }
18:42:34 [18:42:34.691]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:42:36 [18:42:36.345]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x1f3006d292589571c331ef15d23e0e9a64d7d576667be1e2afa7097ca6e06f8b at block 17 (expected value in range [256, 272))
18:42:36 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
18:42:36 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
18:42:36 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
18:42:36 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
18:42:36 inboxMessage: {
18:42:36 index: 356n,
18:42:36 leaf: Fr<0x1f3006d292589571c331ef15d23e0e9a64d7d576667be1e2afa7097ca6e06f8b>,
18:42:36 l2BlockNumber: 17,
18:42:36 l1BlockNumber: 89n,
18:42:36 l1BlockHash: Buffer32<0x1e40b5993accd35d6a94a6772b695e217a282cdb8426483bdc1673a184578be2>,
18:42:36 rollingHash: Buffer16<0x2cd268a1e14f4d5a293e8295cbe75c6e>
18:42:36 }
18:42:36 }
18:42:36 [18:42:36.349]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:42:38 [18:42:38.162]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x301529a63eea01c9ed01e31d731eaeadb1e5a824c5d3251bbffa1dea25a93f81 for L2 block 15 has wrong index 225 (expected 224)
18:42:38 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
18:42:38 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
18:42:38 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
18:42:38 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
18:42:38 inboxMessage: {
18:42:38 index: 225n,
18:42:38 leaf: Fr<0x301529a63eea01c9ed01e31d731eaeadb1e5a824c5d3251bbffa1dea25a93f81>,
18:42:38 l2BlockNumber: 15,
18:42:38 l1BlockNumber: 91n,
18:42:38 l1BlockHash: Buffer32<0x72345adc84b0df3db0f55eeb339e0103fcf3a71871751aa9f1d4f174a18e98fb>,
18:42:38 rollingHash: Buffer16<0x2c223cc272a532905b3db0d86776e061>
18:42:38 }
18:42:38 }
18:42:38 [18:42:38.164]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:42:39 [18:42:39.931]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x031ae896e5bab82cd71018600bc48388304d7b540200485fbf4de80754651e32 at block 2 (expected value in range [16, 32))
18:42:39 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
18:42:39 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
18:42:39 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
18:42:39 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
18:42:39 inboxMessage: {
18:42:39 index: 32n,
18:42:39 leaf: Fr<0x031ae896e5bab82cd71018600bc48388304d7b540200485fbf4de80754651e32>,
18:42:39 l2BlockNumber: 2,
18:42:39 l1BlockNumber: 63n,
18:42:39 l1BlockHash: Buffer32<0x6c5eb78249cad9e748599d009dcfde289a81d5806b5dc459e73f65d75b8f3dbc>,
18:42:39 rollingHash: Buffer16<0x8e3c6cdbe79fbd2ac8c0fee15e0b981c>
18:42:39 }
18:42:39 }
18:42:39 [18:42:39.937]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:42:41 [18:42:41.746]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
18:42:41 [18:42:41.776]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:42:43 [18:42:43.630]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
18:42:43 [18:42:43.651]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:42:45 [18:42:45.663]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:42:47 [18:42:47.672]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:42:49 [18:42:49.569]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:42:51 [18:42:51.210]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:42:52 [18:42:52.788]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:42:54 [18:42:54.473]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:42:56 [18:42:56.159]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:42:57 [18:42:57.800]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:42:59 [18:42:59.502]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:43:01 [18:43:01.120]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:43:02 [18:43:02.730]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:43:04 [18:43:04.324]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:43:06 [18:43:06.048]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:43:07 [18:43:07.917]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:43:09 [18:43:09.877]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:43:11 [18:43:11.775]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:43:15 [18:43:15.426]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:43:19 [18:43:19.105]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:43:23 [18:43:23.104]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:43:26 [18:43:26.481]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:43:33 [18:43:33.167]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:43:38 [18:43:38.338]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:43:43 [18:43:43.595]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:43:48 [18:43:48.616]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:43:54 [18:43:54.067]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:43:59 [18:43:59.629]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:44:04 [18:44:04.302]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:44:08
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
197.443 s)
18:44:08 KVArchiverDataStore
18:44:08 ArchiverStore
18:44:08 addBlocks
18:44:08
✓ returns success when adding blocks (1622 ms)
18:44:08
✓ allows duplicate blocks (1304 ms)
18:44:08
✓ throws an error if the previous block does not exist in the store (949 ms)
18:44:08
✓ throws an error if there is a gap in the blocks being added (954 ms)
18:44:08 unwindBlocks
18:44:08
✓ unwinding blocks will remove blocks from the chain (1376 ms)
18:44:08
✓ can unwind multiple empty blocks (1140 ms)
18:44:08
✓ refuses to unwind blocks if the tip is not the last block (1515 ms)
18:44:08 getBlocks
18:44:08
✓ retrieves previously stored blocks (1417 ms)
18:44:08
✓ retrieves previously stored blocks (1376 ms)
18:44:08
✓ retrieves previously stored blocks (1620 ms)
18:44:08
✓ retrieves previously stored blocks (1506 ms)
18:44:08
✓ retrieves previously stored blocks (1511 ms)
18:44:08
✓ returns an empty array if no blocks are found (1426 ms)
18:44:08
✓ throws an error if limit is invalid (1625 ms)
18:44:08
✓ throws an error if `from` it is out of range (1578 ms)
18:44:08
✓ throws an error if unexpected initial block number is found (2124 ms)
18:44:08
✓ throws an error if a gap is found (4216 ms)
18:44:08 getSyncedL2BlockNumber
18:44:08
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1321 ms)
18:44:08
✓ returns the most recently added block's number (2562 ms)
18:44:08 getSynchPoint
18:44:08
✓ returns undefined if no blocks have been added (1817 ms)
18:44:08
✓ returns the L1 block number in which the most recent L2 block was published (1722 ms)
18:44:08
✓ returns the L1 block number that most recently added messages from inbox (1540 ms)
18:44:08
✓ returns the latest syncpoint if latest message is behind (1702 ms)
18:44:08 addLogs
18:44:08
✓ adds private & public logs (1516 ms)
18:44:08 deleteLogs
18:44:08
✓ deletes private & public logs (1472 ms)
18:44:08 getPrivateLogs
18:44:08
✓ gets added private logs (1597 ms)
18:44:08 getTxEffect
18:44:08
✓ retrieves a previously stored transaction (2747 ms)
18:44:08
✓ retrieves a previously stored transaction (2823 ms)
18:44:08
✓ retrieves a previously stored transaction (2527 ms)
18:44:08
✓ retrieves a previously stored transaction (2707 ms)
18:44:08
✓ retrieves a previously stored transaction (2885 ms)
18:44:08
✓ returns undefined if tx is not found (2361 ms)
18:44:08
✓ tries to retrieves a previously stored transaction after deleted (2460 ms)
18:44:08
✓ tries to retrieves a previously stored transaction after deleted (2612 ms)
18:44:08
✓ tries to retrieves a previously stored transaction after deleted (2471 ms)
18:44:08
✓ tries to retrieves a previously stored transaction after deleted (2589 ms)
18:44:08
✓ tries to retrieves a previously stored transaction after deleted (2550 ms)
18:44:08
✓ returns undefined if tx is not found (2545 ms)
18:44:08
✓ does not fail if the block is unwound while requesting a tx (3366 ms)
18:44:08 L1 to L2 Messages
18:44:08
✓ stores first message ever (1608 ms)
18:44:08
✓ stores single message (1631 ms)
18:44:08
✓ stores and returns messages across different blocks (1683 ms)
18:44:08
✓ stores the same messages again (1533 ms)
18:44:08
✓ stores and returns messages across different blocks with gaps (1565 ms)
18:44:08
✓ stores and returns messages with block numbers larger than a byte (1725 ms)
18:44:08
✓ stores and returns multiple messages per block (1938 ms)
18:44:08
✓ stores messages in multiple operations (1964 ms)
18:44:08
✓ iterates over messages from start index (1829 ms)
18:44:08
✓ iterates over messages in reverse (1755 ms)
18:44:08
✓ throws if messages are added out of order (1917 ms)
18:44:08
✓ throws if block number for the first message is out of order (1859 ms)
18:44:08
✓ throws if rolling hash is not correct (1860 ms)
18:44:08
✓ throws if rolling hash for first message is not correct (1804 ms)
18:44:08
✓ throws if index is not in the correct range (1656 ms)
18:44:08
✓ throws if first index in block has gaps (1816 ms)
18:44:08
✓ throws if index does not follow previous one (1769 ms)
18:44:08
✓ removes messages up to the given block number (1840 ms)
18:44:08
✓ removes messages starting with the given index (1875 ms)
18:44:08 contractInstances
18:44:08
✓ returns previously stored contract instances (2011 ms)
18:44:08
✓ returns undefined if contract instance is not found (2008 ms)
18:44:08
✓ returns undefined if previously stored contract instances was deleted (1898 ms)
18:44:08 contractInstanceUpdates
18:44:08
✓ gets the correct current class id for a contract not updated yet (1639 ms)
18:44:08
✓ gets the correct current class id for a contract that has just been updated (1578 ms)
18:44:08
✓ gets the correct current class id for a contract that was updated in the past (1684 ms)
18:44:08
✓ ignores updates for the wrong contract (1685 ms)
18:44:08
✓ bounds its search to the right contract if more than than one update exists (1641 ms)
18:44:08 contractClasses
18:44:08
✓ returns previously stored contract class (1699 ms)
18:44:08
✓ returns undefined if the initial deployed contract class was deleted (1618 ms)
18:44:08
✓ returns contract class if later "deployment" class was deleted (1610 ms)
18:44:08
✓ returns undefined if contract class is not found (1593 ms)
18:44:08
✓ adds new private functions (1716 ms)
18:44:08
✓ does not duplicate private functions (1876 ms)
18:44:08
✓ adds new utility functions (1959 ms)
18:44:08
✓ does not duplicate utility functions (1894 ms)
18:44:08 getLogsByTags
18:44:08
✓ is possible to batch request private logs via tags (3648 ms)
18:44:08
✓ is possible to batch request all logs (private and public) via tags (3680 ms)
18:44:08
✓ is possible to batch request logs that have the same tag but different content (3998 ms)
18:44:08
✓ is possible to request logs for non-existing tags and determine their position (3374 ms)
18:44:08 getPublicLogs
18:44:08
✓ no logs returned if deleted ("txHash" filter param is respected variant) (6686 ms)
18:44:08
✓ "txHash" filter param is respected (5168 ms)
18:44:08
✓ "fromBlock" and "toBlock" filter params are respected (5256 ms)
18:44:08
✓ "contractAddress" filter param is respected (5019 ms)
18:44:08
✓ "afterLog" filter param is respected (5451 ms)
18:44:08
✓ "txHash" filter param is ignored when "afterLog" is set (5559 ms)
18:44:08
✓ intersecting works (4674 ms)
18:44:08
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4326 ms)
18:44:08
18:44:08
Test Suites: 1 passed, 1 total
18:44:08
Tests: 86 passed, 86 total
18:44:08
Snapshots: 0 total
18:44:08
Time: 197.534 s
18:44:08
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
18:44:08
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?