Parent Log:
http://ci.aztec-labs.com/7169203297a741f7
Command: 816a8a0e28c14627 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/7d223783d91db15002a09abc1b52d1455eb3e3da
Env: REF_NAME=gh-readonly-queue/next/pr-14161-97080f178c0a3e244c64b3c17bf255bed63fc3cf CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 10:40:17 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14161_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
10:40:19 [10:40:19.570]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:40:20 [10:40:20.856]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:40:22 [10:40:22.085]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:40:23 [10:40:23.025]
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
10:40:23 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
10:40:23 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:40:23 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:40:23 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:40:23 newBlockNumber: 2,
10:40:23 previousBlockNumber: undefined
10:40:23 }
10:40:23 [10:40:23.029]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:40:23 [10:40:23.981]
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
10:40:23 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17
10:40:23 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:40:23 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:40:23 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
10:40:23 [10:40:23.984]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:40:25 [10:40:25.141]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:40:25 [10:40:25.932]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:40:27 [10:40:27.034]
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)
10:40:27 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15
10:40:27 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:40:27 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:40:27 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
10:40:27 [10:40:27.036]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:40:28 [10:40:28.327]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:40:29 [10:40:29.672]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:40:31 [10:40:31.382]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:40:32 [10:40:32.963]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:40:34 [10:40:34.484]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:40:35 [10:40:35.560]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:40:36 [10:40:36.832]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:40:38 [10:40:38.089]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:40:39 [10:40:39.577]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:40:41 [10:40:41.519]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:40:43 [10:40:43.625]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:40:45 [10:40:45.942]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:40:47 [10:40:47.426]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:40:49 [10:40:49.192]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:40:51 [10:40:51.217]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:40:52 [10:40:52.548]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:40:53 [10:40:53.988]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:40:55 [10:40:55.748]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:40:57 [10:40:57.489]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:40:59 [10:40:59.618]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:41:01 [10:41:01.890]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:41:04 [10:41:04.166]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:41:06 [10:41:06.484]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:41:08 [10:41:08.867]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:41:11 [10:41:11.230]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:41:13 [10:41:13.486]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:41:15 [10:41:15.898]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:41:18 [10:41:18.339]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:41:21 [10:41:21.045]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:41:23 [10:41:23.708]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:41:25 [10:41:25.985]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:41:29 [10:41:29.286]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:41:30 [10:41:30.556]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:41:32 [10:41:32.074]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:41:33 [10:41:33.749]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:41:35 [10:41:35.225]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:41:36 [10:41:36.960]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:41:38 [10:41:38.525]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:41:40 [10:41:40.020]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:41:41 [10:41:41.893]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:41:43 [10:41:43.566]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:41:45 [10:41:45.431]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:41:47 [10:41:47.189]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x236663f4d3f5e4c2841bf2b12fde32e95881516a2225e1ed0a13148dd37d0963 for L2 block 1 has wrong index 10 (expected 0)
10:41:47 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
10:41:47 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:41:47 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:41:47 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:41:47 inboxMessage: {
10:41:47 index: 10n,
10:41:47 leaf: Fr<0x236663f4d3f5e4c2841bf2b12fde32e95881516a2225e1ed0a13148dd37d0963>,
10:41:47 l2BlockNumber: 1,
10:41:47 l1BlockNumber: 82n,
10:41:47 l1BlockHash: Buffer32<0x7db1a25dcb1a4341a35168880a54767a7386b218a6a0d5cb6a9c36f85b8d800d>,
10:41:47 rollingHash: Buffer16<0xf2f606ac53375729a551c9f1b36f431c>
10:41:47 }
10:41:47 }
10:41:47 [10:41:47.193]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:41:48 [10:41:48.939]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x25d7b038afdf0e224b085adb10b0e38bfab9e3e5841a38af268f9bae0a0de11b at block 12 (expected value in range [176, 192))
10:41:48 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
10:41:48 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:41:48 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:41:48 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:41:48 inboxMessage: {
10:41:48 index: 224n,
10:41:48 leaf: Fr<0x25d7b038afdf0e224b085adb10b0e38bfab9e3e5841a38af268f9bae0a0de11b>,
10:41:48 l2BlockNumber: 12,
10:41:48 l1BlockNumber: 77n,
10:41:48 l1BlockHash: Buffer32<0xa31928d1f56a4e91f5624b0f35b480db7fba98442f13efbd4adfb05ab0a10051>,
10:41:48 rollingHash: Buffer16<0xb0b3f8a210b766b309e947a19fb46d4e>
10:41:48 }
10:41:48 }
10:41:48 [10:41:48.948]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:41:50 [10:41:50.725]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x0ac4c89765a5846706507686f3aa9b14e2a377010a8675f24bd756657630e347 with index 16 (expected 0x1c49dd7174b96b7a7b91723e93f0f73d from previous hash 0xd4ecc543b98451771916c1e514b6bf3e but got 0x75cc7ae4bf5d7444843e67d2f06c9cf3)
10:41:50 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
10:41:50 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:41:50 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:41:50 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:41:50 inboxMessage: {
10:41:50 index: 16n,
10:41:50 leaf: Fr<0x0ac4c89765a5846706507686f3aa9b14e2a377010a8675f24bd756657630e347>,
10:41:50 l2BlockNumber: 2,
10:41:50 l1BlockNumber: 23n,
10:41:50 l1BlockHash: Buffer32<0x9ee01f0c8019cbb331c580ed8bce988383ee53a00876ac26c447c573225e1c35>,
10:41:50 rollingHash: Buffer16<0x75cc7ae4bf5d7444843e67d2f06c9cf3>
10:41:50 }
10:41:50 }
10:41:50 [10:41:50.727]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:41:52 [10:41:52.475]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x047d036422f35557c910b81493220df149a2e6eb63edfa4d43d506812b21e8d9 with index 32 (expected 0xf13057732200ff92966567700686be68 from previous hash 0xa4da18a7692707236f0fbf195f96739b but got 0x22998900a777eecc5c641fd142792ef2)
10:41:52 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
10:41:52 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:41:52 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:41:52 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:41:52 inboxMessage: {
10:41:52 index: 32n,
10:41:52 leaf: Fr<0x047d036422f35557c910b81493220df149a2e6eb63edfa4d43d506812b21e8d9>,
10:41:52 l2BlockNumber: 3,
10:41:52 l1BlockNumber: 64n,
10:41:52 l1BlockHash: Buffer32<0x2ffd2b1171ad6ed99eb68be0d63104b2a8fbe980c37938c11ad7f3019ee3d130>,
10:41:52 rollingHash: Buffer16<0x22998900a777eecc5c641fd142792ef2>
10:41:52 }
10:41:52 }
10:41:52 [10:41:52.483]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:41:54 [10:41:54.285]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x2704d6cc1bc5e8bdefd920ccc9b08d2eee6a04bd1bf7a2c9569912ca63b1efbd at block 17 (expected value in range [256, 272))
10:41:54 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
10:41:54 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:41:54 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:41:54 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:41:54 inboxMessage: {
10:41:54 index: 356n,
10:41:54 leaf: Fr<0x2704d6cc1bc5e8bdefd920ccc9b08d2eee6a04bd1bf7a2c9569912ca63b1efbd>,
10:41:54 l2BlockNumber: 17,
10:41:54 l1BlockNumber: 47n,
10:41:54 l1BlockHash: Buffer32<0x5c22f982895230bf0ba7e295c45b5c0c240aa08573ef70df206a9ebca701f2d5>,
10:41:54 rollingHash: Buffer16<0x21afb5c4d53d097e62287b15d3e6e35c>
10:41:54 }
10:41:54 }
10:41:54 [10:41:54.289]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:41:56 [10:41:56.037]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x0cb352780071f198daff786ed5887c787f912a0aea9cae3299d45019058b9772 for L2 block 15 has wrong index 225 (expected 224)
10:41:56 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
10:41:56 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:41:56 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:41:56 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:41:56 inboxMessage: {
10:41:56 index: 225n,
10:41:56 leaf: Fr<0x0cb352780071f198daff786ed5887c787f912a0aea9cae3299d45019058b9772>,
10:41:56 l2BlockNumber: 15,
10:41:56 l1BlockNumber: 14n,
10:41:56 l1BlockHash: Buffer32<0x2e381c81086209f090ac09854c08bfb6bd68225847207cd828e499ce2a7db3f4>,
10:41:56 rollingHash: Buffer16<0x613802867bf46656fcb2f660e85ffeee>
10:41:56 }
10:41:56 }
10:41:56 [10:41:56.041]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:41:57 [10:41:57.732]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x0e4d1f1b5a3cd6ae9a85af3c0dd288aa8253391a01f0fa66896b919a7319c4ea at block 2 (expected value in range [16, 32))
10:41:57 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
10:41:57 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:41:57 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:41:57 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:41:57 inboxMessage: {
10:41:57 index: 32n,
10:41:57 leaf: Fr<0x0e4d1f1b5a3cd6ae9a85af3c0dd288aa8253391a01f0fa66896b919a7319c4ea>,
10:41:57 l2BlockNumber: 2,
10:41:57 l1BlockNumber: 65n,
10:41:57 l1BlockHash: Buffer32<0x75bb9318d40eefa605ae12fa4eb4967569b168522e426b50333b1c6bd63b3c36>,
10:41:57 rollingHash: Buffer16<0xf95a3ccd1f18be85ed6064b4fefa890c>
10:41:57 }
10:41:57 }
10:41:57 [10:41:57.736]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:41:59 [10:41:59.598]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
10:41:59 [10:41:59.671]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:42:01 [10:42:01.673]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
10:42:01 [10:42:01.695]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:42:03 [10:42:03.513]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:42:05 [10:42:05.188]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:42:06 [10:42:06.930]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:42:08 [10:42:08.407]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:42:10 [10:42:10.136]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:42:11 [10:42:11.822]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:42:13 [10:42:13.587]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:42:15 [10:42:15.299]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:42:16 [10:42:16.844]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:42:18 [10:42:18.573]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:42:20 [10:42:20.190]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:42:21 [10:42:21.680]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:42:23 [10:42:23.301]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:42:25 [10:42:25.040]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:42:26 [10:42:26.963]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:42:28 [10:42:28.853]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:42:31 [10:42:31.912]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:42:34 [10:42:34.935]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:42:38 [10:42:38.772]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:42:42 [10:42:42.061]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:42:48 [10:42:48.122]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:42:53 [10:42:53.696]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:42:59 [10:42:59.101]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:43:04 [10:43:04.628]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:43:08 [10:43:08.893]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:43:14 [10:43:14.405]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:43:19 [10:43:19.194]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:43:24
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
186.232 s)
10:43:24 KVArchiverDataStore
10:43:24 ArchiverStore
10:43:24 addBlocks
10:43:24
✓ returns success when adding blocks (1286 ms)
10:43:24
✓ allows duplicate blocks (1229 ms)
10:43:24
✓ throws an error if the previous block does not exist in the store (944 ms)
10:43:24
✓ throws an error if there is a gap in the blocks being added (954 ms)
10:43:24 unwindBlocks
10:43:24
✓ unwinding blocks will remove blocks from the chain (1156 ms)
10:43:24
✓ can unwind multiple empty blocks (791 ms)
10:43:24
✓ refuses to unwind blocks if the tip is not the last block (1104 ms)
10:43:24 getBlocks
10:43:24
✓ retrieves previously stored blocks (1288 ms)
10:43:24
✓ retrieves previously stored blocks (1346 ms)
10:43:24
✓ retrieves previously stored blocks (1710 ms)
10:43:24
✓ retrieves previously stored blocks (1580 ms)
10:43:24
✓ retrieves previously stored blocks (1521 ms)
10:43:24
✓ returns an empty array if no blocks are found (1076 ms)
10:43:24
✓ throws an error if limit is invalid (1272 ms)
10:43:24
✓ throws an error if `from` it is out of range (1256 ms)
10:43:24
✓ throws an error if unexpected initial block number is found (1488 ms)
10:43:24
✓ throws an error if a gap is found (1940 ms)
10:43:24 getSyncedL2BlockNumber
10:43:24
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (2105 ms)
10:43:24
✓ returns the most recently added block's number (2314 ms)
10:43:24 getSynchPoint
10:43:24
✓ returns undefined if no blocks have been added (1486 ms)
10:43:24
✓ returns the L1 block number in which the most recent L2 block was published (1765 ms)
10:43:24
✓ returns the L1 block number that most recently added messages from inbox (2019 ms)
10:43:24
✓ returns the latest syncpoint if latest message is behind (1334 ms)
10:43:24 addLogs
10:43:24
✓ adds private & public logs (1440 ms)
10:43:24 deleteLogs
10:43:24
✓ deletes private & public logs (1759 ms)
10:43:24 getPrivateLogs
10:43:24
✓ gets added private logs (1741 ms)
10:43:24 getTxEffect
10:43:24
✓ retrieves a previously stored transaction (2129 ms)
10:43:24
✓ retrieves a previously stored transaction (2271 ms)
10:43:24
✓ retrieves a previously stored transaction (2268 ms)
10:43:24
✓ retrieves a previously stored transaction (2325 ms)
10:43:24
✓ retrieves a previously stored transaction (2380 ms)
10:43:24
✓ returns undefined if tx is not found (2364 ms)
10:43:24
✓ tries to retrieves a previously stored transaction after deleted (2255 ms)
10:43:24
✓ tries to retrieves a previously stored transaction after deleted (2412 ms)
10:43:24
✓ tries to retrieves a previously stored transaction after deleted (2440 ms)
10:43:24
✓ tries to retrieves a previously stored transaction after deleted (2705 ms)
10:43:24
✓ tries to retrieves a previously stored transaction after deleted (2662 ms)
10:43:24
✓ returns undefined if tx is not found (2277 ms)
10:43:24
✓ does not fail if the block is unwound while requesting a tx (3300 ms)
10:43:24 L1 to L2 Messages
10:43:24
✓ stores first message ever (1267 ms)
10:43:24
✓ stores single message (1518 ms)
10:43:24
✓ stores and returns messages across different blocks (1667 ms)
10:43:24
✓ stores the same messages again (1483 ms)
10:43:24
✓ stores and returns messages across different blocks with gaps (1733 ms)
10:43:24
✓ stores and returns messages with block numbers larger than a byte (1564 ms)
10:43:24
✓ stores and returns multiple messages per block (1495 ms)
10:43:24
✓ stores messages in multiple operations (1871 ms)
10:43:24
✓ iterates over messages from start index (1672 ms)
10:43:24
✓ iterates over messages in reverse (1865 ms)
10:43:24
✓ throws if messages are added out of order (1762 ms)
10:43:24
✓ throws if block number for the first message is out of order (1751 ms)
10:43:24
✓ throws if rolling hash is not correct (1782 ms)
10:43:24
✓ throws if rolling hash for first message is not correct (1753 ms)
10:43:24
✓ throws if index is not in the correct range (1806 ms)
10:43:24
✓ throws if first index in block has gaps (1751 ms)
10:43:24
✓ throws if index does not follow previous one (1694 ms)
10:43:24
✓ removes messages up to the given block number (1933 ms)
10:43:24
✓ removes messages starting with the given index (2025 ms)
10:43:24 contractInstances
10:43:24
✓ returns previously stored contract instances (1816 ms)
10:43:24
✓ returns undefined if contract instance is not found (1675 ms)
10:43:24
✓ returns undefined if previously stored contract instances was deleted (1741 ms)
10:43:24 contractInstanceUpdates
10:43:24
✓ gets the correct current class id for a contract not updated yet (1475 ms)
10:43:24
✓ gets the correct current class id for a contract that has just been updated (1728 ms)
10:43:24
✓ gets the correct current class id for a contract that was updated in the past (1686 ms)
10:43:24
✓ ignores updates for the wrong contract (1762 ms)
10:43:24
✓ bounds its search to the right contract if more than than one update exists (1711 ms)
10:43:24 contractClasses
10:43:24
✓ returns previously stored contract class (1544 ms)
10:43:24
✓ returns undefined if the initial deployed contract class was deleted (1728 ms)
10:43:24
✓ returns contract class if later "deployment" class was deleted (1617 ms)
10:43:24
✓ returns undefined if contract class is not found (1489 ms)
10:43:24
✓ adds new private functions (1620 ms)
10:43:24
✓ does not duplicate private functions (1738 ms)
10:43:24
✓ adds new utility functions (1907 ms)
10:43:24
✓ does not duplicate utility functions (1893 ms)
10:43:24 getLogsByTags
10:43:24
✓ is possible to batch request private logs via tags (3066 ms)
10:43:24
✓ is possible to batch request all logs (private and public) via tags (3023 ms)
10:43:24
✓ is possible to batch request logs that have the same tag but different content (3837 ms)
10:43:24
✓ is possible to request logs for non-existing tags and determine their position (3284 ms)
10:43:24 getPublicLogs
10:43:24
✓ no logs returned if deleted ("txHash" filter param is respected variant) (6058 ms)
10:43:24
✓ "txHash" filter param is respected (5578 ms)
10:43:24
✓ "fromBlock" and "toBlock" filter params are respected (5405 ms)
10:43:24
✓ "contractAddress" filter param is respected (5527 ms)
10:43:24
✓ "afterLog" filter param is respected (4264 ms)
10:43:24
✓ "txHash" filter param is ignored when "afterLog" is set (5510 ms)
10:43:24
✓ intersecting works (4790 ms)
10:43:24
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (5350 ms)
10:43:24
10:43:24
Test Suites: 1 passed, 1 total
10:43:24
Tests: 86 passed, 86 total
10:43:24
Snapshots: 0 total
10:43:24
Time: 186.304 s
10:43:24
Ran all test suites matching /archiver\/src\/archiver\/kv_archiver_store\/kv_archiver_store.test.ts/i
.
10:43:24
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?