flashbots / flashbots/attested-tls
PCCS crate - consider adding a timeout to Pccs::ready method
Open
- Dominant language
- Rust
- Stars
- 5
- Forks
- 3
- Avg merge
- 4d 1h
- Merged PRs (30d)
- 8
Description
The PCCS exposes a method to wait for 'readiness', meaning the cache is populated with collateral from all known FSMPCs.
If there is an issue with the 'pre-warm' fetching (eg: the task panics for some reason) this future will wait indefinately.
Consider adding a timeout to return an error if the cache is not filled after some reasonable duration.
See discussion: https://github.com/flashbots/attested-tls/pull/3#discussion_r2974833918
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.