Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beacon Portal Network implementation progress #1006

Open
8 of 12 tasks
ogenev opened this issue Oct 23, 2023 · 1 comment
Open
8 of 12 tasks

Beacon Portal Network implementation progress #1006

ogenev opened this issue Oct 23, 2023 · 1 comment
Assignees

Comments

@ogenev
Copy link
Member

ogenev commented Oct 23, 2023

This is a tracking issue of the current progress of the beacon portal network implementation.

Tasks

  • Use finalized slot in LightClientFinalityUpdate content key and update beacon bridge to serve the data. #1007
  • Deploy Trin beacon bridge to serve the new lc finality data.
  • Modify light client crate to not require LC finality update for the current slot on sync startup.
  • Modify light client portal interface strategy for requesting LC finality update every slot (with finalized_slot as content key) when tracking the head of the chain.
  • Refactor portal storage to allow custom db logic for beacon network.
  • Respond with the latest finality slot (if it is bigger or equal to the requested slot) on FindContent requests for LighClientFinalityUpdate. feat: add beacon storage cache for light client updates #1084
  • Support building a batch of LightClientUpdate records as a response to a period range request.
    • Special database for the beacon network: SQLite ?
  • Add static/frozen historical_roots accumulator to validate pre-Capella headers or provide it via the network.
  • Gossip and update historical_summaries beacon state accumulator to validate post-Capella headers.
  • Add a way to verify the latest headers (< ~27h or in the current period). These would/could be provided with temporary proof. The proof or the whole object would be ephemeral and updated once a new period occurs. See also issue: History Network: How to deal with the Ephemeral-ness of header canonicalness proofs portal-network-specs#239
  • (optional) Re-evaluate the bridge strategy for pushing latest LightClientUpdate data into the network?
    • (optional) implement score system for LightClientUpdate
@ogenev ogenev added shelf-stable Will not be closed by stale-bot and removed shelf-stable Will not be closed by stale-bot labels Oct 23, 2023
@pipermerriam
Copy link
Member

Reguarding the "special database for beacon network"... sqlite is quite powerful and will allow a schema'd database with complex queries... I believe that our use of rocksdb is a bit of cargo-cult leftover from execution clients storing all of the state and needing blazing fast read-write access. My intuition is that in our usage pattern the database read/write speeds are unlikely to be the bottleneck.

@ogenev ogenev changed the title Beacon Sync progress Beacon Portal Network progress Nov 22, 2023
@ogenev ogenev self-assigned this Dec 11, 2023
@ogenev ogenev mentioned this issue Dec 13, 2023
1 task
@njgheorghita njgheorghita added this to the Beacon Network milestone Jan 19, 2024
@ogenev ogenev changed the title Beacon Portal Network progress Beacon Portal Network implementation progress Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants