Parent Log:
http://ci.aztec-labs.com/8a1d8dba37493eec
Command: 63df5e0f43e4b264 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=0
Date: Mon Jun 16 10:45:46 UTC 2025
System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-14161_arm64_a1-fast
Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
10:45:47 [10:45:47.932]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:45:49 [10:45:49.157]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:45:50 [10:45:50.475]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:45:51 [10:45:51.448]
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:45:51 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
10:45:51 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:45:51 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:45:51 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:45:51 newBlockNumber: 2,
10:45:51 previousBlockNumber: undefined
10:45:51 }
10:45:51 [10:45:51.452]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:45:52 [10:45:52.526]
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:45:52 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17
10:45:52 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:45:52 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:45:52 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
10:45:52 [10:45:52.528]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:45:53 [10:45:53.728]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:45:54 [10:45:54.660]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:45:55 [10:45:55.782]
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:45:55 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15
10:45:55 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:45:55 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:45:55 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
10:45:55 [10:45:55.785]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:45:56 [10:45:56.945]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:45:58 [10:45:58.111]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:45:59 [10:45:59.462]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:00 [10:46:00.712]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:01 [10:46:01.913]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:03 [10:46:03.062]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:04 [10:46:04.236]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:05 [10:46:05.425]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:06 [10:46:06.743]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:08 [10:46:08.318]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:09 [10:46:09.447]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:10 [10:46:10.995]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:12 [10:46:12.567]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:13 [10:46:13.909]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:15 [10:46:15.029]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:16 [10:46:16.488]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:17 [10:46:17.983]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:19 [10:46:19.407]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:20 [10:46:20.698]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:22 [10:46:22.633]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:24 [10:46:24.546]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:26 [10:46:26.462]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:28 [10:46:28.375]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:30 [10:46:30.274]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:32 [10:46:32.191]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:34 [10:46:34.229]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:36 [10:46:36.288]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:38 [10:46:38.353]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:40 [10:46:40.428]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:42 [10:46:42.471]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:44 [10:46:44.415]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:46 [10:46:46.732]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:47 [10:46:47.951]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:49 [10:46:49.190]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:50 [10:46:50.434]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:51 [10:46:51.694]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:52 [10:46:52.967]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:54 [10:46:54.237]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:55 [10:46:55.567]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:56 [10:46:56.954]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:58 [10:46:58.338]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:59 [10:46:59.763]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:47:01 [10:47:01.147]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x02cc7245f8b26e6e759661f2b241561be400f114fa5cc2482b7f84576f8aaa01 for L2 block 1 has wrong index 10 (expected 0)
10:47:01 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
10:47:01 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:47:01 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:47:01 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:47:01 inboxMessage: {
10:47:01 index: 10n,
10:47:01 leaf: Fr<0x02cc7245f8b26e6e759661f2b241561be400f114fa5cc2482b7f84576f8aaa01>,
10:47:01 l2BlockNumber: 1,
10:47:01 l1BlockNumber: 25n,
10:47:01 l1BlockHash: Buffer32<0xfe0d51ce40fb74ec83854b38ee968e5ce8ec99491d0cfc56526fb2503f8d7d88>,
10:47:01 rollingHash: Buffer16<0x40f1f0e57fdead7d2d531fbb9142e0d6>
10:47:01 }
10:47:01 }
10:47:01 [10:47:01.151]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:47:02 [10:47:02.539]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x22f17011b6474bf77d77a3bb574f94a85bd9f1f10d6f88e4b387109b45447016 at block 12 (expected value in range [176, 192))
10:47:02 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
10:47:02 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:47:02 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:47:02 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:47:02 inboxMessage: {
10:47:02 index: 224n,
10:47:02 leaf: Fr<0x22f17011b6474bf77d77a3bb574f94a85bd9f1f10d6f88e4b387109b45447016>,
10:47:02 l2BlockNumber: 12,
10:47:02 l1BlockNumber: 16n,
10:47:02 l1BlockHash: Buffer32<0xf8527c2388470e71e448263e9afb3eae2eeaf381593e32080d2b97c785b77d53>,
10:47:02 rollingHash: Buffer16<0xaf29567f4ddcc9a2fe907627b6bfb2c4>
10:47:02 }
10:47:02 }
10:47:02 [10:47:02.540]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:47:03 [10:47:03.949]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x18089740c9e2f1bed9c4cbf108d21e02ec4e2d2e28cebba5caaf22b2f01841cb with index 16 (expected 0xb1650e14fac11d33f644b8b2abac301a from previous hash 0xb9f13b672e346294bd98ebd930133809 but got 0x151e5fb0260c743ed88e7c526912a9b4)
10:47:03 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
10:47:03 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:47:03 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:47:03 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:47:03 inboxMessage: {
10:47:03 index: 16n,
10:47:03 leaf: Fr<0x18089740c9e2f1bed9c4cbf108d21e02ec4e2d2e28cebba5caaf22b2f01841cb>,
10:47:03 l2BlockNumber: 2,
10:47:03 l1BlockNumber: 78n,
10:47:03 l1BlockHash: Buffer32<0xe3ba535b27f6259e9ecd5b3c01e93660dc846a39eb15e467abb90f033f7e8a0a>,
10:47:03 rollingHash: Buffer16<0x151e5fb0260c743ed88e7c526912a9b4>
10:47:03 }
10:47:03 }
10:47:03 [10:47:03.951]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:47:05 [10:47:05.372]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x1a37b837d59e1cc3172f7d9d57c08a0077eb727fc714c37e02d6fd47e95c8105 with index 32 (expected 0x669b939bb033df927284cf0729e73386 from previous hash 0xf7e1d40414b49db1cb5c12a63338975b but got 0xdecb8a6af023349317c52afcba9d2566)
10:47:05 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
10:47:05 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:47:05 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:47:05 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:47:05 inboxMessage: {
10:47:05 index: 32n,
10:47:05 leaf: Fr<0x1a37b837d59e1cc3172f7d9d57c08a0077eb727fc714c37e02d6fd47e95c8105>,
10:47:05 l2BlockNumber: 3,
10:47:05 l1BlockNumber: 50n,
10:47:05 l1BlockHash: Buffer32<0x90eb333deb10bd5c0c3887faef3a8d9abad8d1cb40cfc7c9c0d15b040a50ff8e>,
10:47:05 rollingHash: Buffer16<0xdecb8a6af023349317c52afcba9d2566>
10:47:05 }
10:47:05 }
10:47:05 [10:47:05.374]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:47:06 [10:47:06.823]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x199e53b0739955cf110a8ae5403957f93369cc60204bafcb3b96a581ba29cbc6 at block 17 (expected value in range [256, 272))
10:47:06 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
10:47:06 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:47:06 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:47:06 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:47:06 inboxMessage: {
10:47:06 index: 356n,
10:47:06 leaf: Fr<0x199e53b0739955cf110a8ae5403957f93369cc60204bafcb3b96a581ba29cbc6>,
10:47:06 l2BlockNumber: 17,
10:47:06 l1BlockNumber: 93n,
10:47:06 l1BlockHash: Buffer32<0x3263e2a8daf6f8b241fcc447617f8a2b776e3a14daf7548dac6e2895e5c3f615>,
10:47:06 rollingHash: Buffer16<0x7cdd7aa4a769454e5bb1200d965a06b7>
10:47:06 }
10:47:06 }
10:47:06 [10:47:06.825]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:47:08 [10:47:08.452]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x17cfde73dcf59b48a9f9530e5c48bf7e83db03e79ef44994d2f2ce9a5bcf3a65 for L2 block 15 has wrong index 225 (expected 224)
10:47:08 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
10:47:08 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:47:08 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:47:08 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:47:08 inboxMessage: {
10:47:08 index: 225n,
10:47:08 leaf: Fr<0x17cfde73dcf59b48a9f9530e5c48bf7e83db03e79ef44994d2f2ce9a5bcf3a65>,
10:47:08 l2BlockNumber: 15,
10:47:08 l1BlockNumber: 47n,
10:47:08 l1BlockHash: Buffer32<0xb75f84c6ddcb44f922cc49d48ecfea0e4fbdbbc50487af950bbfc6233c49ff20>,
10:47:08 rollingHash: Buffer16<0xf2dcf39711a7f5c945d19ca27400a627>
10:47:08 }
10:47:08 }
10:47:08 [10:47:08.456]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:47:09 [10:47:09.874]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x0f5450f500bbfa25c3b8dacbbe0fc97f95504b078ab7f7469de7d1c93f60d386 at block 2 (expected value in range [16, 32))
10:47:09 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
10:47:09 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:47:09 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:47:09 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:47:09 inboxMessage: {
10:47:09 index: 32n,
10:47:09 leaf: Fr<0x0f5450f500bbfa25c3b8dacbbe0fc97f95504b078ab7f7469de7d1c93f60d386>,
10:47:09 l2BlockNumber: 2,
10:47:09 l1BlockNumber: 8n,
10:47:09 l1BlockHash: Buffer32<0xc2a6855916a217acdd0c2b4986b9e76e3ddcd136af60d0827c4dfdbbb05e06ca>,
10:47:09 rollingHash: Buffer16<0x850f9ed802318a4635e25981e5ba7c4f>
10:47:09 }
10:47:09 }
10:47:09 [10:47:09.876]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:47:11 [10:47:11.406]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
10:47:11 [10:47:11.444]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:47:12 [10:47:12.959]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
10:47:12 [10:47:12.979]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:47:14 [10:47:14.471]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:47:15 [10:47:15.993]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:47:17 [10:47:17.478]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:47:18 [10:47:18.989]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:47:20 [10:47:20.506]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:47:21 [10:47:21.992]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:47:23 [10:47:23.507]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:47:25 [10:47:25.046]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:47:26 [10:47:26.591]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:47:28 [10:47:28.129]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:47:29 [10:47:29.691]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:47:31 [10:47:31.265]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:47:32 [10:47:32.858]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:47:34 [10:47:34.448]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:47:36 [10:47:36.002]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:47:37 [10:47:37.573]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:47:40 [10:47:40.206]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:47:42 [10:47:42.878]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:47:45 [10:47:45.978]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:47:48 [10:47:48.686]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:47:53 [10:47:53.425]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:47:57 [10:47:57.765]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:48:02 [10:48:02.351]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:48:06 [10:48:06.937]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:48:11 [10:48:11.567]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:48:16 [10:48:16.375]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:48:21 [10:48:21.181]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:48:26
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
159.498 s)
10:48:26 KVArchiverDataStore
10:48:26 ArchiverStore
10:48:26 addBlocks
10:48:26
✓ returns success when adding blocks (1227 ms)
10:48:26
✓ allows duplicate blocks (1318 ms)
10:48:26
✓ throws an error if the previous block does not exist in the store (977 ms)
10:48:26
✓ throws an error if there is a gap in the blocks being added (1076 ms)
10:48:26 unwindBlocks
10:48:26
✓ unwinding blocks will remove blocks from the chain (1200 ms)
10:48:26
✓ can unwind multiple empty blocks (932 ms)
10:48:26
✓ refuses to unwind blocks if the tip is not the last block (1123 ms)
10:48:26 getBlocks
10:48:26
✓ retrieves previously stored blocks (1157 ms)
10:48:26
✓ retrieves previously stored blocks (1170 ms)
10:48:26
✓ retrieves previously stored blocks (1352 ms)
10:48:26
✓ retrieves previously stored blocks (1248 ms)
10:48:26
✓ retrieves previously stored blocks (1201 ms)
10:48:26
✓ returns an empty array if no blocks are found (1149 ms)
10:48:26
✓ throws an error if limit is invalid (1174 ms)
10:48:26
✓ throws an error if `from` it is out of range (1189 ms)
10:48:26
✓ throws an error if unexpected initial block number is found (1316 ms)
10:48:26
✓ throws an error if a gap is found (1574 ms)
10:48:26 getSyncedL2BlockNumber
10:48:26
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1131 ms)
10:48:26
✓ returns the most recently added block's number (1547 ms)
10:48:26 getSynchPoint
10:48:26
✓ returns undefined if no blocks have been added (1572 ms)
10:48:26
✓ returns the L1 block number in which the most recent L2 block was published (1341 ms)
10:48:26
✓ returns the L1 block number that most recently added messages from inbox (1119 ms)
10:48:26
✓ returns the latest syncpoint if latest message is behind (1453 ms)
10:48:26 addLogs
10:48:26
✓ adds private & public logs (1500 ms)
10:48:26 deleteLogs
10:48:26
✓ deletes private & public logs (1424 ms)
10:48:26 getPrivateLogs
10:48:26
✓ gets added private logs (1290 ms)
10:48:26 getTxEffect
10:48:26
✓ retrieves a previously stored transaction (1934 ms)
10:48:26
✓ retrieves a previously stored transaction (1912 ms)
10:48:26
✓ retrieves a previously stored transaction (1916 ms)
10:48:26
✓ retrieves a previously stored transaction (1913 ms)
10:48:26
✓ retrieves a previously stored transaction (1898 ms)
10:48:26
✓ returns undefined if tx is not found (1917 ms)
10:48:26
✓ tries to retrieves a previously stored transaction after deleted (2037 ms)
10:48:26
✓ tries to retrieves a previously stored transaction after deleted (2058 ms)
10:48:26
✓ tries to retrieves a previously stored transaction after deleted (2065 ms)
10:48:26
✓ tries to retrieves a previously stored transaction after deleted (2075 ms)
10:48:26
✓ tries to retrieves a previously stored transaction after deleted (2043 ms)
10:48:26
✓ returns undefined if tx is not found (1944 ms)
10:48:26
✓ does not fail if the block is unwound while requesting a tx (2316 ms)
10:48:26 L1 to L2 Messages
10:48:26
✓ stores first message ever (1219 ms)
10:48:26
✓ stores single message (1239 ms)
10:48:26
✓ stores and returns messages across different blocks (1244 ms)
10:48:26
✓ stores the same messages again (1258 ms)
10:48:26
✓ stores and returns messages across different blocks with gaps (1271 ms)
10:48:26
✓ stores and returns messages with block numbers larger than a byte (1271 ms)
10:48:26
✓ stores and returns multiple messages per block (1330 ms)
10:48:26
✓ stores messages in multiple operations (1386 ms)
10:48:26
✓ iterates over messages from start index (1384 ms)
10:48:26
✓ iterates over messages in reverse (1425 ms)
10:48:26
✓ throws if messages are added out of order (1386 ms)
10:48:26
✓ throws if block number for the first message is out of order (1391 ms)
10:48:26
✓ throws if rolling hash is not correct (1410 ms)
10:48:26
✓ throws if rolling hash for first message is not correct (1423 ms)
10:48:26
✓ throws if index is not in the correct range (1450 ms)
10:48:26
✓ throws if first index in block has gaps (1629 ms)
10:48:26
✓ throws if index does not follow previous one (1422 ms)
10:48:26
✓ removes messages up to the given block number (1568 ms)
10:48:26
✓ removes messages starting with the given index (1534 ms)
10:48:26 contractInstances
10:48:26
✓ returns previously stored contract instances (1492 ms)
10:48:26
✓ returns undefined if contract instance is not found (1522 ms)
10:48:26
✓ returns undefined if previously stored contract instances was deleted (1484 ms)
10:48:26 contractInstanceUpdates
10:48:26
✓ gets the correct current class id for a contract not updated yet (1511 ms)
10:48:26
✓ gets the correct current class id for a contract that has just been updated (1517 ms)
10:48:26
✓ gets the correct current class id for a contract that was updated in the past (1486 ms)
10:48:26
✓ ignores updates for the wrong contract (1514 ms)
10:48:26
✓ bounds its search to the right contract if more than than one update exists (1537 ms)
10:48:26 contractClasses
10:48:26
✓ returns previously stored contract class (1546 ms)
10:48:26
✓ returns undefined if the initial deployed contract class was deleted (1538 ms)
10:48:26
✓ returns contract class if later "deployment" class was deleted (1562 ms)
10:48:26
✓ returns undefined if contract class is not found (1573 ms)
10:48:26
✓ adds new private functions (1593 ms)
10:48:26
✓ does not duplicate private functions (1588 ms)
10:48:26
✓ adds new utility functions (1555 ms)
10:48:26
✓ does not duplicate utility functions (1569 ms)
10:48:26 getLogsByTags
10:48:26
✓ is possible to batch request private logs via tags (2633 ms)
10:48:26
✓ is possible to batch request all logs (private and public) via tags (2672 ms)
10:48:26
✓ is possible to batch request logs that have the same tag but different content (3101 ms)
10:48:26
✓ is possible to request logs for non-existing tags and determine their position (2707 ms)
10:48:26 getPublicLogs
10:48:26
✓ no logs returned if deleted ("txHash" filter param is respected variant) (4738 ms)
10:48:26
✓ "txHash" filter param is respected (4339 ms)
10:48:26
✓ "fromBlock" and "toBlock" filter params are respected (4586 ms)
10:48:26
✓ "contractAddress" filter param is respected (4586 ms)
10:48:26
✓ "afterLog" filter param is respected (4628 ms)
10:48:26
✓ "txHash" filter param is ignored when "afterLog" is set (4806 ms)
10:48:26
✓ intersecting works (4807 ms)
10:48:26
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (5171 ms)
10:48:26
10:48:26
Test Suites: 1 passed, 1 total
10:48:26
Tests: 86 passed, 86 total
10:48:26
Snapshots: 0 total
10:48:26
Time: 159.569 s
10:48:26
Ran all test suites matching /archiver\/src\/archiver\/kv_archiver_store\/kv_archiver_store.test.ts/i
.
10:48:26
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?