Parent Log:
http://ci.aztec-labs.com/994d9f116998c73d
Command: 4aaecce8c7696119 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/3c9c3432af5707445b58094692f04efc45600b5f
Env: REF_NAME=gh-readonly-queue/next/pr-15163-ffc8af0c47dad3be6fb4bfb9f3f5af6cd3a05a67 CURRENT_VERSION=0.87.6 CI_FULL=0
Date: Mon Jun 23 16:40:41 UTC 2025
System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15163_arm64_a1-fast
Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
16:40:44 [16:40:44.088]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:40:45 [16:40:45.300]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:40:46 [16:40:46.567]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:40:47 [16:40:47.403]
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
16:40:47 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
16:40:47 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:40:47 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:40:47 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:40:47 newBlockNumber: 2,
16:40:47 previousBlockNumber: undefined
16:40:47 }
16:40:47 [16:40:47.406]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:40:48 [16:40:48.332]
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
16:40:48 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:96:17
16:40:48 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:40:48 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:40:48 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
16:40:48 [16:40:48.335]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:40:49 [16:40:49.457]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:40:50 [16:40:50.240]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:40:51 [16:40:51.317]
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)
16:40:51 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:141:15
16:40:51 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:40:51 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:40:51 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
16:40:51 [16:40:51.319]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:40:52 [16:40:52.431]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:40:53 [16:40:53.542]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:40:54 [16:40:54.897]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:40:56 [16:40:56.118]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:40:57 [16:40:57.250]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:40:58 [16:40:58.333]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:40:59 [16:40:59.452]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:00 [16:41:00.562]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:01 [16:41:01.790]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:03 [16:41:03.268]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:04 [16:41:04.197]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:05 [16:41:05.442]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:06 [16:41:06.385]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:07 [16:41:07.608]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:08 [16:41:08.572]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:09 [16:41:09.537]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:10 [16:41:10.573]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:11 [16:41:11.756]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:12 [16:41:12.897]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:14 [16:41:14.839]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:16 [16:41:16.767]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:18 [16:41:18.729]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:20 [16:41:20.669]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:22 [16:41:22.624]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:24 [16:41:24.581]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:26 [16:41:26.697]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:28 [16:41:28.800]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:30 [16:41:30.909]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:33 [16:41:33.020]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:35 [16:41:35.157]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:37 [16:41:37.125]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:39 [16:41:39.490]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:40 [16:41:40.633]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:41 [16:41:41.781]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:42 [16:41:42.928]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:44 [16:41:44.079]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:45 [16:41:45.249]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:46 [16:41:46.416]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:47 [16:41:47.638]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:48 [16:41:48.956]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:50 [16:41:50.265]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:51 [16:41:51.603]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:52 [16:41:52.916]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x1957da3a919ce18f500bd953c511abd80b2a5d65b6413721a70f8a2746ba7fc2 for L2 block 1 has wrong index 10 (expected 0)
16:41:52 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
16:41:52 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:41:52 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:41:52 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:41:52 inboxMessage: {
16:41:52 index: 10n,
16:41:52 leaf: Fr<0x1957da3a919ce18f500bd953c511abd80b2a5d65b6413721a70f8a2746ba7fc2>,
16:41:52 l2BlockNumber: 1,
16:41:52 l1BlockNumber: 24n,
16:41:52 l1BlockHash: Buffer32<0x0ee273ad463178568892c19c4ef6b0b4fadfcef95c68d94225aa7cc4386b9e3e>,
16:41:52 rollingHash: Buffer16<0x491ef69a0bb4096fc71f1e2a5c81a937>
16:41:52 }
16:41:52 }
16:41:52 [16:41:52.918]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:54 [16:41:54.229]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x26b2bd1f224be6f8308b43d7dc75f82e67282d94d4e5cfe59cea89c288179578 at block 12 (expected value in range [176, 192))
16:41:54 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
16:41:54 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:41:54 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:41:54 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:41:54 inboxMessage: {
16:41:54 index: 224n,
16:41:54 leaf: Fr<0x26b2bd1f224be6f8308b43d7dc75f82e67282d94d4e5cfe59cea89c288179578>,
16:41:54 l2BlockNumber: 12,
16:41:54 l1BlockNumber: 41n,
16:41:54 l1BlockHash: Buffer32<0xe21439b98b8ac72cffcff2d7e298ee73c5a82b2924405b51710346748fed699d>,
16:41:54 rollingHash: Buffer16<0x37e1aec687233cfa3fd990053b1af4f7>
16:41:54 }
16:41:54 }
16:41:54 [16:41:54.231]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:55 [16:41:55.533]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x257b5a77f57cc07745fbc4b015df508ec9f92408857dc210fcdba7b774c47717 with index 16 (expected 0xca1bb91ece0ad885e72a52801ceba1f4 from previous hash 0x1f74ca4ac5706db1808d0c6eef3cd48d but got 0x732ca386830d9036c079503cfb3e49e3)
16:41:55 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
16:41:55 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:41:55 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:41:55 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:41:55 inboxMessage: {
16:41:55 index: 16n,
16:41:55 leaf: Fr<0x257b5a77f57cc07745fbc4b015df508ec9f92408857dc210fcdba7b774c47717>,
16:41:55 l2BlockNumber: 2,
16:41:55 l1BlockNumber: 9n,
16:41:55 l1BlockHash: Buffer32<0xaf26500964fa27ec5e051a6fe304de24e63238c8a8955bd544f8a3ff73d3b4f2>,
16:41:55 rollingHash: Buffer16<0x732ca386830d9036c079503cfb3e49e3>
16:41:55 }
16:41:55 }
16:41:55 [16:41:55.535]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:56 [16:41:56.835]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x27ae3bded1d728e500a95b30aa26e6cb5f218d9de05a4dc83ee8d7c35fdb0dbf with index 32 (expected 0xce790717f6262f3657bfae051785beb8 from previous hash 0xefe3d5d1126e1ba8b11bb948b766b797 but got 0xa002a6230854767e54d724a7397a684f)
16:41:56 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
16:41:56 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:41:56 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:41:56 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:41:56 inboxMessage: {
16:41:56 index: 32n,
16:41:56 leaf: Fr<0x27ae3bded1d728e500a95b30aa26e6cb5f218d9de05a4dc83ee8d7c35fdb0dbf>,
16:41:56 l2BlockNumber: 3,
16:41:56 l1BlockNumber: 7n,
16:41:56 l1BlockHash: Buffer32<0x626db1e18bf6842741699ddb14c23bc0f9715abcf2a4c0022514049ded868cad>,
16:41:56 rollingHash: Buffer16<0xa002a6230854767e54d724a7397a684f>
16:41:56 }
16:41:56 }
16:41:56 [16:41:56.838]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:58 [16:41:58.142]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x1339aab52463c89a0cde3e00d9d4a3862542c8c07027de45b24cf1e46e11ffc3 at block 17 (expected value in range [256, 272))
16:41:58 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
16:41:58 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:41:58 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:41:58 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:41:58 inboxMessage: {
16:41:58 index: 356n,
16:41:58 leaf: Fr<0x1339aab52463c89a0cde3e00d9d4a3862542c8c07027de45b24cf1e46e11ffc3>,
16:41:58 l2BlockNumber: 17,
16:41:58 l1BlockNumber: 42n,
16:41:58 l1BlockHash: Buffer32<0xb9328773f3de07c03dfb5fe223af87ac58abb18e2140805251de119c1be03c92>,
16:41:58 rollingHash: Buffer16<0x8178bfc218e3cca1030f0ab71667c2d0>
16:41:58 }
16:41:58 }
16:41:58 [16:41:58.144]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:41:59 [16:41:59.469]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x14eec40e2cc208a3e46f353751fe58118f9496f92d624a1258b258c1a70e807a for L2 block 15 has wrong index 225 (expected 224)
16:41:59 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
16:41:59 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:41:59 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:41:59 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:41:59 inboxMessage: {
16:41:59 index: 225n,
16:41:59 leaf: Fr<0x14eec40e2cc208a3e46f353751fe58118f9496f92d624a1258b258c1a70e807a>,
16:41:59 l2BlockNumber: 15,
16:41:59 l1BlockNumber: 22n,
16:41:59 l1BlockHash: Buffer32<0x5cbb08c549d9702c39dd95a809a4469c83499799a00d32574df379f664ec22be>,
16:41:59 rollingHash: Buffer16<0xd75a10f55f8f24fbe76ed7c0a55311e1>
16:41:59 }
16:41:59 }
16:41:59 [16:41:59.471]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:42:00 [16:42:00.801]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x12792ab7b7eebe6f3280de175c0c85db2d2d62979ddebc6f77b32855c1e7bbea at block 2 (expected value in range [16, 32))
16:42:00 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
16:42:00 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:42:00 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:42:00 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:42:00 inboxMessage: {
16:42:00 index: 32n,
16:42:00 leaf: Fr<0x12792ab7b7eebe6f3280de175c0c85db2d2d62979ddebc6f77b32855c1e7bbea>,
16:42:00 l2BlockNumber: 2,
16:42:00 l1BlockNumber: 11n,
16:42:00 l1BlockHash: Buffer32<0xcf512143f22aa8b39a409c8f9cb12e5ef4bf1ce3b92b8b5684bb968dda12afdb>,
16:42:00 rollingHash: Buffer16<0x7cc9df29da98b25db3ade9f4e059f715>
16:42:00 }
16:42:00 }
16:42:00 [16:42:00.803]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:42:02 [16:42:02.235]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
16:42:02 [16:42:02.264]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:42:03 [16:42:03.674]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
16:42:03 [16:42:03.692]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:42:05 [16:42:05.137]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:42:06 [16:42:06.594]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:42:08 [16:42:08.040]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:42:09 [16:42:09.485]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:42:10 [16:42:10.964]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:42:12 [16:42:12.476]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:42:13 [16:42:13.985]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:42:15 [16:42:15.459]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:42:16 [16:42:16.946]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:42:18 [16:42:18.409]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:42:19 [16:42:19.871]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:42:21 [16:42:21.337]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:42:22 [16:42:22.807]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:42:24 [16:42:24.299]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:42:25 [16:42:25.805]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:42:27 [16:42:27.289]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:42:29 [16:42:29.797]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:42:32 [16:42:32.291]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:42:35 [16:42:35.122]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:42:37 [16:42:37.605]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:42:42 [16:42:42.329]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:42:46 [16:42:46.688]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:42:50 [16:42:50.960]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:42:55 [16:42:55.331]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:43:00 [16:43:00.033]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:43:04 [16:43:04.834]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:43:09 [16:43:09.420]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:43:14
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
151.834 s)
16:43:14 KVArchiverDataStore
16:43:14 ArchiverStore
16:43:14 addBlocks
16:43:14
✓ returns success when adding blocks (1217 ms)
16:43:14
✓ allows duplicate blocks (1266 ms)
16:43:14
✓ throws an error if the previous block does not exist in the store (839 ms)
16:43:14
✓ throws an error if there is a gap in the blocks being added (927 ms)
16:43:14 unwindBlocks
16:43:14
✓ unwinding blocks will remove blocks from the chain (1124 ms)
16:43:14
✓ can unwind multiple empty blocks (782 ms)
16:43:14
✓ refuses to unwind blocks if the tip is not the last block (1078 ms)
16:43:14 getBlocks
16:43:14
✓ retrieves previously stored blocks (1112 ms)
16:43:14
✓ retrieves previously stored blocks (1111 ms)
16:43:14
✓ retrieves previously stored blocks (1354 ms)
16:43:14
✓ retrieves previously stored blocks (1222 ms)
16:43:14
✓ retrieves previously stored blocks (1131 ms)
16:43:14
✓ returns an empty array if no blocks are found (1082 ms)
16:43:14
✓ throws an error if limit is invalid (1119 ms)
16:43:14
✓ throws an error if `from` it is out of range (1110 ms)
16:43:14
✓ throws an error if unexpected initial block number is found (1228 ms)
16:43:14
✓ throws an error if a gap is found (1475 ms)
16:43:14 getSyncedL2BlockNumber
16:43:14
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (930 ms)
16:43:14
✓ returns the most recently added block's number (1244 ms)
16:43:14 getSynchPoint
16:43:14
✓ returns undefined if no blocks have been added (943 ms)
16:43:14
✓ returns the L1 block number in which the most recent L2 block was published (1224 ms)
16:43:14
✓ returns the L1 block number that most recently added messages from inbox (963 ms)
16:43:14
✓ returns the latest syncpoint if latest message is behind (965 ms)
16:43:14 addLogs
16:43:14
✓ adds private & public logs (1035 ms)
16:43:14 deleteLogs
16:43:14
✓ deletes private & public logs (1180 ms)
16:43:14 getPrivateLogs
16:43:14
✓ gets added private logs (1143 ms)
16:43:14 getTxEffect
16:43:14
✓ retrieves a previously stored transaction (1942 ms)
16:43:14
✓ retrieves a previously stored transaction (1926 ms)
16:43:14
✓ retrieves a previously stored transaction (1963 ms)
16:43:14
✓ retrieves a previously stored transaction (1941 ms)
16:43:14
✓ retrieves a previously stored transaction (1955 ms)
16:43:14
✓ returns undefined if tx is not found (1957 ms)
16:43:14
✓ tries to retrieves a previously stored transaction after deleted (2115 ms)
16:43:14
✓ tries to retrieves a previously stored transaction after deleted (2103 ms)
16:43:14
✓ tries to retrieves a previously stored transaction after deleted (2109 ms)
16:43:14
✓ tries to retrieves a previously stored transaction after deleted (2111 ms)
16:43:14
✓ tries to retrieves a previously stored transaction after deleted (2137 ms)
16:43:14
✓ returns undefined if tx is not found (1968 ms)
16:43:14
✓ does not fail if the block is unwound while requesting a tx (2365 ms)
16:43:14 L1 to L2 Messages
16:43:14
✓ stores first message ever (1143 ms)
16:43:14
✓ stores single message (1148 ms)
16:43:14
✓ stores and returns messages across different blocks (1146 ms)
16:43:14
✓ stores the same messages again (1151 ms)
16:43:14
✓ stores and returns messages across different blocks with gaps (1170 ms)
16:43:14
✓ stores and returns messages with block numbers larger than a byte (1167 ms)
16:43:14
✓ stores and returns multiple messages per block (1220 ms)
16:43:14
✓ stores messages in multiple operations (1317 ms)
16:43:14
✓ iterates over messages from start index (1309 ms)
16:43:14
✓ iterates over messages in reverse (1337 ms)
16:43:14
✓ throws if messages are added out of order (1316 ms)
16:43:14
✓ throws if block number for the first message is out of order (1313 ms)
16:43:14
✓ throws if rolling hash is not correct (1303 ms)
16:43:14
✓ throws if rolling hash for first message is not correct (1301 ms)
16:43:14
✓ throws if index is not in the correct range (1306 ms)
16:43:14
✓ throws if first index in block has gaps (1327 ms)
16:43:14
✓ throws if index does not follow previous one (1332 ms)
16:43:14
✓ removes messages up to the given block number (1461 ms)
16:43:14
✓ removes messages starting with the given index (1428 ms)
16:43:14 contractInstances
16:43:14
✓ returns previously stored contract instances (1445 ms)
16:43:14
✓ returns undefined if contract instance is not found (1457 ms)
16:43:14
✓ returns undefined if previously stored contract instances was deleted (1445 ms)
16:43:14 contractInstanceUpdates
16:43:14
✓ gets the correct current class id for a contract not updated yet (1445 ms)
16:43:14
✓ gets the correct current class id for a contract that has just been updated (1479 ms)
16:43:14
✓ gets the correct current class id for a contract that was updated in the past (1512 ms)
16:43:14
✓ ignores updates for the wrong contract (1508 ms)
16:43:14
✓ bounds its search to the right contract if more than than one update exists (1474 ms)
16:43:14 contractClasses
16:43:14
✓ returns previously stored contract class (1487 ms)
16:43:14
✓ returns undefined if the initial deployed contract class was deleted (1463 ms)
16:43:14
✓ returns contract class if later "deployment" class was deleted (1462 ms)
16:43:14
✓ returns undefined if contract class is not found (1466 ms)
16:43:14
✓ adds new private functions (1470 ms)
16:43:14
✓ does not duplicate private functions (1491 ms)
16:43:14
✓ adds new utility functions (1506 ms)
16:43:14
✓ does not duplicate utility functions (1483 ms)
16:43:14 getLogsByTags
16:43:14
✓ is possible to batch request private logs via tags (2507 ms)
16:43:14
✓ is possible to batch request all logs (private and public) via tags (2494 ms)
16:43:14
✓ is possible to batch request logs that have the same tag but different content (2830 ms)
16:43:14
✓ is possible to request logs for non-existing tags and determine their position (2482 ms)
16:43:14 getPublicLogs
16:43:14
✓ no logs returned if deleted ("txHash" filter param is respected variant) (4723 ms)
16:43:14
✓ "txHash" filter param is respected (4358 ms)
16:43:14
✓ "fromBlock" and "toBlock" filter params are respected (4272 ms)
16:43:14
✓ "contractAddress" filter param is respected (4371 ms)
16:43:14
✓ "afterLog" filter param is respected (4701 ms)
16:43:14
✓ "txHash" filter param is ignored when "afterLog" is set (4801 ms)
16:43:14
✓ intersecting works (4585 ms)
16:43:14
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (5159 ms)
16:43:14
16:43:14
Test Suites: 1 passed, 1 total
16:43:14
Tests: 86 passed, 86 total
16:43:14
Snapshots: 0 total
16:43:14
Time: 151.911 s
16:43:14
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
16:43:14
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?