Parent Log:
http://ci.aztec-labs.com/501bee0986350724
Command: 02087f8fc23cff6c 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/78d87cb88633aee537d022d6fd8e57ceb74a3a95
Env: REF_NAME=gh-readonly-queue/next/pr-15024-78a5deb1c3aa24503935bbda20f9374ba35aa5c4 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Wed Jun 18 10:49:08 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15024_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:49:10 [10:49:10.911]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:12 [10:49:12.430]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:13 [10:49:13.959]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:14 [10:49:14.886]
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:49:14 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
10:49:14 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:49:14 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:49:14 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:49:14 newBlockNumber: 2,
10:49:14 previousBlockNumber: undefined
10:49:14 }
10:49:14 [10:49:14.889]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:16 [10:49:16.076]
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:49:16 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17
10:49:16 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:49:16 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:49:16 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
10:49:16 [10:49:16.086]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:17 [10:49:17.517]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:18 [10:49:18.545]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:19 [10:49:19.989]
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:49:19 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15
10:49:19 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:49:19 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:49:19 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
10:49:19 [10:49:19.992]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:21 [10:49:21.334]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:22 [10:49:22.739]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:24 [10:49:24.480]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:26 [10:49:26.173]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:27 [10:49:27.722]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:29 [10:49:29.586]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:31 [10:49:31.557]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:33 [10:49:33.715]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:35 [10:49:35.474]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:38 [10:49:38.284]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:39 [10:49:39.645]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:41 [10:49:41.340]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:42 [10:49:42.881]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:44 [10:49:44.701]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:45 [10:49:45.957]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:47 [10:49:47.257]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:48 [10:49:48.734]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:50 [10:49:50.239]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:51 [10:49:51.863]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:54 [10:49:54.357]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:57 [10:49:57.156]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:50:00 [10:50:00.002]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:50:02 [10:50:02.401]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:50:05 [10:50:05.052]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:50:07 [10:50:07.726]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:50:10 [10:50:10.363]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:50:13 [10:50:13.156]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:50:15 [10:50:15.591]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:50:18 [10:50:18.339]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:50:21 [10:50:21.029]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:50:23 [10:50:23.973]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:50:27 [10:50:27.918]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:50:29 [10:50:29.790]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:50:31 [10:50:31.611]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:50:33 [10:50:33.376]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:50:35 [10:50:35.144]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:50:37 [10:50:37.072]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:50:38 [10:50:38.905]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:50:41 [10:50:41.044]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:50:42 [10:50:42.735]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:50:44 [10:50:44.408]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:50:46 [10:50:46.456]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:50:48 [10:50:48.444]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x1c7a9e13cfadc8fea832fe3780c952dff0d9268473e666225f545addcf4968c2 for L2 block 1 has wrong index 10 (expected 0)
10:50:48 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
10:50:48 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:50:48 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:50:48 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:50:48 inboxMessage: {
10:50:48 index: 10n,
10:50:48 leaf: Fr<0x1c7a9e13cfadc8fea832fe3780c952dff0d9268473e666225f545addcf4968c2>,
10:50:48 l2BlockNumber: 1,
10:50:48 l1BlockNumber: 88n,
10:50:48 l1BlockHash: Buffer32<0x3136157ab78b877d571671ebd9688924b307bfb8819dbfd2c78f9ea600ce8d4c>,
10:50:48 rollingHash: Buffer16<0x2941f80c3f9848100ea36fbebc16fab0>
10:50:48 }
10:50:48 }
10:50:48 [10:50:48.447]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:50:50 [10:50:50.434]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x0f1733fcf446a79edd01817dda695d51a967669ab1f0b9145cad9a58f57b177b at block 12 (expected value in range [176, 192))
10:50:50 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
10:50:50 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:50:50 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:50:50 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:50:50 inboxMessage: {
10:50:50 index: 224n,
10:50:50 leaf: Fr<0x0f1733fcf446a79edd01817dda695d51a967669ab1f0b9145cad9a58f57b177b>,
10:50:50 l2BlockNumber: 12,
10:50:50 l1BlockNumber: 48n,
10:50:50 l1BlockHash: Buffer32<0x350fccee0079eeebeb16561dffd364f1a5f9e52e6105eff12c69e627f7070065>,
10:50:50 rollingHash: Buffer16<0x17c03a3cfe3a1f798c880f25a37a959c>
10:50:50 }
10:50:50 }
10:50:50 [10:50:50.437]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:50:52 [10:50:52.343]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x15e25b47ce938663684a98dbd373691258cb4adb6451084655af0cc8c3e90b4a with index 16 (expected 0xe5ca623749719cee0213a81920a51c8c from previous hash 0x4c516522716d7c6d33a374613f56b558 but got 0x7dd5c446c790b53845dcd1ab6688fb90)
10:50:52 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
10:50:52 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:50:52 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:50:52 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:50:52 inboxMessage: {
10:50:52 index: 16n,
10:50:52 leaf: Fr<0x15e25b47ce938663684a98dbd373691258cb4adb6451084655af0cc8c3e90b4a>,
10:50:52 l2BlockNumber: 2,
10:50:52 l1BlockNumber: 61n,
10:50:52 l1BlockHash: Buffer32<0x95a1ad9dd3e575f78a693ac8b9dece33dfc6de06eedb1037b72e4c10c0f0383e>,
10:50:52 rollingHash: Buffer16<0x7dd5c446c790b53845dcd1ab6688fb90>
10:50:52 }
10:50:52 }
10:50:52 [10:50:52.348]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:50:54 [10:50:54.160]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x180c54457654cee641ac0928e107f2ef960b1fe701a7ac2d5323d42c2636ff72 with index 32 (expected 0x34f5990ab8a138bdce7d96bfec874d94 from previous hash 0x7dfdfbfe9868923e6bab9224d885d152 but got 0x3367e99a1a05ed4797e80ee3a4cf0e7c)
10:50:54 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
10:50:54 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:50:54 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:50:54 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:50:54 inboxMessage: {
10:50:54 index: 32n,
10:50:54 leaf: Fr<0x180c54457654cee641ac0928e107f2ef960b1fe701a7ac2d5323d42c2636ff72>,
10:50:54 l2BlockNumber: 3,
10:50:54 l1BlockNumber: 33n,
10:50:54 l1BlockHash: Buffer32<0xc6e5c870c47571bb806346d32233ae4ee7dac05f6251e03260a011fe0ef9feed>,
10:50:54 rollingHash: Buffer16<0x3367e99a1a05ed4797e80ee3a4cf0e7c>
10:50:54 }
10:50:54 }
10:50:54 [10:50:54.164]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:50:55 [10:50:55.973]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x1d9e5f422ce212ecc9fcdb6e5751a6c03bce638aca408dca8087c2777f4ebb65 at block 17 (expected value in range [256, 272))
10:50:55 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
10:50:55 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:50:55 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:50:55 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:50:55 inboxMessage: {
10:50:55 index: 356n,
10:50:55 leaf: Fr<0x1d9e5f422ce212ecc9fcdb6e5751a6c03bce638aca408dca8087c2777f4ebb65>,
10:50:55 l2BlockNumber: 17,
10:50:55 l1BlockNumber: 23n,
10:50:55 l1BlockHash: Buffer32<0x8dac965e0ae97d45f550076f72249f62382f04924d1d91fa61cff8b3491069b1>,
10:50:55 rollingHash: Buffer16<0xa2da80594962e2bd2dcfeee355845eb3>
10:50:55 }
10:50:55 }
10:50:55 [10:50:55.977]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:50:57 [10:50:57.709]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x281291c2c071b30219233820bd73a80900b166bb23963f23e572ca874c743b98 for L2 block 15 has wrong index 225 (expected 224)
10:50:57 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
10:50:57 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:50:57 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:50:57 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:50:57 inboxMessage: {
10:50:57 index: 225n,
10:50:57 leaf: Fr<0x281291c2c071b30219233820bd73a80900b166bb23963f23e572ca874c743b98>,
10:50:57 l2BlockNumber: 15,
10:50:57 l1BlockNumber: 77n,
10:50:57 l1BlockHash: Buffer32<0x12f228c43a97f29d5728abefe3fcafd896cef8047adde4462334e0f5463e6878>,
10:50:57 rollingHash: Buffer16<0xc46e6ce59097d4894b5d9703b7fe96a8>
10:50:57 }
10:50:57 }
10:50:57 [10:50:57.715]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:50:59 [10:50:59.549]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x1d7cabaec5a676013bb7493a3c7a6395d81cd256c9c2e3631473f68f6ac50959 at block 2 (expected value in range [16, 32))
10:50:59 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
10:50:59 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:50:59 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:50:59 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:50:59 inboxMessage: {
10:50:59 index: 32n,
10:50:59 leaf: Fr<0x1d7cabaec5a676013bb7493a3c7a6395d81cd256c9c2e3631473f68f6ac50959>,
10:50:59 l2BlockNumber: 2,
10:50:59 l1BlockNumber: 23n,
10:50:59 l1BlockHash: Buffer32<0x051543090c9fa2c689c4978a0b72cb150c127eaee24497f2f152c4e8e5e05292>,
10:50:59 rollingHash: Buffer16<0xfc00feb086b2b4efa86b9e446310e5a7>
10:50:59 }
10:50:59 }
10:50:59 [10:50:59.552]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:51:02 [10:51:02.000]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
10:51:02 [10:51:02.040]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:51:03 [10:51:03.855]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
10:51:03 [10:51:03.879]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:51:05 [10:51:05.878]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:51:07 [10:51:07.395]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:51:09 [10:51:09.055]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:51:10 [10:51:10.854]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:51:12 [10:51:12.713]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:51:14 [10:51:14.554]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:51:16 [10:51:16.642]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:51:18 [10:51:18.404]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:51:20 [10:51:20.173]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:51:22 [10:51:22.178]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:51:24 [10:51:24.172]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:51:26 [10:51:26.202]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:51:28 [10:51:28.468]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:51:30 [10:51:30.595]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:51:32 [10:51:32.785]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:51:34 [10:51:34.752]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:51:38 [10:51:38.276]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:51:41 [10:51:41.441]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:51:45 [10:51:45.112]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:51:48 [10:51:48.362]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:51:54 [10:51:54.900]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:52:00 [10:52:00.126]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:52:05 [10:52:05.217]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:52:10 [10:52:10.469]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:52:15 [10:52:15.929]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:52:20 [10:52:20.304]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:52:24 [10:52:24.055]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:52:28
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
199.67 s)
10:52:28 KVArchiverDataStore
10:52:28 ArchiverStore
10:52:28 addBlocks
10:52:28
✓ returns success when adding blocks (1539 ms)
10:52:28
✓ allows duplicate blocks (1529 ms)
10:52:28
✓ throws an error if the previous block does not exist in the store (930 ms)
10:52:28
✓ throws an error if there is a gap in the blocks being added (1195 ms)
10:52:28 unwindBlocks
10:52:28
✓ unwinding blocks will remove blocks from the chain (1431 ms)
10:52:28
✓ can unwind multiple empty blocks (1026 ms)
10:52:28
✓ refuses to unwind blocks if the tip is not the last block (1447 ms)
10:52:28 getBlocks
10:52:28
✓ retrieves previously stored blocks (1341 ms)
10:52:28
✓ retrieves previously stored blocks (1404 ms)
10:52:28
✓ retrieves previously stored blocks (1741 ms)
10:52:28
✓ retrieves previously stored blocks (1692 ms)
10:52:28
✓ retrieves previously stored blocks (1549 ms)
10:52:28
✓ returns an empty array if no blocks are found (1864 ms)
10:52:28
✓ throws an error if limit is invalid (1960 ms)
10:52:28
✓ throws an error if `from` it is out of range (2167 ms)
10:52:28
✓ throws an error if unexpected initial block number is found (1759 ms)
10:52:28
✓ throws an error if a gap is found (2809 ms)
10:52:28 getSyncedL2BlockNumber
10:52:28
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1360 ms)
10:52:28
✓ returns the most recently added block's number (1692 ms)
10:52:28 getSynchPoint
10:52:28
✓ returns undefined if no blocks have been added (1539 ms)
10:52:28
✓ returns the L1 block number in which the most recent L2 block was published (1820 ms)
10:52:28
✓ returns the L1 block number that most recently added messages from inbox (1258 ms)
10:52:28
✓ returns the latest syncpoint if latest message is behind (1300 ms)
10:52:28 addLogs
10:52:28
✓ adds private & public logs (1476 ms)
10:52:28 deleteLogs
10:52:28
✓ deletes private & public logs (1503 ms)
10:52:28 getPrivateLogs
10:52:28
✓ gets added private logs (1624 ms)
10:52:28 getTxEffect
10:52:28
✓ retrieves a previously stored transaction (2493 ms)
10:52:28
✓ retrieves a previously stored transaction (2800 ms)
10:52:28
✓ retrieves a previously stored transaction (2844 ms)
10:52:28
✓ retrieves a previously stored transaction (2399 ms)
10:52:28
✓ retrieves a previously stored transaction (2650 ms)
10:52:28
✓ returns undefined if tx is not found (2674 ms)
10:52:28
✓ tries to retrieves a previously stored transaction after deleted (2636 ms)
10:52:28
✓ tries to retrieves a previously stored transaction after deleted (2792 ms)
10:52:28
✓ tries to retrieves a previously stored transaction after deleted (2433 ms)
10:52:28
✓ tries to retrieves a previously stored transaction after deleted (2748 ms)
10:52:28
✓ tries to retrieves a previously stored transaction after deleted (2689 ms)
10:52:28
✓ returns undefined if tx is not found (2943 ms)
10:52:28
✓ does not fail if the block is unwound while requesting a tx (3935 ms)
10:52:28 L1 to L2 Messages
10:52:28
✓ stores first message ever (1877 ms)
10:52:28
✓ stores single message (1819 ms)
10:52:28
✓ stores and returns messages across different blocks (1764 ms)
10:52:28
✓ stores the same messages again (1767 ms)
10:52:28
✓ stores and returns messages across different blocks with gaps (1920 ms)
10:52:28
✓ stores and returns messages with block numbers larger than a byte (1830 ms)
10:52:28
✓ stores and returns multiple messages per block (2146 ms)
10:52:28
✓ stores messages in multiple operations (1692 ms)
10:52:28
✓ iterates over messages from start index (1672 ms)
10:52:28
✓ iterates over messages in reverse (2046 ms)
10:52:28
✓ throws if messages are added out of order (1992 ms)
10:52:28
✓ throws if block number for the first message is out of order (1990 ms)
10:52:28
✓ throws if rolling hash is not correct (1909 ms)
10:52:28
✓ throws if rolling hash for first message is not correct (1816 ms)
10:52:28
✓ throws if index is not in the correct range (1812 ms)
10:52:28
✓ throws if first index in block has gaps (1736 ms)
10:52:28
✓ throws if index does not follow previous one (1838 ms)
10:52:28
✓ removes messages up to the given block number (2487 ms)
10:52:28
✓ removes messages starting with the given index (1837 ms)
10:52:28 contractInstances
10:52:28
✓ returns previously stored contract instances (1999 ms)
10:52:28
✓ returns undefined if contract instance is not found (1516 ms)
10:52:28
✓ returns undefined if previously stored contract instances was deleted (1658 ms)
10:52:28 contractInstanceUpdates
10:52:28
✓ gets the correct current class id for a contract not updated yet (1798 ms)
10:52:28
✓ gets the correct current class id for a contract that has just been updated (1858 ms)
10:52:28
✓ gets the correct current class id for a contract that was updated in the past (1840 ms)
10:52:28
✓ ignores updates for the wrong contract (2087 ms)
10:52:28
✓ bounds its search to the right contract if more than than one update exists (1761 ms)
10:52:28 contractClasses
10:52:28
✓ returns previously stored contract class (1769 ms)
10:52:28
✓ returns undefined if the initial deployed contract class was deleted (2003 ms)
10:52:28
✓ returns contract class if later "deployment" class was deleted (1993 ms)
10:52:28
✓ returns undefined if contract class is not found (2025 ms)
10:52:28
✓ adds new private functions (2270 ms)
10:52:28
✓ does not duplicate private functions (2126 ms)
10:52:28
✓ adds new utility functions (2187 ms)
10:52:28
✓ does not duplicate utility functions (1959 ms)
10:52:28 getLogsByTags
10:52:28
✓ is possible to batch request private logs via tags (3531 ms)
10:52:28
✓ is possible to batch request all logs (private and public) via tags (3164 ms)
10:52:28
✓ is possible to batch request logs that have the same tag but different content (3669 ms)
10:52:28
✓ is possible to request logs for non-existing tags and determine their position (3250 ms)
10:52:28 getPublicLogs
10:52:28
✓ no logs returned if deleted ("txHash" filter param is respected variant) (6536 ms)
10:52:28
✓ "txHash" filter param is respected (5224 ms)
10:52:28
✓ "fromBlock" and "toBlock" filter params are respected (5089 ms)
10:52:28
✓ "contractAddress" filter param is respected (5254 ms)
10:52:28
✓ "afterLog" filter param is respected (5460 ms)
10:52:28
✓ "txHash" filter param is ignored when "afterLog" is set (4375 ms)
10:52:28
✓ intersecting works (3751 ms)
10:52:28
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4737 ms)
10:52:28
10:52:28
Test Suites: 1 passed, 1 total
10:52:28
Tests: 86 passed, 86 total
10:52:28
Snapshots: 0 total
10:52:28
Time: 199.753 s
10:52:28
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
10:52:28
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?