Parent Log:
http://ci.aztec-labs.com/058a10c61a6638d4
Command: a8cc061dbe484831 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/58696523cc93fda453138a4f2c2dff72b21f0bfa
Env: REF_NAME=gh-readonly-queue/next/pr-15180-a923b0dd4c74291fcefa86c41b3b5dffca7e4178 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 20 13:09:42 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15180_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
13:09:44 [13:09:44.938]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:46 [13:09:46.814]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:48 [13:09:48.403]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:49 [13:09:49.449]
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
13:09:49 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
13:09:49 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:09:49 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:09:49 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:09:49 newBlockNumber: 2,
13:09:49 previousBlockNumber: undefined
13:09:49 }
13:09:49 [13:09:49.454]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:50 [13:09:50.449]
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
13:09:50 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:96:17
13:09:50 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:09:50 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:09:50 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
13:09:50 [13:09:50.451]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:51 [13:09:51.825]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:52 [13:09:52.686]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:54 [13:09:54.049]
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)
13:09:54 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:141:15
13:09:54 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:09:54 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:09:54 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
13:09:54 [13:09:54.051]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:55 [13:09:55.569]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:56 [13:09:56.878]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:58 [13:09:58.477]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:59 [13:09:59.884]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:01 [13:10:01.349]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:03 [13:10:03.043]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:04 [13:10:04.938]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:06 [13:10:06.635]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:08 [13:10:08.942]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:11 [13:10:11.496]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:13 [13:10:13.265]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:15 [13:10:15.166]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:16 [13:10:16.658]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:18 [13:10:18.489]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:19 [13:10:19.720]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:20 [13:10:20.960]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:22 [13:10:22.311]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:23 [13:10:23.824]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:25 [13:10:25.225]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:27 [13:10:27.662]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:30 [13:10:30.349]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:33 [13:10:33.046]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:35 [13:10:35.686]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:38 [13:10:38.073]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:40 [13:10:40.530]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:43 [13:10:43.354]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:45 [13:10:45.938]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:48 [13:10:48.592]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:51 [13:10:51.358]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:54 [13:10:54.087]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:56 [13:10:56.422]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:59 [13:10:59.397]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:00 [13:11:00.857]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:02 [13:11:02.308]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:03 [13:11:03.705]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:05 [13:11:05.296]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:06 [13:11:06.896]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:08 [13:11:08.472]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:10 [13:11:10.043]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:11 [13:11:11.854]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:13 [13:11:13.590]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:15 [13:11:15.436]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:17 [13:11:17.375]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x2b40f606f130215524ce5589364a3957258c7846869fceab1f414ccecb4a11b2 for L2 block 1 has wrong index 10 (expected 0)
13:11:17 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
13:11:17 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:11:17 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:11:17 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:11:17 inboxMessage: {
13:11:17 index: 10n,
13:11:17 leaf: Fr<0x2b40f606f130215524ce5589364a3957258c7846869fceab1f414ccecb4a11b2>,
13:11:17 l2BlockNumber: 1,
13:11:17 l1BlockNumber: 16n,
13:11:17 l1BlockHash: Buffer32<0x1cd6205c5d9d983a04b403dc3faf54a00559460346bcc146a2b32b7c7069e52d>,
13:11:17 rollingHash: Buffer16<0x14ba01bb143269c158d6441428b46c37>
13:11:17 }
13:11:17 }
13:11:17 [13:11:17.378]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:19 [13:11:19.201]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x07c2e7f0e22612d8a45d53a27864976034c12399f118e8a0a94811f3f3350f2d at block 12 (expected value in range [176, 192))
13:11:19 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
13:11:19 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:11:19 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:11:19 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:11:19 inboxMessage: {
13:11:19 index: 224n,
13:11:19 leaf: Fr<0x07c2e7f0e22612d8a45d53a27864976034c12399f118e8a0a94811f3f3350f2d>,
13:11:19 l2BlockNumber: 12,
13:11:19 l1BlockNumber: 39n,
13:11:19 l1BlockHash: Buffer32<0xbbc9e5adbe20fbffa93cb37b7250b7d313d340ef5213595b9811d4a83c21fd13>,
13:11:19 rollingHash: Buffer16<0x7273ece8b4b8148236956b8f42237607>
13:11:19 }
13:11:19 }
13:11:19 [13:11:19.205]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:21 [13:11:21.059]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x0a1c0605fc786b63d1b0bcc7a09e6b16719a38ec56228c84a25e401db37cd4f9 with index 16 (expected 0x2c74ffefe2039bd41651fc9cc6eb91a0 from previous hash 0xda2b7e26df276af6d33581e2d52aab88 but got 0xbf0350415fb6a74a2128cfd0f4c43aef)
13:11:21 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
13:11:21 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:11:21 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:11:21 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:11:21 inboxMessage: {
13:11:21 index: 16n,
13:11:21 leaf: Fr<0x0a1c0605fc786b63d1b0bcc7a09e6b16719a38ec56228c84a25e401db37cd4f9>,
13:11:21 l2BlockNumber: 2,
13:11:21 l1BlockNumber: 77n,
13:11:21 l1BlockHash: Buffer32<0x2180f6f50ed8de509bffc95e58159283e825a2ba975e02588d184a3c2a7145bb>,
13:11:21 rollingHash: Buffer16<0xbf0350415fb6a74a2128cfd0f4c43aef>
13:11:21 }
13:11:21 }
13:11:21 [13:11:21.062]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:22 [13:11:22.973]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x2e5678d038d1e8f302bb01ec847c14019c385762cd52757181e1ea8989e0b4dc with index 32 (expected 0x9adba775a82be41582baace6b6deb8a2 from previous hash 0xce5d3e7a943d9429324cf96bd5d52718 but got 0x3c66c02fbcc0a7c684ef2183f05cef31)
13:11:22 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
13:11:22 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:11:22 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:11:22 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:11:22 inboxMessage: {
13:11:22 index: 32n,
13:11:22 leaf: Fr<0x2e5678d038d1e8f302bb01ec847c14019c385762cd52757181e1ea8989e0b4dc>,
13:11:22 l2BlockNumber: 3,
13:11:22 l1BlockNumber: 25n,
13:11:22 l1BlockHash: Buffer32<0xa846d664cae39df92c9bc8f78ab89de3528ff13b47a7b26be79fabea770c372d>,
13:11:22 rollingHash: Buffer16<0x3c66c02fbcc0a7c684ef2183f05cef31>
13:11:22 }
13:11:22 }
13:11:22 [13:11:22.977]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:24 [13:11:24.933]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x0cfa838999c2addc61430b1021b77c44f8ee9136e9b23034836d3686cb473486 at block 17 (expected value in range [256, 272))
13:11:24 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
13:11:24 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:11:24 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:11:24 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:11:24 inboxMessage: {
13:11:24 index: 356n,
13:11:24 leaf: Fr<0x0cfa838999c2addc61430b1021b77c44f8ee9136e9b23034836d3686cb473486>,
13:11:24 l2BlockNumber: 17,
13:11:24 l1BlockNumber: 85n,
13:11:24 l1BlockHash: Buffer32<0x2dc5df3c06c0743bba1cf3100a1db695a4c2cf64d059f7218ee3ae5622f027e3>,
13:11:24 rollingHash: Buffer16<0x955271a97f20e9717f988ef79ee8ff68>
13:11:24 }
13:11:24 }
13:11:24 [13:11:24.937]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:26 [13:11:26.771]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x0b206643034827511ae682f9dfa5fc86d9e88128ee49139dfcc23e244734beee for L2 block 15 has wrong index 225 (expected 224)
13:11:26 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
13:11:26 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:11:26 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:11:26 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:11:26 inboxMessage: {
13:11:26 index: 225n,
13:11:26 leaf: Fr<0x0b206643034827511ae682f9dfa5fc86d9e88128ee49139dfcc23e244734beee>,
13:11:26 l2BlockNumber: 15,
13:11:26 l1BlockNumber: 97n,
13:11:26 l1BlockHash: Buffer32<0xce2c2a6a2168a7dcb1b1539fc4cf23f651a9b46cdb089f4ff0deca85a6aff0d8>,
13:11:26 rollingHash: Buffer16<0x50703ef4fec8e3f8d872acd8ade6f317>
13:11:26 }
13:11:26 }
13:11:26 [13:11:26.776]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:28 [13:11:28.621]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x246394ce9b9fbed4e91462a96ba45e9ebfc9657c6302e3ea5ad0b6f321164458 at block 2 (expected value in range [16, 32))
13:11:28 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
13:11:28 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:11:28 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:11:28 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:11:28 inboxMessage: {
13:11:28 index: 32n,
13:11:28 leaf: Fr<0x246394ce9b9fbed4e91462a96ba45e9ebfc9657c6302e3ea5ad0b6f321164458>,
13:11:28 l2BlockNumber: 2,
13:11:28 l1BlockNumber: 45n,
13:11:28 l1BlockHash: Buffer32<0x61dec30c80bd7d30299e919acb09293c61b9b0b938d9d230a1c9576f92f97549>,
13:11:28 rollingHash: Buffer16<0x101b2f6f162ab7e363e4089e264cbfeb>
13:11:28 }
13:11:28 }
13:11:28 [13:11:28.625]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:30 [13:11:30.650]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
13:11:30 [13:11:30.694]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:32 [13:11:32.666]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
13:11:32 [13:11:32.682]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:34 [13:11:34.499]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:36 [13:11:36.266]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:37 [13:11:37.892]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:39 [13:11:39.454]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:41 [13:11:41.812]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:43 [13:11:43.967]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:45 [13:11:45.870]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:47 [13:11:47.573]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:49 [13:11:49.395]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:51 [13:11:51.327]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:53 [13:11:53.277]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:55 [13:11:55.296]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:57 [13:11:57.321]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:59 [13:11:59.362]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:12:01 [13:12:01.457]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:12:03 [13:12:03.377]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:12:06 [13:12:06.441]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:12:10 [13:12:10.036]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:12:13 [13:12:13.774]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:12:16 [13:12:16.977]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:12:22 [13:12:22.941]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:12:28 [13:12:28.692]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:12:34 [13:12:34.366]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:12:39 [13:12:39.297]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:12:44 [13:12:44.615]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:12:49 [13:12:49.439]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:12:53 [13:12:53.889]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:12:58
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
194.792 s)
13:12:58 KVArchiverDataStore
13:12:58 ArchiverStore
13:12:58 addBlocks
13:12:58
✓ returns success when adding blocks (1878 ms)
13:12:58
✓ allows duplicate blocks (1588 ms)
13:12:58
✓ throws an error if the previous block does not exist in the store (1051 ms)
13:12:58
✓ throws an error if there is a gap in the blocks being added (997 ms)
13:12:58 unwindBlocks
13:12:58
✓ unwinding blocks will remove blocks from the chain (1373 ms)
13:12:58
✓ can unwind multiple empty blocks (860 ms)
13:12:58
✓ refuses to unwind blocks if the tip is not the last block (1364 ms)
13:12:58 getBlocks
13:12:58
✓ retrieves previously stored blocks (1517 ms)
13:12:58
✓ retrieves previously stored blocks (1305 ms)
13:12:58
✓ retrieves previously stored blocks (1600 ms)
13:12:58
✓ retrieves previously stored blocks (1407 ms)
13:12:58
✓ retrieves previously stored blocks (1463 ms)
13:12:58
✓ returns an empty array if no blocks are found (1695 ms)
13:12:58
✓ throws an error if limit is invalid (1895 ms)
13:12:58
✓ throws an error if `from` it is out of range (1696 ms)
13:12:58
✓ throws an error if unexpected initial block number is found (2308 ms)
13:12:58
✓ throws an error if a gap is found (2551 ms)
13:12:58 getSyncedL2BlockNumber
13:12:58
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1766 ms)
13:12:58
✓ returns the most recently added block's number (1905 ms)
13:12:58 getSynchPoint
13:12:58
✓ returns undefined if no blocks have been added (1489 ms)
13:12:58
✓ returns the L1 block number in which the most recent L2 block was published (1832 ms)
13:12:58
✓ returns the L1 block number that most recently added messages from inbox (1231 ms)
13:12:58
✓ returns the latest syncpoint if latest message is behind (1239 ms)
13:12:58 addLogs
13:12:58
✓ adds private & public logs (1350 ms)
13:12:58 deleteLogs
13:12:58
✓ deletes private & public logs (1513 ms)
13:12:58 getPrivateLogs
13:12:58
✓ gets added private logs (1400 ms)
13:12:58 getTxEffect
13:12:58
✓ retrieves a previously stored transaction (2436 ms)
13:12:58
✓ retrieves a previously stored transaction (2686 ms)
13:12:58
✓ retrieves a previously stored transaction (2697 ms)
13:12:58
✓ retrieves a previously stored transaction (2638 ms)
13:12:58
✓ retrieves a previously stored transaction (2386 ms)
13:12:58
✓ returns undefined if tx is not found (2459 ms)
13:12:58
✓ tries to retrieves a previously stored transaction after deleted (2824 ms)
13:12:58
✓ tries to retrieves a previously stored transaction after deleted (2583 ms)
13:12:58
✓ tries to retrieves a previously stored transaction after deleted (2655 ms)
13:12:58
✓ tries to retrieves a previously stored transaction after deleted (2766 ms)
13:12:58
✓ tries to retrieves a previously stored transaction after deleted (2727 ms)
13:12:58
✓ returns undefined if tx is not found (2334 ms)
13:12:58
✓ does not fail if the block is unwound while requesting a tx (2973 ms)
13:12:58 L1 to L2 Messages
13:12:58
✓ stores first message ever (1461 ms)
13:12:58
✓ stores single message (1446 ms)
13:12:58
✓ stores and returns messages across different blocks (1401 ms)
13:12:58
✓ stores the same messages again (1591 ms)
13:12:58
✓ stores and returns messages across different blocks with gaps (1600 ms)
13:12:58
✓ stores and returns messages with block numbers larger than a byte (1575 ms)
13:12:58
✓ stores and returns multiple messages per block (1570 ms)
13:12:58
✓ stores messages in multiple operations (1813 ms)
13:12:58
✓ iterates over messages from start index (1728 ms)
13:12:58
✓ iterates over messages in reverse (1851 ms)
13:12:58
✓ throws if messages are added out of order (1942 ms)
13:12:58
✓ throws if block number for the first message is out of order (1825 ms)
13:12:58
✓ throws if rolling hash is not correct (1857 ms)
13:12:58
✓ throws if rolling hash for first message is not correct (1914 ms)
13:12:58
✓ throws if index is not in the correct range (1959 ms)
13:12:58
✓ throws if first index in block has gaps (1838 ms)
13:12:58
✓ throws if index does not follow previous one (1848 ms)
13:12:58
✓ removes messages up to the given block number (2068 ms)
13:12:58
✓ removes messages starting with the given index (1988 ms)
13:12:58 contractInstances
13:12:58
✓ returns previously stored contract instances (1816 ms)
13:12:58
✓ returns undefined if contract instance is not found (1764 ms)
13:12:58
✓ returns undefined if previously stored contract instances was deleted (1625 ms)
13:12:58 contractInstanceUpdates
13:12:58
✓ gets the correct current class id for a contract not updated yet (1562 ms)
13:12:58
✓ gets the correct current class id for a contract that has just been updated (2357 ms)
13:12:58
✓ gets the correct current class id for a contract that was updated in the past (2153 ms)
13:12:58
✓ ignores updates for the wrong contract (1903 ms)
13:12:58
✓ bounds its search to the right contract if more than than one update exists (1701 ms)
13:12:58 contractClasses
13:12:58
✓ returns previously stored contract class (1823 ms)
13:12:58
✓ returns undefined if the initial deployed contract class was deleted (1930 ms)
13:12:58
✓ returns contract class if later "deployment" class was deleted (1951 ms)
13:12:58
✓ returns undefined if contract class is not found (2017 ms)
13:12:58
✓ adds new private functions (2025 ms)
13:12:58
✓ does not duplicate private functions (2039 ms)
13:12:58
✓ adds new utility functions (2094 ms)
13:12:58
✓ does not duplicate utility functions (1920 ms)
13:12:58 getLogsByTags
13:12:58
✓ is possible to batch request private logs via tags (3064 ms)
13:12:58
✓ is possible to batch request all logs (private and public) via tags (3594 ms)
13:12:58
✓ is possible to batch request logs that have the same tag but different content (3737 ms)
13:12:58
✓ is possible to request logs for non-existing tags and determine their position (3201 ms)
13:12:58 getPublicLogs
13:12:58
✓ no logs returned if deleted ("txHash" filter param is respected variant) (5964 ms)
13:12:58
✓ "txHash" filter param is respected (5744 ms)
13:12:58
✓ "fromBlock" and "toBlock" filter params are respected (5678 ms)
13:12:58
✓ "contractAddress" filter param is respected (4930 ms)
13:12:58
✓ "afterLog" filter param is respected (5318 ms)
13:12:58
✓ "txHash" filter param is ignored when "afterLog" is set (4822 ms)
13:12:58
✓ intersecting works (4451 ms)
13:12:58
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4372 ms)
13:12:58
13:12:58
Test Suites: 1 passed, 1 total
13:12:58
Tests: 86 passed, 86 total
13:12:58
Snapshots: 0 total
13:12:58
Time: 194.87 s
13:12:58
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
13:12:58
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?