Parent Log:
http://ci.aztec-labs.com/bcfdde57c1560bcc
Command: dc1ae0e48a98f45c 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/5ca43853c40a2b8bfbc2148d5fdd46c6f82a74eb
Env: REF_NAME=gh-readonly-queue/next/pr-14178-3cbe7945c84145b8646cf5cf8fb730b915c0dc93 CURRENT_VERSION=0.87.6 CI_FULL=0
Date: Mon Jun 16 13:37:30 UTC 2025
System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-14178_arm64_a1-fast
Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
13:37:32 [13:37:32.958]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:34 [13:37:34.187]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:35 [13:37:35.462]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:36 [13:37:36.295]
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:37:36 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
13:37:36 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:37:36 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:37:36 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:37:36 newBlockNumber: 2,
13:37:36 previousBlockNumber: undefined
13:37:36 }
13:37:36 [13:37:36.299]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:37 [13:37:37.227]
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:37:37 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17
13:37:37 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:37:37 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:37:37 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
13:37:37 [13:37:37.229]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:38 [13:37:38.341]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:39 [13:37:39.128]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:40 [13:37:40.190]
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:37:40 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15
13:37:40 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:37:40 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:37:40 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
13:37:40 [13:37:40.193]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:41 [13:37:41.295]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:42 [13:37:42.393]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:43 [13:37:43.736]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:44 [13:37:44.954]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:46 [13:37:46.082]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:47 [13:37:47.171]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:48 [13:37:48.305]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:49 [13:37:49.413]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:50 [13:37:50.657]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:52 [13:37:52.162]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:53 [13:37:53.113]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:54 [13:37:54.376]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:55 [13:37:55.374]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:56 [13:37:56.618]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:57 [13:37:57.589]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:58 [13:37:58.574]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:37:59 [13:37:59.608]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:00 [13:38:00.743]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:01 [13:38:01.890]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:03 [13:38:03.858]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:05 [13:38:05.827]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:07 [13:38:07.799]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:09 [13:38:09.770]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:11 [13:38:11.712]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:13 [13:38:13.637]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:15 [13:38:15.744]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:17 [13:38:17.841]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:19 [13:38:19.946]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:22 [13:38:22.060]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:24 [13:38:24.178]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:26 [13:38:26.165]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:28 [13:38:28.627]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:29 [13:38:29.765]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:30 [13:38:30.914]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:32 [13:38:32.073]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:33 [13:38:33.240]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:34 [13:38:34.421]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:35 [13:38:35.598]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:36 [13:38:36.809]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:38 [13:38:38.118]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:39 [13:38:39.435]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:40 [13:38:40.761]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:42 [13:38:42.104]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x05023164f6052f61ea54cdcbcbde0fa12337d2c30611a9f21d58afdd92af6300 for L2 block 1 has wrong index 10 (expected 0)
13:38:42 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
13:38:42 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:38:42 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:38:42 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:38:42 inboxMessage: {
13:38:42 index: 10n,
13:38:42 leaf: Fr<0x05023164f6052f61ea54cdcbcbde0fa12337d2c30611a9f21d58afdd92af6300>,
13:38:42 l2BlockNumber: 1,
13:38:42 l1BlockNumber: 87n,
13:38:42 l1BlockHash: Buffer32<0xca502d1dac470cf91a41f6d4406df244f6d8641ffb3b2c891e9f1b2e9a418879>,
13:38:42 rollingHash: Buffer16<0x012c710df3d3fa53979b109884ea828c>
13:38:42 }
13:38:42 }
13:38:42 [13:38:42.107]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:43 [13:38:43.483]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x165c6aea6d9b6ebbcf7a4c0234f19fa07f81d61cbaa86eb0bfb7ed8ad510c19c at block 12 (expected value in range [176, 192))
13:38:43 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
13:38:43 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:38:43 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:38:43 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:38:43 inboxMessage: {
13:38:43 index: 224n,
13:38:43 leaf: Fr<0x165c6aea6d9b6ebbcf7a4c0234f19fa07f81d61cbaa86eb0bfb7ed8ad510c19c>,
13:38:43 l2BlockNumber: 12,
13:38:43 l1BlockNumber: 100n,
13:38:43 l1BlockHash: Buffer32<0x5f6d92094f7c9e59ffce2d2c984bbe4c07761e6beb9506e4d034705551abe31e>,
13:38:43 rollingHash: Buffer16<0x3819d7637caf92ca50a8bfb93810622d>
13:38:43 }
13:38:43 }
13:38:43 [13:38:43.487]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:44 [13:38:44.833]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x0279fec07602a826c18b460429abe7c0ecde7afa576dec4acaefb3df61aeb107 with index 16 (expected 0x0045c07a290dc49d6e40d2135d2d7de0 from previous hash 0xab49485a77ef169c67b34a319f060b6b but got 0xb2400ad7c83bc3a9520602ce70bf4b9c)
13:38:44 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
13:38:44 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:38:44 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:38:44 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:38:44 inboxMessage: {
13:38:44 index: 16n,
13:38:44 leaf: Fr<0x0279fec07602a826c18b460429abe7c0ecde7afa576dec4acaefb3df61aeb107>,
13:38:44 l2BlockNumber: 2,
13:38:44 l1BlockNumber: 84n,
13:38:44 l1BlockHash: Buffer32<0xa3887aad823b1cceda9ee9d0245a92d81f16d61308e9f257aed06acd94006c12>,
13:38:44 rollingHash: Buffer16<0xb2400ad7c83bc3a9520602ce70bf4b9c>
13:38:44 }
13:38:44 }
13:38:44 [13:38:44.837]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:46 [13:38:46.222]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x24347cf4957c92206ccfc83985fdf75061aec71afd1e00ba28c05eb1fe5a3a2a with index 32 (expected 0xfcbffaf2d4bcb8937ab696556a5ec054 from previous hash 0xfbd3c404b396f07741d7835c68a614bf but got 0x9ee1845cfb183f7d5e29aa4f36dc766b)
13:38:46 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
13:38:46 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:38:46 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:38:46 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:38:46 inboxMessage: {
13:38:46 index: 32n,
13:38:46 leaf: Fr<0x24347cf4957c92206ccfc83985fdf75061aec71afd1e00ba28c05eb1fe5a3a2a>,
13:38:46 l2BlockNumber: 3,
13:38:46 l1BlockNumber: 49n,
13:38:46 l1BlockHash: Buffer32<0x52dda1a397d5fd9654cbac126d5fb09ee111e0f1d9588d73af6c2ecb0f319e72>,
13:38:46 rollingHash: Buffer16<0x9ee1845cfb183f7d5e29aa4f36dc766b>
13:38:46 }
13:38:46 }
13:38:46 [13:38:46.224]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:47 [13:38:47.620]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x08c66fcf4d493966a3c0c50ca04709843f67a2086eab8619bdcb5e7f584a9621 at block 17 (expected value in range [256, 272))
13:38:47 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
13:38:47 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:38:47 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:38:47 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:38:47 inboxMessage: {
13:38:47 index: 356n,
13:38:47 leaf: Fr<0x08c66fcf4d493966a3c0c50ca04709843f67a2086eab8619bdcb5e7f584a9621>,
13:38:47 l2BlockNumber: 17,
13:38:47 l1BlockNumber: 18n,
13:38:47 l1BlockHash: Buffer32<0x623d9cba106eb9a9ba259d3c785c058f450c7978812cc07a0078ea76024ba076>,
13:38:47 rollingHash: Buffer16<0xdb76daf198348f2855f2ba60acb212b7>
13:38:47 }
13:38:47 }
13:38:47 [13:38:47.623]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:49 [13:38:49.027]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x1adb6a1e68cbcb954c9efb0e7e654e287329348f0937a749662ef51579fa1b05 for L2 block 15 has wrong index 225 (expected 224)
13:38:49 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
13:38:49 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:38:49 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:38:49 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:38:49 inboxMessage: {
13:38:49 index: 225n,
13:38:49 leaf: Fr<0x1adb6a1e68cbcb954c9efb0e7e654e287329348f0937a749662ef51579fa1b05>,
13:38:49 l2BlockNumber: 15,
13:38:49 l1BlockNumber: 74n,
13:38:49 l1BlockHash: Buffer32<0x5443d64deb6bdab47b40cdfd5ad2a33c0e446518308f1efa8248008e5d3b2b9a>,
13:38:49 rollingHash: Buffer16<0x886bdfd117725edacf16fa61b0d73d1f>
13:38:49 }
13:38:49 }
13:38:49 [13:38:49.029]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:50 [13:38:50.425]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x2754a85446c1904fd043eb85b981193e3fab0b4e535d37214be1b8551ddffb67 at block 2 (expected value in range [16, 32))
13:38:50 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
13:38:50 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:38:50 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:38:50 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:38:50 inboxMessage: {
13:38:50 index: 32n,
13:38:50 leaf: Fr<0x2754a85446c1904fd043eb85b981193e3fab0b4e535d37214be1b8551ddffb67>,
13:38:50 l2BlockNumber: 2,
13:38:50 l1BlockNumber: 3n,
13:38:50 l1BlockHash: Buffer32<0xb226dae6c09d26b1389772a660aa993992ef49c3b2d7dd142f4c36b3035b6c5f>,
13:38:50 rollingHash: Buffer16<0xd574943231597e4379020cbcd72e7ceb>
13:38:50 }
13:38:50 }
13:38:50 [13:38:50.427]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:51 [13:38:51.881]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
13:38:51 [13:38:51.914]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:53 [13:38:53.354]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
13:38:53 [13:38:53.369]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:54 [13:38:54.812]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:56 [13:38:56.219]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:57 [13:38:57.647]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:38:59 [13:38:59.109]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:39:00 [13:39:00.511]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:39:01 [13:39:01.909]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:39:03 [13:39:03.331]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:39:04 [13:39:04.769]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:39:06 [13:39:06.209]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:39:07 [13:39:07.635]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:39:09 [13:39:09.051]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:39:10 [13:39:10.465]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:39:11 [13:39:11.881]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:39:13 [13:39:13.303]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:39:14 [13:39:14.754]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:39:16 [13:39:16.219]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:39:18 [13:39:18.677]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:39:21 [13:39:21.121]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:39:24 [13:39:24.014]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:39:26 [13:39:26.566]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:39:31 [13:39:31.512]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:39:35 [13:39:35.838]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:39:40 [13:39:40.016]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:39:44 [13:39:44.239]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:39:48 [13:39:48.685]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:39:53 [13:39:53.389]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:39:58 [13:39:58.103]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:40:03
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
151.413 s)
13:40:03 KVArchiverDataStore
13:40:03 ArchiverStore
13:40:03 addBlocks
13:40:03
✓ returns success when adding blocks (1230 ms)
13:40:03
✓ allows duplicate blocks (1275 ms)
13:40:03
✓ throws an error if the previous block does not exist in the store (837 ms)
13:40:03
✓ throws an error if there is a gap in the blocks being added (930 ms)
13:40:03 unwindBlocks
13:40:03
✓ unwinding blocks will remove blocks from the chain (1112 ms)
13:40:03
✓ can unwind multiple empty blocks (787 ms)
13:40:03
✓ refuses to unwind blocks if the tip is not the last block (1064 ms)
13:40:03 getBlocks
13:40:03
✓ retrieves previously stored blocks (1102 ms)
13:40:03
✓ retrieves previously stored blocks (1097 ms)
13:40:03
✓ retrieves previously stored blocks (1344 ms)
13:40:03
✓ retrieves previously stored blocks (1218 ms)
13:40:03
✓ retrieves previously stored blocks (1128 ms)
13:40:03
✓ returns an empty array if no blocks are found (1089 ms)
13:40:03
✓ throws an error if limit is invalid (1134 ms)
13:40:03
✓ throws an error if `from` it is out of range (1107 ms)
13:40:03
✓ throws an error if unexpected initial block number is found (1245 ms)
13:40:03
✓ throws an error if a gap is found (1504 ms)
13:40:03 getSyncedL2BlockNumber
13:40:03
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (951 ms)
13:40:03
✓ returns the most recently added block's number (1260 ms)
13:40:03 getSynchPoint
13:40:03
✓ returns undefined if no blocks have been added (999 ms)
13:40:03
✓ returns the L1 block number in which the most recent L2 block was published (1244 ms)
13:40:03
✓ returns the L1 block number that most recently added messages from inbox (971 ms)
13:40:03
✓ returns the latest syncpoint if latest message is behind (984 ms)
13:40:03 addLogs
13:40:03
✓ adds private & public logs (1034 ms)
13:40:03 deleteLogs
13:40:03
✓ deletes private & public logs (1134 ms)
13:40:03 getPrivateLogs
13:40:03
✓ gets added private logs (1145 ms)
13:40:03 getTxEffect
13:40:03
✓ retrieves a previously stored transaction (1970 ms)
13:40:03
✓ retrieves a previously stored transaction (1967 ms)
13:40:03
✓ retrieves a previously stored transaction (1971 ms)
13:40:03
✓ retrieves a previously stored transaction (1971 ms)
13:40:03
✓ retrieves a previously stored transaction (1942 ms)
13:40:03
✓ returns undefined if tx is not found (1925 ms)
13:40:03
✓ tries to retrieves a previously stored transaction after deleted (2106 ms)
13:40:03
✓ tries to retrieves a previously stored transaction after deleted (2097 ms)
13:40:03
✓ tries to retrieves a previously stored transaction after deleted (2105 ms)
13:40:03
✓ tries to retrieves a previously stored transaction after deleted (2114 ms)
13:40:03
✓ tries to retrieves a previously stored transaction after deleted (2118 ms)
13:40:03
✓ returns undefined if tx is not found (1986 ms)
13:40:03
✓ does not fail if the block is unwound while requesting a tx (2461 ms)
13:40:03 L1 to L2 Messages
13:40:03
✓ stores first message ever (1138 ms)
13:40:03
✓ stores single message (1149 ms)
13:40:03
✓ stores and returns messages across different blocks (1158 ms)
13:40:03
✓ stores the same messages again (1167 ms)
13:40:03
✓ stores and returns messages across different blocks with gaps (1181 ms)
13:40:03
✓ stores and returns messages with block numbers larger than a byte (1174 ms)
13:40:03
✓ stores and returns multiple messages per block (1213 ms)
13:40:03
✓ stores messages in multiple operations (1309 ms)
13:40:03
✓ iterates over messages from start index (1316 ms)
13:40:03
✓ iterates over messages in reverse (1325 ms)
13:40:03
✓ throws if messages are added out of order (1345 ms)
13:40:03
✓ throws if block number for the first message is out of order (1378 ms)
13:40:03
✓ throws if rolling hash is not correct (1350 ms)
13:40:03
✓ throws if rolling hash for first message is not correct (1389 ms)
13:40:03
✓ throws if index is not in the correct range (1398 ms)
13:40:03
✓ throws if first index in block has gaps (1406 ms)
13:40:03
✓ throws if index does not follow previous one (1397 ms)
13:40:03
✓ removes messages up to the given block number (1486 ms)
13:40:03
✓ removes messages starting with the given index (1454 ms)
13:40:03 contractInstances
13:40:03
✓ returns previously stored contract instances (1442 ms)
13:40:03
✓ returns undefined if contract instance is not found (1407 ms)
13:40:03
✓ returns undefined if previously stored contract instances was deleted (1428 ms)
13:40:03 contractInstanceUpdates
13:40:03
✓ gets the correct current class id for a contract not updated yet (1462 ms)
13:40:03
✓ gets the correct current class id for a contract that has just been updated (1401 ms)
13:40:03
✓ gets the correct current class id for a contract that was updated in the past (1398 ms)
13:40:03
✓ ignores updates for the wrong contract (1421 ms)
13:40:03
✓ bounds its search to the right contract if more than than one update exists (1438 ms)
13:40:03 contractClasses
13:40:03
✓ returns previously stored contract class (1439 ms)
13:40:03
✓ returns undefined if the initial deployed contract class was deleted (1427 ms)
13:40:03
✓ returns contract class if later "deployment" class was deleted (1416 ms)
13:40:03
✓ returns undefined if contract class is not found (1413 ms)
13:40:03
✓ adds new private functions (1415 ms)
13:40:03
✓ does not duplicate private functions (1423 ms)
13:40:03
✓ adds new utility functions (1449 ms)
13:40:03
✓ does not duplicate utility functions (1465 ms)
13:40:03 getLogsByTags
13:40:03
✓ is possible to batch request private logs via tags (2458 ms)
13:40:03
✓ is possible to batch request all logs (private and public) via tags (2444 ms)
13:40:03
✓ is possible to batch request logs that have the same tag but different content (2892 ms)
13:40:03
✓ is possible to request logs for non-existing tags and determine their position (2551 ms)
13:40:03 getPublicLogs
13:40:03
✓ no logs returned if deleted ("txHash" filter param is respected variant) (4945 ms)
13:40:03
✓ "txHash" filter param is respected (4326 ms)
13:40:03
✓ "fromBlock" and "toBlock" filter params are respected (4176 ms)
13:40:03
✓ "contractAddress" filter param is respected (4223 ms)
13:40:03
✓ "afterLog" filter param is respected (4444 ms)
13:40:03
✓ "txHash" filter param is ignored when "afterLog" is set (4704 ms)
13:40:03
✓ intersecting works (4714 ms)
13:40:03
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4983 ms)
13:40:03
13:40:03
Test Suites: 1 passed, 1 total
13:40:03
Tests: 86 passed, 86 total
13:40:03
Snapshots: 0 total
13:40:03
Time: 151.508 s
13:40:03
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
13:40:03
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?