LIT-Protocol / js-sdk

The Lit Protocol SDK provides developers with a framework for implementing Lit functionality into their own applications.
https://developer.litprotocol.com
MIT License
92 stars 55 forks source link

manually release private key in tests #516

Open glitch003 opened 3 days ago

glitch003 commented 3 days ago

We had a 10 second timeout on releasing a private key in tests. This can cause issues if a test runs longer than 10s. This PR is a first attempt at manually releasing keys after each test, so that it's not time based, but event based.

joshLong145 commented 3 days ago

This makes sense, I think this is a good place to iterate from. We might be able to make the release imlpicit. But this change moves us in a better direction with explicit rerelease of the key.