Parent Log:
http://ci.aztec-labs.com/561d47bad933e22b
Command: 4387bf6bd5f0ba11 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/92ef6e28f2b718bb1009392a60b8311979c782d2
Env: REF_NAME=gh-readonly-queue/next/pr-15126-69eacbd6f18ad2a9ac646c4ffaf0133b0cdf856a CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Thu Jun 19 11:56:29 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15126_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
11:56:32 [11:56:32.425]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:56:34 [11:56:34.241]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:56:35 [11:56:35.939]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:56:36 [11:56:36.959]
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
11:56:36 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
11:56:36 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:56:36 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:56:36 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
11:56:36 newBlockNumber: 2,
11:56:36 previousBlockNumber: undefined
11:56:36 }
11:56:36 [11:56:36.963]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:56:37 [11:56:37.911]
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
11:56:37 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:96:17
11:56:37 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:56:37 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:56:37 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
11:56:37 [11:56:37.915]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:56:39 [11:56:39.486]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:56:40 [11:56:40.683]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:56:42 [11:56:42.379]
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)
11:56:42 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:141:15
11:56:42 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:56:42 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:56:42 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
11:56:42 [11:56:42.386]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:56:43 [11:56:43.819]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:56:45 [11:56:45.381]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:56:47 [11:56:47.026]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:56:48 [11:56:48.569]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:56:50 [11:56:50.026]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:56:51 [11:56:51.728]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:56:53 [11:56:53.402]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:56:55 [11:56:55.025]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:56:56 [11:56:56.786]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:57:00 [11:57:00.178]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:57:01 [11:57:01.839]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:57:04 [11:57:04.039]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:57:06 [11:57:06.039]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:57:08 [11:57:08.047]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:57:09 [11:57:09.498]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:57:10 [11:57:10.940]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:57:12 [11:57:12.518]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:57:14 [11:57:14.119]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:57:15 [11:57:15.471]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:57:17 [11:57:17.761]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:57:20 [11:57:20.255]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:57:22 [11:57:22.797]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:57:25 [11:57:25.352]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:57:28 [11:57:28.014]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:57:30 [11:57:30.599]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:57:33 [11:57:33.569]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:57:36 [11:57:36.282]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:57:39 [11:57:39.002]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:57:41 [11:57:41.875]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:57:45 [11:57:45.098]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:57:47 [11:57:47.978]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:57:51 [11:57:51.868]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:57:53 [11:57:53.749]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:57:55 [11:57:55.461]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:57:57 [11:57:56.999]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:57:59 [11:57:59.302]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:58:01 [11:58:01.108]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:58:02 [11:58:02.877]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:58:04 [11:58:04.685]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:58:06 [11:58:06.529]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:58:08 [11:58:08.382]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:58:10 [11:58:10.247]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:58:12 [11:58:12.601]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x1a79c3c93e86994c41f714d569ea0c031c7346f75d8056ab2cf4e2dc2f3e2b45 for L2 block 1 has wrong index 10 (expected 0)
11:58:12 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
11:58:12 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:58:12 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:58:12 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
11:58:12 inboxMessage: {
11:58:12 index: 10n,
11:58:12 leaf: Fr<0x1a79c3c93e86994c41f714d569ea0c031c7346f75d8056ab2cf4e2dc2f3e2b45>,
11:58:12 l2BlockNumber: 1,
11:58:12 l1BlockNumber: 71n,
11:58:12 l1BlockHash: Buffer32<0x01ea108fdebb9c41f95e0f5a0a4503da81219a97c425e776f2564602da5575b2>,
11:58:12 rollingHash: Buffer16<0x405d97ae5de8e51d3a819790476e93c6>
11:58:12 }
11:58:12 }
11:58:12 [11:58:12.606]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:58:14 [11:58:14.763]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x1ea2a6ceaeb5fb3caa5c9fc5018341ce7b18a4a5d7a9d82a4eed94f65795c615 at block 12 (expected value in range [176, 192))
11:58:14 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
11:58:14 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:58:14 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:58:14 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
11:58:14 inboxMessage: {
11:58:14 index: 224n,
11:58:14 leaf: Fr<0x1ea2a6ceaeb5fb3caa5c9fc5018341ce7b18a4a5d7a9d82a4eed94f65795c615>,
11:58:14 l2BlockNumber: 12,
11:58:14 l1BlockNumber: 94n,
11:58:14 l1BlockHash: Buffer32<0xb3de13d202e18d29eebb31c60a0ef5c581af14e901b98bdb84b1ec446e77bca6>,
11:58:14 rollingHash: Buffer16<0x19401d6c4ec7c0016d121de5266c4062>
11:58:14 }
11:58:14 }
11:58:14 [11:58:14.766]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:58:16 [11:58:16.622]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x29523a4094aa6279b19c20a9cc56d71fe55cc43a4da0798a09b7153be0ed72c8 with index 16 (expected 0x24bee805d21d2766631e3a845e93abab from previous hash 0x04c10ae2cef90de896fcd80264c9aa3c but got 0xfd53bcf223f4c8a633182e9d787dfa91)
11:58:16 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
11:58:16 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:58:16 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:58:16 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
11:58:16 inboxMessage: {
11:58:16 index: 16n,
11:58:16 leaf: Fr<0x29523a4094aa6279b19c20a9cc56d71fe55cc43a4da0798a09b7153be0ed72c8>,
11:58:16 l2BlockNumber: 2,
11:58:16 l1BlockNumber: 48n,
11:58:16 l1BlockHash: Buffer32<0x8472abba37d7a9fbf448f39908995f341d026b8bb220bc97e9ade22b31412895>,
11:58:16 rollingHash: Buffer16<0xfd53bcf223f4c8a633182e9d787dfa91>
11:58:16 }
11:58:16 }
11:58:16 [11:58:16.627]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:58:18 [11:58:18.916]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x2eb22d7868fc2409bbc94f3618e4adf59e746d2c6c3caa7ef703832217642459 with index 32 (expected 0x65ed2086eac0873542ba0524cc77826c from previous hash 0x4b0f152799f8d005ee2645ea61408b83 but got 0x5979f592956eda10a64766288ea65969)
11:58:18 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
11:58:18 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:58:18 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:58:18 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
11:58:18 inboxMessage: {
11:58:18 index: 32n,
11:58:18 leaf: Fr<0x2eb22d7868fc2409bbc94f3618e4adf59e746d2c6c3caa7ef703832217642459>,
11:58:18 l2BlockNumber: 3,
11:58:18 l1BlockNumber: 23n,
11:58:18 l1BlockHash: Buffer32<0xb00d79894af659a6b5b7f5516be0588b9293c888b4ef20ed52cf7a56a637f021>,
11:58:18 rollingHash: Buffer16<0x5979f592956eda10a64766288ea65969>
11:58:18 }
11:58:18 }
11:58:18 [11:58:18.920]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:58:20 [11:58:20.869]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x28a4bdc6a0d747c7dc14b879b8649ad95b50e0ed518171166ba9466d2ca58e17 at block 17 (expected value in range [256, 272))
11:58:20 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
11:58:20 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:58:20 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:58:20 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
11:58:20 inboxMessage: {
11:58:20 index: 356n,
11:58:20 leaf: Fr<0x28a4bdc6a0d747c7dc14b879b8649ad95b50e0ed518171166ba9466d2ca58e17>,
11:58:20 l2BlockNumber: 17,
11:58:20 l1BlockNumber: 40n,
11:58:20 l1BlockHash: Buffer32<0x9b45dcefba3c819449aada5902eb07a24ec9d3b1508b3b70905bf0b46a5d2748>,
11:58:20 rollingHash: Buffer16<0x04590226206a4d296927ea72a7a8cdce>
11:58:20 }
11:58:20 }
11:58:20 [11:58:20.872]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:58:22 [11:58:22.598]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x2321c665c58417ca9d65a1840db3fb1ba3be3a9e704c8d0b401cc6331ea78724 for L2 block 15 has wrong index 225 (expected 224)
11:58:22 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
11:58:22 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:58:22 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:58:22 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
11:58:22 inboxMessage: {
11:58:22 index: 225n,
11:58:22 leaf: Fr<0x2321c665c58417ca9d65a1840db3fb1ba3be3a9e704c8d0b401cc6331ea78724>,
11:58:22 l2BlockNumber: 15,
11:58:22 l1BlockNumber: 55n,
11:58:22 l1BlockHash: Buffer32<0xa71812142b3e807aaf07d1d563a9c43d0a7b397a42fa9c71de9ce798a0f73652>,
11:58:22 rollingHash: Buffer16<0x0c3c73e591223d0e7a022cd68b525163>
11:58:22 }
11:58:22 }
11:58:22 [11:58:22.601]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:58:24 [11:58:24.213]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x0209e40cc22073ba843099247825e135aeab08ebccc320dc375e185dcef1600d at block 2 (expected value in range [16, 32))
11:58:24 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
11:58:24 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:58:24 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:58:24 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
11:58:24 inboxMessage: {
11:58:24 index: 32n,
11:58:24 leaf: Fr<0x0209e40cc22073ba843099247825e135aeab08ebccc320dc375e185dcef1600d>,
11:58:24 l2BlockNumber: 2,
11:58:24 l1BlockNumber: 76n,
11:58:24 l1BlockHash: Buffer32<0x892ef0ae83ceb8cbd3126e89f9729ee2d22aa064c6463ba6bc10cdb06c723556>,
11:58:24 rollingHash: Buffer16<0x0c37581cc1d3afbe604643a33d035788>
11:58:24 }
11:58:24 }
11:58:24 [11:58:24.216]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:58:26 [11:58:26.058]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
11:58:26 [11:58:26.098]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:58:28 [11:58:28.090]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
11:58:28 [11:58:28.123]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:58:30 [11:58:30.169]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:58:32 [11:58:32.041]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:58:33 [11:58:33.953]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:58:35 [11:58:35.943]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:58:37 [11:58:37.879]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:58:39 [11:58:39.549]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:58:41 [11:58:41.559]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:58:43 [11:58:43.566]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:58:45 [11:58:45.635]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:58:47 [11:58:47.413]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:58:49 [11:58:49.178]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:58:50 [11:58:50.992]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:58:52 [11:58:52.971]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:58:54 [11:58:54.994]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:58:56 [11:58:56.862]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:58:58 [11:58:58.913]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:02 [11:59:02.456]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:06 [11:59:06.020]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:09 [11:59:09.805]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:13 [11:59:13.106]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:19 [11:59:19.635]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:24 [11:59:24.896]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:30 [11:59:30.058]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:34 [11:59:34.814]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:40 [11:59:40.167]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:45 [11:59:45.496]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:50 [11:59:50.430]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:59:54
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
203.852 s)
11:59:54 KVArchiverDataStore
11:59:54 ArchiverStore
11:59:54 addBlocks
11:59:54
✓ returns success when adding blocks (1819 ms)
11:59:54
✓ allows duplicate blocks (1696 ms)
11:59:54
✓ throws an error if the previous block does not exist in the store (1024 ms)
11:59:54
✓ throws an error if there is a gap in the blocks being added (950 ms)
11:59:54 unwindBlocks
11:59:54
✓ unwinding blocks will remove blocks from the chain (1570 ms)
11:59:54
✓ can unwind multiple empty blocks (1197 ms)
11:59:54
✓ refuses to unwind blocks if the tip is not the last block (1699 ms)
11:59:54 getBlocks
11:59:54
✓ retrieves previously stored blocks (1435 ms)
11:59:54
✓ retrieves previously stored blocks (1563 ms)
11:59:54
✓ retrieves previously stored blocks (1645 ms)
11:59:54
✓ retrieves previously stored blocks (1541 ms)
11:59:54
✓ retrieves previously stored blocks (1457 ms)
11:59:54
✓ returns an empty array if no blocks are found (1695 ms)
11:59:54
✓ throws an error if limit is invalid (1669 ms)
11:59:54
✓ throws an error if `from` it is out of range (1631 ms)
11:59:54
✓ throws an error if unexpected initial block number is found (1761 ms)
11:59:54
✓ throws an error if a gap is found (3383 ms)
11:59:54 getSyncedL2BlockNumber
11:59:54
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1660 ms)
11:59:54
✓ returns the most recently added block's number (2202 ms)
11:59:54 getSynchPoint
11:59:54
✓ returns undefined if no blocks have been added (1992 ms)
11:59:54
✓ returns the L1 block number in which the most recent L2 block was published (2013 ms)
11:59:54
✓ returns the L1 block number that most recently added messages from inbox (1450 ms)
11:59:54
✓ returns the latest syncpoint if latest message is behind (1439 ms)
11:59:54 addLogs
11:59:54
✓ adds private & public logs (1575 ms)
11:59:54 deleteLogs
11:59:54
✓ deletes private & public logs (1599 ms)
11:59:54 getPrivateLogs
11:59:54
✓ gets added private logs (1355 ms)
11:59:54 getTxEffect
11:59:54
✓ retrieves a previously stored transaction (2288 ms)
11:59:54
✓ retrieves a previously stored transaction (2495 ms)
11:59:54
✓ retrieves a previously stored transaction (2542 ms)
11:59:54
✓ retrieves a previously stored transaction (2554 ms)
11:59:54
✓ retrieves a previously stored transaction (2658 ms)
11:59:54
✓ returns undefined if tx is not found (2585 ms)
11:59:54
✓ tries to retrieves a previously stored transaction after deleted (2972 ms)
11:59:54
✓ tries to retrieves a previously stored transaction after deleted (2711 ms)
11:59:54
✓ tries to retrieves a previously stored transaction after deleted (2719 ms)
11:59:54
✓ tries to retrieves a previously stored transaction after deleted (2872 ms)
11:59:54
✓ tries to retrieves a previously stored transaction after deleted (3223 ms)
11:59:54
✓ returns undefined if tx is not found (2879 ms)
11:59:54
✓ does not fail if the block is unwound while requesting a tx (3891 ms)
11:59:54 L1 to L2 Messages
11:59:54
✓ stores first message ever (1874 ms)
11:59:54
✓ stores single message (1713 ms)
11:59:54
✓ stores and returns messages across different blocks (1534 ms)
11:59:54
✓ stores the same messages again (2304 ms)
11:59:54
✓ stores and returns messages across different blocks with gaps (1804 ms)
11:59:54
✓ stores and returns messages with block numbers larger than a byte (1768 ms)
11:59:54
✓ stores and returns multiple messages per block (1806 ms)
11:59:54
✓ stores messages in multiple operations (1843 ms)
11:59:54
✓ iterates over messages from start index (1853 ms)
11:59:54
✓ iterates over messages in reverse (1864 ms)
11:59:54
✓ throws if messages are added out of order (2358 ms)
11:59:54
✓ throws if block number for the first message is out of order (2160 ms)
11:59:54
✓ throws if rolling hash is not correct (1859 ms)
11:59:54
✓ throws if rolling hash for first message is not correct (2292 ms)
11:59:54
✓ throws if index is not in the correct range (1952 ms)
11:59:54
✓ throws if first index in block has gaps (1728 ms)
11:59:54
✓ throws if index does not follow previous one (1614 ms)
11:59:54
✓ removes messages up to the given block number (1881 ms)
11:59:54
✓ removes messages starting with the given index (2015 ms)
11:59:54 contractInstances
11:59:54
✓ returns previously stored contract instances (2049 ms)
11:59:54
✓ returns undefined if contract instance is not found (1875 ms)
11:59:54
✓ returns undefined if previously stored contract instances was deleted (1910 ms)
11:59:54 contractInstanceUpdates
11:59:54
✓ gets the correct current class id for a contract not updated yet (1990 ms)
11:59:54
✓ gets the correct current class id for a contract that has just been updated (1934 ms)
11:59:54
✓ gets the correct current class id for a contract that was updated in the past (1669 ms)
11:59:54
✓ ignores updates for the wrong contract (2008 ms)
11:59:54
✓ bounds its search to the right contract if more than than one update exists (2002 ms)
11:59:54 contractClasses
11:59:54
✓ returns previously stored contract class (2068 ms)
11:59:54
✓ returns undefined if the initial deployed contract class was deleted (1780 ms)
11:59:54
✓ returns contract class if later "deployment" class was deleted (1764 ms)
11:59:54
✓ returns undefined if contract class is not found (1814 ms)
11:59:54
✓ adds new private functions (1979 ms)
11:59:54
✓ does not duplicate private functions (2022 ms)
11:59:54
✓ adds new utility functions (1867 ms)
11:59:54
✓ does not duplicate utility functions (2049 ms)
11:59:54 getLogsByTags
11:59:54
✓ is possible to batch request private logs via tags (3543 ms)
11:59:54
✓ is possible to batch request all logs (private and public) via tags (3559 ms)
11:59:54
✓ is possible to batch request logs that have the same tag but different content (3784 ms)
11:59:54
✓ is possible to request logs for non-existing tags and determine their position (3297 ms)
11:59:54 getPublicLogs
11:59:54
✓ no logs returned if deleted ("txHash" filter param is respected variant) (6526 ms)
11:59:54
✓ "txHash" filter param is respected (5263 ms)
11:59:54
✓ "fromBlock" and "toBlock" filter params are respected (5162 ms)
11:59:54
✓ "contractAddress" filter param is respected (4756 ms)
11:59:54
✓ "afterLog" filter param is respected (5351 ms)
11:59:54
✓ "txHash" filter param is ignored when "afterLog" is set (5329 ms)
11:59:54
✓ intersecting works (4928 ms)
11:59:54
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4214 ms)
11:59:54
11:59:54
Test Suites: 1 passed, 1 total
11:59:54
Tests: 86 passed, 86 total
11:59:54
Snapshots: 0 total
11:59:54
Time: 203.947 s
11:59:54
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
11:59:54
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?