Parent Log:
http://ci.aztec-labs.com/e42a30cf155520c9
Command: d14a91e37c8b1083 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/97080f178c0a3e244c64b3c17bf255bed63fc3cf
Env: REF_NAME=gh-readonly-queue/next/pr-15065-4110b08ca823c6af4399e58e54e0483d6e3459ed CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 10:22:01 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15065_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
10:22:04 [10:22:04.089]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:22:05 [10:22:05.279]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:22:06 [10:22:06.524]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:22:07 [10:22:07.595]
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:22:07 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
10:22:07 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:22:07 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:22:07 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:22:07 newBlockNumber: 2,
10:22:07 previousBlockNumber: undefined
10:22:07 }
10:22:07 [10:22:07.600]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:22:08 [10:22:08.699]
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:22:08 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17
10:22:08 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:22:08 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:22:08 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
10:22:08 [10:22:08.709]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:22:10 [10:22:10.194]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:22:11 [10:22:11.283]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:22:12 [10:22:12.503]
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:22:12 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15
10:22:12 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:22:12 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:22:12 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
10:22:12 [10:22:12.506]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:22:13 [10:22:13.706]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:22:14 [10:22:14.836]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:22:16 [10:22:16.472]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:22:17 [10:22:17.932]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:22:19 [10:22:19.265]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:22:20 [10:22:20.596]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:22:22 [10:22:22.101]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:22:23 [10:22:23.962]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:22:26 [10:22:26.673]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:22:28 [10:22:28.558]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:22:30 [10:22:30.127]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:22:32 [10:22:32.161]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:22:33 [10:22:33.278]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:22:34 [10:22:34.945]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:22:36 [10:22:36.415]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:22:37 [10:22:37.893]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:22:39 [10:22:39.168]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:22:40 [10:22:40.415]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:22:41 [10:22:41.773]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:22:44 [10:22:44.193]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:22:46 [10:22:46.481]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:22:48 [10:22:48.911]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:22:51 [10:22:51.463]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:22:54 [10:22:54.030]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:22:56 [10:22:56.666]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:22:59 [10:22:59.307]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:01 [10:23:01.793]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:04 [10:23:04.121]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:06 [10:23:06.567]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:09 [10:23:09.392]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:11 [10:23:11.660]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:14 [10:23:14.637]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:15 [10:23:15.965]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:17 [10:23:17.270]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:18 [10:23:18.742]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:20 [10:23:20.203]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:21 [10:23:21.517]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:23 [10:23:23.069]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:24 [10:23:24.967]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:27 [10:23:27.129]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:29 [10:23:29.083]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:30 [10:23:30.907]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:32 [10:23:32.736]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x0ba6ae380cd339ab7c73794b9e79427719c3e8226b3f280e7ede5f355aa1958c for L2 block 1 has wrong index 10 (expected 0)
10:23:32 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
10:23:32 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:23:32 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:23:32 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:23:32 inboxMessage: {
10:23:32 index: 10n,
10:23:32 leaf: Fr<0x0ba6ae380cd339ab7c73794b9e79427719c3e8226b3f280e7ede5f355aa1958c>,
10:23:32 l2BlockNumber: 1,
10:23:32 l1BlockNumber: 25n,
10:23:32 l1BlockHash: Buffer32<0xa734eba4d9195706f71fd73ec0e93300dcfe743635a7decdbfbe949d7a48a827>,
10:23:32 rollingHash: Buffer16<0xa19ff36a2097767de556dbcd4a535027>
10:23:32 }
10:23:32 }
10:23:32 [10:23:32.740]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:34 [10:23:34.669]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x20a8c2d0b4268c53621ed7be4c91640b2d5e1aa7ad415997ba85dbe72e98fcea at block 12 (expected value in range [176, 192))
10:23:34 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
10:23:34 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:23:34 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:23:34 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:23:34 inboxMessage: {
10:23:34 index: 224n,
10:23:34 leaf: Fr<0x20a8c2d0b4268c53621ed7be4c91640b2d5e1aa7ad415997ba85dbe72e98fcea>,
10:23:34 l2BlockNumber: 12,
10:23:34 l1BlockNumber: 36n,
10:23:34 l1BlockHash: Buffer32<0xebdcaeacc0c20dd522598c3f018a4c3a3c5c5455c237ef7ef702b3ad9697d9fd>,
10:23:34 rollingHash: Buffer16<0xe6bf4c64e2b3b1f331f733aebe393f87>
10:23:34 }
10:23:34 }
10:23:34 [10:23:34.672]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:36 [10:23:36.640]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x1f2db1a69ff76c671ebf921c59f148d44c9cb0d50b57aa719478af39d3843a8b with index 16 (expected 0x0a26ae32e7d20a3b7d66f914b8f5c7db from previous hash 0x8a26c52261aede211bcc92a4ee838332 but got 0x0e3a6aded21cbf411d87c7f7a1b33eaa)
10:23:36 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
10:23:36 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:23:36 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:23:36 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:23:36 inboxMessage: {
10:23:36 index: 16n,
10:23:36 leaf: Fr<0x1f2db1a69ff76c671ebf921c59f148d44c9cb0d50b57aa719478af39d3843a8b>,
10:23:36 l2BlockNumber: 2,
10:23:36 l1BlockNumber: 93n,
10:23:36 l1BlockHash: Buffer32<0xfec4d1af3915b31079c94b4b7f5e11dd7f556813a85551ce018b1d937a8e45fc>,
10:23:36 rollingHash: Buffer16<0x0e3a6aded21cbf411d87c7f7a1b33eaa>
10:23:36 }
10:23:36 }
10:23:36 [10:23:36.642]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:38 [10:23:38.299]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x0caa857ad8cf2274826ea4300c65febc4ab840aa7766047be28232d19ad5b89a with index 32 (expected 0xd4adfa373bc77c55bfd9a32fe3ea1dd3 from previous hash 0xeb94e463a22875c2a62bc9ce718d3adc but got 0xc05fe1bbda888ff1dad55adfc9751c7d)
10:23:38 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
10:23:38 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:23:38 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:23:38 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:23:38 inboxMessage: {
10:23:38 index: 32n,
10:23:38 leaf: Fr<0x0caa857ad8cf2274826ea4300c65febc4ab840aa7766047be28232d19ad5b89a>,
10:23:38 l2BlockNumber: 3,
10:23:38 l1BlockNumber: 71n,
10:23:38 l1BlockHash: Buffer32<0xebd03b4623dead19f18e795680dcb677a0f75ee77a57daa7adee1eadcf67fd99>,
10:23:38 rollingHash: Buffer16<0xc05fe1bbda888ff1dad55adfc9751c7d>
10:23:38 }
10:23:38 }
10:23:38 [10:23:38.303]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:39 [10:23:39.890]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x1b11e1f4b35ec750a71de525417249a879b381245de438c9c4691b342702bd5f at block 17 (expected value in range [256, 272))
10:23:39 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
10:23:39 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:23:39 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:23:39 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:23:39 inboxMessage: {
10:23:39 index: 356n,
10:23:39 leaf: Fr<0x1b11e1f4b35ec750a71de525417249a879b381245de438c9c4691b342702bd5f>,
10:23:39 l2BlockNumber: 17,
10:23:39 l1BlockNumber: 11n,
10:23:39 l1BlockHash: Buffer32<0xa4996f9decb7cc20dea0ddf088078577a9a46400a86d452e25806a4be49fb079>,
10:23:39 rollingHash: Buffer16<0x9f541922f2bf7b1191d92e219b1decd3>
10:23:39 }
10:23:39 }
10:23:39 [10:23:39.893]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:41 [10:23:41.492]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x22b892b54f792af9c4678435a907a194fce98f9881976736635b46b83f28cf51 for L2 block 15 has wrong index 225 (expected 224)
10:23:41 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
10:23:41 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:23:41 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:23:41 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:23:41 inboxMessage: {
10:23:41 index: 225n,
10:23:41 leaf: Fr<0x22b892b54f792af9c4678435a907a194fce98f9881976736635b46b83f28cf51>,
10:23:41 l2BlockNumber: 15,
10:23:41 l1BlockNumber: 95n,
10:23:41 l1BlockHash: Buffer32<0x839cf87d2319102f440a8b992d01a7b5016d828a0a5c9d2853b5520e45e6105f>,
10:23:41 rollingHash: Buffer16<0x8e3fe654fda09a9176cc801818c883cf>
10:23:41 }
10:23:41 }
10:23:41 [10:23:41.497]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:43 [10:23:43.353]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x143ad04cce1165c20658cffc04bb473494b9be420a1af41bb65fe21386c9d139 at block 2 (expected value in range [16, 32))
10:23:43 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
10:23:43 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:23:43 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:23:43 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:23:43 inboxMessage: {
10:23:43 index: 32n,
10:23:43 leaf: Fr<0x143ad04cce1165c20658cffc04bb473494b9be420a1af41bb65fe21386c9d139>,
10:23:43 l2BlockNumber: 2,
10:23:43 l1BlockNumber: 52n,
10:23:43 l1BlockHash: Buffer32<0x4fdb316d6999543b97b87f14e6a0fa0360d685b31ecfac6579140605369ed7a1>,
10:23:43 rollingHash: Buffer16<0x1edcc570c0cd526fac23000e5c4deb4d>
10:23:43 }
10:23:43 }
10:23:43 [10:23:43.356]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:45 [10:23:45.319]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
10:23:45 [10:23:45.367]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:47 [10:23:47.506]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
10:23:47 [10:23:47.530]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:49 [10:23:49.395]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:51 [10:23:51.010]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:52 [10:23:52.814]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:54 [10:23:54.641]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:56 [10:23:56.527]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:58 [10:23:58.474]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:24:00 [10:24:00.494]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:24:02 [10:24:02.626]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:24:04 [10:24:04.475]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:24:06 [10:24:06.027]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:24:07 [10:24:07.914]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:24:09 [10:24:09.565]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:24:11 [10:24:11.303]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:24:13 [10:24:13.042]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:24:14 [10:24:14.895]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:24:16 [10:24:16.853]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:24:20 [10:24:20.089]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:24:23 [10:24:23.283]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:24:27 [10:24:27.013]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:24:30 [10:24:30.278]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:24:36 [10:24:36.491]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:24:40 [10:24:40.991]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:24:46 [10:24:46.317]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:24:51 [10:24:51.462]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:24:56 [10:24:56.836]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:25:01 [10:25:01.789]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:25:06 [10:25:06.408]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:25:10
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
188.136 s)
10:25:10 KVArchiverDataStore
10:25:10 ArchiverStore
10:25:10 addBlocks
10:25:10
✓ returns success when adding blocks (1195 ms)
10:25:10
✓ allows duplicate blocks (1243 ms)
10:25:10
✓ throws an error if the previous block does not exist in the store (1077 ms)
10:25:10
✓ throws an error if there is a gap in the blocks being added (1108 ms)
10:25:10 unwindBlocks
10:25:10
✓ unwinding blocks will remove blocks from the chain (1484 ms)
10:25:10
✓ can unwind multiple empty blocks (1089 ms)
10:25:10
✓ refuses to unwind blocks if the tip is not the last block (1222 ms)
10:25:10 getBlocks
10:25:10
✓ retrieves previously stored blocks (1196 ms)
10:25:10
✓ retrieves previously stored blocks (1133 ms)
10:25:10
✓ retrieves previously stored blocks (1634 ms)
10:25:10
✓ retrieves previously stored blocks (1459 ms)
10:25:10
✓ retrieves previously stored blocks (1333 ms)
10:25:10
✓ returns an empty array if no blocks are found (1332 ms)
10:25:10
✓ throws an error if limit is invalid (1504 ms)
10:25:10
✓ throws an error if `from` it is out of range (1858 ms)
10:25:10
✓ throws an error if unexpected initial block number is found (2712 ms)
10:25:10
✓ throws an error if a gap is found (1875 ms)
10:25:10 getSyncedL2BlockNumber
10:25:10
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1578 ms)
10:25:10
✓ returns the most recently added block's number (2033 ms)
10:25:10 getSynchPoint
10:25:10
✓ returns undefined if no blocks have been added (1116 ms)
10:25:10
✓ returns the L1 block number in which the most recent L2 block was published (1665 ms)
10:25:10
✓ returns the L1 block number that most recently added messages from inbox (1469 ms)
10:25:10
✓ returns the latest syncpoint if latest message is behind (1477 ms)
10:25:10 addLogs
10:25:10
✓ adds private & public logs (1274 ms)
10:25:10 deleteLogs
10:25:10
✓ deletes private & public logs (1246 ms)
10:25:10 getPrivateLogs
10:25:10
✓ gets added private logs (1357 ms)
10:25:10 getTxEffect
10:25:10
✓ retrieves a previously stored transaction (2403 ms)
10:25:10
✓ retrieves a previously stored transaction (2302 ms)
10:25:10
✓ retrieves a previously stored transaction (2431 ms)
10:25:10
✓ retrieves a previously stored transaction (2551 ms)
10:25:10
✓ retrieves a previously stored transaction (2567 ms)
10:25:10
✓ returns undefined if tx is not found (2636 ms)
10:25:10
✓ tries to retrieves a previously stored transaction after deleted (2638 ms)
10:25:10
✓ tries to retrieves a previously stored transaction after deleted (2486 ms)
10:25:10
✓ tries to retrieves a previously stored transaction after deleted (2328 ms)
10:25:10
✓ tries to retrieves a previously stored transaction after deleted (2445 ms)
10:25:10
✓ tries to retrieves a previously stored transaction after deleted (2824 ms)
10:25:10
✓ returns undefined if tx is not found (2268 ms)
10:25:10
✓ does not fail if the block is unwound while requesting a tx (2977 ms)
10:25:10 L1 to L2 Messages
10:25:10
✓ stores first message ever (1327 ms)
10:25:10
✓ stores single message (1302 ms)
10:25:10
✓ stores and returns messages across different blocks (1472 ms)
10:25:10
✓ stores the same messages again (1461 ms)
10:25:10
✓ stores and returns messages across different blocks with gaps (1313 ms)
10:25:10
✓ stores and returns messages with block numbers larger than a byte (1550 ms)
10:25:10
✓ stores and returns multiple messages per block (1897 ms)
10:25:10
✓ stores messages in multiple operations (2160 ms)
10:25:10
✓ iterates over messages from start index (1954 ms)
10:25:10
✓ iterates over messages in reverse (1823 ms)
10:25:10
✓ throws if messages are added out of order (1832 ms)
10:25:10
✓ throws if block number for the first message is out of order (1932 ms)
10:25:10
✓ throws if rolling hash is not correct (1970 ms)
10:25:10
✓ throws if rolling hash for first message is not correct (1660 ms)
10:25:10
✓ throws if index is not in the correct range (1590 ms)
10:25:10
✓ throws if first index in block has gaps (1601 ms)
10:25:10
✓ throws if index does not follow previous one (1860 ms)
10:25:10
✓ removes messages up to the given block number (2011 ms)
10:25:10
✓ removes messages starting with the given index (2161 ms)
10:25:10 contractInstances
10:25:10
✓ returns previously stored contract instances (1865 ms)
10:25:10
✓ returns undefined if contract instance is not found (1615 ms)
10:25:10
✓ returns undefined if previously stored contract instances was deleted (1803 ms)
10:25:10 contractInstanceUpdates
10:25:10
✓ gets the correct current class id for a contract not updated yet (1827 ms)
10:25:10
✓ gets the correct current class id for a contract that has just been updated (1885 ms)
10:25:10
✓ gets the correct current class id for a contract that was updated in the past (1945 ms)
10:25:10
✓ ignores updates for the wrong contract (2015 ms)
10:25:10
✓ bounds its search to the right contract if more than than one update exists (2135 ms)
10:25:10 contractClasses
10:25:10
✓ returns previously stored contract class (1845 ms)
10:25:10
✓ returns undefined if the initial deployed contract class was deleted (1554 ms)
10:25:10
✓ returns contract class if later "deployment" class was deleted (1887 ms)
10:25:10
✓ returns undefined if contract class is not found (1649 ms)
10:25:10
✓ adds new private functions (1737 ms)
10:25:10
✓ does not duplicate private functions (1739 ms)
10:25:10
✓ adds new utility functions (1844 ms)
10:25:10
✓ does not duplicate utility functions (1962 ms)
10:25:10 getLogsByTags
10:25:10
✓ is possible to batch request private logs via tags (3233 ms)
10:25:10
✓ is possible to batch request all logs (private and public) via tags (3194 ms)
10:25:10
✓ is possible to batch request logs that have the same tag but different content (3729 ms)
10:25:10
✓ is possible to request logs for non-existing tags and determine their position (3264 ms)
10:25:10 getPublicLogs
10:25:10
✓ no logs returned if deleted ("txHash" filter param is respected variant) (6212 ms)
10:25:10
✓ "txHash" filter param is respected (4495 ms)
10:25:10
✓ "fromBlock" and "toBlock" filter params are respected (5326 ms)
10:25:10
✓ "contractAddress" filter param is respected (5144 ms)
10:25:10
✓ "afterLog" filter param is respected (5374 ms)
10:25:10
✓ "txHash" filter param is ignored when "afterLog" is set (4952 ms)
10:25:10
✓ intersecting works (4614 ms)
10:25:10
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4429 ms)
10:25:10
10:25:10
Test Suites: 1 passed, 1 total
10:25:10
Tests: 86 passed, 86 total
10:25:10
Snapshots: 0 total
10:25:10
Time: 188.203 s
10:25:10
Ran all test suites matching /archiver\/src\/archiver\/kv_archiver_store\/kv_archiver_store.test.ts/i
.
10:25:10
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?