Parent Log:
http://ci.aztec-labs.com/95979217b3f59e6f
Command: 2f76ae4bba915073 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/87c4b689268afecc86ab007c3587e45110daa43d
Env: REF_NAME=gh-readonly-queue/next/pr-15220-282da3bd25d49b92970e6fc85f110092e8566299 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 16:34:02 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15220_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:34:05 [16:34:05.895]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:34:07 [16:34:07.518]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:34:09 [16:34:09.127]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:34:10 [16:34:10.174]
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:34:10 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
16:34:10 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:34:10 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:34:10 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:34:10 newBlockNumber: 2,
16:34:10 previousBlockNumber: undefined
16:34:10 }
16:34:10 [16:34:10.179]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:34:11 [16:34:11.243]
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:34:11 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:96:17
16:34:11 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:34:11 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:34:11 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
16:34:11 [16:34:11.246]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:34:12 [16:34:12.538]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:34:13 [16:34:13.631]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:34:14 [16:34:14.899]
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:34:14 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:141:15
16:34:14 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:34:14 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:34:14 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
16:34:14 [16:34:14.903]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:34:16 [16:34:16.297]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:34:17 [16:34:17.826]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:34:19 [16:34:19.614]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:34:21 [16:34:21.349]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:34:23 [16:34:23.191]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:34:25 [16:34:25.059]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:34:27 [16:34:27.634]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:34:28 [16:34:28.975]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:34:31 [16:34:31.631]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:34:33 [16:34:33.857]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:34:35 [16:34:35.440]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:34:37 [16:34:37.157]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:34:38 [16:34:38.463]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:34:40 [16:34:40.060]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:34:41 [16:34:41.425]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:34:42 [16:34:42.710]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:34:44 [16:34:44.071]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:34:45 [16:34:45.666]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:34:47 [16:34:47.166]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:34:49 [16:34:49.920]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:34:52 [16:34:52.598]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:34:55 [16:34:55.109]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:34:57 [16:34:57.488]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:34:59 [16:34:59.858]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:35:02 [16:35:02.231]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:35:04 [16:35:04.798]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:35:07 [16:35:07.475]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:35:10 [16:35:10.461]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:35:13 [16:35:13.386]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:35:16 [16:35:16.085]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:35:18 [16:35:18.697]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:35:21 [16:35:21.946]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:35:23 [16:35:23.429]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:35:24 [16:35:24.926]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:35:26 [16:35:26.427]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:35:27 [16:35:27.993]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:35:29 [16:35:29.637]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:35:31 [16:35:31.333]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:35:32 [16:35:32.992]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:35:34 [16:35:34.721]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:35:36 [16:35:36.344]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:35:38 [16:35:38.218]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:35:40 [16:35:40.148]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x200c3d5f8d92561244704be9aa5ad0f546e08335f415dd26c75f16ad80b9ac07 for L2 block 1 has wrong index 10 (expected 0)
16:35:40 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
16:35:40 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:35:40 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:35:40 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:35:40 inboxMessage: {
16:35:40 index: 10n,
16:35:40 leaf: Fr<0x200c3d5f8d92561244704be9aa5ad0f546e08335f415dd26c75f16ad80b9ac07>,
16:35:40 l2BlockNumber: 1,
16:35:40 l1BlockNumber: 54n,
16:35:40 l1BlockHash: Buffer32<0xbfb087bab2713b7af60872aaa196a0dab30f713a46e1274686b1097e0baf1678>,
16:35:40 rollingHash: Buffer16<0x04049902bda12c536d18b5d6d7d59158>
16:35:40 }
16:35:40 }
16:35:40 [16:35:40.153]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:35:41 [16:35:41.924]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x1595c08b12c155d17beccd4b502cdabca2aee88ef0156fdf47d0799a087af839 at block 12 (expected value in range [176, 192))
16:35:41 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
16:35:41 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:35:41 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:35:41 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:35:41 inboxMessage: {
16:35:41 index: 224n,
16:35:41 leaf: Fr<0x1595c08b12c155d17beccd4b502cdabca2aee88ef0156fdf47d0799a087af839>,
16:35:41 l2BlockNumber: 12,
16:35:41 l1BlockNumber: 56n,
16:35:41 l1BlockHash: Buffer32<0x0ea894fab824cb2086d11653c1ee1947b247df6d83837eced88f0aeffbee45d6>,
16:35:41 rollingHash: Buffer16<0x67410045ef85c89ff1d789a2191aae65>
16:35:41 }
16:35:41 }
16:35:41 [16:35:41.929]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:35:43 [16:35:43.806]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x2cfe9ccb85c64a69db886db36f0e8a1796b245d599886dd8477fb020f195548d with index 16 (expected 0x3c1e5bb54072270d196b470b5bbc2792 from previous hash 0xcf09baa341017319cc042d1360c0ba4c but got 0xe78546056a0e19f4d1856e67a5eb2953)
16:35:43 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
16:35:43 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:35:43 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:35:43 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:35:43 inboxMessage: {
16:35:43 index: 16n,
16:35:43 leaf: Fr<0x2cfe9ccb85c64a69db886db36f0e8a1796b245d599886dd8477fb020f195548d>,
16:35:43 l2BlockNumber: 2,
16:35:43 l1BlockNumber: 45n,
16:35:43 l1BlockHash: Buffer32<0x0474ac02f51a6f15d914d9d6e3cd9f4f0fb9289110a6ff34706a05d5b0051108>,
16:35:43 rollingHash: Buffer16<0xe78546056a0e19f4d1856e67a5eb2953>
16:35:43 }
16:35:43 }
16:35:43 [16:35:43.811]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:35:45 [16:35:45.713]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x2be3703ddccf0fbcc4789bd17a7eeca47cafd71f43c0f8b46191fe433a315cef with index 32 (expected 0x6633bbdf36772c1be62867cb89ae89f4 from previous hash 0xeb23c16ff1e63b398fe6c70e140b2402 but got 0x9236b82a75c287bc8cee304dc1fba9f6)
16:35:45 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
16:35:45 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:35:45 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:35:45 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:35:45 inboxMessage: {
16:35:45 index: 32n,
16:35:45 leaf: Fr<0x2be3703ddccf0fbcc4789bd17a7eeca47cafd71f43c0f8b46191fe433a315cef>,
16:35:45 l2BlockNumber: 3,
16:35:45 l1BlockNumber: 49n,
16:35:45 l1BlockHash: Buffer32<0x2e693636591e41976c2bab597920f3e4897b780cf195f6b0e00e0ac1b6f918a5>,
16:35:45 rollingHash: Buffer16<0x9236b82a75c287bc8cee304dc1fba9f6>
16:35:45 }
16:35:45 }
16:35:45 [16:35:45.720]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:35:47 [16:35:47.495]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x185e44f5c9d6f8b0b68011ad8fa2df7088ddca7c58f819e2a37e70047ed069c5 at block 17 (expected value in range [256, 272))
16:35:47 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
16:35:47 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:35:47 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:35:47 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:35:47 inboxMessage: {
16:35:47 index: 356n,
16:35:47 leaf: Fr<0x185e44f5c9d6f8b0b68011ad8fa2df7088ddca7c58f819e2a37e70047ed069c5>,
16:35:47 l2BlockNumber: 17,
16:35:47 l1BlockNumber: 20n,
16:35:47 l1BlockHash: Buffer32<0x86e6f4b95021968e9fb329a22f1611317e0253cc6647f42f0de58dd538ddbf10>,
16:35:47 rollingHash: Buffer16<0xefe899955123d15d65043da8d9bf9299>
16:35:47 }
16:35:47 }
16:35:47 [16:35:47.499]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:35:49 [16:35:49.361]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x17d879c34d5c5acc6974aeeb8b5a4cb08383c7feb7be2132284599f0abab4408 for L2 block 15 has wrong index 225 (expected 224)
16:35:49 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
16:35:49 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:35:49 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:35:49 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:35:49 inboxMessage: {
16:35:49 index: 225n,
16:35:49 leaf: Fr<0x17d879c34d5c5acc6974aeeb8b5a4cb08383c7feb7be2132284599f0abab4408>,
16:35:49 l2BlockNumber: 15,
16:35:49 l1BlockNumber: 61n,
16:35:49 l1BlockHash: Buffer32<0x5bba224b3c46655e5b79cc31ac8cbcd1e1f3bf658f7a45ca381d77fab5ee3e62>,
16:35:49 rollingHash: Buffer16<0x054aa37734646ba70f9bdca51e489c10>
16:35:49 }
16:35:49 }
16:35:49 [16:35:49.364]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:35:51 [16:35:51.073]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x2b0c99828d2edce855d87eabd258e9165be5445496d0e4b68a99c18715ca3205 at block 2 (expected value in range [16, 32))
16:35:51 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
16:35:51 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:35:51 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:35:51 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:35:51 inboxMessage: {
16:35:51 index: 32n,
16:35:51 leaf: Fr<0x2b0c99828d2edce855d87eabd258e9165be5445496d0e4b68a99c18715ca3205>,
16:35:51 l2BlockNumber: 2,
16:35:51 l1BlockNumber: 69n,
16:35:51 l1BlockHash: Buffer32<0xa485a36eb283fffbd3d5619b24c149c8d88786f3199fb96b084f69e50d68c2d4>,
16:35:51 rollingHash: Buffer16<0x5a506e9eca28bcff4bbd17391ef230cc>
16:35:51 }
16:35:51 }
16:35:51 [16:35:51.077]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:35:52 [16:35:52.995]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
16:35:53 [16:35:53.040]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:35:54 [16:35:54.911]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
16:35:54 [16:35:54.927]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:35:56 [16:35:56.629]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:35:58 [16:35:58.388]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:36:00 [16:36:00.037]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:36:01 [16:36:01.754]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:36:03 [16:36:03.511]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:36:05 [16:36:05.406]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:36:07 [16:36:07.086]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:36:08 [16:36:08.856]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:36:10 [16:36:10.757]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:36:12 [16:36:12.675]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:36:14 [16:36:14.657]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:36:16 [16:36:16.547]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:36:18 [16:36:18.516]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:36:20 [16:36:20.456]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:36:22 [16:36:22.480]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:36:24 [16:36:24.463]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:36:27 [16:36:27.814]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:36:30 [16:36:30.629]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:36:33 [16:36:33.927]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:36:36 [16:36:36.862]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:36:42 [16:36:42.350]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:36:47 [16:36:47.538]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:36:52 [16:36:52.624]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:36:57 [16:36:57.571]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:37:01 [16:37:01.591]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:37:06 [16:37:06.089]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:37:10 [16:37:10.378]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:37:14
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
190.644 s)
16:37:14 KVArchiverDataStore
16:37:14 ArchiverStore
16:37:14 addBlocks
16:37:14
✓ returns success when adding blocks (1647 ms)
16:37:14
✓ allows duplicate blocks (1607 ms)
16:37:14
✓ throws an error if the previous block does not exist in the store (1052 ms)
16:37:14
✓ throws an error if there is a gap in the blocks being added (1067 ms)
16:37:14 unwindBlocks
16:37:14
✓ unwinding blocks will remove blocks from the chain (1291 ms)
16:37:14
✓ can unwind multiple empty blocks (1092 ms)
16:37:14
✓ refuses to unwind blocks if the tip is not the last block (1271 ms)
16:37:14 getBlocks
16:37:14
✓ retrieves previously stored blocks (1391 ms)
16:37:14
✓ retrieves previously stored blocks (1530 ms)
16:37:14
✓ retrieves previously stored blocks (1787 ms)
16:37:14
✓ retrieves previously stored blocks (1732 ms)
16:37:14
✓ retrieves previously stored blocks (1841 ms)
16:37:14
✓ returns an empty array if no blocks are found (1871 ms)
16:37:14
✓ throws an error if limit is invalid (2574 ms)
16:37:14
✓ throws an error if `from` it is out of range (1340 ms)
16:37:14
✓ throws an error if unexpected initial block number is found (2656 ms)
16:37:14
✓ throws an error if a gap is found (2222 ms)
16:37:14 getSyncedL2BlockNumber
16:37:14
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1585 ms)
16:37:14
✓ returns the most recently added block's number (1715 ms)
16:37:14 getSynchPoint
16:37:14
✓ returns undefined if no blocks have been added (1304 ms)
16:37:14
✓ returns the L1 block number in which the most recent L2 block was published (1598 ms)
16:37:14
✓ returns the L1 block number that most recently added messages from inbox (1364 ms)
16:37:14
✓ returns the latest syncpoint if latest message is behind (1284 ms)
16:37:14 addLogs
16:37:14
✓ adds private & public logs (1357 ms)
16:37:14 deleteLogs
16:37:14
✓ deletes private & public logs (1597 ms)
16:37:14 getPrivateLogs
16:37:14
✓ gets added private logs (1499 ms)
16:37:14 getTxEffect
16:37:14
✓ retrieves a previously stored transaction (2753 ms)
16:37:14
✓ retrieves a previously stored transaction (2677 ms)
16:37:14
✓ retrieves a previously stored transaction (2511 ms)
16:37:14
✓ retrieves a previously stored transaction (2379 ms)
16:37:14
✓ retrieves a previously stored transaction (2371 ms)
16:37:14
✓ returns undefined if tx is not found (2371 ms)
16:37:14
✓ tries to retrieves a previously stored transaction after deleted (2566 ms)
16:37:14
✓ tries to retrieves a previously stored transaction after deleted (2677 ms)
16:37:14
✓ tries to retrieves a previously stored transaction after deleted (2986 ms)
16:37:14
✓ tries to retrieves a previously stored transaction after deleted (2923 ms)
16:37:14
✓ tries to retrieves a previously stored transaction after deleted (2692 ms)
16:37:14
✓ returns undefined if tx is not found (2617 ms)
16:37:14
✓ does not fail if the block is unwound while requesting a tx (3250 ms)
16:37:14 L1 to L2 Messages
16:37:14
✓ stores first message ever (1482 ms)
16:37:14
✓ stores single message (1495 ms)
16:37:14
✓ stores and returns messages across different blocks (1501 ms)
16:37:14
✓ stores the same messages again (1564 ms)
16:37:14
✓ stores and returns messages across different blocks with gaps (1642 ms)
16:37:14
✓ stores and returns messages with block numbers larger than a byte (1697 ms)
16:37:14
✓ stores and returns multiple messages per block (1656 ms)
16:37:14
✓ stores messages in multiple operations (1730 ms)
16:37:14
✓ iterates over messages from start index (1622 ms)
16:37:14
✓ iterates over messages in reverse (1871 ms)
16:37:14
✓ throws if messages are added out of order (1935 ms)
16:37:14
✓ throws if block number for the first message is out of order (1775 ms)
16:37:14
✓ throws if rolling hash is not correct (1881 ms)
16:37:14
✓ throws if rolling hash for first message is not correct (1907 ms)
16:37:14
✓ throws if index is not in the correct range (1779 ms)
16:37:14
✓ throws if first index in block has gaps (1865 ms)
16:37:14
✓ throws if index does not follow previous one (1711 ms)
16:37:14
✓ removes messages up to the given block number (1962 ms)
16:37:14
✓ removes messages starting with the given index (1887 ms)
16:37:14 contractInstances
16:37:14
✓ returns previously stored contract instances (1701 ms)
16:37:14
✓ returns undefined if contract instance is not found (1754 ms)
16:37:14
✓ returns undefined if previously stored contract instances was deleted (1653 ms)
16:37:14 contractInstanceUpdates
16:37:14
✓ gets the correct current class id for a contract not updated yet (1716 ms)
16:37:14
✓ gets the correct current class id for a contract that has just been updated (1755 ms)
16:37:14
✓ gets the correct current class id for a contract that was updated in the past (1895 ms)
16:37:14
✓ ignores updates for the wrong contract (1679 ms)
16:37:14
✓ bounds its search to the right contract if more than than one update exists (1769 ms)
16:37:14 contractClasses
16:37:14
✓ returns previously stored contract class (1899 ms)
16:37:14
✓ returns undefined if the initial deployed contract class was deleted (1915 ms)
16:37:14
✓ returns contract class if later "deployment" class was deleted (1986 ms)
16:37:14
✓ returns undefined if contract class is not found (1890 ms)
16:37:14
✓ adds new private functions (1968 ms)
16:37:14
✓ does not duplicate private functions (1940 ms)
16:37:14
✓ adds new utility functions (2022 ms)
16:37:14
✓ does not duplicate utility functions (1982 ms)
16:37:14 getLogsByTags
16:37:14
✓ is possible to batch request private logs via tags (3351 ms)
16:37:14
✓ is possible to batch request all logs (private and public) via tags (2815 ms)
16:37:14
✓ is possible to batch request logs that have the same tag but different content (3296 ms)
16:37:14
✓ is possible to request logs for non-existing tags and determine their position (2934 ms)
16:37:14 getPublicLogs
16:37:14
✓ no logs returned if deleted ("txHash" filter param is respected variant) (5487 ms)
16:37:14
✓ "txHash" filter param is respected (5187 ms)
16:37:14
✓ "fromBlock" and "toBlock" filter params are respected (5086 ms)
16:37:14
✓ "contractAddress" filter param is respected (4948 ms)
16:37:14
✓ "afterLog" filter param is respected (4019 ms)
16:37:14
✓ "txHash" filter param is ignored when "afterLog" is set (4498 ms)
16:37:14
✓ intersecting works (4287 ms)
16:37:14
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4079 ms)
16:37:14
16:37:14
Test Suites: 1 passed, 1 total
16:37:14
Tests: 86 passed, 86 total
16:37:14
Snapshots: 0 total
16:37:14
Time: 190.734 s
16:37:14
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
16:37:14
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?