Parent Log:
http://ci.aztec-labs.com/1a7dfd6c5ccbf0af
Command: 8d877b6d7ad6abfd 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/517501b8b3c82d562e946c782c8fe75426951f62
Env: REF_NAME=gh-readonly-queue/next/pr-15016-a8c553f203c98e5ca274e763c8e51daaaaf760d6 CURRENT_VERSION=0.87.6 CI_FULL=0
Date: Fri Jun 13 09:55:12 UTC 2025
System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15016_arm64_a1-fast
Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
09:55:14 [09:55:14.652]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:15 [09:55:15.760]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:16 [09:55:16.870]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:17 [09:55:17.650]
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
09:55:17 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
09:55:17 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:55:17 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:55:17 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:55:17 newBlockNumber: 2,
09:55:17 previousBlockNumber: undefined
09:55:17 }
09:55:17 [09:55:17.654]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:18 [09:55:18.509]
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
09:55:18 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17
09:55:18 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:55:18 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:55:18 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
09:55:18 [09:55:18.511]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:19 [09:55:19.501]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:20 [09:55:20.227]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:21 [09:55:21.188]
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)
09:55:21 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15
09:55:21 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:55:21 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:55:21 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
09:55:21 [09:55:21.190]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:22 [09:55:22.185]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:23 [09:55:23.178]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:24 [09:55:24.359]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:25 [09:55:25.441]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:26 [09:55:26.448]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:27 [09:55:27.421]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:28 [09:55:28.420]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:29 [09:55:29.408]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:30 [09:55:30.511]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:31 [09:55:31.865]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:32 [09:55:32.970]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:34 [09:55:34.408]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:35 [09:55:35.291]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:36 [09:55:36.409]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:37 [09:55:37.317]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:38 [09:55:38.224]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:39 [09:55:39.178]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:40 [09:55:40.272]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:41 [09:55:41.396]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:43 [09:55:43.117]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:44 [09:55:44.846]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:46 [09:55:46.597]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:48 [09:55:48.344]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:50 [09:55:50.098]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:51 [09:55:51.859]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:53 [09:55:53.737]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:55 [09:55:55.618]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:57 [09:55:57.496]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:55:59 [09:55:59.402]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:01 [09:56:01.313]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:03 [09:56:03.113]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:05 [09:56:05.272]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:06 [09:56:06.343]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:07 [09:56:07.421]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:08 [09:56:08.506]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:09 [09:56:09.598]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:10 [09:56:10.715]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:11 [09:56:11.832]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:13 [09:56:13.013]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:14 [09:56:14.238]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:15 [09:56:15.451]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:16 [09:56:16.667]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:17 [09:56:17.893]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x3036c3a65efe0aec11d0b597a086e375cc61d72448826a4b36b5ef6e266ba9f6 for L2 block 1 has wrong index 10 (expected 0)
09:56:17 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
09:56:17 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:56:17 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:56:17 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:56:17 inboxMessage: {
09:56:17 index: 10n,
09:56:17 leaf: Fr<0x3036c3a65efe0aec11d0b597a086e375cc61d72448826a4b36b5ef6e266ba9f6>,
09:56:17 l2BlockNumber: 1,
09:56:17 l1BlockNumber: 14n,
09:56:17 l1BlockHash: Buffer32<0xe0bdc37777ba0e79bd7a76f10b3addbc8e6e31e757604d99a6f79353992909cb>,
09:56:17 rollingHash: Buffer16<0xbaa6f1f1f105f0ad0d67de485ff09e4f>
09:56:17 }
09:56:17 }
09:56:17 [09:56:17.895]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:19 [09:56:19.112]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x2c8ce7142a8df793a2c99a563fe7c7f218ff640419b916638d43c7bb0bd536dc at block 12 (expected value in range [176, 192))
09:56:19 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
09:56:19 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:56:19 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:56:19 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:56:19 inboxMessage: {
09:56:19 index: 224n,
09:56:19 leaf: Fr<0x2c8ce7142a8df793a2c99a563fe7c7f218ff640419b916638d43c7bb0bd536dc>,
09:56:19 l2BlockNumber: 12,
09:56:19 l1BlockNumber: 77n,
09:56:19 l1BlockHash: Buffer32<0x324a42caf47cbe4ee26a1d57950c03c32655daad2884bf086d92504ff3501811>,
09:56:19 rollingHash: Buffer16<0xe4762e4bbd4b4c941bd49ddb1839896b>
09:56:19 }
09:56:19 }
09:56:19 [09:56:19.113]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:20 [09:56:20.339]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x037573cae7cd0af4dbe1ad95c4c1d24142a684fef57e3e990b8fe73a9bbf7083 with index 16 (expected 0x9c247e5c9f24d3dcf067bd9772c3c828 from previous hash 0xfc40ca01f20005d186b9ba6e6ad1e81f but got 0xef53fbde45d33d548f882779325c1cf8)
09:56:20 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
09:56:20 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:56:20 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:56:20 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:56:20 inboxMessage: {
09:56:20 index: 16n,
09:56:20 leaf: Fr<0x037573cae7cd0af4dbe1ad95c4c1d24142a684fef57e3e990b8fe73a9bbf7083>,
09:56:20 l2BlockNumber: 2,
09:56:20 l1BlockNumber: 76n,
09:56:20 l1BlockHash: Buffer32<0xfc742122379dbf156693769e6eba3ad2da5f178555ddba8101fd09decf9569de>,
09:56:20 rollingHash: Buffer16<0xef53fbde45d33d548f882779325c1cf8>
09:56:20 }
09:56:20 }
09:56:20 [09:56:20.342]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:21 [09:56:21.587]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x1f3433cb23bf8e8768fed7f30ba253c413e4376b26a7f7ddc9e7cf210004d192 with index 32 (expected 0x7062d9d482996dea4979f69feabde3a7 from previous hash 0xb0bbab02ccb65eecba9bc4bf76aba8ca but got 0x7875b0fb5850156716b280bc2c1619d4)
09:56:21 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
09:56:21 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:56:21 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:56:21 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:56:21 inboxMessage: {
09:56:21 index: 32n,
09:56:21 leaf: Fr<0x1f3433cb23bf8e8768fed7f30ba253c413e4376b26a7f7ddc9e7cf210004d192>,
09:56:21 l2BlockNumber: 3,
09:56:21 l1BlockNumber: 20n,
09:56:21 l1BlockHash: Buffer32<0x04c0a50e321c1d14f6fc94d75eb95912b33b560bf853ec833a1d3cc06d48be6c>,
09:56:21 rollingHash: Buffer16<0x7875b0fb5850156716b280bc2c1619d4>
09:56:21 }
09:56:21 }
09:56:21 [09:56:21.589]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:22 [09:56:22.828]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x23cb31217c0b925a354372dac7612091803a55ce04ce562bcd4535d2b92acae2 at block 17 (expected value in range [256, 272))
09:56:22 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
09:56:22 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:56:22 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:56:22 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:56:22 inboxMessage: {
09:56:22 index: 356n,
09:56:22 leaf: Fr<0x23cb31217c0b925a354372dac7612091803a55ce04ce562bcd4535d2b92acae2>,
09:56:22 l2BlockNumber: 17,
09:56:22 l1BlockNumber: 57n,
09:56:22 l1BlockHash: Buffer32<0xa7312502005fd939274871e9bd5373e317d9ae911c1ddc1992adbdd0326b5e58>,
09:56:22 rollingHash: Buffer16<0xb6db461caae13c0207cf1a05635b402b>
09:56:22 }
09:56:22 }
09:56:22 [09:56:22.830]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:24 [09:56:24.077]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x23d2b4df7b93d567170498cb057d177dd7e96c84d3c34b00539220819653a380 for L2 block 15 has wrong index 225 (expected 224)
09:56:24 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
09:56:24 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:56:24 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:56:24 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:56:24 inboxMessage: {
09:56:24 index: 225n,
09:56:24 leaf: Fr<0x23d2b4df7b93d567170498cb057d177dd7e96c84d3c34b00539220819653a380>,
09:56:24 l2BlockNumber: 15,
09:56:24 l1BlockNumber: 11n,
09:56:24 l1BlockHash: Buffer32<0x9ceeaf6e1c62c4e14eb61706c070f590679800b50cb58920a6d46b35c8bf60a8>,
09:56:24 rollingHash: Buffer16<0x2b64d1d5946b1dd36b7945f8e9b7e025>
09:56:24 }
09:56:24 }
09:56:24 [09:56:24.079]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:25 [09:56:25.339]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x2ef29ba2d255e3f18391ecd47237b9a36f6d3c3806705528a9fd5b02a14eb3b7 at block 2 (expected value in range [16, 32))
09:56:25 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
09:56:25 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:56:25 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:56:25 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:56:25 inboxMessage: {
09:56:25 index: 32n,
09:56:25 leaf: Fr<0x2ef29ba2d255e3f18391ecd47237b9a36f6d3c3806705528a9fd5b02a14eb3b7>,
09:56:25 l2BlockNumber: 2,
09:56:25 l1BlockNumber: 79n,
09:56:25 l1BlockHash: Buffer32<0xaabf6e98dbda5e1114c2226cf3738d77f20160b6912e21e2096a9a4f1d16ae9e>,
09:56:25 rollingHash: Buffer16<0xbb2b8de25a0f025cc6e6b2ad1c05be52>
09:56:25 }
09:56:25 }
09:56:25 [09:56:25.341]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:26 [09:56:26.695]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
09:56:26 [09:56:26.732]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:28 [09:56:28.016]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
09:56:28 [09:56:28.033]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:29 [09:56:29.298]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:30 [09:56:30.571]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:31 [09:56:31.884]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:33 [09:56:33.239]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:34 [09:56:34.593]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:35 [09:56:35.961]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:37 [09:56:37.325]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:38 [09:56:38.696]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:40 [09:56:40.126]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:41 [09:56:41.535]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:42 [09:56:42.919]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:44 [09:56:44.298]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:45 [09:56:45.748]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:47 [09:56:47.159]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:48 [09:56:48.581]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:50 [09:56:50.048]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:52 [09:56:52.364]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:54 [09:56:54.691]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:57 [09:56:57.408]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:56:59 [09:56:59.790]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:57:04 [09:57:04.063]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:57:07 [09:57:07.900]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:57:11 [09:57:11.847]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:57:15 [09:57:15.808]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:57:19 [09:57:19.800]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:57:23 [09:57:23.792]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:57:27 [09:57:27.744]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:57:31
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
138.572 s)
09:57:31 KVArchiverDataStore
09:57:31 ArchiverStore
09:57:31 addBlocks
09:57:31
✓ returns success when adding blocks (1108 ms)
09:57:31
✓ allows duplicate blocks (1110 ms)
09:57:31
✓ throws an error if the previous block does not exist in the store (783 ms)
09:57:31
✓ throws an error if there is a gap in the blocks being added (857 ms)
09:57:31 unwindBlocks
09:57:31
✓ unwinding blocks will remove blocks from the chain (989 ms)
09:57:31
✓ can unwind multiple empty blocks (726 ms)
09:57:31
✓ refuses to unwind blocks if the tip is not the last block (963 ms)
09:57:31 getBlocks
09:57:31
✓ retrieves previously stored blocks (994 ms)
09:57:31
✓ retrieves previously stored blocks (994 ms)
09:57:31
✓ retrieves previously stored blocks (1180 ms)
09:57:31
✓ retrieves previously stored blocks (1081 ms)
09:57:31
✓ retrieves previously stored blocks (1006 ms)
09:57:31
✓ returns an empty array if no blocks are found (974 ms)
09:57:31
✓ throws an error if limit is invalid (998 ms)
09:57:31
✓ throws an error if `from` it is out of range (989 ms)
09:57:31
✓ throws an error if unexpected initial block number is found (1103 ms)
09:57:31
✓ throws an error if a gap is found (1353 ms)
09:57:31 getSyncedL2BlockNumber
09:57:31
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1105 ms)
09:57:31
✓ returns the most recently added block's number (1438 ms)
09:57:31 getSynchPoint
09:57:31
✓ returns undefined if no blocks have been added (882 ms)
09:57:31
✓ returns the L1 block number in which the most recent L2 block was published (1118 ms)
09:57:31
✓ returns the L1 block number that most recently added messages from inbox (907 ms)
09:57:31
✓ returns the latest syncpoint if latest message is behind (906 ms)
09:57:31 addLogs
09:57:31
✓ adds private & public logs (953 ms)
09:57:31 deleteLogs
09:57:31
✓ deletes private & public logs (1093 ms)
09:57:31 getPrivateLogs
09:57:31
✓ gets added private logs (1124 ms)
09:57:31 getTxEffect
09:57:31
✓ retrieves a previously stored transaction (1721 ms)
09:57:31
✓ retrieves a previously stored transaction (1728 ms)
09:57:31
✓ retrieves a previously stored transaction (1751 ms)
09:57:31
✓ retrieves a previously stored transaction (1746 ms)
09:57:31
✓ retrieves a previously stored transaction (1752 ms)
09:57:31
✓ returns undefined if tx is not found (1762 ms)
09:57:31
✓ tries to retrieves a previously stored transaction after deleted (1877 ms)
09:57:31
✓ tries to retrieves a previously stored transaction after deleted (1881 ms)
09:57:31
✓ tries to retrieves a previously stored transaction after deleted (1877 ms)
09:57:31
✓ tries to retrieves a previously stored transaction after deleted (1906 ms)
09:57:31
✓ tries to retrieves a previously stored transaction after deleted (1907 ms)
09:57:31
✓ returns undefined if tx is not found (1804 ms)
09:57:31
✓ does not fail if the block is unwound while requesting a tx (2158 ms)
09:57:31 L1 to L2 Messages
09:57:31
✓ stores first message ever (1071 ms)
09:57:31
✓ stores single message (1078 ms)
09:57:31
✓ stores and returns messages across different blocks (1085 ms)
09:57:31
✓ stores the same messages again (1092 ms)
09:57:31
✓ stores and returns messages across different blocks with gaps (1117 ms)
09:57:31
✓ stores and returns messages with block numbers larger than a byte (1116 ms)
09:57:31
✓ stores and returns multiple messages per block (1180 ms)
09:57:31
✓ stores messages in multiple operations (1226 ms)
09:57:31
✓ iterates over messages from start index (1210 ms)
09:57:31
✓ iterates over messages in reverse (1218 ms)
09:57:31
✓ throws if messages are added out of order (1228 ms)
09:57:31
✓ throws if block number for the first message is out of order (1218 ms)
09:57:31
✓ throws if rolling hash is not correct (1227 ms)
09:57:31
✓ throws if rolling hash for first message is not correct (1247 ms)
09:57:31
✓ throws if index is not in the correct range (1240 ms)
09:57:31
✓ throws if first index in block has gaps (1249 ms)
09:57:31
✓ throws if index does not follow previous one (1261 ms)
09:57:31
✓ removes messages up to the given block number (1391 ms)
09:57:31
✓ removes messages starting with the given index (1300 ms)
09:57:31 contractInstances
09:57:31
✓ returns previously stored contract instances (1264 ms)
09:57:31
✓ returns undefined if contract instance is not found (1273 ms)
09:57:31
✓ returns undefined if previously stored contract instances was deleted (1313 ms)
09:57:31 contractInstanceUpdates
09:57:31
✓ gets the correct current class id for a contract not updated yet (1353 ms)
09:57:31
✓ gets the correct current class id for a contract that has just been updated (1354 ms)
09:57:31
✓ gets the correct current class id for a contract that was updated in the past (1368 ms)
09:57:31
✓ ignores updates for the wrong contract (1364 ms)
09:57:31
✓ bounds its search to the right contract if more than than one update exists (1371 ms)
09:57:31 contractClasses
09:57:31
✓ returns previously stored contract class (1428 ms)
09:57:31
✓ returns undefined if the initial deployed contract class was deleted (1410 ms)
09:57:31
✓ returns contract class if later "deployment" class was deleted (1384 ms)
09:57:31
✓ returns undefined if contract class is not found (1375 ms)
09:57:31
✓ adds new private functions (1453 ms)
09:57:31
✓ does not duplicate private functions (1411 ms)
09:57:31
✓ adds new utility functions (1422 ms)
09:57:31
✓ does not duplicate utility functions (1467 ms)
09:57:31 getLogsByTags
09:57:31
✓ is possible to batch request private logs via tags (2316 ms)
09:57:31
✓ is possible to batch request all logs (private and public) via tags (2327 ms)
09:57:31
✓ is possible to batch request logs that have the same tag but different content (2717 ms)
09:57:31
✓ is possible to request logs for non-existing tags and determine their position (2380 ms)
09:57:31 getPublicLogs
09:57:31
✓ no logs returned if deleted ("txHash" filter param is respected variant) (4274 ms)
09:57:31
✓ "txHash" filter param is respected (3836 ms)
09:57:31
✓ "fromBlock" and "toBlock" filter params are respected (3948 ms)
09:57:31
✓ "contractAddress" filter param is respected (3961 ms)
09:57:31
✓ "afterLog" filter param is respected (3992 ms)
09:57:31
✓ "txHash" filter param is ignored when "afterLog" is set (3992 ms)
09:57:31
✓ intersecting works (3952 ms)
09:57:31
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4225 ms)
09:57:31
09:57:31
Test Suites: 1 passed, 1 total
09:57:31
Tests: 86 passed, 86 total
09:57:31
Snapshots: 0 total
09:57:31
Time: 138.646 s
09:57:31
Ran all test suites matching /archiver\/src\/archiver\/kv_archiver_store\/kv_archiver_store.test.ts/i
.
09:57:31
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?