Closes #72. This PR re-introduces BLS signatures checks on the forked relay following the procedure specified in the related issue.
Signatures are produced in the sidecar by finding validator data for the current epoch and retrieving the private key of the validator of the current slot.
It also introduces a feature flag in the sidecar called "demo" just to start separating the concerns. For now it's set to default.
While it's a bit unclear how these changes be impactful given recent development of both commit-boost and the registry, this is still a piece of functionality missing from the original demo and nice to have. Eventually we can keep it in a separate branch.
Closes #72. This PR re-introduces BLS signatures checks on the forked relay following the procedure specified in the related issue. Signatures are produced in the sidecar by finding validator data for the current epoch and retrieving the private key of the validator of the current slot. It also introduces a feature flag in the sidecar called "demo" just to start separating the concerns. For now it's set to default.
While it's a bit unclear how these changes be impactful given recent development of both commit-boost and the registry, this is still a piece of functionality missing from the original demo and nice to have. Eventually we can keep it in a separate branch.