Parent Log:
http://ci.aztec-labs.com/064c24dcd5b6ed73
Command: b818050160cbcbd8 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/184d5f7d956dd7251670a2dd6728f313cfdf3caf
Env: REF_NAME=gh-readonly-queue/next/pr-14822-e56baa7f24bac54baf9e2f22f6f33ae6fa8b8c0f CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 13 21:17:25 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14822_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
21:17:28 [21:17:28.033]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:17:29 [21:17:29.438]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:17:30 [21:17:30.966]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:17:32 [21:17:32.007]
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
21:17:32 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
21:17:32 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:17:32 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:17:32 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
21:17:32 newBlockNumber: 2,
21:17:32 previousBlockNumber: undefined
21:17:32 }
21:17:32 [21:17:32.012]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:17:33 [21:17:33.221]
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
21:17:33 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17
21:17:33 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:17:33 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:17:33 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
21:17:33 [21:17:33.231]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:17:34 [21:17:34.478]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:17:35 [21:17:35.374]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:17:36 [21:17:36.660]
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)
21:17:36 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15
21:17:36 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:17:36 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:17:36 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
21:17:36 [21:17:36.665]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:17:38 [21:17:38.066]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:17:39 [21:17:39.201]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:17:40 [21:17:40.611]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:17:42 [21:17:42.461]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:17:43 [21:17:43.748]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:17:44 [21:17:44.859]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:17:46 [21:17:46.038]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:17:47 [21:17:47.224]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:17:48 [21:17:48.804]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:17:50 [21:17:50.981]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:17:52 [21:17:52.520]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:17:55 [21:17:55.647]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:17:57 [21:17:57.010]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:17:59 [21:17:59.393]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:18:00 [21:18:00.880]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:18:02 [21:18:02.318]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:18:04 [21:18:04.101]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:18:05 [21:18:05.941]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:18:07 [21:18:07.525]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:18:10 [21:18:10.291]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:18:13 [21:18:13.137]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:18:15 [21:18:15.947]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:18:18 [21:18:18.967]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:18:21 [21:18:21.610]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:18:24 [21:18:24.360]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:18:27 [21:18:27.079]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:18:29 [21:18:29.873]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:18:33 [21:18:33.199]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:18:35 [21:18:35.884]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:18:39 [21:18:39.097]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:18:42 [21:18:42.354]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:18:45 [21:18:45.340]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:18:46 [21:18:46.676]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:18:48 [21:18:48.200]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:18:49 [21:18:49.650]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:18:51 [21:18:51.194]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:18:52 [21:18:52.880]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:18:54 [21:18:54.553]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:18:56 [21:18:56.016]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:18:58 [21:18:58.009]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:18:59 [21:18:59.736]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:19:01 [21:19:01.407]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:19:03 [21:19:03.134]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x227850558efd068ae90b2e6ee52d5ac49b6a829f247ef45e81adccad146c1885 for L2 block 1 has wrong index 10 (expected 0)
21:19:03 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
21:19:03 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:19:03 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:19:03 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
21:19:03 inboxMessage: {
21:19:03 index: 10n,
21:19:03 leaf: Fr<0x227850558efd068ae90b2e6ee52d5ac49b6a829f247ef45e81adccad146c1885>,
21:19:03 l2BlockNumber: 1,
21:19:03 l1BlockNumber: 54n,
21:19:03 l1BlockHash: Buffer32<0x0a67a668b5f983c2d7d6b2734cd327ccda33e18f8aa52717d7b196bc25f3fb66>,
21:19:03 rollingHash: Buffer16<0xb661ed788abad201bc2a0e3e77815150>
21:19:03 }
21:19:03 }
21:19:03 [21:19:03.138]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:19:04 [21:19:04.855]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x1b0dccdbbc328b5aedda142cc93fa5fc0cf9fa5aece643785026e71a6525acab at block 12 (expected value in range [176, 192))
21:19:04 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
21:19:04 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:19:04 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:19:04 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
21:19:04 inboxMessage: {
21:19:04 index: 224n,
21:19:04 leaf: Fr<0x1b0dccdbbc328b5aedda142cc93fa5fc0cf9fa5aece643785026e71a6525acab>,
21:19:04 l2BlockNumber: 12,
21:19:04 l1BlockNumber: 34n,
21:19:04 l1BlockHash: Buffer32<0xcdc65c586e495c6b1735df6f93a58826cfc7e6fb7743bae06911047bf5769b90>,
21:19:04 rollingHash: Buffer16<0x9db3c99f4f574a23b602f45d68baf0fc>
21:19:04 }
21:19:04 }
21:19:04 [21:19:04.860]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:19:06 [21:19:06.469]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x281864d1f56bd680fa29d7af60748e5eec19bc549ea737f116263aa6520ed5ac with index 16 (expected 0xe491e69e6d368f76b2e43c6a8d24bc3c from previous hash 0x5d28d2db483599c984afc1f299b9c361 but got 0x1e85c352daf06c3546c38c9e36db084d)
21:19:06 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
21:19:06 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:19:06 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:19:06 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
21:19:06 inboxMessage: {
21:19:06 index: 16n,
21:19:06 leaf: Fr<0x281864d1f56bd680fa29d7af60748e5eec19bc549ea737f116263aa6520ed5ac>,
21:19:06 l2BlockNumber: 2,
21:19:06 l1BlockNumber: 15n,
21:19:06 l1BlockHash: Buffer32<0x345cf8aec4e8f875a4763492989aed3d4c757fba39bcf5542d3b01122f92e15b>,
21:19:06 rollingHash: Buffer16<0x1e85c352daf06c3546c38c9e36db084d>
21:19:06 }
21:19:06 }
21:19:06 [21:19:06.470]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:19:08 [21:19:08.182]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x1807d01188f354a7f997e3eb65ca4421f407a05b3ba27e0b2740c2ff1db048b5 with index 32 (expected 0x0daac25aa96ad8c0408d02c42c278e7d from previous hash 0x621e9171c62f817c7d56fee348c243dc but got 0x59e4ae5be507da1937f49b4ff1928abf)
21:19:08 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
21:19:08 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:19:08 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:19:08 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
21:19:08 inboxMessage: {
21:19:08 index: 32n,
21:19:08 leaf: Fr<0x1807d01188f354a7f997e3eb65ca4421f407a05b3ba27e0b2740c2ff1db048b5>,
21:19:08 l2BlockNumber: 3,
21:19:08 l1BlockNumber: 86n,
21:19:08 l1BlockHash: Buffer32<0xd769507761cb048eef323bac08fe5dc3e3e83c4ac4c5b4091a1b98854fc0f190>,
21:19:08 rollingHash: Buffer16<0x59e4ae5be507da1937f49b4ff1928abf>
21:19:08 }
21:19:08 }
21:19:08 [21:19:08.186]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:19:09 [21:19:09.927]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x29e2a88f6c0921944058ddbbeb10d1864ca942a879459c338d212f66aade0df6 at block 17 (expected value in range [256, 272))
21:19:09 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
21:19:09 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:19:09 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:19:09 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
21:19:09 inboxMessage: {
21:19:09 index: 356n,
21:19:09 leaf: Fr<0x29e2a88f6c0921944058ddbbeb10d1864ca942a879459c338d212f66aade0df6>,
21:19:09 l2BlockNumber: 17,
21:19:09 l1BlockNumber: 84n,
21:19:09 l1BlockHash: Buffer32<0x13d1f07ac21d8b68bd40e2c853af73b4fcb40fb25490b87b76d9f68ca438577d>,
21:19:09 rollingHash: Buffer16<0x85ae5c136dbdae3534fdb1a39f2ad450>
21:19:09 }
21:19:09 }
21:19:09 [21:19:09.931]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:19:11 [21:19:11.687]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x106606e2df47cea2ceaa1bdf84b27063196da02cc2013f5b075b7241264e0d03 for L2 block 15 has wrong index 225 (expected 224)
21:19:11 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
21:19:11 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:19:11 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:19:11 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
21:19:11 inboxMessage: {
21:19:11 index: 225n,
21:19:11 leaf: Fr<0x106606e2df47cea2ceaa1bdf84b27063196da02cc2013f5b075b7241264e0d03>,
21:19:11 l2BlockNumber: 15,
21:19:11 l1BlockNumber: 9n,
21:19:11 l1BlockHash: Buffer32<0x4651d9a4bab0c5bb34f8c1ca2b89f4fa0dd717dc06a7b6a315073c71f10d7d13>,
21:19:11 rollingHash: Buffer16<0xfdec4a02ce47fffaf7401a76b84a277d>
21:19:11 }
21:19:11 }
21:19:11 [21:19:11.690]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:19:13 [21:19:13.402]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x0eea66a55e8e1d8c18efc466348633a71aacaa183e26bbd2cd128fdb4ef01eda at block 2 (expected value in range [16, 32))
21:19:13 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
21:19:13 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:19:13 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:19:13 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
21:19:13 inboxMessage: {
21:19:13 index: 32n,
21:19:13 leaf: Fr<0x0eea66a55e8e1d8c18efc466348633a71aacaa183e26bbd2cd128fdb4ef01eda>,
21:19:13 l2BlockNumber: 2,
21:19:13 l1BlockNumber: 39n,
21:19:13 l1BlockHash: Buffer32<0xfef7edec682e49d528f8c7d78629128de336ad19d7af30ee6729bdd89d18f4fd>,
21:19:13 rollingHash: Buffer16<0x6544fcce96ac018b0aaed3ad3c2c04fe>
21:19:13 }
21:19:13 }
21:19:13 [21:19:13.405]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:19:15 [21:19:15.400]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
21:19:15 [21:19:15.474]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:19:17 [21:19:17.494]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
21:19:17 [21:19:17.528]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:19:19 [21:19:19.491]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:19:21 [21:19:21.279]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:19:23 [21:19:23.145]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:19:24 [21:19:24.921]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:19:26 [21:19:26.769]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:19:28 [21:19:28.810]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:19:30 [21:19:30.581]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:19:32 [21:19:32.182]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:19:33 [21:19:33.704]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:19:35 [21:19:35.400]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:19:37 [21:19:37.136]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:19:39 [21:19:39.065]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:19:41 [21:19:41.059]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:19:43 [21:19:43.035]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:19:44 [21:19:44.785]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:19:46 [21:19:46.247]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:19:48 [21:19:48.986]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:19:51 [21:19:51.937]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:19:55 [21:19:55.605]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:19:59 [21:19:59.420]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:20:05 [21:20:05.830]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:20:11 [21:20:11.278]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:20:16 [21:20:16.526]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:20:21 [21:20:21.667]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:20:27 [21:20:27.006]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:20:32 [21:20:32.196]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:20:38 [21:20:38.094]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:20:43
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
196.593 s)
21:20:43 KVArchiverDataStore
21:20:43 ArchiverStore
21:20:43 addBlocks
21:20:43
✓ returns success when adding blocks (1405 ms)
21:20:43
✓ allows duplicate blocks (1528 ms)
21:20:43
✓ throws an error if the previous block does not exist in the store (1046 ms)
21:20:43
✓ throws an error if there is a gap in the blocks being added (1219 ms)
21:20:43 unwindBlocks
21:20:43
✓ unwinding blocks will remove blocks from the chain (1247 ms)
21:20:43
✓ can unwind multiple empty blocks (895 ms)
21:20:43
✓ refuses to unwind blocks if the tip is not the last block (1289 ms)
21:20:43 getBlocks
21:20:43
✓ retrieves previously stored blocks (1395 ms)
21:20:43
✓ retrieves previously stored blocks (1136 ms)
21:20:43
✓ retrieves previously stored blocks (1412 ms)
21:20:43
✓ retrieves previously stored blocks (1850 ms)
21:20:43
✓ retrieves previously stored blocks (1287 ms)
21:20:43
✓ returns an empty array if no blocks are found (1111 ms)
21:20:43
✓ throws an error if limit is invalid (1179 ms)
21:20:43
✓ throws an error if `from` it is out of range (1186 ms)
21:20:43
✓ throws an error if unexpected initial block number is found (1580 ms)
21:20:43
✓ throws an error if a gap is found (2175 ms)
21:20:43 getSyncedL2BlockNumber
21:20:43
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1539 ms)
21:20:43
✓ returns the most recently added block's number (3124 ms)
21:20:43 getSynchPoint
21:20:43
✓ returns undefined if no blocks have been added (1363 ms)
21:20:43
✓ returns the L1 block number in which the most recent L2 block was published (2377 ms)
21:20:43
✓ returns the L1 block number that most recently added messages from inbox (1492 ms)
21:20:43
✓ returns the latest syncpoint if latest message is behind (1436 ms)
21:20:43 addLogs
21:20:43
✓ adds private & public logs (1782 ms)
21:20:43 deleteLogs
21:20:43
✓ deletes private & public logs (1840 ms)
21:20:43 getPrivateLogs
21:20:43
✓ gets added private logs (1583 ms)
21:20:43 getTxEffect
21:20:43
✓ retrieves a previously stored transaction (2766 ms)
21:20:43
✓ retrieves a previously stored transaction (2841 ms)
21:20:43
✓ retrieves a previously stored transaction (2814 ms)
21:20:43
✓ retrieves a previously stored transaction (3020 ms)
21:20:43
✓ retrieves a previously stored transaction (2643 ms)
21:20:43
✓ returns undefined if tx is not found (2748 ms)
21:20:43
✓ tries to retrieves a previously stored transaction after deleted (2719 ms)
21:20:43
✓ tries to retrieves a previously stored transaction after deleted (2788 ms)
21:20:43
✓ tries to retrieves a previously stored transaction after deleted (3329 ms)
21:20:43
✓ tries to retrieves a previously stored transaction after deleted (2686 ms)
21:20:43
✓ tries to retrieves a previously stored transaction after deleted (3213 ms)
21:20:43
✓ returns undefined if tx is not found (3256 ms)
21:20:43
✓ does not fail if the block is unwound while requesting a tx (2985 ms)
21:20:43 L1 to L2 Messages
21:20:43
✓ stores first message ever (1337 ms)
21:20:43
✓ stores single message (1523 ms)
21:20:43
✓ stores and returns messages across different blocks (1449 ms)
21:20:43
✓ stores the same messages again (1542 ms)
21:20:43
✓ stores and returns messages across different blocks with gaps (1682 ms)
21:20:43
✓ stores and returns messages with block numbers larger than a byte (1676 ms)
21:20:43
✓ stores and returns multiple messages per block (1462 ms)
21:20:43
✓ stores messages in multiple operations (1992 ms)
21:20:43
✓ iterates over messages from start index (1722 ms)
21:20:43
✓ iterates over messages in reverse (1674 ms)
21:20:43
✓ throws if messages are added out of order (1731 ms)
21:20:43
✓ throws if block number for the first message is out of order (1721 ms)
21:20:43
✓ throws if rolling hash is not correct (1612 ms)
21:20:43
✓ throws if rolling hash for first message is not correct (1714 ms)
21:20:43
✓ throws if index is not in the correct range (1744 ms)
21:20:43
✓ throws if first index in block has gaps (1759 ms)
21:20:43
✓ throws if index does not follow previous one (1714 ms)
21:20:43
✓ removes messages up to the given block number (2067 ms)
21:20:43
✓ removes messages starting with the given index (2052 ms)
21:20:43 contractInstances
21:20:43
✓ returns previously stored contract instances (1963 ms)
21:20:43
✓ returns undefined if contract instance is not found (1784 ms)
21:20:43
✓ returns undefined if previously stored contract instances was deleted (1866 ms)
21:20:43 contractInstanceUpdates
21:20:43
✓ gets the correct current class id for a contract not updated yet (1770 ms)
21:20:43
✓ gets the correct current class id for a contract that has just been updated (1853 ms)
21:20:43
✓ gets the correct current class id for a contract that was updated in the past (2041 ms)
21:20:43
✓ ignores updates for the wrong contract (1771 ms)
21:20:43
✓ bounds its search to the right contract if more than than one update exists (1600 ms)
21:20:43 contractClasses
21:20:43
✓ returns previously stored contract class (1522 ms)
21:20:43
✓ returns undefined if the initial deployed contract class was deleted (1695 ms)
21:20:43
✓ returns contract class if later "deployment" class was deleted (1726 ms)
21:20:43
✓ returns undefined if contract class is not found (1930 ms)
21:20:43
✓ adds new private functions (1992 ms)
21:20:43
✓ does not duplicate private functions (1973 ms)
21:20:43
✓ adds new utility functions (1750 ms)
21:20:43
✓ does not duplicate utility functions (1462 ms)
21:20:43 getLogsByTags
21:20:43
✓ is possible to batch request private logs via tags (2738 ms)
21:20:43
✓ is possible to batch request all logs (private and public) via tags (2950 ms)
21:20:43
✓ is possible to batch request logs that have the same tag but different content (3667 ms)
21:20:43
✓ is possible to request logs for non-existing tags and determine their position (3808 ms)
21:20:43 getPublicLogs
21:20:43
✓ no logs returned if deleted ("txHash" filter param is respected variant) (6412 ms)
21:20:43
✓ "txHash" filter param is respected (5448 ms)
21:20:43
✓ "fromBlock" and "toBlock" filter params are respected (5246 ms)
21:20:43
✓ "contractAddress" filter param is respected (5141 ms)
21:20:43
✓ "afterLog" filter param is respected (5339 ms)
21:20:43
✓ "txHash" filter param is ignored when "afterLog" is set (5188 ms)
21:20:43
✓ intersecting works (5898 ms)
21:20:43
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4952 ms)
21:20:43
21:20:43
Test Suites: 1 passed, 1 total
21:20:43
Tests: 86 passed, 86 total
21:20:43
Snapshots: 0 total
21:20:43
Time: 196.674 s
21:20:43
Ran all test suites matching /archiver\/src\/archiver\/kv_archiver_store\/kv_archiver_store.test.ts/i
.
21:20:43
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?