Parent Log:
http://ci.aztec-labs.com/5f36e2ea2d725352
Command: 061ac9e48ee668e8 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/cf10794ebb7367fb6a26d1d402fd83c2aef3d888
Env: REF_NAME=gh-readonly-queue/next/pr-15193-372980b2f09de871ee7152879dcda8bdfe254b9d CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 20 20:09:01 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15193_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
20:09:03 [20:09:03.332]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:05 [20:09:05.381]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:06 [20:09:06.863]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:07 [20:09:07.944]
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
20:09:07 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
20:09:07 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:09:07 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:09:07 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
20:09:07 newBlockNumber: 2,
20:09:07 previousBlockNumber: undefined
20:09:07 }
20:09:07 [20:09:07.948]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:09 [20:09:09.158]
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
20:09:09 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:96:17
20:09:09 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:09:09 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:09:09 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
20:09:09 [20:09:09.161]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:10 [20:09:10.633]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:11 [20:09:11.660]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:13 [20:09:13.397]
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)
20:09:13 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:141:15
20:09:13 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:09:13 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:09:13 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
20:09:13 [20:09:13.401]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:14 [20:09:14.979]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:16 [20:09:16.585]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:18 [20:09:18.581]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:20 [20:09:20.688]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:22 [20:09:22.940]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:25 [20:09:25.273]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:27 [20:09:27.529]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:29 [20:09:29.686]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:32 [20:09:32.376]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:35 [20:09:35.143]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:36 [20:09:36.735]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:39 [20:09:39.086]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:40 [20:09:40.704]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:42 [20:09:42.588]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:43 [20:09:43.927]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:45 [20:09:45.397]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:46 [20:09:46.962]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:48 [20:09:48.789]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:50 [20:09:50.530]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:53 [20:09:53.714]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:56 [20:09:56.681]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:59 [20:09:59.497]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:02 [20:10:02.387]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:05 [20:10:05.235]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:07 [20:10:07.528]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:10 [20:10:10.512]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:13 [20:10:13.400]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:16 [20:10:16.123]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:18 [20:10:18.968]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:21 [20:10:21.944]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:24 [20:10:24.687]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:28 [20:10:28.129]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:29 [20:10:29.789]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:31 [20:10:31.476]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:33 [20:10:33.128]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:34 [20:10:34.844]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:36 [20:10:36.517]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:38 [20:10:38.078]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:39 [20:10:39.792]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:41 [20:10:41.782]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:43 [20:10:43.666]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:45 [20:10:45.631]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:47 [20:10:47.415]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x17e52de887867d2b62cc3c5315c81dbfb0ca1b2da2e4ae209bd7f163bb9dcff6 for L2 block 1 has wrong index 10 (expected 0)
20:10:47 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
20:10:47 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:10:47 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:10:47 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
20:10:47 inboxMessage: {
20:10:47 index: 10n,
20:10:47 leaf: Fr<0x17e52de887867d2b62cc3c5315c81dbfb0ca1b2da2e4ae209bd7f163bb9dcff6>,
20:10:47 l2BlockNumber: 1,
20:10:47 l1BlockNumber: 98n,
20:10:47 l1BlockHash: Buffer32<0x61b786fee3615ee42cafc845fcee1215165d22d74a0a742dc3e5e59361be317f>,
20:10:47 rollingHash: Buffer16<0x53ba5a665bd54ae38c25f7243aa27690>
20:10:47 }
20:10:47 }
20:10:47 [20:10:47.420]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:49 [20:10:49.289]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x27d1d1c266b1a27b0b63a3460daa71208cced2867678af5559c4ccca188ee932 at block 12 (expected value in range [176, 192))
20:10:49 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
20:10:49 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:10:49 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:10:49 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
20:10:49 inboxMessage: {
20:10:49 index: 224n,
20:10:49 leaf: Fr<0x27d1d1c266b1a27b0b63a3460daa71208cced2867678af5559c4ccca188ee932>,
20:10:49 l2BlockNumber: 12,
20:10:49 l1BlockNumber: 28n,
20:10:49 l1BlockHash: Buffer32<0xf9123ef050b925e8d5b3a803eb7d8cc7b3526d03d9a7ffe709d897c683c5fc9e>,
20:10:49 rollingHash: Buffer16<0xaefe3427480d7287b1974ae1a3cf84b0>
20:10:49 }
20:10:49 }
20:10:49 [20:10:49.293]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:51 [20:10:51.314]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x2273cc225e27999142d7c805383b16fc8ac9b20325f879ca788e20e00c910335 with index 16 (expected 0x608aa4705f94ebf788b9a97147794c69 from previous hash 0x78733c2a37da27982f8a26f2e2a2a829 but got 0x0293b89f9a1d7aed95090c00a143b78f)
20:10:51 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
20:10:51 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:10:51 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:10:51 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
20:10:51 inboxMessage: {
20:10:51 index: 16n,
20:10:51 leaf: Fr<0x2273cc225e27999142d7c805383b16fc8ac9b20325f879ca788e20e00c910335>,
20:10:51 l2BlockNumber: 2,
20:10:51 l1BlockNumber: 73n,
20:10:51 l1BlockHash: Buffer32<0x355a0d9073a399641f0054aa5a96aa05bb4c5da666e83fe8ef63232ef28a61ca>,
20:10:51 rollingHash: Buffer16<0x0293b89f9a1d7aed95090c00a143b78f>
20:10:51 }
20:10:51 }
20:10:51 [20:10:51.318]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:53 [20:10:53.197]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x157007b8be077971382271f9e21267bfcd3c7f04f0cb240f3c57a25ed1b81f65 with index 32 (expected 0x0b202f472e50c7bbbace3b2041e3fd2d from previous hash 0xd23a1525908055452ff1148acbd430b7 but got 0x41858dadd56a6c8b0dec2911f2aa04c7)
20:10:53 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
20:10:53 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:10:53 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:10:53 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
20:10:53 inboxMessage: {
20:10:53 index: 32n,
20:10:53 leaf: Fr<0x157007b8be077971382271f9e21267bfcd3c7f04f0cb240f3c57a25ed1b81f65>,
20:10:53 l2BlockNumber: 3,
20:10:53 l1BlockNumber: 17n,
20:10:53 l1BlockHash: Buffer32<0x78f9e745afa7880c1bf157ec4d20fce53c82cf710df6fe2abdd6696577094e39>,
20:10:53 rollingHash: Buffer16<0x41858dadd56a6c8b0dec2911f2aa04c7>
20:10:53 }
20:10:53 }
20:10:53 [20:10:53.201]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:55 [20:10:55.001]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x29033b30250915c1f8074cc31ba3447969e1f6b1af4a24e4813ebea9cd76b6f9 at block 17 (expected value in range [256, 272))
20:10:55 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
20:10:55 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:10:55 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:10:55 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
20:10:55 inboxMessage: {
20:10:55 index: 356n,
20:10:55 leaf: Fr<0x29033b30250915c1f8074cc31ba3447969e1f6b1af4a24e4813ebea9cd76b6f9>,
20:10:55 l2BlockNumber: 17,
20:10:55 l1BlockNumber: 85n,
20:10:55 l1BlockHash: Buffer32<0xb109f6fa3dbdc82a9000a5c15ae1a159eb6e5f41008bdd0b18aa3c529aad4201>,
20:10:55 rollingHash: Buffer16<0x9e592d63ae5e92438bf02bbe70d6dcc3>
20:10:55 }
20:10:55 }
20:10:55 [20:10:55.009]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:56 [20:10:56.829]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x179595c634890dd4ac83e3cb96dcd68c1e7d4ea1a3681320194f13209058594f for L2 block 15 has wrong index 225 (expected 224)
20:10:56 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
20:10:56 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:10:56 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:10:56 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
20:10:56 inboxMessage: {
20:10:56 index: 225n,
20:10:56 leaf: Fr<0x179595c634890dd4ac83e3cb96dcd68c1e7d4ea1a3681320194f13209058594f>,
20:10:56 l2BlockNumber: 15,
20:10:56 l1BlockNumber: 74n,
20:10:56 l1BlockHash: Buffer32<0x67926f11623dc91a09e7652c7136c3cfa3f2f1b257e538c93e68bb6fda314d7d>,
20:10:56 rollingHash: Buffer16<0xb0eee4489ba5f413ffda4f1cb4db0732>
20:10:56 }
20:10:56 }
20:10:56 [20:10:56.832]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:58 [20:10:58.433]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x16f25a95093056ad2e6585cc00ab3416c92346299954ec007e085e4b8e642f92 at block 2 (expected value in range [16, 32))
20:10:58 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
20:10:58 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:10:58 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:10:58 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
20:10:58 inboxMessage: {
20:10:58 index: 32n,
20:10:58 leaf: Fr<0x16f25a95093056ad2e6585cc00ab3416c92346299954ec007e085e4b8e642f92>,
20:10:58 l2BlockNumber: 2,
20:10:58 l1BlockNumber: 36n,
20:10:58 l1BlockHash: Buffer32<0xb81d72d1a15561398ee2568ad7cc545583d62a876332b9dfc0322f113317d819>,
20:10:58 rollingHash: Buffer16<0xebe1cd4496407d96629f244c56d2c8b1>
20:10:58 }
20:10:58 }
20:10:58 [20:10:58.437]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:00 [20:11:00.306]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
20:11:00 [20:11:00.337]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:02 [20:11:02.014]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
20:11:02 [20:11:02.043]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:03 [20:11:03.806]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:05 [20:11:05.610]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:07 [20:11:07.365]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:09 [20:11:09.187]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:10 [20:11:10.919]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:12 [20:11:12.822]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:14 [20:11:14.896]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:16 [20:11:16.783]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:18 [20:11:18.737]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:20 [20:11:20.870]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:22 [20:11:22.871]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:24 [20:11:24.936]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:27 [20:11:27.027]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:29 [20:11:29.121]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:31 [20:11:31.308]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:33 [20:11:33.265]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:36 [20:11:36.331]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:39 [20:11:39.244]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:42 [20:11:42.165]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:44 [20:11:44.761]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:51 [20:11:51.365]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:57 [20:11:57.126]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:12:02 [20:12:02.359]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:12:06 [20:12:06.810]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:12:11 [20:12:11.670]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:12:15 [20:12:15.584]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:12:19 [20:12:19.434]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:12:23
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
201.522 s)
20:12:23 KVArchiverDataStore
20:12:23 ArchiverStore
20:12:23 addBlocks
20:12:23
✓ returns success when adding blocks (2049 ms)
20:12:23
✓ allows duplicate blocks (1482 ms)
20:12:23
✓ throws an error if the previous block does not exist in the store (1086 ms)
20:12:23
✓ throws an error if there is a gap in the blocks being added (1212 ms)
20:12:23 unwindBlocks
20:12:23
✓ unwinding blocks will remove blocks from the chain (1472 ms)
20:12:23
✓ can unwind multiple empty blocks (1026 ms)
20:12:23
✓ refuses to unwind blocks if the tip is not the last block (1740 ms)
20:12:23 getBlocks
20:12:23
✓ retrieves previously stored blocks (1576 ms)
20:12:23
✓ retrieves previously stored blocks (1606 ms)
20:12:23
✓ retrieves previously stored blocks (1995 ms)
20:12:23
✓ retrieves previously stored blocks (2107 ms)
20:12:23
✓ retrieves previously stored blocks (2250 ms)
20:12:23
✓ returns an empty array if no blocks are found (2329 ms)
20:12:23
✓ throws an error if limit is invalid (2257 ms)
20:12:23
✓ throws an error if `from` it is out of range (2155 ms)
20:12:23
✓ throws an error if unexpected initial block number is found (2693 ms)
20:12:23
✓ throws an error if a gap is found (2755 ms)
20:12:23 getSyncedL2BlockNumber
20:12:23
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1601 ms)
20:12:23
✓ returns the most recently added block's number (2349 ms)
20:12:23 getSynchPoint
20:12:23
✓ returns undefined if no blocks have been added (1613 ms)
20:12:23
✓ returns the L1 block number in which the most recent L2 block was published (1886 ms)
20:12:23
✓ returns the L1 block number that most recently added messages from inbox (1339 ms)
20:12:23
✓ returns the latest syncpoint if latest message is behind (1462 ms)
20:12:23 addLogs
20:12:23
✓ adds private & public logs (1570 ms)
20:12:23 deleteLogs
20:12:23
✓ deletes private & public logs (1828 ms)
20:12:23 getPrivateLogs
20:12:23
✓ gets added private logs (1739 ms)
20:12:23 getTxEffect
20:12:23
✓ retrieves a previously stored transaction (3183 ms)
20:12:23
✓ retrieves a previously stored transaction (2962 ms)
20:12:23
✓ retrieves a previously stored transaction (2819 ms)
20:12:23
✓ retrieves a previously stored transaction (2889 ms)
20:12:23
✓ retrieves a previously stored transaction (2849 ms)
20:12:23
✓ returns undefined if tx is not found (2292 ms)
20:12:23
✓ tries to retrieves a previously stored transaction after deleted (2983 ms)
20:12:23
✓ tries to retrieves a previously stored transaction after deleted (2887 ms)
20:12:23
✓ tries to retrieves a previously stored transaction after deleted (2723 ms)
20:12:23
✓ tries to retrieves a previously stored transaction after deleted (2844 ms)
20:12:23
✓ tries to retrieves a previously stored transaction after deleted (2973 ms)
20:12:23
✓ returns undefined if tx is not found (2741 ms)
20:12:23
✓ does not fail if the block is unwound while requesting a tx (3445 ms)
20:12:23 L1 to L2 Messages
20:12:23
✓ stores first message ever (1657 ms)
20:12:23
✓ stores single message (1688 ms)
20:12:23
✓ stores and returns messages across different blocks (1648 ms)
20:12:23
✓ stores the same messages again (1714 ms)
20:12:23
✓ stores and returns messages across different blocks with gaps (1673 ms)
20:12:23
✓ stores and returns messages with block numbers larger than a byte (1564 ms)
20:12:23
✓ stores and returns multiple messages per block (1710 ms)
20:12:23
✓ stores messages in multiple operations (1992 ms)
20:12:23
✓ iterates over messages from start index (1881 ms)
20:12:23
✓ iterates over messages in reverse (1958 ms)
20:12:23
✓ throws if messages are added out of order (1796 ms)
20:12:23
✓ throws if block number for the first message is out of order (1873 ms)
20:12:23
✓ throws if rolling hash is not correct (2024 ms)
20:12:23
✓ throws if rolling hash for first message is not correct (1882 ms)
20:12:23
✓ throws if index is not in the correct range (1804 ms)
20:12:23
✓ throws if first index in block has gaps (1826 ms)
20:12:23
✓ throws if index does not follow previous one (1604 ms)
20:12:23
✓ removes messages up to the given block number (1899 ms)
20:12:23
✓ removes messages starting with the given index (1702 ms)
20:12:23 contractInstances
20:12:23
✓ returns previously stored contract instances (1764 ms)
20:12:23
✓ returns undefined if contract instance is not found (1802 ms)
20:12:23
✓ returns undefined if previously stored contract instances was deleted (1755 ms)
20:12:23 contractInstanceUpdates
20:12:23
✓ gets the correct current class id for a contract not updated yet (1822 ms)
20:12:23
✓ gets the correct current class id for a contract that has just been updated (1732 ms)
20:12:23
✓ gets the correct current class id for a contract that was updated in the past (1897 ms)
20:12:23
✓ ignores updates for the wrong contract (2072 ms)
20:12:23
✓ bounds its search to the right contract if more than than one update exists (1890 ms)
20:12:23 contractClasses
20:12:23
✓ returns previously stored contract class (1953 ms)
20:12:23
✓ returns undefined if the initial deployed contract class was deleted (2130 ms)
20:12:23
✓ returns contract class if later "deployment" class was deleted (2002 ms)
20:12:23
✓ returns undefined if contract class is not found (2064 ms)
20:12:23
✓ adds new private functions (2091 ms)
20:12:23
✓ does not duplicate private functions (2093 ms)
20:12:23
✓ adds new utility functions (2177 ms)
20:12:23
✓ does not duplicate utility functions (1964 ms)
20:12:23 getLogsByTags
20:12:23
✓ is possible to batch request private logs via tags (3065 ms)
20:12:23
✓ is possible to batch request all logs (private and public) via tags (2911 ms)
20:12:23
✓ is possible to batch request logs that have the same tag but different content (2922 ms)
20:12:23
✓ is possible to request logs for non-existing tags and determine their position (2594 ms)
20:12:23 getPublicLogs
20:12:23
✓ no logs returned if deleted ("txHash" filter param is respected variant) (6603 ms)
20:12:23
✓ "txHash" filter param is respected (5760 ms)
20:12:23
✓ "fromBlock" and "toBlock" filter params are respected (5233 ms)
20:12:23
✓ "contractAddress" filter param is respected (4450 ms)
20:12:23
✓ "afterLog" filter param is respected (4858 ms)
20:12:23
✓ "txHash" filter param is ignored when "afterLog" is set (3914 ms)
20:12:23
✓ intersecting works (3849 ms)
20:12:23
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (3989 ms)
20:12:23
20:12:23
Test Suites: 1 passed, 1 total
20:12:23
Tests: 86 passed, 86 total
20:12:23
Snapshots: 0 total
20:12:23
Time: 201.6 s
20:12:23
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
20:12:23
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?