flashbots / flashbots/attested-tls

PCCS crate - consider adding a timeout to Pccs::ready method

Open
#24 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.