0xPolygonMiden / miden-client

Client library that facilitates interaction with the Miden rollup
MIT License
39 stars 30 forks source link

Added Sync Loop to Web Client Integration Tests #590

Closed dagarcia7 closed 1 week ago

dagarcia7 commented 2 weeks ago

Summary

This PR adds a slight optimization to the web client integration tests by checking to see whether transactions have been committed via a sync loop as opposed to using a fixed 20-second timeout across all tests. This should result in a slight speedup on the overall timing of the tests.

Snapshot of run on this PR after change: image

Snapshot of random PR before change: image

so seems to have a good improvement. Will continue to look for areas of optimization to continue shaving down the web client integration test times