Parent Log:
http://ci.aztec-labs.com/06ecf79c93a375ea
Command: cabaa9e2c1fe7937 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/88a99fb5fb938035dfeff0d9ed0cfd81b9eb2c5a
Env: REF_NAME=gh-readonly-queue/next/pr-15146-91b55c58278a7d091339ac513d633fa070d5276b CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Thu Jun 19 16:04:09 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15146_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:04:12 [16:04:12.670]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:14 [16:04:14.145]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:15 [16:04:15.572]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:16 [16:04:16.395]
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:04:16 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
16:04:16 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:04:16 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:04:16 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:04:16 newBlockNumber: 2,
16:04:16 previousBlockNumber: undefined
16:04:16 }
16:04:16 [16:04:16.425]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:17 [16:04:17.796]
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:04:17 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:96:17
16:04:17 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:04:17 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:04:17 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
16:04:17 [16:04:17.799]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:19 [16:04:19.396]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:20 [16:04:20.463]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:21 [16:04:21.937]
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:04:21 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:141:15
16:04:21 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:04:21 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:04:21 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
16:04:21 [16:04:21.940]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:23 [16:04:23.259]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:24 [16:04:24.559]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:26 [16:04:26.149]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:27 [16:04:27.799]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:29 [16:04:29.350]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:30 [16:04:30.952]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:33 [16:04:33.314]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:35 [16:04:35.826]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:37 [16:04:37.575]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:40 [16:04:40.933]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:42 [16:04:42.117]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:43 [16:04:43.967]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:45 [16:04:45.695]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:47 [16:04:47.328]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:48 [16:04:48.470]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:49 [16:04:49.699]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:51 [16:04:51.142]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:52 [16:04:52.689]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:54 [16:04:54.150]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:56 [16:04:56.854]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:04:59 [16:04:59.660]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:02 [16:05:02.149]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:04 [16:05:04.747]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:07 [16:05:07.349]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:09 [16:05:09.651]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:12 [16:05:12.193]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:14 [16:05:14.963]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:17 [16:05:17.685]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:20 [16:05:20.454]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:23 [16:05:23.350]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:26 [16:05:26.265]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:29 [16:05:29.443]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:30 [16:05:30.978]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:32 [16:05:32.547]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:34 [16:05:34.344]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:36 [16:05:36.084]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:37 [16:05:37.928]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:39 [16:05:39.716]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:41 [16:05:41.387]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:43 [16:05:43.372]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:45 [16:05:45.336]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:47 [16:05:47.022]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:48 [16:05:48.735]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x22e37a4b2ac9f4f20c18f3c6b357cf25d7e85ac0a0fd78ba4cb4d75deee4552a for L2 block 1 has wrong index 10 (expected 0)
16:05:48 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
16:05:48 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:05:48 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:05:48 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:05:48 inboxMessage: {
16:05:48 index: 10n,
16:05:48 leaf: Fr<0x22e37a4b2ac9f4f20c18f3c6b357cf25d7e85ac0a0fd78ba4cb4d75deee4552a>,
16:05:48 l2BlockNumber: 1,
16:05:48 l1BlockNumber: 92n,
16:05:48 l1BlockHash: Buffer32<0x70bb45c6d696d533648010808e87b7c0b31d93efc2d4ad3683eacbde6984aba5>,
16:05:48 rollingHash: Buffer16<0xd142b08e4d745cb6216daf632b71fed0>
16:05:48 }
16:05:48 }
16:05:48 [16:05:48.743]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:50 [16:05:50.594]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x0f2770010c16c4074b194c72ee6e8ff30ae7f5c24320239d886854cfd61bdd38 at block 12 (expected value in range [176, 192))
16:05:50 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
16:05:50 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:05:50 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:05:50 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:05:50 inboxMessage: {
16:05:50 index: 224n,
16:05:50 leaf: Fr<0x0f2770010c16c4074b194c72ee6e8ff30ae7f5c24320239d886854cfd61bdd38>,
16:05:50 l2BlockNumber: 12,
16:05:50 l1BlockNumber: 17n,
16:05:50 l1BlockHash: Buffer32<0x4d504b32d5dd926baa16d5601214dc70253307112f71f683b347d4c83d7db4e9>,
16:05:50 rollingHash: Buffer16<0xe3a5c2ec66cbe52198f481d5837b0258>
16:05:50 }
16:05:50 }
16:05:50 [16:05:50.599]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:52 [16:05:52.584]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x2450649dafb518da4730f0aa1dc92d870bcd13ae204c33ef76ba9c3c88824204 with index 16 (expected 0x7a5558886ab9313edab408976ce64569 from previous hash 0xa3fd70577d8304277300d7b79208f117 but got 0xda7f34624f21e8efb13200461eaebcea)
16:05:52 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
16:05:52 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:05:52 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:05:52 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:05:52 inboxMessage: {
16:05:52 index: 16n,
16:05:52 leaf: Fr<0x2450649dafb518da4730f0aa1dc92d870bcd13ae204c33ef76ba9c3c88824204>,
16:05:52 l2BlockNumber: 2,
16:05:52 l1BlockNumber: 24n,
16:05:52 l1BlockHash: Buffer32<0x5bb51dc1848ecfef2f3df4e39da833cc2cd655528e6fd6b0a87a19830135f932>,
16:05:52 rollingHash: Buffer16<0xda7f34624f21e8efb13200461eaebcea>
16:05:52 }
16:05:52 }
16:05:52 [16:05:52.588]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:54 [16:05:54.526]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x20c1a8169b802cf9966c686e44b03a210bfff2177ce5857cd35b8d7eec4d240e with index 32 (expected 0x6fb1f9922aba23f679f1ea1df50b7489 from previous hash 0xd13fc14f343a7b5125352639efef31d0 but got 0x31a9e3f8d35c542343624892841c07ba)
16:05:54 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
16:05:54 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:05:54 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:05:54 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:05:54 inboxMessage: {
16:05:54 index: 32n,
16:05:54 leaf: Fr<0x20c1a8169b802cf9966c686e44b03a210bfff2177ce5857cd35b8d7eec4d240e>,
16:05:54 l2BlockNumber: 3,
16:05:54 l1BlockNumber: 89n,
16:05:54 l1BlockHash: Buffer32<0xc8de024fc54fb56898de849182632b8f58541c4e9d0183d792591641aecb6c4a>,
16:05:54 rollingHash: Buffer16<0x31a9e3f8d35c542343624892841c07ba>
16:05:54 }
16:05:54 }
16:05:54 [16:05:54.537]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:56 [16:05:56.453]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x17d9f493e4b35a7c7d6dc8dbd3bbc302f1c86b6d2a014964af29f94a97bc1a1b at block 17 (expected value in range [256, 272))
16:05:56 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
16:05:56 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:05:56 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:05:56 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:05:56 inboxMessage: {
16:05:56 index: 356n,
16:05:56 leaf: Fr<0x17d9f493e4b35a7c7d6dc8dbd3bbc302f1c86b6d2a014964af29f94a97bc1a1b>,
16:05:56 l2BlockNumber: 17,
16:05:56 l1BlockNumber: 55n,
16:05:56 l1BlockHash: Buffer32<0xfa25c524b7d9bdb9f5d238e9227a0135b62d79a554ab43a8aea015b7de0ee25a>,
16:05:56 rollingHash: Buffer16<0x087bee7d67c063c0e905f34848abac0b>
16:05:56 }
16:05:56 }
16:05:56 [16:05:56.458]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:05:58 [16:05:58.346]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x06eeb276d9157d755353f2af424e1068c7daa72dcf7784a463c342796f09bdf1 for L2 block 15 has wrong index 225 (expected 224)
16:05:58 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
16:05:58 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:05:58 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:05:58 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:05:58 inboxMessage: {
16:05:58 index: 225n,
16:05:58 leaf: Fr<0x06eeb276d9157d755353f2af424e1068c7daa72dcf7784a463c342796f09bdf1>,
16:05:58 l2BlockNumber: 15,
16:05:58 l1BlockNumber: 16n,
16:05:58 l1BlockHash: Buffer32<0x6b0fa33aaaa4a529b7843768c1e3b879d0ca0808c802d4694a96072918021174>,
16:05:58 rollingHash: Buffer16<0x1e9eb6bea6e7ba66a2fa6b571dd93ba5>
16:05:58 }
16:05:58 }
16:05:58 [16:05:58.353]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:06:00 [16:06:00.260]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x25f0536a75f8ad1647311f4aff2985b54ca5c6208d6d44c8409246d4a8a6fe29 at block 2 (expected value in range [16, 32))
16:06:00 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
16:06:00 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:06:00 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:06:00 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:06:00 inboxMessage: {
16:06:00 index: 32n,
16:06:00 leaf: Fr<0x25f0536a75f8ad1647311f4aff2985b54ca5c6208d6d44c8409246d4a8a6fe29>,
16:06:00 l2BlockNumber: 2,
16:06:00 l1BlockNumber: 12n,
16:06:00 l1BlockHash: Buffer32<0x332b6b389104eb3388c10b1fb07274279a85d9cf1e7de98fac581cba94d4df74>,
16:06:00 rollingHash: Buffer16<0xedd7e6cb1639bc5d0d052581e1171e82>
16:06:00 }
16:06:00 }
16:06:00 [16:06:00.266]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:06:01 [16:06:01.894]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
16:06:01 [16:06:01.930]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:06:03 [16:06:03.807]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
16:06:03 [16:06:03.844]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:06:05 [16:06:05.900]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:06:07 [16:06:07.866]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:06:09 [16:06:09.758]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:06:11 [16:06:11.630]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:06:13 [16:06:13.453]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:06:15 [16:06:15.263]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:06:17 [16:06:17.089]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:06:18 [16:06:18.995]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:06:20 [16:06:20.893]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:06:22 [16:06:22.724]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:06:24 [16:06:24.721]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:06:26 [16:06:26.777]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:06:28 [16:06:28.705]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:06:30 [16:06:30.883]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:06:32 [16:06:32.989]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:06:35 [16:06:35.032]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:06:38 [16:06:38.331]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:06:42 [16:06:42.022]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:06:45 [16:06:45.668]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:06:49 [16:06:49.264]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:06:55 [16:06:55.586]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:07:00 [16:07:00.433]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:07:05 [16:07:05.699]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:07:10 [16:07:10.853]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:07:16 [16:07:16.500]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:07:21 [16:07:21.213]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:07:25 [16:07:25.405]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:07:29
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
199.008 s)
16:07:29 KVArchiverDataStore
16:07:29 ArchiverStore
16:07:29 addBlocks
16:07:29
✓ returns success when adding blocks (1487 ms)
16:07:29
✓ allows duplicate blocks (1426 ms)
16:07:29
✓ throws an error if the previous block does not exist in the store (827 ms)
16:07:29
✓ throws an error if there is a gap in the blocks being added (1400 ms)
16:07:29 unwindBlocks
16:07:29
✓ unwinding blocks will remove blocks from the chain (1597 ms)
16:07:29
✓ can unwind multiple empty blocks (1066 ms)
16:07:29
✓ refuses to unwind blocks if the tip is not the last block (1476 ms)
16:07:29 getBlocks
16:07:29
✓ retrieves previously stored blocks (1317 ms)
16:07:29
✓ retrieves previously stored blocks (1302 ms)
16:07:29
✓ retrieves previously stored blocks (1589 ms)
16:07:29
✓ retrieves previously stored blocks (1646 ms)
16:07:29
✓ retrieves previously stored blocks (1551 ms)
16:07:29
✓ returns an empty array if no blocks are found (1602 ms)
16:07:29
✓ throws an error if limit is invalid (2358 ms)
16:07:29
✓ throws an error if `from` it is out of range (2514 ms)
16:07:29
✓ throws an error if unexpected initial block number is found (1749 ms)
16:07:29
✓ throws an error if a gap is found (3354 ms)
16:07:29 getSyncedL2BlockNumber
16:07:29
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1186 ms)
16:07:29
✓ returns the most recently added block's number (1848 ms)
16:07:29 getSynchPoint
16:07:29
✓ returns undefined if no blocks have been added (1728 ms)
16:07:29
✓ returns the L1 block number in which the most recent L2 block was published (1632 ms)
16:07:29
✓ returns the L1 block number that most recently added messages from inbox (1143 ms)
16:07:29
✓ returns the latest syncpoint if latest message is behind (1228 ms)
16:07:29 addLogs
16:07:29
✓ adds private & public logs (1440 ms)
16:07:29 deleteLogs
16:07:29
✓ deletes private & public logs (1549 ms)
16:07:29 getPrivateLogs
16:07:29
✓ gets added private logs (1462 ms)
16:07:29 getTxEffect
16:07:29
✓ retrieves a previously stored transaction (2701 ms)
16:07:29
✓ retrieves a previously stored transaction (2808 ms)
16:07:29
✓ retrieves a previously stored transaction (2486 ms)
16:07:29
✓ retrieves a previously stored transaction (2596 ms)
16:07:29
✓ retrieves a previously stored transaction (2604 ms)
16:07:29
✓ returns undefined if tx is not found (2301 ms)
16:07:29
✓ tries to retrieves a previously stored transaction after deleted (2541 ms)
16:07:29
✓ tries to retrieves a previously stored transaction after deleted (2769 ms)
16:07:29
✓ tries to retrieves a previously stored transaction after deleted (2722 ms)
16:07:29
✓ tries to retrieves a previously stored transaction after deleted (2768 ms)
16:07:29
✓ tries to retrieves a previously stored transaction after deleted (2895 ms)
16:07:29
✓ returns undefined if tx is not found (2913 ms)
16:07:29
✓ does not fail if the block is unwound while requesting a tx (3178 ms)
16:07:29 L1 to L2 Messages
16:07:29
✓ stores first message ever (1534 ms)
16:07:29
✓ stores single message (1568 ms)
16:07:29
✓ stores and returns messages across different blocks (1793 ms)
16:07:29
✓ stores the same messages again (1739 ms)
16:07:29
✓ stores and returns messages across different blocks with gaps (1844 ms)
16:07:29
✓ stores and returns messages with block numbers larger than a byte (1789 ms)
16:07:29
✓ stores and returns multiple messages per block (1666 ms)
16:07:29
✓ stores messages in multiple operations (1986 ms)
16:07:29
✓ iterates over messages from start index (1961 ms)
16:07:29
✓ iterates over messages in reverse (1684 ms)
16:07:29
✓ throws if messages are added out of order (1718 ms)
16:07:29
✓ throws if block number for the first message is out of order (1855 ms)
16:07:29
✓ throws if rolling hash is not correct (1989 ms)
16:07:29
✓ throws if rolling hash for first message is not correct (1945 ms)
16:07:29
✓ throws if index is not in the correct range (1922 ms)
16:07:29
✓ throws if first index in block has gaps (1893 ms)
16:07:29
✓ throws if index does not follow previous one (1911 ms)
16:07:29
✓ removes messages up to the given block number (1665 ms)
16:07:29
✓ removes messages starting with the given index (1912 ms)
16:07:29 contractInstances
16:07:29
✓ returns previously stored contract instances (2054 ms)
16:07:29
✓ returns undefined if contract instance is not found (1967 ms)
16:07:29
✓ returns undefined if previously stored contract instances was deleted (1889 ms)
16:07:29 contractInstanceUpdates
16:07:29
✓ gets the correct current class id for a contract not updated yet (1870 ms)
16:07:29
✓ gets the correct current class id for a contract that has just been updated (1823 ms)
16:07:29
✓ gets the correct current class id for a contract that was updated in the past (1809 ms)
16:07:29
✓ ignores updates for the wrong contract (1825 ms)
16:07:29
✓ bounds its search to the right contract if more than than one update exists (1902 ms)
16:07:29 contractClasses
16:07:29
✓ returns previously stored contract class (1900 ms)
16:07:29
✓ returns undefined if the initial deployed contract class was deleted (1829 ms)
16:07:29
✓ returns contract class if later "deployment" class was deleted (1996 ms)
16:07:29
✓ returns undefined if contract class is not found (2055 ms)
16:07:29
✓ adds new private functions (1927 ms)
16:07:29
✓ does not duplicate private functions (2177 ms)
16:07:29
✓ adds new utility functions (2105 ms)
16:07:29
✓ does not duplicate utility functions (2042 ms)
16:07:29 getLogsByTags
16:07:29
✓ is possible to batch request private logs via tags (3296 ms)
16:07:29
✓ is possible to batch request all logs (private and public) via tags (3691 ms)
16:07:29
✓ is possible to batch request logs that have the same tag but different content (3647 ms)
16:07:29
✓ is possible to request logs for non-existing tags and determine their position (3595 ms)
16:07:29 getPublicLogs
16:07:29
✓ no logs returned if deleted ("txHash" filter param is respected variant) (6319 ms)
16:07:29
✓ "txHash" filter param is respected (4845 ms)
16:07:29
✓ "fromBlock" and "toBlock" filter params are respected (5266 ms)
16:07:29
✓ "contractAddress" filter param is respected (5155 ms)
16:07:29
✓ "afterLog" filter param is respected (5643 ms)
16:07:29
✓ "txHash" filter param is ignored when "afterLog" is set (4714 ms)
16:07:29
✓ intersecting works (4192 ms)
16:07:29
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4505 ms)
16:07:29
16:07:29
Test Suites: 1 passed, 1 total
16:07:29
Tests: 86 passed, 86 total
16:07:29
Snapshots: 0 total
16:07:29
Time: 199.092 s
16:07:29
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
16:07:29
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?