Parent Log:
http://ci.aztec-labs.com/85053317e22df949
Command: e64362a187b98198 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/082468f0c1e7e5424b3654b5be0f3560eed7e487
Env: REF_NAME=gh-readonly-queue/next/pr-15001-a907d3a9f40aa473deec5c77c658a80089184fa8 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Thu Jun 12 11:20:08 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15001_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
11:20:10 [11:20:10.686]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:20:12 [11:20:12.155]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:20:13 [11:20:13.857]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:20:14 [11:20:14.826]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: InitialBlockNumberNotSequentialError: Cannot insert new block 2 given previous block number in store is undefined
11:20:14 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
11:20:14 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:20:14 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:20:14 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
11:20:14 newBlockNumber: 2,
11:20:14 previousBlockNumber: undefined
11:20:14 }
11:20:14 [11:20:14.836]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:20:16 [11:20:16.052]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: BlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in batch is 1
11:20:16 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17
11:20:16 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:20:16 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:20:16 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
11:20:16 [11:20:16.058]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:20:17 [11:20:17.346]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:20:18 [11:20:18.484]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:20:19 [11:20:19.815]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: Error: Can only unwind blocks from the tip (requested 5 but current tip is 10)
11:20:19 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15
11:20:19 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:20:19 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:20:19 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
11:20:19 [11:20:19.818]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:20:21 [11:20:21.189]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:20:22 [11:20:22.393]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:20:23 [11:20:23.783]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:20:25 [11:20:25.271]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:20:26 [11:20:26.630]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:20:27 [11:20:27.865]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:20:29 [11:20:29.089]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:20:30 [11:20:30.313]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:20:32 [11:20:32.092]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:20:35 [11:20:35.233]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:20:36 [11:20:36.591]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:20:38 [11:20:38.571]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:20:39 [11:20:39.659]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:20:41 [11:20:41.204]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:20:42 [11:20:42.582]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:20:43 [11:20:43.893]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:20:45 [11:20:45.003]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:20:46 [11:20:46.146]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:20:47 [11:20:47.459]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:20:49 [11:20:49.970]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:20:52 [11:20:52.109]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:20:54 [11:20:54.741]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:20:57 [11:20:57.055]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:20:59 [11:20:59.356]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:21:01 [11:21:01.964]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:21:05 [11:21:05.025]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:21:07 [11:21:07.603]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:21:09 [11:21:09.896]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:21:12 [11:21:12.383]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:21:14 [11:21:14.678]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:21:17 [11:21:17.244]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:21:19 [11:21:19.975]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:21:21 [11:21:21.333]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:21:22 [11:21:22.698]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:21:24 [11:21:24.089]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:21:25 [11:21:25.346]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:21:26 [11:21:26.991]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:21:28 [11:21:28.589]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:21:30 [11:21:30.281]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:21:32 [11:21:32.086]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:21:33 [11:21:33.993]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:21:35 [11:21:35.700]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:21:37 [11:21:37.342]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x1d52b7676ef15135bf3bc904ff29a9c2a6378b835fdd53dc9046b2e22e5940e7 for L2 block 1 has wrong index 10 (expected 0)
11:21:37 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
11:21:37 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:21:37 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:21:37 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
11:21:37 inboxMessage: {
11:21:37 index: 10n,
11:21:37 leaf: Fr<0x1d52b7676ef15135bf3bc904ff29a9c2a6378b835fdd53dc9046b2e22e5940e7>,
11:21:37 l2BlockNumber: 1n,
11:21:37 l1BlockNumber: 1n,
11:21:37 l1BlockHash: Buffer32<0xb6274963e180f805f613873d8cc4004eb71ba81e8d9f354f6eecbc708af0dcfe>,
11:21:37 rollingHash: Buffer16<0xc347a2957341299530d496b3a3df3082>
11:21:37 }
11:21:37 }
11:21:37 [11:21:37.348]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:21:39 [11:21:39.026]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x1227e0e6d9e72877853c2d2af3585994ef0d597479b4e39f152a7ff445305862 at block 12 (expected value in range [176, 192))
11:21:39 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
11:21:39 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:21:39 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:21:39 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
11:21:39 inboxMessage: {
11:21:39 index: 224n,
11:21:39 leaf: Fr<0x1227e0e6d9e72877853c2d2af3585994ef0d597479b4e39f152a7ff445305862>,
11:21:39 l2BlockNumber: 12n,
11:21:39 l1BlockNumber: 15n,
11:21:39 l1BlockHash: Buffer32<0xbec7107b8da0049b5b0cf78242416c1507465da26b45ad4494f95db53d470950>,
11:21:39 rollingHash: Buffer16<0x89113ad8e2faf5f75d05cd6a25f03e23>
11:21:39 }
11:21:39 }
11:21:39 [11:21:39.036]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:21:40 [11:21:40.775]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x13b4e2a53a2d576ad8163cea2585df524b86680fe5bb3a27da19daa3870b9ac3 with index 16 (expected 0x54ae9a33290832356105473a390c3941 from previous hash 0x99cedf9149dbac0e2f9f0a1d4b410756 but got 0x0acea520261b718c000d36f7d6a4ee8a)
11:21:40 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
11:21:40 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:21:40 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:21:40 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
11:21:40 inboxMessage: {
11:21:40 index: 16n,
11:21:40 leaf: Fr<0x13b4e2a53a2d576ad8163cea2585df524b86680fe5bb3a27da19daa3870b9ac3>,
11:21:40 l2BlockNumber: 2n,
11:21:40 l1BlockNumber: 2n,
11:21:40 l1BlockHash: Buffer32<0x05eb9a003a44872dc5d53a7ae9e3a6e087ab6e17f479c872a07f9afbea6f4b9f>,
11:21:40 rollingHash: Buffer16<0x0acea520261b718c000d36f7d6a4ee8a>
11:21:40 }
11:21:40 }
11:21:40 [11:21:40.780]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:21:42 [11:21:42.574]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x0a24101e5e0d049bf483c0f1c9f42374aa5b1c8fc32be053383462505b529c97 with index 32 (expected 0xf351702c3d2fd3aa13faea9d47629b9e from previous hash 0xc17762c2536dfac2db7dc99b3f2302a5 but got 0x439e7b6ab0846e00ce5a775e57dd5279)
11:21:42 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
11:21:42 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:21:42 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:21:42 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
11:21:42 inboxMessage: {
11:21:42 index: 32n,
11:21:42 leaf: Fr<0x0a24101e5e0d049bf483c0f1c9f42374aa5b1c8fc32be053383462505b529c97>,
11:21:42 l2BlockNumber: 3n,
11:21:42 l1BlockNumber: 3n,
11:21:42 l1BlockHash: Buffer32<0x3d6dbf5f71612d4f16e8dc321751e3ef258ede7aecfab98c3bca83d7e2594460>,
11:21:42 rollingHash: Buffer16<0x439e7b6ab0846e00ce5a775e57dd5279>
11:21:42 }
11:21:42 }
11:21:42 [11:21:42.577]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:21:44 [11:21:44.307]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x17aac83d15b09b4ca7cad7b373d79552568487976cb9c02dc2e2fd93bccd9296 at block 17 (expected value in range [256, 272))
11:21:44 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
11:21:44 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:21:44 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:21:44 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
11:21:44 inboxMessage: {
11:21:44 index: 356n,
11:21:44 leaf: Fr<0x17aac83d15b09b4ca7cad7b373d79552568487976cb9c02dc2e2fd93bccd9296>,
11:21:44 l2BlockNumber: 17n,
11:21:44 l1BlockNumber: 17n,
11:21:44 l1BlockHash: Buffer32<0xcab3d81ccebed64dbc98fef5f76ed96dc969b2a8cf6018b13deeb0baa28120ec>,
11:21:44 rollingHash: Buffer16<0x5720f1f05df7da3fead5a17a13d3c63e>
11:21:44 }
11:21:44 }
11:21:44 [11:21:44.311]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:21:45 [11:21:45.977]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x0780b2cb85c9e17a70fd026657b1242ef1937f775e058fe4a37b010f906827e1 for L2 block 15 has wrong index 225 (expected 224)
11:21:45 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
11:21:45 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:21:45 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:21:45 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
11:21:45 inboxMessage: {
11:21:45 index: 225n,
11:21:45 leaf: Fr<0x0780b2cb85c9e17a70fd026657b1242ef1937f775e058fe4a37b010f906827e1>,
11:21:45 l2BlockNumber: 15n,
11:21:45 l1BlockNumber: 15n,
11:21:45 l1BlockHash: Buffer32<0xa9d6132345174fe4dfbde9f36ccd6d191480b2bde535581b96dd8bc2e0e4f063>,
11:21:45 rollingHash: Buffer16<0x76699956058aa267fb9c18f1bcc8962d>
11:21:45 }
11:21:45 }
11:21:45 [11:21:45.983]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:21:47 [11:21:47.691]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x2f6834f23835576e57f0a41356836b218bc2ca673fddcdbc99ea877108fdfb83 at block 2 (expected value in range [16, 32))
11:21:47 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
11:21:47 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:21:47 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:21:47 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
11:21:47 inboxMessage: {
11:21:47 index: 32n,
11:21:47 leaf: Fr<0x2f6834f23835576e57f0a41356836b218bc2ca673fddcdbc99ea877108fdfb83>,
11:21:47 l2BlockNumber: 2n,
11:21:47 l1BlockNumber: 13n,
11:21:47 l1BlockHash: Buffer32<0x2895ef962d336c72a92d476dd17b55970fef4fb5c2baeb765c7d9d58b67e1434>,
11:21:47 rollingHash: Buffer16<0xdfe6a01c5c1b7a4d4b9f4a60c988b61f>
11:21:47 }
11:21:47 }
11:21:47 [11:21:47.695]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:21:49 [11:21:49.499]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
11:21:49 [11:21:49.555]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:21:51 [11:21:51.373]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
11:21:51 [11:21:51.389]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:21:53 [11:21:53.115]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:21:54 [11:21:54.969]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:21:56 [11:21:56.851]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:21:58 [11:21:58.773]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:22:00 [11:22:00.717]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:22:02 [11:22:02.655]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:22:04 [11:22:04.559]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:22:06 [11:22:06.560]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:22:08 [11:22:08.322]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:22:10 [11:22:10.167]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:22:11 [11:22:11.756]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:22:13 [11:22:13.500]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:22:15 [11:22:15.240]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:22:17 [11:22:17.049]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:22:19 [11:22:19.199]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:22:21 [11:22:21.036]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:22:24 [11:22:24.397]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:22:28 [11:22:28.227]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:22:32 [11:22:32.066]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:22:35 [11:22:35.443]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:22:41 [11:22:41.341]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:22:45 [11:22:45.668]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:22:50 [11:22:50.670]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:22:55 [11:22:55.619]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:23:00 [11:23:00.250]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:23:06 [11:23:06.181]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:23:11 [11:23:11.452]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:23:16
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
187.67 s)
11:23:16 KVArchiverDataStore
11:23:16 ArchiverStore
11:23:16 addBlocks
11:23:16
✓ returns success when adding blocks (1469 ms)
11:23:16
✓ allows duplicate blocks (1702 ms)
11:23:16
✓ throws an error if the previous block does not exist in the store (973 ms)
11:23:16
✓ throws an error if there is a gap in the blocks being added (1223 ms)
11:23:16 unwindBlocks
11:23:16
✓ unwinding blocks will remove blocks from the chain (1291 ms)
11:23:16
✓ can unwind multiple empty blocks (1136 ms)
11:23:16
✓ refuses to unwind blocks if the tip is not the last block (1333 ms)
11:23:16 getBlocks
11:23:16
✓ retrieves previously stored blocks (1370 ms)
11:23:16
✓ retrieves previously stored blocks (1203 ms)
11:23:16
✓ retrieves previously stored blocks (1391 ms)
11:23:16
✓ retrieves previously stored blocks (1487 ms)
11:23:16
✓ retrieves previously stored blocks (1358 ms)
11:23:16
✓ returns an empty array if no blocks are found (1235 ms)
11:23:16
✓ throws an error if limit is invalid (1222 ms)
11:23:16
✓ throws an error if `from` it is out of range (1224 ms)
11:23:16
✓ throws an error if unexpected initial block number is found (1772 ms)
11:23:16
✓ throws an error if a gap is found (3144 ms)
11:23:16 getSyncedL2BlockNumber
11:23:16
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1359 ms)
11:23:16
✓ returns the most recently added block's number (1976 ms)
11:23:16 getSynchPoint
11:23:16
✓ returns undefined if no blocks have been added (1092 ms)
11:23:16
✓ returns the L1 block number in which the most recent L2 block was published (1542 ms)
11:23:16
✓ returns the L1 block number that most recently added messages from inbox (1380 ms)
11:23:16
✓ returns the latest syncpoint if latest message is behind (1310 ms)
11:23:16 addLogs
11:23:16
✓ adds private & public logs (1110 ms)
11:23:16 deleteLogs
11:23:16
✓ deletes private & public logs (1142 ms)
11:23:16 getPrivateLogs
11:23:16
✓ gets added private logs (1312 ms)
11:23:16 getTxEffect
11:23:16
✓ retrieves a previously stored transaction (2510 ms)
11:23:16
✓ retrieves a previously stored transaction (2137 ms)
11:23:16
✓ retrieves a previously stored transaction (2632 ms)
11:23:16
✓ retrieves a previously stored transaction (2315 ms)
11:23:16
✓ retrieves a previously stored transaction (2300 ms)
11:23:16
✓ returns undefined if tx is not found (2608 ms)
11:23:16
✓ tries to retrieves a previously stored transaction after deleted (3060 ms)
11:23:16
✓ tries to retrieves a previously stored transaction after deleted (2579 ms)
11:23:16
✓ tries to retrieves a previously stored transaction after deleted (2293 ms)
11:23:16
✓ tries to retrieves a previously stored transaction after deleted (2486 ms)
11:23:16
✓ tries to retrieves a previously stored transaction after deleted (2294 ms)
11:23:16
✓ returns undefined if tx is not found (2565 ms)
11:23:16
✓ does not fail if the block is unwound while requesting a tx (2730 ms)
11:23:16 L1 to L2 Messages
11:23:16
✓ stores first message ever (1353 ms)
11:23:16
✓ stores single message (1370 ms)
11:23:16
✓ stores and returns messages across different blocks (1390 ms)
11:23:16
✓ stores the same messages again (1256 ms)
11:23:16
✓ stores and returns messages across different blocks with gaps (1646 ms)
11:23:16
✓ stores and returns messages with block numbers larger than a byte (1597 ms)
11:23:16
✓ stores and returns multiple messages per block (1691 ms)
11:23:16
✓ stores messages in multiple operations (1801 ms)
11:23:16
✓ iterates over messages from start index (1909 ms)
11:23:16
✓ iterates over messages in reverse (1706 ms)
11:23:16
✓ throws if messages are added out of order (1644 ms)
11:23:16
✓ throws if block number for the first message is out of order (1690 ms)
11:23:16
✓ throws if rolling hash is not correct (1743 ms)
11:23:16
✓ throws if rolling hash for first message is not correct (1798 ms)
11:23:16
✓ throws if index is not in the correct range (1733 ms)
11:23:16
✓ throws if first index in block has gaps (1670 ms)
11:23:16
✓ throws if index does not follow previous one (1714 ms)
11:23:16
✓ removes messages up to the given block number (1859 ms)
11:23:16
✓ removes messages starting with the given index (1834 ms)
11:23:16 contractInstances
11:23:16
✓ returns previously stored contract instances (1723 ms)
11:23:16
✓ returns undefined if contract instance is not found (1857 ms)
11:23:16
✓ returns undefined if previously stored contract instances was deleted (1881 ms)
11:23:16 contractInstanceUpdates
11:23:16
✓ gets the correct current class id for a contract not updated yet (1920 ms)
11:23:16
✓ gets the correct current class id for a contract that has just been updated (1942 ms)
11:23:16
✓ gets the correct current class id for a contract that was updated in the past (1938 ms)
11:23:16
✓ ignores updates for the wrong contract (1904 ms)
11:23:16
✓ bounds its search to the right contract if more than than one update exists (1999 ms)
11:23:16 contractClasses
11:23:16
✓ returns previously stored contract class (1762 ms)
11:23:16
✓ returns undefined if the initial deployed contract class was deleted (1844 ms)
11:23:16
✓ returns contract class if later "deployment" class was deleted (1586 ms)
11:23:16
✓ returns undefined if contract class is not found (1746 ms)
11:23:16
✓ adds new private functions (1739 ms)
11:23:16
✓ does not duplicate private functions (1806 ms)
11:23:16
✓ adds new utility functions (2151 ms)
11:23:16
✓ does not duplicate utility functions (1836 ms)
11:23:16 getLogsByTags
11:23:16
✓ is possible to batch request private logs via tags (3358 ms)
11:23:16
✓ is possible to batch request all logs (private and public) via tags (3830 ms)
11:23:16
✓ is possible to batch request logs that have the same tag but different content (3838 ms)
11:23:16
✓ is possible to request logs for non-existing tags and determine their position (3377 ms)
11:23:16 getPublicLogs
11:23:16
✓ no logs returned if deleted ("txHash" filter param is respected variant) (5895 ms)
11:23:16
✓ "txHash" filter param is respected (4327 ms)
11:23:16
✓ "fromBlock" and "toBlock" filter params are respected (5003 ms)
11:23:16
✓ "contractAddress" filter param is respected (4948 ms)
11:23:16
✓ "afterLog" filter param is respected (4630 ms)
11:23:16
✓ "txHash" filter param is ignored when "afterLog" is set (5927 ms)
11:23:16
✓ intersecting works (5274 ms)
11:23:16
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (5276 ms)
11:23:16
11:23:16
Test Suites: 1 passed, 1 total
11:23:16
Tests: 86 passed, 86 total
11:23:16
Snapshots: 0 total
11:23:16
Time: 187.739 s
11:23:16
Ran all test suites matching /archiver\/src\/archiver\/kv_archiver_store\/kv_archiver_store.test.ts/i
.
11:23:16
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?