ChainSafe/Spectre

Consider `polytope-labs/sync-committee-rs` for preprocessing

nulltea opened this issue · 2 comments

Analogous to https://github.com/ChainSafe/Banshee/issues/47, but instead of the entire beacon state, we only need light client sync committee data and block roots. There, the blocker was in the lack of specific SSZ methods in ssz-rs; we don't need those methods, so the option of writing data retrieval and pre-processing in Rust is relevant again.

The potential shortcut could be by using https://github.com/polytope-labs/sync-committee-rs.

Scope:

for the link that you posted, it still looks like it's using "mock data" where the script is generating data (primarily for private keys and validators). the script would also require calling to an exposed endpoint and retrieving the beacon state for a light client?

The goal is to use Rust for data retrieval and pre-processing and hopefully to re-use methods from polytope-labs/sync-committee-rs