Skip to content

Latest commit

 

History

History
54 lines (46 loc) · 3.54 KB

update-3.md

File metadata and controls

54 lines (46 loc) · 3.54 KB

Development updates 3 (November-December 2021)

Progress

  • Attempted to implement LightHouse's merkleize and serialize modules into light client. However, blocker is that LH implementation is specific to the deposit contract and not generalizable to the beacon state object. Therefore, diverting temporarily into implementing SSZ serialization, merkl tree generation and multiproofs in ssz_rs. The alternative is to serve dummy data for several fields in the beacon state to the light client until ssz_rs matures, but this does not seem efficient.

  • start deep diving ssz_rs and identifying gaps, guided by Alex Stokes.

  • This month I also finished the Consensys Bootcamp so have freed some additional time to dive in to ssz_rs.

  • realizing it is nopt so easy to follow the spec with a strongly-typed language as it raises issues for example with is_subclass() type comparisons - will require some thought.

Next steps

  • SSZ_rs:

    • initially focus on implementing generalized indices while Alex finishes serialization code
    • Then move on to implementing multiproofs
  • Client development:

    • Merklize state object, built branches from generalized indices
    • calculate generalized index for sync_committee_index and finalized_root fields
    • replace dummy data in update object with real merkleized beacon_state
    • serve objects to light client over http

Useful Links