w3f / polkadot-spec-website

Creative Commons Attribution Share Alike 4.0 International
1 stars 3 forks source link

Implementer Guide: random sampling light client using BEEFY #5

Open bhargavbh opened 11 months ago

bhargavbh commented 11 months ago

The host-side BEEFY spec (the BEEFY finality gadget, and payload structures) is already described in the finality section of the protocol spec. These specifications justifiably do not include any information on how the light client fetches and verifies the BEEFY payloads.
We should have an implementer's guide which provides technical details of light client interacting with the BEEFY protocol. We can instantiate the light client as a smart contract , arguably one of the most resource constrained environments for running a light client. This closely mirrors the snowbridge implementation. Implementer's can of course modify the interactions/components according to their setting (example generating randomness which is more nuanced on light client running on-chain than off-chain).

Noc2 commented 11 months ago

That sounds great to me. I don't think it's problematic to link to the Snowbridge docs here also because they are a common good project.

bhargavbh commented 11 months ago

created Draft PR https://github.com/w3f/polkadot-spec-website/pull/6.