Parent Log:
http://ci.aztec-labs.com/a86e01d3b8d093a5
Command: 73379369dc8552ae 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/73e6175e802437ee93b26885b6aff2fc12640523
Env: REF_NAME=gh-readonly-queue/next/pr-15163-4608046e462faf9ff3fbee265ba34dbecb5d0b31 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 23 14:13:35 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15163_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
14:13:38 [14:13:38.477]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:13:40 [14:13:40.252]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:13:41 [14:13:41.900]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:13:42 [14:13:42.891]
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
14:13:42 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
14:13:42 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:13:42 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:13:42 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:13:42 newBlockNumber: 2,
14:13:42 previousBlockNumber: undefined
14:13:42 }
14:13:42 [14:13:42.897]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:13:44 [14:13:44.093]
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
14:13:44 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:96:17
14:13:44 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:13:44 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:13:44 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
14:13:44 [14:13:44.096]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:13:45 [14:13:45.563]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:13:46 [14:13:46.596]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:13:48 [14:13:48.048]
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)
14:13:48 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:141:15
14:13:48 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:13:48 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:13:48 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
14:13:48 [14:13:48.076]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:13:49 [14:13:49.343]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:13:50 [14:13:50.780]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:13:52 [14:13:52.264]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:13:53 [14:13:53.822]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:13:55 [14:13:55.483]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:13:57 [14:13:57.094]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:13:59 [14:13:59.320]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:14:01 [14:14:01.602]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:14:03 [14:14:03.659]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:14:06 [14:14:06.038]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:14:07 [14:14:07.785]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:14:09 [14:14:09.486]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:14:10 [14:14:10.940]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:14:13 [14:14:13.085]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:14:14 [14:14:14.553]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:14:15 [14:14:15.790]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:14:17 [14:14:17.304]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:14:18 [14:14:18.888]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:14:20 [14:14:20.540]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:14:23 [14:14:23.291]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:14:25 [14:14:25.942]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:14:28 [14:14:28.772]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:14:31 [14:14:31.425]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:14:33 [14:14:33.863]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:14:36 [14:14:36.304]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:14:38 [14:14:38.894]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:14:41 [14:14:41.775]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:14:44 [14:14:44.526]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:14:47 [14:14:47.229]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:14:49 [14:14:49.993]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:14:52 [14:14:52.495]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:14:55 [14:14:55.286]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:14:56 [14:14:56.803]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:14:58 [14:14:58.287]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:14:59 [14:14:59.775]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:01 [14:15:01.317]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:02 [14:15:02.876]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:04 [14:15:04.550]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:06 [14:15:06.210]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:08 [14:15:08.051]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:09 [14:15:09.706]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:11 [14:15:11.281]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:12 [14:15:12.926]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x0295366f3098f72e512b128d0bf78cdafcf962e4ddc71f08735dc23c954321a7 for L2 block 1 has wrong index 10 (expected 0)
14:15:12 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
14:15:12 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:15:12 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:15:12 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:15:12 inboxMessage: {
14:15:12 index: 10n,
14:15:12 leaf: Fr<0x0295366f3098f72e512b128d0bf78cdafcf962e4ddc71f08735dc23c954321a7>,
14:15:12 l2BlockNumber: 1,
14:15:12 l1BlockNumber: 81n,
14:15:12 l1BlockHash: Buffer32<0xb78b355900ec191d69a8b19ca3a184d0a9ab45c746c9d57582000c65e570352d>,
14:15:12 rollingHash: Buffer16<0xbd9e2f3996a2cde9497dd264ac861cde>
14:15:12 }
14:15:12 }
14:15:12 [14:15:12.930]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:14 [14:15:14.797]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x08de5927d30b90f8d2519e7c8efa7adff5f42bafe0707fa81c1b2ccde4a554af at block 12 (expected value in range [176, 192))
14:15:14 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
14:15:14 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:15:14 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:15:14 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:15:14 inboxMessage: {
14:15:14 index: 224n,
14:15:14 leaf: Fr<0x08de5927d30b90f8d2519e7c8efa7adff5f42bafe0707fa81c1b2ccde4a554af>,
14:15:14 l2BlockNumber: 12,
14:15:14 l1BlockNumber: 57n,
14:15:14 l1BlockHash: Buffer32<0x488fdaf78a4a3c6dba4459d23f829ae4acbfae31be603a9de3e00ec72e7b0478>,
14:15:14 rollingHash: Buffer16<0x522863387ccb4037c5b1cb028f15e662>
14:15:14 }
14:15:14 }
14:15:14 [14:15:14.801]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:16 [14:15:16.569]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x283ec5d293ebcebfd83212e8cf6a14bddb8874b1d22f6e00f0d51a3fc305a4ce with index 16 (expected 0xdcd9fa3c8df0fd08f4cc88351796d05e from previous hash 0x0d7e37c81a41defd97f637712e94d4e1 but got 0xabf9e5879fd34c9d4f86454020715ffa)
14:15:16 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
14:15:16 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:15:16 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:15:16 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:15:16 inboxMessage: {
14:15:16 index: 16n,
14:15:16 leaf: Fr<0x283ec5d293ebcebfd83212e8cf6a14bddb8874b1d22f6e00f0d51a3fc305a4ce>,
14:15:16 l2BlockNumber: 2,
14:15:16 l1BlockNumber: 61n,
14:15:16 l1BlockHash: Buffer32<0x6ebf2ac66c4738da44d08c12c93bfa2c31a80112faa9c4d3a897739ef3adaec5>,
14:15:16 rollingHash: Buffer16<0xabf9e5879fd34c9d4f86454020715ffa>
14:15:16 }
14:15:16 }
14:15:16 [14:15:16.575]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:18 [14:15:18.208]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x0c06b2b28c0e9188e75911da73b01bd31621072adff363a1636bf98c21d0d341 with index 32 (expected 0x852783806331fa432a0687cc81a7cdd0 from previous hash 0x5ecdb2f4fbb00ad29adb6da2490ff636 but got 0xd22f3fdf9c6b5f08a2e9c6c49d3f9059)
14:15:18 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
14:15:18 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:15:18 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:15:18 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:15:18 inboxMessage: {
14:15:18 index: 32n,
14:15:18 leaf: Fr<0x0c06b2b28c0e9188e75911da73b01bd31621072adff363a1636bf98c21d0d341>,
14:15:18 l2BlockNumber: 3,
14:15:18 l1BlockNumber: 17n,
14:15:18 l1BlockHash: Buffer32<0x2590ddaf03a5081430841ce4643681f342658afa4e65e586a2e7853f05ff9037>,
14:15:18 rollingHash: Buffer16<0xd22f3fdf9c6b5f08a2e9c6c49d3f9059>
14:15:18 }
14:15:18 }
14:15:18 [14:15:18.210]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:19 [14:15:19.963]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x14d64fd66d16bd954b234701da2c208785131d5c0031f4287f3bf24542272fb0 at block 17 (expected value in range [256, 272))
14:15:19 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
14:15:19 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:15:19 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:15:19 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:15:19 inboxMessage: {
14:15:19 index: 356n,
14:15:19 leaf: Fr<0x14d64fd66d16bd954b234701da2c208785131d5c0031f4287f3bf24542272fb0>,
14:15:19 l2BlockNumber: 17,
14:15:19 l1BlockNumber: 64n,
14:15:19 l1BlockHash: Buffer32<0x2d19ffbcf08bc9f00d823947e0330a05dae13ed93d463525be1091c0fc6775b8>,
14:15:19 rollingHash: Buffer16<0x9a4c83659a280fd504c3da540c3846a2>
14:15:19 }
14:15:19 }
14:15:19 [14:15:19.968]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:21 [14:15:21.847]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x2f616c33fc785e9b3e7d4d0c8f53b4727326ab7a33d3b27bbf3033907a09e835 for L2 block 15 has wrong index 225 (expected 224)
14:15:21 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
14:15:21 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:15:21 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:15:21 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:15:21 inboxMessage: {
14:15:21 index: 225n,
14:15:21 leaf: Fr<0x2f616c33fc785e9b3e7d4d0c8f53b4727326ab7a33d3b27bbf3033907a09e835>,
14:15:21 l2BlockNumber: 15,
14:15:21 l1BlockNumber: 7n,
14:15:21 l1BlockHash: Buffer32<0x35d95fc1f3a538820ab690a8405b4b514d5f2af0c066ac3cb9a3ce9d502552d4>,
14:15:21 rollingHash: Buffer16<0xca77ac455a13bb65c03f42823739179e>
14:15:21 }
14:15:21 }
14:15:21 [14:15:21.851]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:23 [14:15:23.553]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x2805d3775edd5dfbc2c2d3fd7b8967f5732ffcd11e5396125d5fadce431a4fe8 at block 2 (expected value in range [16, 32))
14:15:23 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
14:15:23 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:15:23 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:15:23 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:15:23 inboxMessage: {
14:15:23 index: 32n,
14:15:23 leaf: Fr<0x2805d3775edd5dfbc2c2d3fd7b8967f5732ffcd11e5396125d5fadce431a4fe8>,
14:15:23 l2BlockNumber: 2,
14:15:23 l1BlockNumber: 78n,
14:15:23 l1BlockHash: Buffer32<0x02bd98d74518a5b10af2b44610dab615e9c0a7c1d1275075d25710ec7b6a7e20>,
14:15:23 rollingHash: Buffer16<0x7770852f2f667fc80a4de20a6e54a152>
14:15:23 }
14:15:23 }
14:15:23 [14:15:23.556]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:25 [14:15:25.405]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
14:15:25 [14:15:25.441]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:27 [14:15:27.288]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
14:15:27 [14:15:27.308]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:29 [14:15:29.130]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:31 [14:15:31.011]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:32 [14:15:32.710]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:34 [14:15:34.467]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:36 [14:15:36.309]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:38 [14:15:38.052]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:40 [14:15:40.006]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:41 [14:15:41.969]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:43 [14:15:43.935]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:46 [14:15:46.033]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:47 [14:15:47.935]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:49 [14:15:49.938]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:51 [14:15:51.994]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:53 [14:15:53.931]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:55 [14:15:55.802]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:57 [14:15:57.522]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:00 [14:16:00.568]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:03 [14:16:03.697]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:06 [14:16:06.397]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:09 [14:16:09.463]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:14 [14:16:14.449]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:19 [14:16:19.814]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:25 [14:16:25.241]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:30 [14:16:30.025]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:34 [14:16:34.245]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:38 [14:16:38.501]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:43 [14:16:43.190]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:47
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
190.646 s)
14:16:47 KVArchiverDataStore
14:16:47 ArchiverStore
14:16:47 addBlocks
14:16:47
✓ returns success when adding blocks (1777 ms)
14:16:47
✓ allows duplicate blocks (1647 ms)
14:16:47
✓ throws an error if the previous block does not exist in the store (996 ms)
14:16:47
✓ throws an error if there is a gap in the blocks being added (1198 ms)
14:16:47 unwindBlocks
14:16:47
✓ unwinding blocks will remove blocks from the chain (1467 ms)
14:16:47
✓ can unwind multiple empty blocks (1033 ms)
14:16:47
✓ refuses to unwind blocks if the tip is not the last block (1453 ms)
14:16:47 getBlocks
14:16:47
✓ retrieves previously stored blocks (1290 ms)
14:16:47
✓ retrieves previously stored blocks (1438 ms)
14:16:47
✓ retrieves previously stored blocks (1483 ms)
14:16:47
✓ retrieves previously stored blocks (1558 ms)
14:16:47
✓ retrieves previously stored blocks (1661 ms)
14:16:47
✓ returns an empty array if no blocks are found (1609 ms)
14:16:47
✓ throws an error if limit is invalid (2226 ms)
14:16:47
✓ throws an error if `from` it is out of range (2281 ms)
14:16:47
✓ throws an error if unexpected initial block number is found (2057 ms)
14:16:47
✓ throws an error if a gap is found (2376 ms)
14:16:47 getSyncedL2BlockNumber
14:16:47
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1748 ms)
14:16:47
✓ returns the most recently added block's number (1701 ms)
14:16:47 getSynchPoint
14:16:47
✓ returns undefined if no blocks have been added (1454 ms)
14:16:47
✓ returns the L1 block number in which the most recent L2 block was published (2141 ms)
14:16:47
✓ returns the L1 block number that most recently added messages from inbox (1468 ms)
14:16:47
✓ returns the latest syncpoint if latest message is behind (1239 ms)
14:16:47 addLogs
14:16:47
✓ adds private & public logs (1513 ms)
14:16:47 deleteLogs
14:16:47
✓ deletes private & public logs (1584 ms)
14:16:47 getPrivateLogs
14:16:47
✓ gets added private logs (1652 ms)
14:16:47 getTxEffect
14:16:47
✓ retrieves a previously stored transaction (2747 ms)
14:16:47
✓ retrieves a previously stored transaction (2650 ms)
14:16:47
✓ retrieves a previously stored transaction (2831 ms)
14:16:47
✓ retrieves a previously stored transaction (2655 ms)
14:16:47
✓ retrieves a previously stored transaction (2437 ms)
14:16:47
✓ returns undefined if tx is not found (2439 ms)
14:16:47
✓ tries to retrieves a previously stored transaction after deleted (2590 ms)
14:16:47
✓ tries to retrieves a previously stored transaction after deleted (2880 ms)
14:16:47
✓ tries to retrieves a previously stored transaction after deleted (2751 ms)
14:16:47
✓ tries to retrieves a previously stored transaction after deleted (2702 ms)
14:16:47
✓ tries to retrieves a previously stored transaction after deleted (2764 ms)
14:16:47
✓ returns undefined if tx is not found (2501 ms)
14:16:47
✓ does not fail if the block is unwound while requesting a tx (2790 ms)
14:16:47 L1 to L2 Messages
14:16:47
✓ stores first message ever (1515 ms)
14:16:47
✓ stores single message (1485 ms)
14:16:47
✓ stores and returns messages across different blocks (1487 ms)
14:16:47
✓ stores the same messages again (1541 ms)
14:16:47
✓ stores and returns messages across different blocks with gaps (1558 ms)
14:16:47
✓ stores and returns messages with block numbers larger than a byte (1674 ms)
14:16:47
✓ stores and returns multiple messages per block (1659 ms)
14:16:47
✓ stores messages in multiple operations (1839 ms)
14:16:47
✓ iterates over messages from start index (1656 ms)
14:16:47
✓ iterates over messages in reverse (1573 ms)
14:16:47
✓ throws if messages are added out of order (1649 ms)
14:16:47
✓ throws if block number for the first message is out of order (1870 ms)
14:16:47
✓ throws if rolling hash is not correct (1772 ms)
14:16:47
✓ throws if rolling hash for first message is not correct (1638 ms)
14:16:47
✓ throws if index is not in the correct range (1756 ms)
14:16:47
✓ throws if first index in block has gaps (1883 ms)
14:16:47
✓ throws if index does not follow previous one (1705 ms)
14:16:47
✓ removes messages up to the given block number (1885 ms)
14:16:47
✓ removes messages starting with the given index (1865 ms)
14:16:47 contractInstances
14:16:47
✓ returns previously stored contract instances (1820 ms)
14:16:47
✓ returns undefined if contract instance is not found (1881 ms)
14:16:47
✓ returns undefined if previously stored contract instances was deleted (1699 ms)
14:16:47 contractInstanceUpdates
14:16:47
✓ gets the correct current class id for a contract not updated yet (1755 ms)
14:16:47
✓ gets the correct current class id for a contract that has just been updated (1842 ms)
14:16:47
✓ gets the correct current class id for a contract that was updated in the past (1742 ms)
14:16:47
✓ ignores updates for the wrong contract (1954 ms)
14:16:47
✓ bounds its search to the right contract if more than than one update exists (1961 ms)
14:16:47 contractClasses
14:16:47
✓ returns previously stored contract class (1959 ms)
14:16:47
✓ returns undefined if the initial deployed contract class was deleted (2104 ms)
14:16:47
✓ returns contract class if later "deployment" class was deleted (1901 ms)
14:16:47
✓ returns undefined if contract class is not found (2002 ms)
14:16:47
✓ adds new private functions (2054 ms)
14:16:47
✓ does not duplicate private functions (1936 ms)
14:16:47
✓ adds new utility functions (1870 ms)
14:16:47
✓ does not duplicate utility functions (1719 ms)
14:16:47 getLogsByTags
14:16:47
✓ is possible to batch request private logs via tags (3045 ms)
14:16:47
✓ is possible to batch request all logs (private and public) via tags (3127 ms)
14:16:47
✓ is possible to batch request logs that have the same tag but different content (2700 ms)
14:16:47
✓ is possible to request logs for non-existing tags and determine their position (3064 ms)
14:16:47 getPublicLogs
14:16:47
✓ no logs returned if deleted ("txHash" filter param is respected variant) (4985 ms)
14:16:47
✓ "txHash" filter param is respected (5361 ms)
14:16:47
✓ "fromBlock" and "toBlock" filter params are respected (5428 ms)
14:16:47
✓ "contractAddress" filter param is respected (4783 ms)
14:16:47
✓ "afterLog" filter param is respected (4221 ms)
14:16:47
✓ "txHash" filter param is ignored when "afterLog" is set (4255 ms)
14:16:47
✓ intersecting works (4688 ms)
14:16:47
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4213 ms)
14:16:47
14:16:47
Test Suites: 1 passed, 1 total
14:16:47
Tests: 86 passed, 86 total
14:16:47
Snapshots: 0 total
14:16:47
Time: 190.727 s
14:16:47
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
14:16:47
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?