Parent Log:
http://ci.aztec-labs.com/d1c648635e55730f
Command: b462ac477dccbbe0 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/1fc5957df9da86dc8fdc6c622544db2499cdbbc1
Env: REF_NAME=gh-readonly-queue/next/pr-15286-85c7d115f07bdc47eb18778910e372b8db1e0d3d CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Thu Jun 26 11:59:00 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15286_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
11:59:03 [11:59:03.129]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:04 [11:59:04.609]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:06 [11:59:06.026]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:07 [11:59:07.330]
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
11:59:07 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
11:59:07 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:59:07 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:59:07 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
11:59:07 newBlockNumber: 2,
11:59:07 previousBlockNumber: undefined
11:59:07 }
11:59:07 [11:59:07.335]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:08 [11:59:08.622]
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
11:59:08 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:96:17
11:59:08 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:59:08 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:59:08 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
11:59:08 [11:59:08.625]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:10 [11:59:10.079]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:11 [11:59:11.080]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:12 [11:59:12.556]
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)
11:59:12 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:141:15
11:59:12 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:59:12 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:59:12 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
11:59:12 [11:59:12.560]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:14 [11:59:14.043]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:15 [11:59:15.545]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:17 [11:59:17.486]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:19 [11:59:19.404]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:21 [11:59:21.108]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:22 [11:59:22.765]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:24 [11:59:24.756]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:26 [11:59:26.712]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:29 [11:59:29.280]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:31 [11:59:31.264]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:33 [11:59:33.140]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:35 [11:59:35.284]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:36 [11:59:36.678]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:38 [11:59:38.473]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:39 [11:59:39.923]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:41 [11:59:41.206]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:42 [11:59:42.603]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:44 [11:59:44.253]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:45 [11:59:45.758]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:48 [11:59:48.400]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:51 [11:59:51.017]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:53 [11:59:53.670]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:56 [11:59:56.055]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:58 [11:59:58.477]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:00:00 [12:00:00.597]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:00:03 [12:00:03.141]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:00:05 [12:00:05.798]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:00:08 [12:00:08.529]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:00:11 [12:00:11.242]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:00:13 [12:00:13.980]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:00:16 [12:00:16.539]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:00:19 [12:00:19.674]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:00:21 [12:00:21.129]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:00:22 [12:00:22.540]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:00:24 [12:00:24.070]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:00:25 [12:00:25.504]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:00:27 [12:00:27.054]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:00:28 [12:00:28.661]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:00:30 [12:00:30.174]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:00:32 [12:00:32.113]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:00:33 [12:00:33.938]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:00:35 [12:00:35.697]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:00:37 [12:00:37.604]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x0292028e2086ba09edd1a08033cf33ec692b141796562c382bd2fd17f7acbfb8 for L2 block 1 has wrong index 10 (expected 0)
12:00:37 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
12:00:37 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
12:00:37 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
12:00:37 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
12:00:37 inboxMessage: {
12:00:37 index: 10n,
12:00:37 leaf: Fr<0x0292028e2086ba09edd1a08033cf33ec692b141796562c382bd2fd17f7acbfb8>,
12:00:37 l2BlockNumber: 1,
12:00:37 l1BlockNumber: 96n,
12:00:37 l1BlockHash: Buffer32<0x59e542941c18666dab38b5c7f3dd65966f2300ce2f48762eee9128c3d35a6d12>,
12:00:37 rollingHash: Buffer16<0x99c5f06ef6d227f24dce343927ce0a2b>
12:00:37 }
12:00:37 }
12:00:37 [12:00:37.614]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:00:39 [12:00:39.591]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x080b8be4f3b3cc4c371c552a5488fc6606f6aa800995f9ac282759e749e628d0 at block 12 (expected value in range [176, 192))
12:00:39 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
12:00:39 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
12:00:39 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
12:00:39 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
12:00:39 inboxMessage: {
12:00:39 index: 224n,
12:00:39 leaf: Fr<0x080b8be4f3b3cc4c371c552a5488fc6606f6aa800995f9ac282759e749e628d0>,
12:00:39 l2BlockNumber: 12,
12:00:39 l1BlockNumber: 79n,
12:00:39 l1BlockHash: Buffer32<0x4d883acf3d8a219cb0e4af57cd06477c2272e884a7ad3cef31750ec447f6fd7c>,
12:00:39 rollingHash: Buffer16<0x2c9b5cb696e179f5539a31f7b3011866>
12:00:39 }
12:00:39 }
12:00:39 [12:00:39.595]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:00:41 [12:00:41.450]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x1a9bfbfe5c139e804d2e62a398ea1d5e59b60732cf2755afe7882027a766918e with index 16 (expected 0x97c0e46db46a180bad4b7e2056a7ea70 from previous hash 0xb33556b9041a4ee9a56f5fd043117622 but got 0xcfca688b1e98cb767112ac6a6b0224af)
12:00:41 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
12:00:41 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
12:00:41 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
12:00:41 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
12:00:41 inboxMessage: {
12:00:41 index: 16n,
12:00:41 leaf: Fr<0x1a9bfbfe5c139e804d2e62a398ea1d5e59b60732cf2755afe7882027a766918e>,
12:00:41 l2BlockNumber: 2,
12:00:41 l1BlockNumber: 85n,
12:00:41 l1BlockHash: Buffer32<0xcbc4ada9c6321323d3da0965f7bacc547c03bcc8d6d95177dc5ea526ca4220a7>,
12:00:41 rollingHash: Buffer16<0xcfca688b1e98cb767112ac6a6b0224af>
12:00:41 }
12:00:41 }
12:00:41 [12:00:41.454]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:00:43 [12:00:43.441]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x2f888ec98a1b8f80dd09f96f1e2a8ad83754f0d4073f05c1fbc4c658934a1055 with index 32 (expected 0x23207728e1f77a38157aee42551bc832 from previous hash 0x1a06c99a674129993108385dfefd288c but got 0x7b5912dc549847c232d930408a069374)
12:00:43 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
12:00:43 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
12:00:43 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
12:00:43 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
12:00:43 inboxMessage: {
12:00:43 index: 32n,
12:00:43 leaf: Fr<0x2f888ec98a1b8f80dd09f96f1e2a8ad83754f0d4073f05c1fbc4c658934a1055>,
12:00:43 l2BlockNumber: 3,
12:00:43 l1BlockNumber: 76n,
12:00:43 l1BlockHash: Buffer32<0x66b9f28ebf2419a0002e7d4361f03506d32acb635f4073dea0e2714e14b4026d>,
12:00:43 rollingHash: Buffer16<0x7b5912dc549847c232d930408a069374>
12:00:43 }
12:00:43 }
12:00:43 [12:00:43.445]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:00:45 [12:00:45.292]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x069ae826043473a6fae8afcf92fe14d526dc5235b17372d8fff04a5398d3b0a7 at block 17 (expected value in range [256, 272))
12:00:45 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
12:00:45 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
12:00:45 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
12:00:45 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
12:00:45 inboxMessage: {
12:00:45 index: 356n,
12:00:45 leaf: Fr<0x069ae826043473a6fae8afcf92fe14d526dc5235b17372d8fff04a5398d3b0a7>,
12:00:45 l2BlockNumber: 17,
12:00:45 l1BlockNumber: 22n,
12:00:45 l1BlockHash: Buffer32<0x900af122e0cf68bb082fda9bbf5bae829f609294a3b3ce9983163ae164e3692c>,
12:00:45 rollingHash: Buffer16<0x32484c2181267fb1f937b91327c4ff36>
12:00:45 }
12:00:45 }
12:00:45 [12:00:45.296]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:00:47 [12:00:47.254]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x1adac8c5ad2e27ab0073a21b9c52a9a8f229991cd97594c636fcd08d506bace1 for L2 block 15 has wrong index 225 (expected 224)
12:00:47 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
12:00:47 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
12:00:47 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
12:00:47 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
12:00:47 inboxMessage: {
12:00:47 index: 225n,
12:00:47 leaf: Fr<0x1adac8c5ad2e27ab0073a21b9c52a9a8f229991cd97594c636fcd08d506bace1>,
12:00:47 l2BlockNumber: 15,
12:00:47 l1BlockNumber: 82n,
12:00:47 l1BlockHash: Buffer32<0x9975ae10192f5a6254a703b1cbaddaf74fef517eeee410d9cadc2b41112a9a5a>,
12:00:47 rollingHash: Buffer16<0x42373532beae1306cca445f91f0c2231>
12:00:47 }
12:00:47 }
12:00:47 [12:00:47.258]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:00:49 [12:00:49.134]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x1d98d6dd97ee307f9c994aca5ccbd7f4c2f6d9a723d08812a45e83838bd6755f at block 2 (expected value in range [16, 32))
12:00:49 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
12:00:49 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
12:00:49 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
12:00:49 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
12:00:49 inboxMessage: {
12:00:49 index: 32n,
12:00:49 leaf: Fr<0x1d98d6dd97ee307f9c994aca5ccbd7f4c2f6d9a723d08812a45e83838bd6755f>,
12:00:49 l2BlockNumber: 2,
12:00:49 l1BlockNumber: 52n,
12:00:49 l1BlockHash: Buffer32<0xb06c4c2e1c43a59de630ab88a3ea4ea0ec17b172f962efbb616a145641ec127d>,
12:00:49 rollingHash: Buffer16<0x38392411357f09a64cd59cc2ea8ade5f>
12:00:49 }
12:00:49 }
12:00:49 [12:00:49.138]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:00:51 [12:00:51.080]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
12:00:51 [12:00:51.123]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:00:52 [12:00:52.973]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
12:00:52 [12:00:53.000]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:00:54 [12:00:54.958]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:00:56 [12:00:56.769]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:00:58 [12:00:58.606]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:01:00 [12:01:00.492]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:01:02 [12:01:02.240]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:01:03 [12:01:03.952]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:01:05 [12:01:05.653]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:01:07 [12:01:07.524]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:01:09 [12:01:09.348]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:01:11 [12:01:11.243]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:01:12 [12:01:12.824]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:01:14 [12:01:14.680]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:01:16 [12:01:16.757]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:01:18 [12:01:18.757]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:01:20 [12:01:20.655]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:01:22 [12:01:22.572]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:01:25 [12:01:25.869]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:01:29 [12:01:29.469]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:01:33 [12:01:33.241]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:01:36 [12:01:36.131]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:01:41 [12:01:41.455]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:01:46 [12:01:46.235]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:01:51 [12:01:51.601]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:01:57 [12:01:57.034]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:02:02 [12:02:02.660]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:02:07 [12:02:07.963]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:02:11 [12:02:11.752]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:02:15
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
194.354 s)
12:02:15 KVArchiverDataStore
12:02:15 ArchiverStore
12:02:15 addBlocks
12:02:15
✓ returns success when adding blocks (1501 ms)
12:02:15
✓ allows duplicate blocks (1391 ms)
12:02:15
✓ throws an error if the previous block does not exist in the store (1333 ms)
12:02:15
✓ throws an error if there is a gap in the blocks being added (1290 ms)
12:02:15 unwindBlocks
12:02:15
✓ unwinding blocks will remove blocks from the chain (1453 ms)
12:02:15
✓ can unwind multiple empty blocks (1001 ms)
12:02:15
✓ refuses to unwind blocks if the tip is not the last block (1478 ms)
12:02:15 getBlocks
12:02:15
✓ retrieves previously stored blocks (1477 ms)
12:02:15
✓ retrieves previously stored blocks (1507 ms)
12:02:15
✓ retrieves previously stored blocks (1939 ms)
12:02:15
✓ retrieves previously stored blocks (1914 ms)
12:02:15
✓ retrieves previously stored blocks (1706 ms)
12:02:15
✓ returns an empty array if no blocks are found (1657 ms)
12:02:15
✓ throws an error if limit is invalid (1979 ms)
12:02:15
✓ throws an error if `from` it is out of range (1967 ms)
12:02:15
✓ throws an error if unexpected initial block number is found (2568 ms)
12:02:15
✓ throws an error if a gap is found (1982 ms)
12:02:15 getSyncedL2BlockNumber
12:02:15
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1872 ms)
12:02:15
✓ returns the most recently added block's number (2145 ms)
12:02:15 getSynchPoint
12:02:15
✓ returns undefined if no blocks have been added (1392 ms)
12:02:15
✓ returns the L1 block number in which the most recent L2 block was published (1794 ms)
12:02:15
✓ returns the L1 block number that most recently added messages from inbox (1447 ms)
12:02:15
✓ returns the latest syncpoint if latest message is behind (1280 ms)
12:02:15 addLogs
12:02:15
✓ adds private & public logs (1401 ms)
12:02:15 deleteLogs
12:02:15
✓ deletes private & public logs (1649 ms)
12:02:15 getPrivateLogs
12:02:15
✓ gets added private logs (1504 ms)
12:02:15 getTxEffect
12:02:15
✓ retrieves a previously stored transaction (2641 ms)
12:02:15
✓ retrieves a previously stored transaction (2614 ms)
12:02:15
✓ retrieves a previously stored transaction (2645 ms)
12:02:15
✓ retrieves a previously stored transaction (2393 ms)
12:02:15
✓ retrieves a previously stored transaction (2422 ms)
12:02:15
✓ returns undefined if tx is not found (2119 ms)
12:02:15
✓ tries to retrieves a previously stored transaction after deleted (2543 ms)
12:02:15
✓ tries to retrieves a previously stored transaction after deleted (2657 ms)
12:02:15
✓ tries to retrieves a previously stored transaction after deleted (2728 ms)
12:02:15
✓ tries to retrieves a previously stored transaction after deleted (2715 ms)
12:02:15
✓ tries to retrieves a previously stored transaction after deleted (2737 ms)
12:02:15
✓ returns undefined if tx is not found (2558 ms)
12:02:15
✓ does not fail if the block is unwound while requesting a tx (3134 ms)
12:02:15 L1 to L2 Messages
12:02:15
✓ stores first message ever (1452 ms)
12:02:15
✓ stores single message (1413 ms)
12:02:15
✓ stores and returns messages across different blocks (1529 ms)
12:02:15
✓ stores the same messages again (1431 ms)
12:02:15
✓ stores and returns messages across different blocks with gaps (1543 ms)
12:02:15
✓ stores and returns messages with block numbers larger than a byte (1615 ms)
12:02:15
✓ stores and returns multiple messages per block (1510 ms)
12:02:15
✓ stores messages in multiple operations (1940 ms)
12:02:15
✓ iterates over messages from start index (1824 ms)
12:02:15
✓ iterates over messages in reverse (1756 ms)
12:02:15
✓ throws if messages are added out of order (1913 ms)
12:02:15
✓ throws if block number for the first message is out of order (1986 ms)
12:02:15
✓ throws if rolling hash is not correct (1859 ms)
12:02:15
✓ throws if rolling hash for first message is not correct (1990 ms)
12:02:15
✓ throws if index is not in the correct range (1850 ms)
12:02:15
✓ throws if first index in block has gaps (1963 ms)
12:02:15
✓ throws if index does not follow previous one (1880 ms)
12:02:15
✓ removes messages up to the given block number (1982 ms)
12:02:15
✓ removes messages starting with the given index (1876 ms)
12:02:15 contractInstances
12:02:15
✓ returns previously stored contract instances (1959 ms)
12:02:15
✓ returns undefined if contract instance is not found (1810 ms)
12:02:15
✓ returns undefined if previously stored contract instances was deleted (1837 ms)
12:02:15 contractInstanceUpdates
12:02:15
✓ gets the correct current class id for a contract not updated yet (1881 ms)
12:02:15
✓ gets the correct current class id for a contract that has just been updated (1751 ms)
12:02:15
✓ gets the correct current class id for a contract that was updated in the past (1710 ms)
12:02:15
✓ ignores updates for the wrong contract (1700 ms)
12:02:15
✓ bounds its search to the right contract if more than than one update exists (1871 ms)
12:02:15 contractClasses
12:02:15
✓ returns previously stored contract class (1822 ms)
12:02:15
✓ returns undefined if the initial deployed contract class was deleted (1895 ms)
12:02:15
✓ returns contract class if later "deployment" class was deleted (1580 ms)
12:02:15
✓ returns undefined if contract class is not found (1854 ms)
12:02:15
✓ adds new private functions (2078 ms)
12:02:15
✓ does not duplicate private functions (1999 ms)
12:02:15
✓ adds new utility functions (1897 ms)
12:02:15
✓ does not duplicate utility functions (1916 ms)
12:02:15 getLogsByTags
12:02:15
✓ is possible to batch request private logs via tags (3298 ms)
12:02:15
✓ is possible to batch request all logs (private and public) via tags (3598 ms)
12:02:15
✓ is possible to batch request logs that have the same tag but different content (3771 ms)
12:02:15
✓ is possible to request logs for non-existing tags and determine their position (2889 ms)
12:02:15 getPublicLogs
12:02:15
✓ no logs returned if deleted ("txHash" filter param is respected variant) (5322 ms)
12:02:15
✓ "txHash" filter param is respected (4780 ms)
12:02:15
✓ "fromBlock" and "toBlock" filter params are respected (5365 ms)
12:02:15
✓ "contractAddress" filter param is respected (5433 ms)
12:02:15
✓ "afterLog" filter param is respected (5625 ms)
12:02:15
✓ "txHash" filter param is ignored when "afterLog" is set (5303 ms)
12:02:15
✓ intersecting works (3786 ms)
12:02:15
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4005 ms)
12:02:15
12:02:15
Test Suites: 1 passed, 1 total
12:02:15
Tests: 86 passed, 86 total
12:02:15
Snapshots: 0 total
12:02:15
Time: 194.427 s
12:02:15
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
12:02:15
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?