Parent Log:
http://ci.aztec-labs.com/c603a1b0232de7e7
Command: d5ace37751aeb3b2 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/64d1ec347b1cea9fa1b04ff6fc2984f8ee073b2b
Env: REF_NAME=gh-readonly-queue/next/pr-15185-107a625e4a5b124b87c02fa9ff2ae12b5778baa9 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 20 14:49:03 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15185_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
14:49:06 [14:49:06.183]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:49:07 [14:49:07.568]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:49:09 [14:49:09.060]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:49:09 [14:49:09.925]
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:49:09 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
14:49:09 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:49:09 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:49:09 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:49:09 newBlockNumber: 2,
14:49:09 previousBlockNumber: undefined
14:49:09 }
14:49:09 [14:49:09.927]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:49:10 [14:49:10.838]
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:49:10 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:96:17
14:49:10 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:49:10 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:49:10 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
14:49:10 [14:49:10.841]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:49:12 [14:49:12.069]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:49:13 [14:49:13.205]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:49:14 [14:49:14.715]
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:49:14 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:141:15
14:49:14 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:49:14 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:49:14 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
14:49:14 [14:49:14.718]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:49:15 [14:49:15.911]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:49:17 [14:49:17.124]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:49:18 [14:49:18.574]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:49:20 [14:49:20.011]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:49:21 [14:49:21.226]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:49:22 [14:49:22.504]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:49:23 [14:49:23.883]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:49:25 [14:49:25.303]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:49:27 [14:49:27.597]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:49:29 [14:49:29.944]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:49:31 [14:49:31.728]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:49:33 [14:49:33.848]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:49:35 [14:49:35.544]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:49:37 [14:49:37.394]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:49:38 [14:49:38.779]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:49:40 [14:49:40.260]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:49:41 [14:49:41.807]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:49:43 [14:49:43.277]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:49:44 [14:49:44.695]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:49:47 [14:49:47.326]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:49:49 [14:49:49.743]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:49:52 [14:49:52.412]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:49:54 [14:49:54.950]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:49:57 [14:49:57.555]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:49:59 [14:49:59.965]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:02 [14:50:02.960]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:05 [14:50:05.940]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:08 [14:50:08.773]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:11 [14:50:11.510]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:14 [14:50:14.221]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:16 [14:50:16.807]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:19 [14:50:19.752]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:21 [14:50:21.362]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:22 [14:50:22.864]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:24 [14:50:24.358]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:25 [14:50:25.840]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:27 [14:50:27.411]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:29 [14:50:29.004]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:30 [14:50:30.737]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:32 [14:50:32.416]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:34 [14:50:34.349]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:36 [14:50:36.223]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:38 [14:50:38.125]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x1ad5c910ce93330db8cd3a6c22fcd664410786646f5777a1bf0e3616d76205ec for L2 block 1 has wrong index 10 (expected 0)
14:50:38 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
14:50:38 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:50:38 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:50:38 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:50:38 inboxMessage: {
14:50:38 index: 10n,
14:50:38 leaf: Fr<0x1ad5c910ce93330db8cd3a6c22fcd664410786646f5777a1bf0e3616d76205ec>,
14:50:38 l2BlockNumber: 1,
14:50:38 l1BlockNumber: 81n,
14:50:38 l1BlockHash: Buffer32<0x7a7380e6c97ce00e343262c1b763562024e00b2e758b84ce9fb5e30cbd7a0a70>,
14:50:38 rollingHash: Buffer16<0xa3ecd2bb37b9cd0a1c6151a3538f8a7d>
14:50:38 }
14:50:38 }
14:50:38 [14:50:38.129]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:39 [14:50:39.926]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x0429bba62a30ea88487f26ebdb8bc640e59b685e786cfad2e870dcc8f78276b1 at block 12 (expected value in range [176, 192))
14:50:39 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
14:50:39 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:50:39 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:50:39 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:50:39 inboxMessage: {
14:50:39 index: 224n,
14:50:39 leaf: Fr<0x0429bba62a30ea88487f26ebdb8bc640e59b685e786cfad2e870dcc8f78276b1>,
14:50:39 l2BlockNumber: 12,
14:50:39 l1BlockNumber: 46n,
14:50:39 l1BlockHash: Buffer32<0x9f60d26b1e4febe1ed31d5da37b47a6ca8e9f70a02ed96e9bbca519579fc7b5d>,
14:50:39 rollingHash: Buffer16<0xa9cf6a6147e8c93aadbe8207758a03c5>
14:50:39 }
14:50:39 }
14:50:39 [14:50:39.945]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:41 [14:50:41.857]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x063955372a643ae8c5726baa3e30c683ca798732f3818b518b82c027a353caaf with index 16 (expected 0x6be1bac4746b812eccd0e535a704df31 from previous hash 0x93b7609e9c9cfeb4dedd85da765ae175 but got 0x77f65e8c132130350aa63c7fa1f48c4a)
14:50:41 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
14:50:41 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:50:41 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:50:41 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:50:41 inboxMessage: {
14:50:41 index: 16n,
14:50:41 leaf: Fr<0x063955372a643ae8c5726baa3e30c683ca798732f3818b518b82c027a353caaf>,
14:50:41 l2BlockNumber: 2,
14:50:41 l1BlockNumber: 97n,
14:50:41 l1BlockHash: Buffer32<0xe20ecc642f701a2608bd9ed9959744154341989701a1581ca6cf60a4babb7cf4>,
14:50:41 rollingHash: Buffer16<0x77f65e8c132130350aa63c7fa1f48c4a>
14:50:41 }
14:50:41 }
14:50:41 [14:50:41.860]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:43 [14:50:43.822]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x28db9af3c540b45cfc4a5f8f2b72ef24e05da758dd257d67c335d1741885f76d with index 32 (expected 0x027d82539b037c0c4cdde6afafe756a4 from previous hash 0x2ff07d63234ea84838f22adfddbecef7 but got 0xae663d915664852a4133af573be0d3be)
14:50:43 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
14:50:43 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:50:43 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:50:43 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:50:43 inboxMessage: {
14:50:43 index: 32n,
14:50:43 leaf: Fr<0x28db9af3c540b45cfc4a5f8f2b72ef24e05da758dd257d67c335d1741885f76d>,
14:50:43 l2BlockNumber: 3,
14:50:43 l1BlockNumber: 6n,
14:50:43 l1BlockHash: Buffer32<0xda1872b7d7ee7025dd31c2a05734d505a353356b2a972064073e276a5d02aed4>,
14:50:43 rollingHash: Buffer16<0xae663d915664852a4133af573be0d3be>
14:50:43 }
14:50:43 }
14:50:43 [14:50:43.825]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:45 [14:50:45.653]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x0cab01af23cc7eb3409db9dca57985855a1cbced3182a2f3b1c6dcff439cb116 at block 17 (expected value in range [256, 272))
14:50:45 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
14:50:45 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:50:45 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:50:45 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:50:45 inboxMessage: {
14:50:45 index: 356n,
14:50:45 leaf: Fr<0x0cab01af23cc7eb3409db9dca57985855a1cbced3182a2f3b1c6dcff439cb116>,
14:50:45 l2BlockNumber: 17,
14:50:45 l1BlockNumber: 84n,
14:50:45 l1BlockHash: Buffer32<0x891bd6dd295a9b93e6be0e4c450a5f40dcfabe2faef78618c2d4e713303ea201>,
14:50:45 rollingHash: Buffer16<0x17943d18b6c99f4e2ca74bb083bb94e1>
14:50:45 }
14:50:45 }
14:50:45 [14:50:45.657]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:47 [14:50:47.372]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x008d14d5a77846a1c9a5e94d7683c7b9189cb15852a47dff3d7b9e6f67b645e5 for L2 block 15 has wrong index 225 (expected 224)
14:50:47 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
14:50:47 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:50:47 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:50:47 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:50:47 inboxMessage: {
14:50:47 index: 225n,
14:50:47 leaf: Fr<0x008d14d5a77846a1c9a5e94d7683c7b9189cb15852a47dff3d7b9e6f67b645e5>,
14:50:47 l2BlockNumber: 15,
14:50:47 l1BlockNumber: 90n,
14:50:47 l1BlockHash: Buffer32<0x0987e2f30c78830bae3f1f647225f152243568d2f9c43d4c6c6890e04f2a01f0>,
14:50:47 rollingHash: Buffer16<0x5ed2a04c3ebd850dc19b5f7037f1c894>
14:50:47 }
14:50:47 }
14:50:47 [14:50:47.376]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:49 [14:50:49.294]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x2b2eece0ea3d26a52fdee5e4fbbebf6e5dfbde892b59dc559f6725d21623fb05 at block 2 (expected value in range [16, 32))
14:50:49 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
14:50:49 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:50:49 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:50:49 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:50:49 inboxMessage: {
14:50:49 index: 32n,
14:50:49 leaf: Fr<0x2b2eece0ea3d26a52fdee5e4fbbebf6e5dfbde892b59dc559f6725d21623fb05>,
14:50:49 l2BlockNumber: 2,
14:50:49 l1BlockNumber: 48n,
14:50:49 l1BlockHash: Buffer32<0x7e1529455d104db3e7ac121fadd0986eadb70f019e4553e1e2f2203fc17f3406>,
14:50:49 rollingHash: Buffer16<0xb1b3429c4142c433c763ab26215fa5eb>
14:50:49 }
14:50:49 }
14:50:49 [14:50:49.297]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:51 [14:50:51.429]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
14:50:51 [14:50:51.473]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:53 [14:50:53.266]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
14:50:53 [14:50:53.285]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:54 [14:50:54.902]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:56 [14:50:56.710]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:50:58 [14:50:58.595]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:51:00 [14:51:00.584]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:51:02 [14:51:02.568]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:51:04 [14:51:04.313]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:51:06 [14:51:06.259]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:51:07 [14:51:07.863]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:51:09 [14:51:09.802]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:51:11 [14:51:11.757]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:51:13 [14:51:13.704]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:51:15 [14:51:15.552]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:51:17 [14:51:17.381]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:51:19 [14:51:19.183]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:51:21 [14:51:21.028]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:51:22 [14:51:22.977]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:51:26 [14:51:26.176]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:51:29 [14:51:29.620]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:51:33 [14:51:33.597]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:51:36 [14:51:36.793]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:51:42 [14:51:42.953]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:51:48 [14:51:48.411]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:51:53 [14:51:53.214]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:51:58 [14:51:58.755]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:52:04 [14:52:04.450]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:52:09 [14:52:09.923]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:52:14 [14:52:14.341]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:52:18
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
194.273 s)
14:52:18 KVArchiverDataStore
14:52:18 ArchiverStore
14:52:18 addBlocks
14:52:18
✓ returns success when adding blocks (1395 ms)
14:52:18
✓ allows duplicate blocks (1490 ms)
14:52:18
✓ throws an error if the previous block does not exist in the store (869 ms)
14:52:18
✓ throws an error if there is a gap in the blocks being added (912 ms)
14:52:18 unwindBlocks
14:52:18
✓ unwinding blocks will remove blocks from the chain (1227 ms)
14:52:18
✓ can unwind multiple empty blocks (1136 ms)
14:52:18
✓ refuses to unwind blocks if the tip is not the last block (1512 ms)
14:52:18 getBlocks
14:52:18
✓ retrieves previously stored blocks (1192 ms)
14:52:18
✓ retrieves previously stored blocks (1213 ms)
14:52:18
✓ retrieves previously stored blocks (1450 ms)
14:52:18
✓ retrieves previously stored blocks (1437 ms)
14:52:18
✓ retrieves previously stored blocks (1214 ms)
14:52:18
✓ returns an empty array if no blocks are found (1278 ms)
14:52:18
✓ throws an error if limit is invalid (1378 ms)
14:52:18
✓ throws an error if `from` it is out of range (1418 ms)
14:52:18
✓ throws an error if unexpected initial block number is found (2295 ms)
14:52:18
✓ throws an error if a gap is found (2345 ms)
14:52:18 getSyncedL2BlockNumber
14:52:18
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1784 ms)
14:52:18
✓ returns the most recently added block's number (2119 ms)
14:52:18 getSynchPoint
14:52:18
✓ returns undefined if no blocks have been added (1695 ms)
14:52:18
✓ returns the L1 block number in which the most recent L2 block was published (1850 ms)
14:52:18
✓ returns the L1 block number that most recently added messages from inbox (1385 ms)
14:52:18
✓ returns the latest syncpoint if latest message is behind (1476 ms)
14:52:18 addLogs
14:52:18
✓ adds private & public logs (1550 ms)
14:52:18 deleteLogs
14:52:18
✓ deletes private & public logs (1469 ms)
14:52:18 getPrivateLogs
14:52:18
✓ gets added private logs (1417 ms)
14:52:18 getTxEffect
14:52:18
✓ retrieves a previously stored transaction (2627 ms)
14:52:18
✓ retrieves a previously stored transaction (2419 ms)
14:52:18
✓ retrieves a previously stored transaction (2669 ms)
14:52:18
✓ retrieves a previously stored transaction (2532 ms)
14:52:18
✓ retrieves a previously stored transaction (2609 ms)
14:52:18
✓ returns undefined if tx is not found (2406 ms)
14:52:18
✓ tries to retrieves a previously stored transaction after deleted (2997 ms)
14:52:18
✓ tries to retrieves a previously stored transaction after deleted (2976 ms)
14:52:18
✓ tries to retrieves a previously stored transaction after deleted (2835 ms)
14:52:18
✓ tries to retrieves a previously stored transaction after deleted (2736 ms)
14:52:18
✓ tries to retrieves a previously stored transaction after deleted (2711 ms)
14:52:18
✓ returns undefined if tx is not found (2585 ms)
14:52:18
✓ does not fail if the block is unwound while requesting a tx (2945 ms)
14:52:18 L1 to L2 Messages
14:52:18
✓ stores first message ever (1607 ms)
14:52:18
✓ stores single message (1504 ms)
14:52:18
✓ stores and returns messages across different blocks (1493 ms)
14:52:18
✓ stores the same messages again (1480 ms)
14:52:18
✓ stores and returns messages across different blocks with gaps (1571 ms)
14:52:18
✓ stores and returns messages with block numbers larger than a byte (1593 ms)
14:52:18
✓ stores and returns multiple messages per block (1732 ms)
14:52:18
✓ stores messages in multiple operations (1678 ms)
14:52:18
✓ iterates over messages from start index (1927 ms)
14:52:18
✓ iterates over messages in reverse (1879 ms)
14:52:18
✓ throws if messages are added out of order (1906 ms)
14:52:18
✓ throws if block number for the first message is out of order (1812 ms)
14:52:18
✓ throws if rolling hash is not correct (1918 ms)
14:52:18
✓ throws if rolling hash for first message is not correct (1964 ms)
14:52:18
✓ throws if index is not in the correct range (1831 ms)
14:52:18
✓ throws if first index in block has gaps (1719 ms)
14:52:18
✓ throws if index does not follow previous one (1921 ms)
14:52:18
✓ removes messages up to the given block number (2175 ms)
14:52:18
✓ removes messages starting with the given index (1810 ms)
14:52:18 contractInstances
14:52:18
✓ returns previously stored contract instances (1616 ms)
14:52:18
✓ returns undefined if contract instance is not found (1807 ms)
14:52:18
✓ returns undefined if previously stored contract instances was deleted (1885 ms)
14:52:18 contractInstanceUpdates
14:52:18
✓ gets the correct current class id for a contract not updated yet (1988 ms)
14:52:18
✓ gets the correct current class id for a contract that has just been updated (1982 ms)
14:52:18
✓ gets the correct current class id for a contract that was updated in the past (1746 ms)
14:52:18
✓ ignores updates for the wrong contract (1945 ms)
14:52:18
✓ bounds its search to the right contract if more than than one update exists (1602 ms)
14:52:18 contractClasses
14:52:18
✓ returns previously stored contract class (1937 ms)
14:52:18
✓ returns undefined if the initial deployed contract class was deleted (1955 ms)
14:52:18
✓ returns contract class if later "deployment" class was deleted (1941 ms)
14:52:18
✓ returns undefined if contract class is not found (1851 ms)
14:52:18
✓ adds new private functions (1829 ms)
14:52:18
✓ does not duplicate private functions (1801 ms)
14:52:18
✓ adds new utility functions (1843 ms)
14:52:18
✓ does not duplicate utility functions (1949 ms)
14:52:18 getLogsByTags
14:52:18
✓ is possible to batch request private logs via tags (3199 ms)
14:52:18
✓ is possible to batch request all logs (private and public) via tags (3443 ms)
14:52:18
✓ is possible to batch request logs that have the same tag but different content (3976 ms)
14:52:18
✓ is possible to request logs for non-existing tags and determine their position (3195 ms)
14:52:18 getPublicLogs
14:52:18
✓ no logs returned if deleted ("txHash" filter param is respected variant) (6158 ms)
14:52:18
✓ "txHash" filter param is respected (5457 ms)
14:52:18
✓ "fromBlock" and "toBlock" filter params are respected (4803 ms)
14:52:18
✓ "contractAddress" filter param is respected (5540 ms)
14:52:18
✓ "afterLog" filter param is respected (5693 ms)
14:52:18
✓ "txHash" filter param is ignored when "afterLog" is set (5472 ms)
14:52:18
✓ intersecting works (4419 ms)
14:52:18
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4501 ms)
14:52:18
14:52:18
Test Suites: 1 passed, 1 total
14:52:18
Tests: 86 passed, 86 total
14:52:18
Snapshots: 0 total
14:52:18
Time: 194.358 s
14:52:18
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
14:52:18
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?