Parent Log:
http://ci.aztec-labs.com/8dcffbbcc559db48
Command: 85ebe83a9ef9464b 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/24972303091baff6f83c6389d7d1406c932357e9
Env: REF_NAME=gh-readonly-queue/next/pr-15042-a0a8617413ca6f4fba2ad190ce73dab59bd75a45 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 17 14:16:09 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15042_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
14:16:12 [14:16:12.221]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:13 [14:16:13.960]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:15 [14:16:15.532]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:16 [14:16:16.614]
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
14:16:16 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
14:16:16 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:16:16 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:16:16 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:16:16 newBlockNumber: 2,
14:16:16 previousBlockNumber: undefined
14:16:16 }
14:16:16 [14:16:16.617]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:17 [14:16:17.775]
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
14:16:17 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17
14:16:17 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:16:17 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:16:17 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
14:16:17 [14:16:17.777]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:19 [14:16:19.256]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:20 [14:16:20.359]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:21 [14:16:21.733]
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)
14:16:21 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15
14:16:21 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:16:21 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:16:21 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
14:16:21 [14:16:21.737]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:23 [14:16:23.587]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:25 [14:16:25.104]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:27 [14:16:27.182]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:29 [14:16:29.140]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:30 [14:16:30.784]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:32 [14:16:32.484]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:34 [14:16:34.664]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:37 [14:16:37.846]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:39 [14:16:39.623]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:42 [14:16:42.469]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:43 [14:16:43.732]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:45 [14:16:45.873]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:47 [14:16:47.528]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:49 [14:16:49.159]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:50 [14:16:50.431]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:51 [14:16:51.905]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:53 [14:16:53.377]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:55 [14:16:55.130]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:56 [14:16:56.501]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:59 [14:16:59.203]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:01 [14:17:01.926]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:04 [14:17:04.503]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:06 [14:17:06.874]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:09 [14:17:09.330]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:11 [14:17:11.935]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:14 [14:17:14.550]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:17 [14:17:17.173]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:19 [14:17:19.769]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:22 [14:17:22.340]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:24 [14:17:24.954]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:27 [14:17:27.559]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:30 [14:17:30.401]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:31 [14:17:31.863]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:33 [14:17:33.394]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:35 [14:17:35.112]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:36 [14:17:36.730]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:38 [14:17:38.269]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:40 [14:17:40.098]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:41 [14:17:41.911]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:43 [14:17:43.940]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:45 [14:17:45.725]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:47 [14:17:47.640]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:49 [14:17:49.514]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x1ab2b7e38be3409f234f0c75008c629442e55802dcc039a512c903679932e0fb for L2 block 1 has wrong index 10 (expected 0)
14:17:49 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
14:17:49 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:17:49 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:17:49 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:17:49 inboxMessage: {
14:17:49 index: 10n,
14:17:49 leaf: Fr<0x1ab2b7e38be3409f234f0c75008c629442e55802dcc039a512c903679932e0fb>,
14:17:49 l2BlockNumber: 1,
14:17:49 l1BlockNumber: 12n,
14:17:49 l1BlockHash: Buffer32<0x6ec5a98f18e57b1b805a215096e97a97541f0ec4768f6a6befba44292638053f>,
14:17:49 rollingHash: Buffer16<0x129f857b87670472e736a3ae5af471aa>
14:17:49 }
14:17:49 }
14:17:49 [14:17:49.518]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:51 [14:17:51.449]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x073fb544e76103e77c178ff268e55100822c71724c6e2a979d38af7264f6325c at block 12 (expected value in range [176, 192))
14:17:51 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
14:17:51 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:17:51 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:17:51 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:17:51 inboxMessage: {
14:17:51 index: 224n,
14:17:51 leaf: Fr<0x073fb544e76103e77c178ff268e55100822c71724c6e2a979d38af7264f6325c>,
14:17:51 l2BlockNumber: 12,
14:17:51 l1BlockNumber: 71n,
14:17:51 l1BlockHash: Buffer32<0x9124bd9aa2914fac9268cca89ff5c9d36c20b3137901f04364f9300ee003574e>,
14:17:51 rollingHash: Buffer16<0x9727eac978d937ac38a6e41c68fc7555>
14:17:51 }
14:17:51 }
14:17:51 [14:17:51.454]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:53 [14:17:53.162]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x1c04ac2be1072fd11e5bb67aad22d9b6d13775ca848a1812bf9fad2bb3121347 with index 16 (expected 0xe01ae07eec66c7a99a2a5193e4501269 from previous hash 0x058f7a788798baf6e997be8919cb6d1d but got 0x24c29a85d0321e8a06bb3e843e20160e)
14:17:53 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
14:17:53 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:17:53 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:17:53 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:17:53 inboxMessage: {
14:17:53 index: 16n,
14:17:53 leaf: Fr<0x1c04ac2be1072fd11e5bb67aad22d9b6d13775ca848a1812bf9fad2bb3121347>,
14:17:53 l2BlockNumber: 2,
14:17:53 l1BlockNumber: 24n,
14:17:53 l1BlockHash: Buffer32<0x19434cec60bf3e402289b33090f12cbdcdd212d85510efc0fac3699364589aa6>,
14:17:53 rollingHash: Buffer16<0x24c29a85d0321e8a06bb3e843e20160e>
14:17:53 }
14:17:53 }
14:17:53 [14:17:53.165]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:54 [14:17:54.813]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x2d794e2345a210b6f64662cf416d1b5ea48788992f1a2bf8a80c9a9dc64952d9 with index 32 (expected 0x32fab1e79baf0ab77db231b17959ea54 from previous hash 0x3dda7c5dc432e330be73947998a2f9e0 but got 0xde92d7e811a69ff0d97c0db0b50d2d66)
14:17:54 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
14:17:54 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:17:54 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:17:54 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:17:54 inboxMessage: {
14:17:54 index: 32n,
14:17:54 leaf: Fr<0x2d794e2345a210b6f64662cf416d1b5ea48788992f1a2bf8a80c9a9dc64952d9>,
14:17:54 l2BlockNumber: 3,
14:17:54 l1BlockNumber: 34n,
14:17:54 l1BlockHash: Buffer32<0xa89fc532990a19f61d8e37e5bf895a97e8a7bc9d0cb246bfa0772271d2bbdf18>,
14:17:54 rollingHash: Buffer16<0xde92d7e811a69ff0d97c0db0b50d2d66>
14:17:54 }
14:17:54 }
14:17:54 [14:17:54.817]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:56 [14:17:56.428]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x126280b9b72808aa980bcc2c2d87c18b45e98a30cb37ffdc6770e301c6126351 at block 17 (expected value in range [256, 272))
14:17:56 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
14:17:56 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:17:56 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:17:56 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:17:56 inboxMessage: {
14:17:56 index: 356n,
14:17:56 leaf: Fr<0x126280b9b72808aa980bcc2c2d87c18b45e98a30cb37ffdc6770e301c6126351>,
14:17:56 l2BlockNumber: 17,
14:17:56 l1BlockNumber: 32n,
14:17:56 l1BlockHash: Buffer32<0x7fc62c1a2bbf83a5c2eef85964ed004f8b19ece3b832f7c8aa47622fdd13ebf0>,
14:17:56 rollingHash: Buffer16<0x9d3b7474baab87fd9aa6781278a3195f>
14:17:56 }
14:17:56 }
14:17:56 [14:17:56.431]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:58 [14:17:58.357]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x194d84f01272c3bd0f9fe045cbf7a8fc434d7b2051313b222bb4e60752e4181c for L2 block 15 has wrong index 225 (expected 224)
14:17:58 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
14:17:58 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:17:58 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:17:58 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:17:58 inboxMessage: {
14:17:58 index: 225n,
14:17:58 leaf: Fr<0x194d84f01272c3bd0f9fe045cbf7a8fc434d7b2051313b222bb4e60752e4181c>,
14:17:58 l2BlockNumber: 15,
14:17:58 l1BlockNumber: 24n,
14:17:58 l1BlockHash: Buffer32<0xac4e2a268c4e00db26eb639932116a9668fe1c32249ddc0f5da5bba69577ff48>,
14:17:58 rollingHash: Buffer16<0xbfe5b65d39f3e99ddfd71db31c7aff85>
14:17:58 }
14:17:58 }
14:17:58 [14:17:58.364]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:00 [14:18:00.331]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x1babe6ff2d851e4ce542137b6356fb19d911ce97686075d9f09060adc43df657 at block 2 (expected value in range [16, 32))
14:18:00 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
14:18:00 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:18:00 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:18:00 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:18:00 inboxMessage: {
14:18:00 index: 32n,
14:18:00 leaf: Fr<0x1babe6ff2d851e4ce542137b6356fb19d911ce97686075d9f09060adc43df657>,
14:18:00 l2BlockNumber: 2,
14:18:00 l1BlockNumber: 59n,
14:18:00 l1BlockHash: Buffer32<0xb536de91c519b70e0660ba1a85d779892f87ab8857b2976f54b9658e496b6849>,
14:18:00 rollingHash: Buffer16<0xbf5b62ef7abb43c0113e93376c3adbf1>
14:18:00 }
14:18:00 }
14:18:00 [14:18:00.336]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:02 [14:18:02.313]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
14:18:02 [14:18:02.356]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:04 [14:18:04.515]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
14:18:04 [14:18:04.542]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:06 [14:18:06.406]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:08 [14:18:08.348]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:10 [14:18:10.217]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:12 [14:18:12.171]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:14 [14:18:14.001]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:15 [14:18:15.920]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:17 [14:18:17.548]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:19 [14:18:19.376]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:21 [14:18:21.207]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:23 [14:18:23.076]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:24 [14:18:24.952]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:26 [14:18:26.800]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:28 [14:18:28.724]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:30 [14:18:30.685]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:32 [14:18:32.719]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:34 [14:18:34.800]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:38 [14:18:38.219]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:41 [14:18:41.778]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:45 [14:18:45.878]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:49 [14:18:49.190]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:55 [14:18:55.329]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:19:00 [14:19:00.850]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:19:06 [14:19:06.314]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:19:10 [14:19:10.974]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:19:16 [14:19:16.072]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:19:21 [14:19:21.306]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:19:25 [14:19:25.731]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:19:30
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
199.92 s)
14:19:30 KVArchiverDataStore
14:19:30 ArchiverStore
14:19:30 addBlocks
14:19:30
✓ returns success when adding blocks (1761 ms)
14:19:30
✓ allows duplicate blocks (1571 ms)
14:19:30
✓ throws an error if the previous block does not exist in the store (1086 ms)
14:19:30
✓ throws an error if there is a gap in the blocks being added (1160 ms)
14:19:30 unwindBlocks
14:19:30
✓ unwinding blocks will remove blocks from the chain (1478 ms)
14:19:30
✓ can unwind multiple empty blocks (1103 ms)
14:19:30
✓ refuses to unwind blocks if the tip is not the last block (1377 ms)
14:19:30 getBlocks
14:19:30
✓ retrieves previously stored blocks (1849 ms)
14:19:30
✓ retrieves previously stored blocks (1514 ms)
14:19:30
✓ retrieves previously stored blocks (2077 ms)
14:19:30
✓ retrieves previously stored blocks (1957 ms)
14:19:30
✓ retrieves previously stored blocks (1642 ms)
14:19:30
✓ returns an empty array if no blocks are found (1699 ms)
14:19:30
✓ throws an error if limit is invalid (2180 ms)
14:19:30
✓ throws an error if `from` it is out of range (3180 ms)
14:19:30
✓ throws an error if unexpected initial block number is found (1774 ms)
14:19:30
✓ throws an error if a gap is found (2845 ms)
14:19:30 getSyncedL2BlockNumber
14:19:30
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1266 ms)
14:19:30
✓ returns the most recently added block's number (2137 ms)
14:19:30 getSynchPoint
14:19:30
✓ returns undefined if no blocks have been added (1654 ms)
14:19:30
✓ returns the L1 block number in which the most recent L2 block was published (1629 ms)
14:19:30
✓ returns the L1 block number that most recently added messages from inbox (1272 ms)
14:19:30
✓ returns the latest syncpoint if latest message is behind (1473 ms)
14:19:30 addLogs
14:19:30
✓ adds private & public logs (1472 ms)
14:19:30 deleteLogs
14:19:30
✓ deletes private & public logs (1752 ms)
14:19:30 getPrivateLogs
14:19:30
✓ gets added private logs (1369 ms)
14:19:30 getTxEffect
14:19:30
✓ retrieves a previously stored transaction (2701 ms)
14:19:30
✓ retrieves a previously stored transaction (2722 ms)
14:19:30
✓ retrieves a previously stored transaction (2577 ms)
14:19:30
✓ retrieves a previously stored transaction (2371 ms)
14:19:30
✓ retrieves a previously stored transaction (2454 ms)
14:19:30
✓ returns undefined if tx is not found (2605 ms)
14:19:30
✓ tries to retrieves a previously stored transaction after deleted (2613 ms)
14:19:30
✓ tries to retrieves a previously stored transaction after deleted (2621 ms)
14:19:30
✓ tries to retrieves a previously stored transaction after deleted (2598 ms)
14:19:30
✓ tries to retrieves a previously stored transaction after deleted (2570 ms)
14:19:30
✓ tries to retrieves a previously stored transaction after deleted (2614 ms)
14:19:30
✓ returns undefined if tx is not found (2605 ms)
14:19:30
✓ does not fail if the block is unwound while requesting a tx (2842 ms)
14:19:30 L1 to L2 Messages
14:19:30
✓ stores first message ever (1461 ms)
14:19:30
✓ stores single message (1528 ms)
14:19:30
✓ stores and returns messages across different blocks (1720 ms)
14:19:30
✓ stores the same messages again (1616 ms)
14:19:30
✓ stores and returns messages across different blocks with gaps (1539 ms)
14:19:30
✓ stores and returns messages with block numbers larger than a byte (1828 ms)
14:19:30
✓ stores and returns multiple messages per block (1812 ms)
14:19:30
✓ stores messages in multiple operations (2028 ms)
14:19:30
✓ iterates over messages from start index (1785 ms)
14:19:30
✓ iterates over messages in reverse (1914 ms)
14:19:30
✓ throws if messages are added out of order (1877 ms)
14:19:30
✓ throws if block number for the first message is out of order (1934 ms)
14:19:30
✓ throws if rolling hash is not correct (1712 ms)
14:19:30
✓ throws if rolling hash for first message is not correct (1651 ms)
14:19:30
✓ throws if index is not in the correct range (1614 ms)
14:19:30
✓ throws if first index in block has gaps (1930 ms)
14:19:30
✓ throws if index does not follow previous one (1972 ms)
14:19:30
✓ removes messages up to the given block number (2020 ms)
14:19:30
✓ removes messages starting with the given index (2182 ms)
14:19:30 contractInstances
14:19:30
✓ returns previously stored contract instances (1865 ms)
14:19:30
✓ returns undefined if contract instance is not found (1942 ms)
14:19:30
✓ returns undefined if previously stored contract instances was deleted (1867 ms)
14:19:30 contractInstanceUpdates
14:19:30
✓ gets the correct current class id for a contract not updated yet (1948 ms)
14:19:30
✓ gets the correct current class id for a contract that has just been updated (1833 ms)
14:19:30
✓ gets the correct current class id for a contract that was updated in the past (1918 ms)
14:19:30
✓ ignores updates for the wrong contract (1627 ms)
14:19:30
✓ bounds its search to the right contract if more than than one update exists (1828 ms)
14:19:30 contractClasses
14:19:30
✓ returns previously stored contract class (1825 ms)
14:19:30
✓ returns undefined if the initial deployed contract class was deleted (1868 ms)
14:19:30
✓ returns contract class if later "deployment" class was deleted (1875 ms)
14:19:30
✓ returns undefined if contract class is not found (1845 ms)
14:19:30
✓ adds new private functions (1924 ms)
14:19:30
✓ does not duplicate private functions (1958 ms)
14:19:30
✓ adds new utility functions (2035 ms)
14:19:30
✓ does not duplicate utility functions (2074 ms)
14:19:30 getLogsByTags
14:19:30
✓ is possible to batch request private logs via tags (3424 ms)
14:19:30
✓ is possible to batch request all logs (private and public) via tags (3557 ms)
14:19:30
✓ is possible to batch request logs that have the same tag but different content (4098 ms)
14:19:30
✓ is possible to request logs for non-existing tags and determine their position (3313 ms)
14:19:30 getPublicLogs
14:19:30
✓ no logs returned if deleted ("txHash" filter param is respected variant) (6137 ms)
14:19:30
✓ "txHash" filter param is respected (5520 ms)
14:19:30
✓ "fromBlock" and "toBlock" filter params are respected (5463 ms)
14:19:30
✓ "contractAddress" filter param is respected (4660 ms)
14:19:30
✓ "afterLog" filter param is respected (5097 ms)
14:19:30
✓ "txHash" filter param is ignored when "afterLog" is set (5234 ms)
14:19:30
✓ intersecting works (4423 ms)
14:19:30
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4627 ms)
14:19:30
14:19:30
Test Suites: 1 passed, 1 total
14:19:30
Tests: 86 passed, 86 total
14:19:30
Snapshots: 0 total
14:19:30
Time: 200.03 s
14:19:30
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
14:19:30
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?