Parent Log:
http://ci.aztec-labs.com/24d9da29e964c9c1
Command: 270716767bef7882 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/aedcee89a2544b0e6baf93c4e71d88991f09111e
Env: REF_NAME=gh-readonly-queue/next/pr-15183-016def8adbfe93f34b41a41f439b146b5318c895 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 13:34:31 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15183_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
13:34:34 [13:34:34.594]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:34:36 [13:34:36.472]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:34:37 [13:34:37.934]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:34:39 [13:34:39.133]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: InitialBlockNumberNotSequentialError: Cannot insert new block 2 given previous block number in store is undefined
13:34:39 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
13:34:39 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:34:39 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:34:39 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:34:39 newBlockNumber: 2,
13:34:39 previousBlockNumber: undefined
13:34:39 }
13:34:39 [13:34:39.138]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:34:40 [13:34:40.221]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: BlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in batch is 1
13:34:40 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:96:17
13:34:40 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:34:40 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:34:40 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
13:34:40 [13:34:40.223]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:34:41 [13:34:41.667]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:34:42 [13:34:42.574]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:34:43 [13:34:43.829]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: Error: Can only unwind blocks from the tip (requested 5 but current tip is 10)
13:34:43 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:141:15
13:34:43 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:34:43 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:34:43 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
13:34:43 [13:34:43.833]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:34:45 [13:34:45.091]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:34:46 [13:34:46.365]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:34:48 [13:34:48.061]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:34:49 [13:34:49.582]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:34:51 [13:34:51.045]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:34:52 [13:34:52.641]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:34:54 [13:34:54.400]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:34:56 [13:34:56.654]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:34:58 [13:34:58.594]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:35:01 [13:35:01.104]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:35:03 [13:35:03.029]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:35:04 [13:35:04.956]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:35:06 [13:35:06.466]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:35:08 [13:35:08.591]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:35:10 [13:35:10.021]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:35:11 [13:35:11.272]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:35:12 [13:35:12.709]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:35:14 [13:35:14.267]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:35:15 [13:35:15.903]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:35:18 [13:35:18.809]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:35:21 [13:35:21.608]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:35:24 [13:35:24.156]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:35:26 [13:35:26.814]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:35:29 [13:35:29.418]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:35:31 [13:35:31.861]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:35:34 [13:35:34.723]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:35:37 [13:35:37.606]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:35:40 [13:35:40.372]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:35:43 [13:35:43.252]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:35:45 [13:35:45.653]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:35:48 [13:35:48.119]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:35:51 [13:35:51.259]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:35:52 [13:35:52.760]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:35:54 [13:35:54.231]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:35:55 [13:35:55.775]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:35:57 [13:35:57.244]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:35:58 [13:35:58.773]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:00 [13:36:00.447]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:02 [13:36:02.040]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:03 [13:36:03.850]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:05 [13:36:05.517]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:07 [13:36:07.497]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:09 [13:36:09.483]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x266b6a88557e3e8d92f159e9b1f38ba3cc18ef35e34e3ae9df9f034a2000a597 for L2 block 1 has wrong index 10 (expected 0)
13:36:09 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
13:36:09 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:36:09 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:36:09 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:36:09 inboxMessage: {
13:36:09 index: 10n,
13:36:09 leaf: Fr<0x266b6a88557e3e8d92f159e9b1f38ba3cc18ef35e34e3ae9df9f034a2000a597>,
13:36:09 l2BlockNumber: 1,
13:36:09 l1BlockNumber: 42n,
13:36:09 l1BlockHash: Buffer32<0x5816dd80fa48197aa5d136add5633513c5c567c5cb0707221b35453a232194bc>,
13:36:09 rollingHash: Buffer16<0x09a1a9bb31bd3cb17817ffcdb15aa564>
13:36:09 }
13:36:09 }
13:36:09 [13:36:09.488]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:11 [13:36:11.338]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x025512f0cf0a55b85e7c6bc3cd16fb384144c679859b7303a221c62a1d82db90 at block 12 (expected value in range [176, 192))
13:36:11 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
13:36:11 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:36:11 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:36:11 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:36:11 inboxMessage: {
13:36:11 index: 224n,
13:36:11 leaf: Fr<0x025512f0cf0a55b85e7c6bc3cd16fb384144c679859b7303a221c62a1d82db90>,
13:36:11 l2BlockNumber: 12,
13:36:11 l1BlockNumber: 11n,
13:36:11 l1BlockHash: Buffer32<0xc15b30157df25f711cc9d16e1ecaa0af454c4527b028569a8594dbb404d5ab3f>,
13:36:11 rollingHash: Buffer16<0x07680b0beddb67f0ea2487e96498695d>
13:36:11 }
13:36:11 }
13:36:11 [13:36:11.342]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:13 [13:36:13.260]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x0167b582a17b1adf7f3f3e4c7c803cd004a04750c4f4df095fb44372c4fee376 with index 16 (expected 0x12c8f4eeadc7ce002cbae236c018ae07 from previous hash 0x9bb16b59f0c37953d760e7acdaecaa8b but got 0xf75cab402f1cd79f65724675ca844234)
13:36:13 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
13:36:13 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:36:13 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:36:13 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:36:13 inboxMessage: {
13:36:13 index: 16n,
13:36:13 leaf: Fr<0x0167b582a17b1adf7f3f3e4c7c803cd004a04750c4f4df095fb44372c4fee376>,
13:36:13 l2BlockNumber: 2,
13:36:13 l1BlockNumber: 65n,
13:36:13 l1BlockHash: Buffer32<0x9f07080db864ff3b8ea4cba7fabb681a791b19709730f8cda3e2e39cf3b023eb>,
13:36:13 rollingHash: Buffer16<0xf75cab402f1cd79f65724675ca844234>
13:36:13 }
13:36:13 }
13:36:13 [13:36:13.264]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:15 [13:36:15.210]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x09fc99a24ceeb11e92fef416a5d605e93dc5d5ca7526f8064ca8a6fe4d38bcd0 with index 32 (expected 0x0535e2484dea531ed98d54aa684a5a63 from previous hash 0xe90ec0869def956af268ee42ca1e1eaf but got 0x0b94c0d333d96f1327042401ae726757)
13:36:15 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
13:36:15 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:36:15 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:36:15 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:36:15 inboxMessage: {
13:36:15 index: 32n,
13:36:15 leaf: Fr<0x09fc99a24ceeb11e92fef416a5d605e93dc5d5ca7526f8064ca8a6fe4d38bcd0>,
13:36:15 l2BlockNumber: 3,
13:36:15 l1BlockNumber: 5n,
13:36:15 l1BlockHash: Buffer32<0x80b0539ada4a0017012ddbe9de704a57764f79816ce919ceb87fe29f3bdade2f>,
13:36:15 rollingHash: Buffer16<0x0b94c0d333d96f1327042401ae726757>
13:36:15 }
13:36:15 }
13:36:15 [13:36:15.218]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:17 [13:36:17.117]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x2d943e11cb0968df1f609b78aebe3583dea37cbc651a0f1460bfa39972477b16 at block 17 (expected value in range [256, 272))
13:36:17 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
13:36:17 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:36:17 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:36:17 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:36:17 inboxMessage: {
13:36:17 index: 356n,
13:36:17 leaf: Fr<0x2d943e11cb0968df1f609b78aebe3583dea37cbc651a0f1460bfa39972477b16>,
13:36:17 l2BlockNumber: 17,
13:36:17 l1BlockNumber: 83n,
13:36:17 l1BlockHash: Buffer32<0x0d4795a74ecac8796b6d6e94b63a0e7c30c165ada212da0c6b03bfa7d6e37491>,
13:36:17 rollingHash: Buffer16<0xda8ff161779282affabd25b2f68e5479>
13:36:17 }
13:36:17 }
13:36:17 [13:36:17.124]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:18 [13:36:18.918]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x2c4a0a40ae5cb578b918a7fb61c9dcffc4780c6b792032566e0263a8f3b28b72 for L2 block 15 has wrong index 225 (expected 224)
13:36:18 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
13:36:18 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:36:18 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:36:18 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:36:18 inboxMessage: {
13:36:18 index: 225n,
13:36:18 leaf: Fr<0x2c4a0a40ae5cb578b918a7fb61c9dcffc4780c6b792032566e0263a8f3b28b72>,
13:36:18 l2BlockNumber: 15,
13:36:18 l1BlockNumber: 77n,
13:36:18 l1BlockHash: Buffer32<0x771c41059a309a00f9ba667bb55a72894e458bd7abb87c0ca39a36e631db37b2>,
13:36:18 rollingHash: Buffer16<0x992b4ff60770ed1e623c41e7719e1de0>
13:36:18 }
13:36:18 }
13:36:18 [13:36:18.924]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:20 [13:36:20.715]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x00eb09ce9714e1c871bbe51b6a9caf4a4b6c09801b585aa5d11173b339cec5b8 at block 2 (expected value in range [16, 32))
13:36:20 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
13:36:20 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:36:20 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:36:20 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:36:20 inboxMessage: {
13:36:20 index: 32n,
13:36:20 leaf: Fr<0x00eb09ce9714e1c871bbe51b6a9caf4a4b6c09801b585aa5d11173b339cec5b8>,
13:36:20 l2BlockNumber: 2,
13:36:20 l1BlockNumber: 69n,
13:36:20 l1BlockHash: Buffer32<0xcda7cd5e8f31e94bb92c2749772a6126140a92c7c93df13bd07d40d1d2dd4c7c>,
13:36:20 rollingHash: Buffer16<0x9eda5f0401f25bccf91e26f96212c5f7>
13:36:20 }
13:36:20 }
13:36:20 [13:36:20.722]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:22 [13:36:22.680]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
13:36:22 [13:36:22.729]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:24 [13:36:24.669]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
13:36:24 [13:36:24.698]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:26 [13:36:26.665]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:28 [13:36:28.639]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:30 [13:36:30.494]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:32 [13:36:32.230]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:34 [13:36:34.036]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:35 [13:36:35.872]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:37 [13:36:37.862]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:39 [13:36:39.768]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:41 [13:36:41.776]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:43 [13:36:43.963]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:46 [13:36:46.047]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:47 [13:36:47.832]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:49 [13:36:49.920]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:51 [13:36:51.985]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:53 [13:36:53.924]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:55 [13:36:55.611]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:59 [13:36:59.006]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:02 [13:37:02.242]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:05 [13:37:05.549]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:08 [13:37:08.330]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:13 [13:37:13.696]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:18 [13:37:18.211]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:23 [13:37:23.308]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:28 [13:37:28.837]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:33 [13:37:33.545]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:38 [13:37:38.013]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:41 [13:37:41.812]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:46
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
193.413 s)
13:37:46 KVArchiverDataStore
13:37:46 ArchiverStore
13:37:46 addBlocks
13:37:46
✓ returns success when adding blocks (1892 ms)
13:37:46
✓ allows duplicate blocks (1462 ms)
13:37:46
✓ throws an error if the previous block does not exist in the store (1204 ms)
13:37:46
✓ throws an error if there is a gap in the blocks being added (1085 ms)
13:37:46 unwindBlocks
13:37:46
✓ unwinding blocks will remove blocks from the chain (1444 ms)
13:37:46
✓ can unwind multiple empty blocks (906 ms)
13:37:46
✓ refuses to unwind blocks if the tip is not the last block (1259 ms)
13:37:46 getBlocks
13:37:46
✓ retrieves previously stored blocks (1255 ms)
13:37:46
✓ retrieves previously stored blocks (1275 ms)
13:37:46
✓ retrieves previously stored blocks (1696 ms)
13:37:46
✓ retrieves previously stored blocks (1521 ms)
13:37:46
✓ retrieves previously stored blocks (1462 ms)
13:37:46
✓ returns an empty array if no blocks are found (1595 ms)
13:37:46
✓ throws an error if limit is invalid (1757 ms)
13:37:46
✓ throws an error if `from` it is out of range (2254 ms)
13:37:46
✓ throws an error if unexpected initial block number is found (1938 ms)
13:37:46
✓ throws an error if a gap is found (2507 ms)
13:37:46 getSyncedL2BlockNumber
13:37:46
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1924 ms)
13:37:46
✓ returns the most recently added block's number (1929 ms)
13:37:46 getSynchPoint
13:37:46
✓ returns undefined if no blocks have been added (1508 ms)
13:37:46
✓ returns the L1 block number in which the most recent L2 block was published (2125 ms)
13:37:46
✓ returns the L1 block number that most recently added messages from inbox (1429 ms)
13:37:46
✓ returns the latest syncpoint if latest message is behind (1250 ms)
13:37:46 addLogs
13:37:46
✓ adds private & public logs (1434 ms)
13:37:46 deleteLogs
13:37:46
✓ deletes private & public logs (1560 ms)
13:37:46 getPrivateLogs
13:37:46
✓ gets added private logs (1634 ms)
13:37:46 getTxEffect
13:37:46
✓ retrieves a previously stored transaction (2906 ms)
13:37:46
✓ retrieves a previously stored transaction (2793 ms)
13:37:46
✓ retrieves a previously stored transaction (2552 ms)
13:37:46
✓ retrieves a previously stored transaction (2658 ms)
13:37:46
✓ retrieves a previously stored transaction (2604 ms)
13:37:46
✓ returns undefined if tx is not found (2443 ms)
13:37:46
✓ tries to retrieves a previously stored transaction after deleted (2861 ms)
13:37:46
✓ tries to retrieves a previously stored transaction after deleted (2882 ms)
13:37:46
✓ tries to retrieves a previously stored transaction after deleted (2765 ms)
13:37:46
✓ tries to retrieves a previously stored transaction after deleted (2880 ms)
13:37:46
✓ tries to retrieves a previously stored transaction after deleted (2401 ms)
13:37:46
✓ returns undefined if tx is not found (2466 ms)
13:37:46
✓ does not fail if the block is unwound while requesting a tx (3138 ms)
13:37:46 L1 to L2 Messages
13:37:46
✓ stores first message ever (1499 ms)
13:37:46
✓ stores single message (1471 ms)
13:37:46
✓ stores and returns messages across different blocks (1544 ms)
13:37:46
✓ stores the same messages again (1468 ms)
13:37:46
✓ stores and returns messages across different blocks with gaps (1528 ms)
13:37:46
✓ stores and returns messages with block numbers larger than a byte (1674 ms)
13:37:46
✓ stores and returns multiple messages per block (1593 ms)
13:37:46
✓ stores messages in multiple operations (1804 ms)
13:37:46
✓ iterates over messages from start index (1672 ms)
13:37:46
✓ iterates over messages in reverse (1977 ms)
13:37:46
✓ throws if messages are added out of order (1991 ms)
13:37:46
✓ throws if block number for the first message is out of order (1852 ms)
13:37:46
✓ throws if rolling hash is not correct (1922 ms)
13:37:46
✓ throws if rolling hash for first message is not correct (1949 ms)
13:37:46
✓ throws if index is not in the correct range (1906 ms)
13:37:46
✓ throws if first index in block has gaps (1800 ms)
13:37:46
✓ throws if index does not follow previous one (1796 ms)
13:37:46
✓ removes messages up to the given block number (2008 ms)
13:37:46
✓ removes messages starting with the given index (1967 ms)
13:37:46 contractInstances
13:37:46
✓ returns previously stored contract instances (1970 ms)
13:37:46
✓ returns undefined if contract instance is not found (1973 ms)
13:37:46
✓ returns undefined if previously stored contract instances was deleted (1851 ms)
13:37:46 contractInstanceUpdates
13:37:46
✓ gets the correct current class id for a contract not updated yet (1737 ms)
13:37:46
✓ gets the correct current class id for a contract that has just been updated (1805 ms)
13:37:46
✓ gets the correct current class id for a contract that was updated in the past (1835 ms)
13:37:46
✓ ignores updates for the wrong contract (1987 ms)
13:37:46
✓ bounds its search to the right contract if more than than one update exists (1907 ms)
13:37:46 contractClasses
13:37:46
✓ returns previously stored contract class (2008 ms)
13:37:46
✓ returns undefined if the initial deployed contract class was deleted (2186 ms)
13:37:46
✓ returns contract class if later "deployment" class was deleted (2083 ms)
13:37:46
✓ returns undefined if contract class is not found (1784 ms)
13:37:46
✓ adds new private functions (2087 ms)
13:37:46
✓ does not duplicate private functions (2059 ms)
13:37:46
✓ adds new utility functions (1944 ms)
13:37:46
✓ does not duplicate utility functions (1686 ms)
13:37:46 getLogsByTags
13:37:46
✓ is possible to batch request private logs via tags (3395 ms)
13:37:46
✓ is possible to batch request all logs (private and public) via tags (3235 ms)
13:37:46
✓ is possible to batch request logs that have the same tag but different content (3306 ms)
13:37:46
✓ is possible to request logs for non-existing tags and determine their position (2780 ms)
13:37:46 getPublicLogs
13:37:46
✓ no logs returned if deleted ("txHash" filter param is respected variant) (5364 ms)
13:37:46
✓ "txHash" filter param is respected (4515 ms)
13:37:46
✓ "fromBlock" and "toBlock" filter params are respected (5096 ms)
13:37:46
✓ "contractAddress" filter param is respected (5529 ms)
13:37:46
✓ "afterLog" filter param is respected (4709 ms)
13:37:46
✓ "txHash" filter param is ignored when "afterLog" is set (4465 ms)
13:37:46
✓ intersecting works (3798 ms)
13:37:46
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4438 ms)
13:37:46
13:37:46
Test Suites: 1 passed, 1 total
13:37:46
Tests: 86 passed, 86 total
13:37:46
Snapshots: 0 total
13:37:46
Time: 193.503 s
13:37:46
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
13:37:46
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?