Parent Log:
http://ci.aztec-labs.com/701a4364c73bba1e
Command: a8cc061dbe484831 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/58696523cc93fda453138a4f2c2dff72b21f0bfa
Env: REF_NAME=gh-readonly-queue/next/pr-15180-a923b0dd4c74291fcefa86c41b3b5dffca7e4178 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 20 13:09:30 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15180_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
13:09:33 [13:09:33.500]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:34 [13:09:34.940]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:36 [13:09:36.642]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:37 [13:09:37.821]
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:09:37 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
13:09:37 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:09:37 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:09:37 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:09:37 newBlockNumber: 2,
13:09:37 previousBlockNumber: undefined
13:09:37 }
13:09:37 [13:09:37.826]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:39 [13:09:39.128]
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:09:39 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:96:17
13:09:39 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:09:39 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:09:39 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
13:09:39 [13:09:39.145]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:40 [13:09:40.994]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:42 [13:09:42.150]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:43 [13:09:43.860]
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:09:43 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:141:15
13:09:43 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:09:43 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:09:43 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
13:09:43 [13:09:43.865]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:45 [13:09:45.429]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:47 [13:09:47.397]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:49 [13:09:49.418]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:51 [13:09:51.495]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:53 [13:09:53.161]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:55 [13:09:55.353]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:57 [13:09:57.340]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:59 [13:09:59.214]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:01 [13:10:01.760]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:04 [13:10:04.525]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:06 [13:10:06.040]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:08 [13:10:08.110]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:09 [13:10:09.471]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:11 [13:10:11.580]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:13 [13:10:13.098]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:14 [13:10:14.429]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:16 [13:10:16.037]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:18 [13:10:18.031]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:19 [13:10:19.770]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:23 [13:10:23.146]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:25 [13:10:25.852]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:28 [13:10:28.732]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:31 [13:10:31.360]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:33 [13:10:33.873]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:36 [13:10:36.644]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:39 [13:10:39.501]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:42 [13:10:42.691]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:45 [13:10:45.719]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:48 [13:10:48.624]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:51 [13:10:51.825]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:54 [13:10:54.769]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:58 [13:10:58.497]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:00 [13:11:00.231]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:01 [13:11:01.957]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:03 [13:11:03.462]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:05 [13:11:05.187]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:07 [13:11:07.010]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:08 [13:11:08.920]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:10 [13:11:10.864]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:12 [13:11:12.981]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:14 [13:11:14.961]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:17 [13:11:17.292]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:19 [13:11:19.822]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x100350d5f79f6275506e16727e67a7df00e238368f299a475112263357a1ae07 for L2 block 1 has wrong index 10 (expected 0)
13:11:19 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
13:11:19 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:11:19 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:11:19 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:11:19 inboxMessage: {
13:11:19 index: 10n,
13:11:19 leaf: Fr<0x100350d5f79f6275506e16727e67a7df00e238368f299a475112263357a1ae07>,
13:11:19 l2BlockNumber: 1,
13:11:19 l1BlockNumber: 4n,
13:11:19 l1BlockHash: Buffer32<0x53dd04703b9d6706bc84a9b5a5f052bca55fbcaa2a95d7a60449becdcd3f60da>,
13:11:19 rollingHash: Buffer16<0x0336d0859ca70d5a2234a83faf62459e>
13:11:19 }
13:11:19 }
13:11:19 [13:11:19.826]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:21 [13:11:21.980]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x0ad034b6f5d558c3193cc65696abb8955987e407f657d0cb7d639c41bf1b9a3a at block 12 (expected value in range [176, 192))
13:11:21 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
13:11:21 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:11:21 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:11:21 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:11:21 inboxMessage: {
13:11:21 index: 224n,
13:11:21 leaf: Fr<0x0ad034b6f5d558c3193cc65696abb8955987e407f657d0cb7d639c41bf1b9a3a>,
13:11:21 l2BlockNumber: 12,
13:11:21 l1BlockNumber: 24n,
13:11:21 l1BlockHash: Buffer32<0x5030b5b7a7fef55677aa2c9746a00413fb5cacdb0e11635e81e8b6dd46b633b6>,
13:11:21 rollingHash: Buffer16<0xc046839536c6b1d2eb489e2daa8dfadc>
13:11:21 }
13:11:21 }
13:11:21 [13:11:21.984]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:24 [13:11:24.331]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x00665d1e8b96945acbc944b376449469303d642f51312784bdfb364925dc4020 with index 16 (expected 0xaac03c6ddddc20da4310a96a78ff266a from previous hash 0x93b5b3e887ab84f474f3e661f5e7b3b3 but got 0xf98a00d6566d2fe95e7d16e985722389)
13:11:24 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
13:11:24 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:11:24 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:11:24 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:11:24 inboxMessage: {
13:11:24 index: 16n,
13:11:24 leaf: Fr<0x00665d1e8b96945acbc944b376449469303d642f51312784bdfb364925dc4020>,
13:11:24 l2BlockNumber: 2,
13:11:24 l1BlockNumber: 96n,
13:11:24 l1BlockHash: Buffer32<0xe9a55fe00728af00baa4a75b588fdd7c70f84f7a96eded51d816b40bcaa8571f>,
13:11:24 rollingHash: Buffer16<0xf98a00d6566d2fe95e7d16e985722389>
13:11:24 }
13:11:24 }
13:11:24 [13:11:24.336]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:26 [13:11:26.475]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x1c67180a5618084d6a024f935ef069f97024500b246e92fb5e20a501b29697bc with index 32 (expected 0x8503ed47395b1c6475c641be7ca7ffba from previous hash 0x3ee34e01e6d92536cc287a10e2d8578d but got 0x323cac236df7bac76daa7e440f5a79df)
13:11:26 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
13:11:26 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:11:26 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:11:26 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:11:26 inboxMessage: {
13:11:26 index: 32n,
13:11:26 leaf: Fr<0x1c67180a5618084d6a024f935ef069f97024500b246e92fb5e20a501b29697bc>,
13:11:26 l2BlockNumber: 3,
13:11:26 l1BlockNumber: 93n,
13:11:26 l1BlockHash: Buffer32<0x235c21a627fff0e1999f4430c9142b508c5eee6bc23d8aacd2754c2ffcd908cd>,
13:11:26 rollingHash: Buffer16<0x323cac236df7bac76daa7e440f5a79df>
13:11:26 }
13:11:26 }
13:11:26 [13:11:26.478]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:28 [13:11:28.520]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x1b113edc18e5ecbac26a60e1de4dab7fd96bf6493e93d00b0e55f75b63e777be at block 17 (expected value in range [256, 272))
13:11:28 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
13:11:28 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:11:28 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:11:28 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:11:28 inboxMessage: {
13:11:28 index: 356n,
13:11:28 leaf: Fr<0x1b113edc18e5ecbac26a60e1de4dab7fd96bf6493e93d00b0e55f75b63e777be>,
13:11:28 l2BlockNumber: 17,
13:11:28 l1BlockNumber: 20n,
13:11:28 l1BlockHash: Buffer32<0x80d9664c5d59a5461a230a5b2b7a3640a71679516341cc77e1b94fd315791990>,
13:11:28 rollingHash: Buffer16<0xa4f73c37ab2c85fa5ac2bc1b98bb7509>
13:11:28 }
13:11:28 }
13:11:28 [13:11:28.524]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:30 [13:11:30.218]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x1affb7bc3257e58cad0aeb40e5d3c0f3627a76da4cf140c7c26a7089d9a2a3b5 for L2 block 15 has wrong index 225 (expected 224)
13:11:30 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
13:11:30 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:11:30 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:11:30 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:11:30 inboxMessage: {
13:11:30 index: 225n,
13:11:30 leaf: Fr<0x1affb7bc3257e58cad0aeb40e5d3c0f3627a76da4cf140c7c26a7089d9a2a3b5>,
13:11:30 l2BlockNumber: 15,
13:11:30 l1BlockNumber: 43n,
13:11:30 l1BlockHash: Buffer32<0x4fd3979474f4621067ee7aba1c7378fbfaa5922191abe031ef8da65bf24d8964>,
13:11:30 rollingHash: Buffer16<0x40870a9b273e3bcbb544438a4eccfbc4>
13:11:30 }
13:11:30 }
13:11:30 [13:11:30.222]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:31 [13:11:31.938]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x2a15ff86a0f8615e86fd3625392fadf3c6153d38a2d55a616be45b8d08a52ded at block 2 (expected value in range [16, 32))
13:11:31 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
13:11:31 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:11:31 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:11:31 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:11:31 inboxMessage: {
13:11:31 index: 32n,
13:11:31 leaf: Fr<0x2a15ff86a0f8615e86fd3625392fadf3c6153d38a2d55a616be45b8d08a52ded>,
13:11:31 l2BlockNumber: 2,
13:11:31 l1BlockNumber: 90n,
13:11:31 l1BlockHash: Buffer32<0xae8aac967cc40188164704102dca95a02184f4b05840e7386b2837d839349485>,
13:11:31 rollingHash: Buffer16<0xb092d2b91237ce63ccfc70a3a394898c>
13:11:31 }
13:11:31 }
13:11:31 [13:11:31.942]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:33 [13:11:33.942]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
13:11:33 [13:11:33.970]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:35 [13:11:35.989]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
13:11:36 [13:11:36.009]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:38 [13:11:38.133]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:40 [13:11:40.176]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:41 [13:11:41.977]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:43 [13:11:43.963]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:45 [13:11:45.908]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:47 [13:11:47.792]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:49 [13:11:49.817]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:51 [13:11:51.868]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:53 [13:11:53.699]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:55 [13:11:55.595]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:57 [13:11:57.621]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:11:59 [13:11:59.567]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:12:01 [13:12:01.602]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:12:03 [13:12:03.604]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:12:05 [13:12:05.503]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:12:07 [13:12:07.387]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:12:10 [13:12:10.676]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:12:13 [13:12:13.944]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:12:17 [13:12:17.390]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:12:20 [13:12:20.691]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:12:26 [13:12:26.998]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:12:32 [13:12:32.354]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:12:37 [13:12:37.958]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:12:43 [13:12:43.092]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:12:47 [13:12:47.994]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:12:52 [13:12:52.082]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:12:56 [13:12:56.074]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:13:00
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
208.854 s)
13:13:00 KVArchiverDataStore
13:13:00 ArchiverStore
13:13:00 addBlocks
13:13:00
✓ returns success when adding blocks (1458 ms)
13:13:00
✓ allows duplicate blocks (1700 ms)
13:13:00
✓ throws an error if the previous block does not exist in the store (1184 ms)
13:13:00
✓ throws an error if there is a gap in the blocks being added (1319 ms)
13:13:00 unwindBlocks
13:13:00
✓ unwinding blocks will remove blocks from the chain (1848 ms)
13:13:00
✓ can unwind multiple empty blocks (1155 ms)
13:13:00
✓ refuses to unwind blocks if the tip is not the last block (1714 ms)
13:13:00 getBlocks
13:13:00
✓ retrieves previously stored blocks (1563 ms)
13:13:00
✓ retrieves previously stored blocks (1967 ms)
13:13:00
✓ retrieves previously stored blocks (2020 ms)
13:13:00
✓ retrieves previously stored blocks (2076 ms)
13:13:00
✓ retrieves previously stored blocks (1664 ms)
13:13:00
✓ returns an empty array if no blocks are found (2182 ms)
13:13:00
✓ throws an error if limit is invalid (1995 ms)
13:13:00
✓ throws an error if `from` it is out of range (1873 ms)
13:13:00
✓ throws an error if unexpected initial block number is found (2546 ms)
13:13:00
✓ throws an error if a gap is found (2754 ms)
13:13:00 getSyncedL2BlockNumber
13:13:00
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1512 ms)
13:13:00
✓ returns the most recently added block's number (2080 ms)
13:13:00 getSynchPoint
13:13:00
✓ returns undefined if no blocks have been added (1360 ms)
13:13:00
✓ returns the L1 block number in which the most recent L2 block was published (2106 ms)
13:13:00
✓ returns the L1 block number that most recently added messages from inbox (1519 ms)
13:13:00
✓ returns the latest syncpoint if latest message is behind (1327 ms)
13:13:00 addLogs
13:13:00
✓ adds private & public logs (1606 ms)
13:13:00 deleteLogs
13:13:00
✓ deletes private & public logs (1993 ms)
13:13:00 getPrivateLogs
13:13:00
✓ gets added private logs (1739 ms)
13:13:00 getTxEffect
13:13:00
✓ retrieves a previously stored transaction (3376 ms)
13:13:00
✓ retrieves a previously stored transaction (2704 ms)
13:13:00
✓ retrieves a previously stored transaction (2880 ms)
13:13:00
✓ retrieves a previously stored transaction (2627 ms)
13:13:00
✓ retrieves a previously stored transaction (2506 ms)
13:13:00
✓ returns undefined if tx is not found (2776 ms)
13:13:00
✓ tries to retrieves a previously stored transaction after deleted (2856 ms)
13:13:00
✓ tries to retrieves a previously stored transaction after deleted (3190 ms)
13:13:00
✓ tries to retrieves a previously stored transaction after deleted (3027 ms)
13:13:00
✓ tries to retrieves a previously stored transaction after deleted (2906 ms)
13:13:00
✓ tries to retrieves a previously stored transaction after deleted (3199 ms)
13:13:00
✓ returns undefined if tx is not found (2944 ms)
13:13:00
✓ does not fail if the block is unwound while requesting a tx (3726 ms)
13:13:00 L1 to L2 Messages
13:13:00
✓ stores first message ever (1734 ms)
13:13:00
✓ stores single message (1727 ms)
13:13:00
✓ stores and returns messages across different blocks (1504 ms)
13:13:00
✓ stores the same messages again (1721 ms)
13:13:00
✓ stores and returns messages across different blocks with gaps (1824 ms)
13:13:00
✓ stores and returns messages with block numbers larger than a byte (1905 ms)
13:13:00
✓ stores and returns multiple messages per block (1946 ms)
13:13:00
✓ stores messages in multiple operations (2116 ms)
13:13:00
✓ iterates over messages from start index (1979 ms)
13:13:00
✓ iterates over messages in reverse (2331 ms)
13:13:00
✓ throws if messages are added out of order (2533 ms)
13:13:00
✓ throws if block number for the first message is out of order (2157 ms)
13:13:00
✓ throws if rolling hash is not correct (2349 ms)
13:13:00
✓ throws if rolling hash for first message is not correct (2143 ms)
13:13:00
✓ throws if index is not in the correct range (2045 ms)
13:13:00
✓ throws if first index in block has gaps (1698 ms)
13:13:00
✓ throws if index does not follow previous one (1720 ms)
13:13:00
✓ removes messages up to the given block number (2029 ms)
13:13:00
✓ removes messages starting with the given index (2037 ms)
13:13:00 contractInstances
13:13:00
✓ returns previously stored contract instances (2123 ms)
13:13:00
✓ returns undefined if contract instance is not found (2043 ms)
13:13:00
✓ returns undefined if previously stored contract instances was deleted (1800 ms)
13:13:00 contractInstanceUpdates
13:13:00
✓ gets the correct current class id for a contract not updated yet (1980 ms)
13:13:00
✓ gets the correct current class id for a contract that has just been updated (1946 ms)
13:13:00
✓ gets the correct current class id for a contract that was updated in the past (1883 ms)
13:13:00
✓ ignores updates for the wrong contract (2024 ms)
13:13:00
✓ bounds its search to the right contract if more than than one update exists (2049 ms)
13:13:00 contractClasses
13:13:00
✓ returns previously stored contract class (1831 ms)
13:13:00
✓ returns undefined if the initial deployed contract class was deleted (1894 ms)
13:13:00
✓ returns contract class if later "deployment" class was deleted (2025 ms)
13:13:00
✓ returns undefined if contract class is not found (1942 ms)
13:13:00
✓ adds new private functions (2037 ms)
13:13:00
✓ does not duplicate private functions (2003 ms)
13:13:00
✓ adds new utility functions (1897 ms)
13:13:00
✓ does not duplicate utility functions (1881 ms)
13:13:00 getLogsByTags
13:13:00
✓ is possible to batch request private logs via tags (3289 ms)
13:13:00
✓ is possible to batch request all logs (private and public) via tags (3266 ms)
13:13:00
✓ is possible to batch request logs that have the same tag but different content (3446 ms)
13:13:00
✓ is possible to request logs for non-existing tags and determine their position (3299 ms)
13:13:00 getPublicLogs
13:13:00
✓ no logs returned if deleted ("txHash" filter param is respected variant) (6306 ms)
13:13:00
✓ "txHash" filter param is respected (5355 ms)
13:13:00
✓ "fromBlock" and "toBlock" filter params are respected (5603 ms)
13:13:00
✓ "contractAddress" filter param is respected (5134 ms)
13:13:00
✓ "afterLog" filter param is respected (4901 ms)
13:13:00
✓ "txHash" filter param is ignored when "afterLog" is set (4089 ms)
13:13:00
✓ intersecting works (3991 ms)
13:13:00
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4617 ms)
13:13:00
13:13:00
Test Suites: 1 passed, 1 total
13:13:00
Tests: 86 passed, 86 total
13:13:00
Snapshots: 0 total
13:13:00
Time: 208.942 s
13:13:00
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
13:13:00
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?