Closed tomaka closed 3 years ago
Overview of how parachains work:
persisted_validation_data
runtime entry point can be called on the relay chain in order to obtain the parachain heads. See this.In terms of changes to make in substrate-lite:
RemoteCallRequest
light client request, in order to be able to call persisted_validation_data
on the relay chain without having to store the relay chain storage.sync
that emits requests for both the relay chain and the parachain, and that is responsible for calling persisted_validation_data
. How to organize the code in the sync
module is however completely unclear at the moment, as the code is presently very messy.