Parent Log:
http://ci.aztec-labs.com/9c875b57c7229e8a
Command: bdef8c432fe28910 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/a9f91dd1e5946aecfeb192ce869eb3e8eca2742e
Env: REF_NAME=gh-readonly-queue/next/pr-15099-a48851a8c6884f4b9615a154f8862a549722d25e CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 17 12:33:02 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15099_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
12:33:05 [12:33:05.493]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:33:07 [12:33:07.045]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:33:08 [12:33:08.393]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:33:09 [12:33:09.514]
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
12:33:09 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
12:33:09 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
12:33:09 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
12:33:09 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
12:33:09 newBlockNumber: 2,
12:33:09 previousBlockNumber: undefined
12:33:09 }
12:33:09 [12:33:09.523]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:33:10 [12:33:10.635]
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
12:33:10 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17
12:33:10 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
12:33:10 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
12:33:10 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
12:33:10 [12:33:10.645]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:33:11 [12:33:11.976]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:33:13 [12:33:13.364]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:33:14 [12:33:14.877]
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)
12:33:14 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15
12:33:14 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
12:33:14 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
12:33:14 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
12:33:14 [12:33:14.880]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:33:16 [12:33:16.242]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:33:17 [12:33:17.592]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:33:19 [12:33:19.271]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:33:20 [12:33:20.713]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:33:22 [12:33:22.185]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:33:23 [12:33:23.707]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:33:25 [12:33:25.337]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:33:27 [12:33:27.152]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:33:31 [12:33:31.057]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:33:33 [12:33:33.759]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:33:36 [12:33:36.080]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:33:37 [12:33:37.715]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:33:39 [12:33:39.092]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:33:41 [12:33:41.225]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:33:42 [12:33:42.490]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:33:43 [12:33:43.744]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:33:45 [12:33:45.132]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:33:46 [12:33:46.396]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:33:48 [12:33:48.023]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:33:50 [12:33:50.645]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:33:53 [12:33:53.209]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:33:55 [12:33:55.760]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:33:58 [12:33:58.439]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:34:01 [12:34:01.090]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:34:03 [12:34:03.496]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:34:06 [12:34:06.153]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:34:08 [12:34:08.831]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:34:11 [12:34:11.656]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:34:14 [12:34:14.599]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:34:17 [12:34:17.219]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:34:20 [12:34:20.118]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:34:23 [12:34:23.893]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:34:25 [12:34:25.515]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:34:27 [12:34:27.172]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:34:28 [12:34:28.922]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:34:30 [12:34:30.733]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:34:32 [12:34:32.644]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:34:34 [12:34:34.401]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:34:36 [12:34:36.493]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:34:38 [12:34:38.456]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:34:40 [12:34:40.337]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:34:42 [12:34:42.159]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:34:44 [12:34:44.050]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x2bba944d50cd0a2786d7e5ac2362e17d8417c471c4f7283567cc8ece4309f82a for L2 block 1 has wrong index 10 (expected 0)
12:34:44 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
12:34:44 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
12:34:44 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
12:34:44 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
12:34:44 inboxMessage: {
12:34:44 index: 10n,
12:34:44 leaf: Fr<0x2bba944d50cd0a2786d7e5ac2362e17d8417c471c4f7283567cc8ece4309f82a>,
12:34:44 l2BlockNumber: 1,
12:34:44 l1BlockNumber: 11n,
12:34:44 l1BlockHash: Buffer32<0xf74cd049114e7deac81daf5abfd2fc81f874ca9e87d9d7b9d7d8fbbb5ea548d3>,
12:34:44 rollingHash: Buffer16<0x1df1c8c7de851d9372f244d436361009>
12:34:44 }
12:34:44 }
12:34:44 [12:34:44.058]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:34:46 [12:34:46.095]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x2e2f783ab884d0093d57c81bff411171e310309ff2400de314c32a77fbc509f9 at block 12 (expected value in range [176, 192))
12:34:46 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
12:34:46 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
12:34:46 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
12:34:46 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
12:34:46 inboxMessage: {
12:34:46 index: 224n,
12:34:46 leaf: Fr<0x2e2f783ab884d0093d57c81bff411171e310309ff2400de314c32a77fbc509f9>,
12:34:46 l2BlockNumber: 12,
12:34:46 l1BlockNumber: 99n,
12:34:46 l1BlockHash: Buffer32<0xe530aa09b32223e0918d9f691acda75c17c084353190aa2b60df77b2e4cadcfc>,
12:34:46 rollingHash: Buffer16<0x0a61c6a5abe00131cb3c680df32ee1e6>
12:34:46 }
12:34:46 }
12:34:46 [12:34:46.099]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:34:48 [12:34:48.113]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x0b01d02b93134e4a8a68ce31a6da188dab121be1766ef54b99699aebd4bbeaa7 with index 16 (expected 0xfb18365c6aa5cfc257b712df4439f0d6 from previous hash 0x3ab84a5b13a4b883901825622a83e290 but got 0xc07b1aedd3e058d0ae84038a30ce9ccb)
12:34:48 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
12:34:48 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
12:34:48 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
12:34:48 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
12:34:48 inboxMessage: {
12:34:48 index: 16n,
12:34:48 leaf: Fr<0x0b01d02b93134e4a8a68ce31a6da188dab121be1766ef54b99699aebd4bbeaa7>,
12:34:48 l2BlockNumber: 2,
12:34:48 l1BlockNumber: 87n,
12:34:48 l1BlockHash: Buffer32<0x7fbaa5c31f6185536e12ab354531ec79a317f646e5bfceacf4ee54dcaefc4208>,
12:34:48 rollingHash: Buffer16<0xc07b1aedd3e058d0ae84038a30ce9ccb>
12:34:48 }
12:34:48 }
12:34:48 [12:34:48.117]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:34:50 [12:34:50.096]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x28ba16eb0997aecb7b1eccbf35371391fcbf4673e3093822e04e7466a1ef2a1e with index 32 (expected 0x88704198011099afc8771edea5be24bf from previous hash 0x62eb2f5d9abe75e3a281459341e3fb85 but got 0x87a52370f6e61d60dbb9f94e6250c1b5)
12:34:50 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
12:34:50 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
12:34:50 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
12:34:50 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
12:34:50 inboxMessage: {
12:34:50 index: 32n,
12:34:50 leaf: Fr<0x28ba16eb0997aecb7b1eccbf35371391fcbf4673e3093822e04e7466a1ef2a1e>,
12:34:50 l2BlockNumber: 3,
12:34:50 l1BlockNumber: 26n,
12:34:50 l1BlockHash: Buffer32<0x6270a424c7f646c30b2aea4b011bb78992a057bba771fdd6300a3843af0beffb>,
12:34:50 rollingHash: Buffer16<0x87a52370f6e61d60dbb9f94e6250c1b5>
12:34:50 }
12:34:50 }
12:34:50 [12:34:50.101]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:34:51 [12:34:51.668]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x135a5121943ef5a405beb40348888734c4feaef1e8466cff974f0a1ab2b42ef2 at block 17 (expected value in range [256, 272))
12:34:51 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
12:34:51 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
12:34:51 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
12:34:51 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
12:34:51 inboxMessage: {
12:34:51 index: 356n,
12:34:51 leaf: Fr<0x135a5121943ef5a405beb40348888734c4feaef1e8466cff974f0a1ab2b42ef2>,
12:34:51 l2BlockNumber: 17,
12:34:51 l1BlockNumber: 22n,
12:34:51 l1BlockHash: Buffer32<0xccae72ff10c1f2a03f7225c983815197294445a2969126dc89279ff994789109>,
12:34:51 rollingHash: Buffer16<0xa0814cec99a10e3ee1a490ef29b24ae2>
12:34:51 }
12:34:51 }
12:34:51 [12:34:51.670]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:34:53 [12:34:53.304]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x075ffba0aa49c65d7869091e32271ec6fc86377222f5ef1749049f5b32743c25 for L2 block 15 has wrong index 225 (expected 224)
12:34:53 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
12:34:53 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
12:34:53 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
12:34:53 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
12:34:53 inboxMessage: {
12:34:53 index: 225n,
12:34:53 leaf: Fr<0x075ffba0aa49c65d7869091e32271ec6fc86377222f5ef1749049f5b32743c25>,
12:34:53 l2BlockNumber: 15,
12:34:53 l1BlockNumber: 53n,
12:34:53 l1BlockHash: Buffer32<0x0ff81264b8c8134edb144ba7eac924c40b979dfd8416a18e251c817cca576ec7>,
12:34:53 rollingHash: Buffer16<0xe2b5e5e5827ba2c2e757975874eb1c72>
12:34:53 }
12:34:53 }
12:34:53 [12:34:53.307]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:34:55 [12:34:55.248]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x20042b8237b322046313816a5dd1ebbfb141facea85f5f7c76d34aec34ec63a1 at block 2 (expected value in range [16, 32))
12:34:55 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
12:34:55 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
12:34:55 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
12:34:55 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
12:34:55 inboxMessage: {
12:34:55 index: 32n,
12:34:55 leaf: Fr<0x20042b8237b322046313816a5dd1ebbfb141facea85f5f7c76d34aec34ec63a1>,
12:34:55 l2BlockNumber: 2,
12:34:55 l1BlockNumber: 100n,
12:34:55 l1BlockHash: Buffer32<0x40f4762aa4870b8095b70698c43951449d69c1892430a9ff3c9826ed8a419d82>,
12:34:55 rollingHash: Buffer16<0x0c817a672dc9d2c58a3532dc33c0ceca>
12:34:55 }
12:34:55 }
12:34:55 [12:34:55.253]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:34:57 [12:34:57.331]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
12:34:57 [12:34:57.391]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:34:59 [12:34:59.499]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
12:34:59 [12:34:59.523]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:35:01 [12:35:01.350]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:35:02 [12:35:02.910]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:35:04 [12:35:04.643]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:35:06 [12:35:06.491]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:35:08 [12:35:08.210]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:35:09 [12:35:09.881]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:35:11 [12:35:11.908]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:35:13 [12:35:13.853]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:35:15 [12:35:15.879]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:35:18 [12:35:18.022]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:35:19 [12:35:19.979]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:35:21 [12:35:21.982]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:35:24 [12:35:24.011]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:35:26 [12:35:26.193]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:35:28 [12:35:28.361]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:35:30 [12:35:30.385]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:35:33 [12:35:33.863]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:35:37 [12:35:37.854]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:35:42 [12:35:42.061]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:35:45 [12:35:45.543]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:35:51 [12:35:51.418]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:35:57 [12:35:57.022]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:36:01 [12:36:01.751]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:36:07 [12:36:07.037]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:36:12 [12:36:12.304]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:36:16 [12:36:16.398]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:36:20 [12:36:20.313]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:36:25
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
201.229 s)
12:36:25 KVArchiverDataStore
12:36:25 ArchiverStore
12:36:25 addBlocks
12:36:25
✓ returns success when adding blocks (1575 ms)
12:36:25
✓ allows duplicate blocks (1347 ms)
12:36:25
✓ throws an error if the previous block does not exist in the store (1126 ms)
12:36:25
✓ throws an error if there is a gap in the blocks being added (1120 ms)
12:36:25 unwindBlocks
12:36:25
✓ unwinding blocks will remove blocks from the chain (1336 ms)
12:36:25
✓ can unwind multiple empty blocks (1386 ms)
12:36:25
✓ refuses to unwind blocks if the tip is not the last block (1516 ms)
12:36:25 getBlocks
12:36:25
✓ retrieves previously stored blocks (1362 ms)
12:36:25
✓ retrieves previously stored blocks (1349 ms)
12:36:25
✓ retrieves previously stored blocks (1679 ms)
12:36:25
✓ retrieves previously stored blocks (1442 ms)
12:36:25
✓ retrieves previously stored blocks (1469 ms)
12:36:25
✓ returns an empty array if no blocks are found (1517 ms)
12:36:25
✓ throws an error if limit is invalid (1632 ms)
12:36:25
✓ throws an error if `from` it is out of range (1811 ms)
12:36:25
✓ throws an error if unexpected initial block number is found (3912 ms)
12:36:25
✓ throws an error if a gap is found (2693 ms)
12:36:25 getSyncedL2BlockNumber
12:36:25
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (2314 ms)
12:36:25
✓ returns the most recently added block's number (1648 ms)
12:36:25 getSynchPoint
12:36:25
✓ returns undefined if no blocks have been added (1376 ms)
12:36:25
✓ returns the L1 block number in which the most recent L2 block was published (2134 ms)
12:36:25
✓ returns the L1 block number that most recently added messages from inbox (1263 ms)
12:36:25
✓ returns the latest syncpoint if latest message is behind (1253 ms)
12:36:25 addLogs
12:36:25
✓ adds private & public logs (1388 ms)
12:36:25 deleteLogs
12:36:25
✓ deletes private & public logs (1263 ms)
12:36:25 getPrivateLogs
12:36:25
✓ gets added private logs (1625 ms)
12:36:25 getTxEffect
12:36:25
✓ retrieves a previously stored transaction (2610 ms)
12:36:25
✓ retrieves a previously stored transaction (2576 ms)
12:36:25
✓ retrieves a previously stored transaction (2546 ms)
12:36:25
✓ retrieves a previously stored transaction (2682 ms)
12:36:25
✓ retrieves a previously stored transaction (2649 ms)
12:36:25
✓ returns undefined if tx is not found (2406 ms)
12:36:25
✓ tries to retrieves a previously stored transaction after deleted (2658 ms)
12:36:25
✓ tries to retrieves a previously stored transaction after deleted (2677 ms)
12:36:25
✓ tries to retrieves a previously stored transaction after deleted (2824 ms)
12:36:25
✓ tries to retrieves a previously stored transaction after deleted (2941 ms)
12:36:25
✓ tries to retrieves a previously stored transaction after deleted (2620 ms)
12:36:25
✓ returns undefined if tx is not found (2897 ms)
12:36:25
✓ does not fail if the block is unwound while requesting a tx (3774 ms)
12:36:25 L1 to L2 Messages
12:36:25
✓ stores first message ever (1623 ms)
12:36:25
✓ stores single message (1656 ms)
12:36:25
✓ stores and returns messages across different blocks (1749 ms)
12:36:25
✓ stores the same messages again (1811 ms)
12:36:25
✓ stores and returns messages across different blocks with gaps (1906 ms)
12:36:25
✓ stores and returns messages with block numbers larger than a byte (1759 ms)
12:36:25
✓ stores and returns multiple messages per block (2091 ms)
12:36:25
✓ stores messages in multiple operations (1961 ms)
12:36:25
✓ iterates over messages from start index (1880 ms)
12:36:25
✓ iterates over messages in reverse (1823 ms)
12:36:25
✓ throws if messages are added out of order (1894 ms)
12:36:25
✓ throws if block number for the first message is out of order (2043 ms)
12:36:25
✓ throws if rolling hash is not correct (2018 ms)
12:36:25
✓ throws if rolling hash for first message is not correct (1982 ms)
12:36:25
✓ throws if index is not in the correct range (1570 ms)
12:36:25
✓ throws if first index in block has gaps (1636 ms)
12:36:25
✓ throws if index does not follow previous one (1944 ms)
12:36:25
✓ removes messages up to the given block number (2137 ms)
12:36:25
✓ removes messages starting with the given index (2130 ms)
12:36:25 contractInstances
12:36:25
✓ returns previously stored contract instances (1829 ms)
12:36:25
✓ returns undefined if contract instance is not found (1559 ms)
12:36:25
✓ returns undefined if previously stored contract instances was deleted (1731 ms)
12:36:25 contractInstanceUpdates
12:36:25
✓ gets the correct current class id for a contract not updated yet (1849 ms)
12:36:25
✓ gets the correct current class id for a contract that has just been updated (1719 ms)
12:36:25
✓ gets the correct current class id for a contract that was updated in the past (1666 ms)
12:36:25
✓ ignores updates for the wrong contract (2029 ms)
12:36:25
✓ bounds its search to the right contract if more than than one update exists (1944 ms)
12:36:25 contractClasses
12:36:25
✓ returns previously stored contract class (2024 ms)
12:36:25
✓ returns undefined if the initial deployed contract class was deleted (2143 ms)
12:36:25
✓ returns contract class if later "deployment" class was deleted (1951 ms)
12:36:25
✓ returns undefined if contract class is not found (2003 ms)
12:36:25
✓ adds new private functions (2031 ms)
12:36:25
✓ does not duplicate private functions (2182 ms)
12:36:25
✓ adds new utility functions (2162 ms)
12:36:25
✓ does not duplicate utility functions (2025 ms)
12:36:25 getLogsByTags
12:36:25
✓ is possible to batch request private logs via tags (3476 ms)
12:36:25
✓ is possible to batch request all logs (private and public) via tags (3991 ms)
12:36:25
✓ is possible to batch request logs that have the same tag but different content (4205 ms)
12:36:25
✓ is possible to request logs for non-existing tags and determine their position (3478 ms)
12:36:25 getPublicLogs
12:36:25
✓ no logs returned if deleted ("txHash" filter param is respected variant) (5873 ms)
12:36:25
✓ "txHash" filter param is respected (5605 ms)
12:36:25
✓ "fromBlock" and "toBlock" filter params are respected (4728 ms)
12:36:25
✓ "contractAddress" filter param is respected (5285 ms)
12:36:25
✓ "afterLog" filter param is respected (5267 ms)
12:36:25
✓ "txHash" filter param is ignored when "afterLog" is set (4094 ms)
12:36:25
✓ intersecting works (3914 ms)
12:36:25
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4742 ms)
12:36:25
12:36:25
Test Suites: 1 passed, 1 total
12:36:25
Tests: 86 passed, 86 total
12:36:25
Snapshots: 0 total
12:36:25
Time: 201.344 s
12:36:25
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
12:36:25
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?